/*
Theme Name: Alhanadeh Transport Theme Pro
Author: Alhanadeh Transportation
Version: 3.5 (Premium Global & Ultra-Mobile-Friendly)
Description: Fully optimized custom theme for Alhanadeh Transportation LLC. Optimized for all mobile devices.
*/

:root {
  --navy: #07111f;
  --navy-2: #0f172a;
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --gold: #f59e0b;
  --text: #0f172a;
  --muted: #475569;
  --line: rgba(15, 23, 42, 0.08);
  --bg: #f8fafc;
  --white: #ffffff;
  --shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 30px 60px -15px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(25, 99, 235, 0.2);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* { 
  box-sizing: border-box; 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

input, textarea, select, button {
  font-family: inherit;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.ath-header {
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 6%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}

.ath-header.is-hidden {
  transform: translateY(-100%);
}

.ath-logo {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap; /* يمنع اللوجو من النزول لسطرين على الشاشات الصغيرة */
}

.ath-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.ath-nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #475569;
  position: relative;
  display: inline-block;
}

.ath-nav a:not(.ath-login-link)::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: var(--transition);
}

.ath-nav a:not(.ath-login-link):hover::after {
  width: 100%;
}

.ath-nav a:hover {
  color: var(--blue);
}

/* تعديل زر الدخول ليصبح مرن ومحمي ضد التداخل */
.ath-login-link {
  background: var(--navy);
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 99px;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(7, 17, 31, 0.15);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ath-login-link:hover {
  background: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.2);
}

.ath-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  z-index: 1000;
}

.ath-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
}

.ath-menu-toggle.is-active span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.ath-menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.ath-menu-toggle.is-active span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.ath-hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 120px 6%;
  color: #fff;
  /* ارجاع الصورة السابقة مع تحسين جودتها وتأثير التباين */
  background:
    linear-gradient(120deg, rgba(7, 17, 31, 0.95), rgba(15, 23, 42, 0.75)),
    url("https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
}

.ath-hero-content {
  max-width: 800px;
  width: 100%;
}

.ath-eyebrow,
.ath-small-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.1);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.ath-eyebrow {
  color: #93c5fd;
  background: rgba(147, 197, 253, 0.1);
}

.ath-small-title.light {
  color: #93c5fd;
  background: rgba(255, 255, 255, 0.08);
}

.ath-hero h1 {
  margin: 0 0 24px;
  font-size: 64px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
}

.ath-hero p {
  margin: 0 0 40px;
  font-size: 18px;
  line-height: 1.7;
  color: #cbd5e1;
}

.ath-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.ath-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 16px 32px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.ath-btn-light {
  background: #fff;
  color: var(--navy);
}

.ath-btn-light:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.3);
}

.ath-btn-outline {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
}

.ath-btn-outline:hover {
  background: #fff;
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.15);
}

.ath-btn-dark {
  background: var(--navy);
  color: #fff;
}

.ath-btn-dark:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */

.ath-stats {
  max-width: 1200px;
  margin: -60px auto 0;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 24px;
}

.ath-stats div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.ath-stats div:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.ath-stats strong {
  display: block;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--navy);
  margin-bottom: 4px;
}

.ath-stats span {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
}

/* ==========================================================================
   SERVICES & CORE SECTIONS
   ========================================================================== */

.ath-section {
  padding: 120px 6%;
}

.ath-section-top {
  max-width: 700px;
  margin-bottom: 56px;
}

.ath-section h2,
.ath-dark-section h2 {
  margin: 12px 0 0;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1.5px;
  color: var(--navy);
}

.ath-section-top p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
  margin-top: 16px;
}

.ath-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ath-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.ath-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.ath-card span {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #eff6ff;
  color: var(--blue);
  font-size: 18px;
  margin-bottom: 28px;
  transition: var(--transition);
}

.ath-card:hover span {
  background: var(--blue);
  color: #fff;
}

.ath-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}

.ath-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ==========================================================================
   DARK SECTION
   ========================================================================== */

.ath-dark-section {
  margin: 0 6%;
  border-radius: 32px;
  padding: 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.25), transparent 45%),
    var(--navy);
  color: #fff;
  box-shadow: 0 30px 60px -20px rgba(7, 17, 31, 0.3);
}

.ath-dark-section h2 {
  color: #fff;
}

