/* =============================================================
   footer.css — extracted from footer.php inline <style> 2026-04-22
   Global reset + footer grid + contact columns + bottom bar.
   Polished further by style.css overrides which depend on this file.
   ============================================================= */

/* ============== GLOBAL RESET & BASE ============== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Tajawal", Arial, sans-serif;
  direction: rtl;
  background: #f9f9f9;
  color: #333;
}

/* ============== FOOTER ============== */
footer.footer {
  background: linear-gradient(90deg, #076e6a 0%, #0a905a 100%);
  padding: 40px 20px;
  text-align: right;
  color: #fff;
}

/* 3 columns on desktop, 2 on tablet/mobile (3rd col spans 2) */
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .footer-col:nth-child(3) {
    grid-column: 1 / span 2;
    grid-row: 2;
  }
}

/* Column layout */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-col h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li {
  margin-bottom: 0.6rem;
}
.footer-col a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-col a:hover {
  color: #f1f1f1;
  transform: translateY(-2px);
}

/* Logo => white filter */
.footer-col img.footer-logo {
  width: 120px;
  filter: brightness(0) invert(1);
}

/* ============== CONTACT + SOCIAL ============== */
.social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 0.8rem;
}
.social-icons a i {
  font-size: 1.4rem;
  transition: transform 0.2s;
}
.social-icons a i:hover {
  transform: scale(1.1);
}

/* Secondary phone (backup) — quieter, visually distinct */
.phone-sep {
  margin: 0 6px;
  color: rgba(255, 255, 255, 0.45);
}
.phone-alt {
  opacity: 0.75;
  font-size: 0.95em;
  font-weight: 400 !important;
}
.phone-alt:hover { opacity: 1; }

/* ============== FOOTER BOTTOM ============== */
.footer-bottom {
  margin-top: 30px;
  text-align: center;
  font-size: 0.9rem;
  color: #fff;
}
.footer-bottom a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
}
.footer-bottom a:hover {
  color: #f1f1f1;
}