.ath-dark-section p {
  color: #94a3b8;
  line-height: 1.7;
  font-size: 16px;
  margin-top: 16px;
}

.ath-feature-list {
  display: grid;
  gap: 16px;
}

.ath-feature-list p {
  margin: 0;
  padding: 20px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

.ath-feature-list p:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(4px);
}

/* ==========================================================================
   QUOTE FORM
   ========================================================================== */

.ath-quote-form {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 48px;
  box-shadow: var(--shadow);
}

.ath-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ath-quote-form label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #475569;
}

.ath-quote-form input,
.ath-quote-form textarea,
.ath-quote-form select {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  background: #f8fafc;
  color: var(--text);
  outline: none;
  transition: var(--transition);
}

.ath-quote-form input:focus,
.ath-quote-form textarea:focus,
.ath-quote-form select:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.ath-site-footer {
  margin-top: 120px;
  background: var(--navy);
  color: #fff;
  padding: 80px 6% 32px;
}

.ath-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 64px;
}

.ath-footer-brand strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.ath-footer-brand p {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.7;
}

.ath-footer-links {
  display: grid;
  gap: 12px;
}

.ath-footer-links a {
  color: #cbd5e1;
  font-size: 14px;
}

.ath-footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}

.ath-footer-contact p {
  color: #cbd5e1;
  font-size: 14px;
  margin: 0 0 12px;
}

.ath-footer-bottom {
  max-width: 1200px;
  margin: 64px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #64748b;
  font-size: 13px;
  text-align: center;
}

/* ==========================================================================
   INNER PAGES
   ========================================================================== */

.ath-page-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 20px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ath-page-logo {
  color: var(--navy);
  font-weight: 800;
  font-size: 18px;
}

.ath-back-home {
  background: var(--navy);
  color: #fff;
  padding: 10px 20px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
}

.ath-back-home:hover {
  background: var(--blue);
}

.ath-page-main {
  max-width: 900px;
  margin: 64px auto;
  padding: 0 24px;
}

.ath-page-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 56px;
  box-shadow: var(--shadow);
}

.ath-page-content h1 {
  margin: 0 0 24px;
  font-size: 38px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -1px;
}

.ath-page-content h2 {
  font-size: 24px;
  color: var(--navy);
  margin-top: 40px;
}

.ath-page-content p, 
.ath-page-content li {
  color: #334155;
  line-height: 1.8;
  font-size: 16px;
}

/* ==========================================================================
   DISPATCHER LOGIN
   ========================================================================== */

.ath-login-page {
  min-height: 100vh;
  padding: 40px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.95), rgba(15, 23, 42, 0.85)),
    url("https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
}

.ath-login-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 28px;
  padding: 48px;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.4);
}

.ath-login-brand {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--blue);
  margin-bottom: 32px;
  display: inline-block;
}

.ath-login-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.ath-login-card h1 {
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
}

.ath-login-subtitle {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 14px;
}

.ath-login-error {
  background: #fef2f2;
  border: 1px solid #fee2e2;
  color: #b91c1c;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.ath-login-form label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #475569;
}

.ath-login-form input {
  width: 100%;
  height: 48px;
  margin-top: 8px;
  margin-bottom: 20px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 15px;
  background: #f8fafc;
  outline: none;
  transition: var(--transition);
}

.ath-login-form input:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.ath-login-form button {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 99px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.ath-login-form button:hover {
  background: var(--blue);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
}

.ath-login-footer-note {
  margin-top: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* ==========================================================================
   MEDIA QUERIES (DYNAMIC MOBILE RESPONSIVENESS)
   ========================================================================== */

@media (max-width: 1200px) {
  .ath-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .ath-stats {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -40px;
  }
}

@media (max-width: 992px) {
  .ath-header {
    padding: 16px 5%;
  }

  .ath-menu-toggle {
    display: flex;
  }

  /* تحسين القائمة المنسدلة في الجوال لمنع التداخل نهائياً وإعطاء مساحة مريحة */
  .ath-nav {
    position: fixed;
    top: 80px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 24px 20px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2);
    max-height: calc(100vh - 110px);
    overflow-y: auto; /* يضمن إمكانية التمرير داخل القائمة لو الشاشة صغيرة جدًا */
  }

  .ath-nav.is-open {
    display: flex;
    animation: fadeIn 0.25s ease-out;
  }

  .ath-nav a {
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 14px;
    width: 100%;
  }

  .ath-nav a:not(.ath-login-link):hover {
    background: #f1f5f9;
  }

  /* الزر الذي كان يسبب تداخل على الهواتف تم معالجته هنا */
  .ath-login-link {
    text-align: center;
    margin-top: 12px;
    padding: 16px 24px; /* زيادة مساحة الضغط للموبايل */
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .ath-hero h1 {
    font-size: 46px;
  }

  .ath-dark-section {
    grid-template-columns: 1fr;
    padding: 56px 40px;
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .ath-hero {
    padding-top: 100px;
    min-height: 80vh;
  }

  .ath-hero h1 {
    font-size: 36px;
  }

  .ath-buttons {
    flex-direction: column;
    width: 100%;
  }

  .ath-buttons .ath-btn {
    width: 100%;
    padding: 18px 24px; /* أزرار عريضة وسهلة اللمس */
  }

  .ath-stats, .ath-grid, .ath-form-grid {
    grid-template-columns: 1fr;
  }

  .ath-section h2, .ath-dark-section h2 {
    font-size: 28px;
  }

  .ath-quote-form, .ath-page-content, .ath-login-card {
    padding: 32px 20px;
    border-radius: 24px;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
/* ==========================================================================
   PREMIUM GLOBAL FOOTER
   ========================================================================== */

.ath-site-footer {
  margin-top: 120px;
  background: var(--navy);
  color: #ffffff;
  padding: 90px 6% 32px;
  border-top: 3px solid var(--blue);
  position: relative;
}

.ath-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  /* توزيع احترافي يعطي مساحة أكبر للتعريف بالشركة */
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 60px;
}

/* عمود هوية الشركة */
.ath-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ath-footer-logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ath-footer-logo i {
  color: var(--blue);
}

.ath-brand-desc {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  max-width: 400px;
}

.ath-footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gold);
  background: rgba(245, 158, 11, 0.1);
  padding: 6px 14px;
  border-radius: 50px;
  width: fit-content;
}

.ath-footer-status .status-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  /* تأثير وميض ذكي للمظهر التكنولوجي */
  animation: pulse 2s infinite;
}

/* عناوين الأعمدة في الفوتر */
.ath-footer-title {
  margin: 0 0 24px 0;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue);
}

/* عمود الروابط السريعة */
.ath-footer-links-group {
  display: flex;
  flex-direction: column;
}

.ath-footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ath-footer-links a {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.ath-footer-links a i {
  font-size: 10px;
  opacity: 0.5;
  transition: transform 0.25s ease;
}

.ath-footer-links a:hover {
  color: #ffffff;
}

.ath-footer-links a:hover i {
  transform: translateX(4px);
  opacity: 1;
  color: var(--blue);
}

/* عمود الاتصال */
.ath-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ath-contact-info p {
  margin: 0;
  color: #cbd5e1;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ath-contact-info p i {
  color: var(--blue);
  width: 16px;
  text-align: center;
}

/* شريط الحقوق السفلي */
.ath-footer-bottom {
  max-width: 1200px;
  margin: 80px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ath-footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.ath-footer-bottom p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.ath-tech-credit {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 11px !important;
  color: #475569 !important;
}

/* ==========================================================================
   تجاوب الفوتر مع الهواتف والأجهزة اللوحية (حماية التداخل)
   ========================================================================== */

@media (max-width: 992px) {
  .ath-site-footer {
    padding: 60px 5% 32px;
  }
  
  .ath-footer-inner {
    /* التحول إلى عمودين على الشاشات المتوسطة */
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
  }
  
  .ath-footer-brand {
    grid-column: span 2; /* تأخذ العرض الكامل لمنع ضغط الروابط بجانبها */
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .ath-footer-inner {
    /* يتحول لعمود واحد منفرد تماماً على الهواتف */
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .ath-footer-brand {
    grid-column: span 1;
  }
  
  .ath-footer-title {
    margin-bottom: 16px;
  }
  
  .ath-footer-bottom {
    margin-top: 48px;
  }
  
  .ath-footer-bottom-inner {
    /* جعل الحقوق في المنتصف بشكل مرتب */
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

@keyframes pulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

