/* ================================================
   Furniture Store — Global Stylesheet 2026
   Gold/Dark Design: #C8860A #F0A832 #1A1A35
   ================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  background: #0D0D1A;
  color: #E8E8F0;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* ---- CSS Variables ---- */
:root {
  --gold:        #C8860A;
  --gold-light:  #F0A832;
  --dark:        #0D0D1A;
  --dark2:       #141428;
  --dark3:       #1A1A35;
  --dark4:       #22223F;
  --white:       #FFFFFF;
  --text:        #E8E8F0;
  --text-muted:  #9999BB;
  --radius:      12px;
  --shadow:      0 8px 32px rgba(0,0,0,0.35);
  --transition:  0.3s ease;
  --bg-hover:    rgba(200,134,10,0.08);
  --bg-card:     #1A1A35;
  --border:      rgba(200,134,10,0.12);
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
}
p { color: var(--text-muted); }

/* ---- Container ---- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark);
}
.btn-primary:hover {
  margin-top: -2px;
  margin-bottom: 2px;
  box-shadow: 0 8px 24px rgba(200,134,10,0.35);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--dark);
}
.btn-ghost {
  background: rgba(200,134,10,0.1);
  border: 1px solid rgba(200,134,10,0.2);
  color: var(--gold);
}
.btn-ghost:hover {
  background: rgba(200,134,10,0.2);
  border-color: rgba(200,134,10,0.4);
}

/* ---- Section Headers ---- */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header .section-title,
.section-header .section-subtitle {
  text-align: center;
}
div.section-label,
.section-header .section-label,
.section-label {
  display: inline-flex !important;
  width: auto !important;
  max-width: fit-content !important;
  align-items: center;
  gap: 8px;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
  margin: 0 auto 16px;
}
.section-label i {
  font-size: 12px;
  opacity: 0.85;
}
.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.section-title .gold { color: var(--gold); }
.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 8px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 0 auto 24px;
}

/* ---- Cards ---- */
.card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: margin-top var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  border-color: rgba(200,134,10,0.3);
  margin-top: -4px;
  margin-bottom: 4px;
  box-shadow: var(--shadow);
}

/* ---- Product Card ---- */
.product-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}
.product-card:hover {
  border-color: rgba(200,134,10,0.35);
  margin-top: -4px;
  margin-bottom: 4px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.product-img {
  position: relative;
  overflow: hidden;
  background: var(--dark2);
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img img {
  transform: scale(1.05);
}

/* ---- Badges ---- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
}
.badge-gold    { background: rgba(200,134,10,0.15); color: var(--gold); border: 1px solid rgba(200,134,10,0.3); }
.badge-success { background: rgba(16,185,129,0.15); color: #10b981; border: 1px solid rgba(16,185,129,0.3); }
.badge-danger  { background: rgba(239,68,68,0.15);  color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }
.badge-info    { background: rgba(59,130,246,0.15); color: #3b82f6; border: 1px solid rgba(59,130,246,0.3); }
.badge-gray    { background: rgba(153,153,187,0.15); color: #9999BB; border: 1px solid rgba(153,153,187,0.2); }
.badge-sale    { background: #ef4444; color: #fff; }

/* ---- Forms ---- */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 11px 14px;
  background: var(--dark2);
  border: 1px solid rgba(200,134,10,0.2);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  transition: border-color var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: rgba(200,134,10,0.55);
  box-shadow: 0 0 0 3px rgba(200,134,10,0.1);
}
.form-control::placeholder { color: rgba(153,153,187,0.5); }

/* ---- Price ---- */
.price-main { font-size: 18px; font-weight: 800; color: var(--gold); }
.price-old  { font-size: 13px; color: var(--text-muted); text-decoration: line-through; }
.price-sale {
  font-size: 11px;
  background: rgba(239,68,68,0.12);
  color: #ef4444;
  border: 1px solid rgba(239,68,68,0.25);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 700;
}

/* ---- Pagination ---- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.page-link {
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--dark3);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
  padding: 0 12px;
}
.page-link:hover, .page-link.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

/* ---- Star Ratings ---- */
.stars { color: #F0A832; letter-spacing: 2px; }
.stars-empty { color: rgba(200,134,10,0.2); }

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--gold);
  transition: opacity 0.2s;
}
.breadcrumb a:hover { opacity: 0.75; }
.breadcrumb .sep { font-size: 10px; opacity: 0.5; }

/* ---- Alert/Flash ---- */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.alert-success {
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  color: #10b981;
}
.alert-error, .alert-danger {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  color: #ef4444;
}
.alert-info {
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  color: #3b82f6;
}
.alert-warning {
  background: rgba(234,179,8,0.1);
  border: 1px solid rgba(234,179,8,0.25);
  color: #eab308;
}

/* ---- Empty State ---- */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--dark3);
  border-radius: 16px;
  border: 1px dashed rgba(200,134,10,0.15);
}
.empty-state i {
  font-size: 56px;
  color: rgba(200,134,10,0.12);
  display: block;
  margin-bottom: 16px;
}
.empty-state h3 { font-size: 18px; color: var(--text); margin-bottom: 8px; }
.empty-state p  { color: var(--text-muted); font-size: 14px; }

/* ---- Table ---- */
.table-wrap {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
table { width: 100%; border-collapse: collapse; }
thead th {
  padding: 14px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-align: right;
  background: rgba(200,134,10,0.04);
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
tbody td {
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 1px solid rgba(200,134,10,0.04);
  color: var(--text);
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(200,134,10,0.025); }

/* ---- Transitions & Animations ---- */
@keyframes fadeIn  { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
@keyframes scaleIn { from { opacity:0; transform:scale(0.95); }      to { opacity:1; transform:scale(1); } }
@keyframes slideUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes pulse   { 0%,100%{ transform:scale(1); } 50%{ transform:scale(1.05); } }
@keyframes shimmer { 0%{ background-position:-200% 0; } 100%{ background-position:200% 0; } }

.fade-in   { animation: fadeIn  0.5s ease forwards; }
.scale-in  { animation: scaleIn 0.4s ease forwards; }
.slide-up  { animation: slideUp 0.6s ease forwards; }

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, var(--dark3) 25%, var(--dark4) 50%, var(--dark3) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

/* ---- Gold Gradient Text ---- */
.text-gold { color: var(--gold); }
.text-gradient {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar        { width: 6px; height: 6px; }
::-webkit-scrollbar-track  { background: var(--dark2); }
::-webkit-scrollbar-thumb  { background: rgba(200,134,10,0.35); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(200,134,10,0.6); }

/* ---- Selection ---- */
::selection { background: rgba(200,134,10,0.25); color: var(--white); }

/* ---- Responsive Utilities ---- */
/* ====================================================
   MOBILE-FIRST RESPONSIVE SYSTEM
   ==================================================== */
@media (max-width: 1024px) {
  .section-title { font-size: 26px; }
  .hero-content-inner { gap: 40px; }
}

@media (max-width: 900px) {
  /* Navigation */
  #main-header .nav-menu { display: none; }

  /* Sections */
  .svc-cards-grid { grid-template-columns: repeat(2,1fr) !important; }
  .team-grid { grid-template-columns: repeat(2,1fr) !important; }
  .reviews-grid { grid-template-columns: repeat(2,1fr) !important; }
  .fp-grid { grid-template-columns: repeat(2,1fr) !important; }

  /* About / stats */
  .about-stats { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .section-title { font-size: 22px; }
  .btn { padding: 10px 18px; font-size: 13px; }

  /* Shop */
  .shop-wrap { grid-template-columns: 1fr !important; }
  .shop-sidebar { position: static !important; }
  .products-grid { grid-template-columns: repeat(2,1fr) !important; }

  /* Product detail */
  .product-layout { grid-template-columns: 1fr !important; }

  /* Cart & Checkout */
  .cart-wrap, .checkout-wrap { grid-template-columns: 1fr !important; }

  /* Account tabs — horizontal scroll */
  .account-tabs { overflow-x: auto; flex-wrap: nowrap !important; padding-bottom: 4px; }
  .account-tabs::-webkit-scrollbar { height: 0; }
}

@media (max-width: 560px) {
  /* Horizontal scroll sections */
  .svc-cards-grid {
    grid-template-columns: repeat(4,80vw) !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
  }
  .team-grid {
    grid-template-columns: repeat(4,72vw) !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
  }
  .reviews-grid {
    grid-template-columns: repeat(4,80vw) !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
  }
  .svc-cards-grid > *, .team-grid > *, .reviews-grid > * { scroll-snap-align: start; }

  /* Products */
  .products-grid { grid-template-columns: repeat(2,1fr) !important; gap: 12px !important; }
  .fp-grid { grid-template-columns: repeat(2,1fr) !important; }

  /* Typography */
  .section-title { font-size: 20px; }
  .container { padding: 0 14px; }

  /* Buttons */
  .btn { padding: 9px 16px; font-size: 12px; }
}

@media (max-width: 400px) {
  .products-grid { grid-template-columns: 1fr !important; }
  .fp-grid { grid-template-columns: 1fr !important; }
}

/* ======================================
   EXTENDED COMPONENTS 2026
   ====================================== */

/* ---- Page Header Banner ---- */
.page-banner {
  background: linear-gradient(135deg, var(--dark2) 0%, var(--dark3) 100%);
  border-bottom: 1px solid rgba(200,134,10,0.1);
  padding: 32px 0;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200,134,10,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.page-banner h1 { font-size: 28px; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.page-banner .breadcrumb-nav { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); flex-wrap: wrap; }
.page-banner .breadcrumb-nav a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.page-banner .breadcrumb-nav a:hover { color: var(--gold); }
.page-banner .breadcrumb-sep { color: rgba(200,134,10,0.35); font-size: 10px; }

/* ---- Skeleton Loading ---- */
.skeleton {
  background: linear-gradient(90deg, var(--dark2) 25%, rgba(200,134,10,0.04) 50%, var(--dark2) 75%);
  background-size: 200% 100%;
  animation: skeleton-shine 1.5s infinite;
  border-radius: 8px;
}
@keyframes skeleton-shine {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---- Product Card Hover Effects ---- */
.product-card {
  background: var(--dark3);
  border: 1px solid rgba(200,134,10,0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.product-card:hover {
  border-color: rgba(200,134,10,0.3);
  margin-top: -6px;
  margin-bottom: 6px;
  box-shadow: 0 20px 48px rgba(0,0,0,0.35);
}
.product-card .card-img {
  height: 220px;
  overflow: hidden;
  background: var(--dark2);
}
.product-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .card-img img { transform: scale(1.06); }
.product-card .card-body { padding: 16px; }
.product-card .card-title { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card .card-price { font-size: 18px; font-weight: 800; color: var(--gold); }
.product-card .card-price-old { font-size: 13px; color: var(--text-muted); text-decoration: line-through; margin-right: 6px; }
.product-card .card-actions { padding: 0 16px 16px; display: flex; gap: 8px; }

/* ---- Alert Boxes ---- */
.alert {
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  line-height: 1.5;
}
.alert i { flex-shrink: 0; margin-top: 1px; font-size: 16px; }
.alert-success { background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.2); color: #10b981; }
.alert-error   { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); color: #ef4444; }
.alert-warning { background: rgba(234,179,8,0.08); border: 1px solid rgba(234,179,8,0.2); color: #eab308; }
.alert-info    { background: rgba(59,130,246,0.08); border: 1px solid rgba(59,130,246,0.2); color: #3b82f6; }
.alert-gold    { background: rgba(200,134,10,0.08); border: 1px solid rgba(200,134,10,0.2); color: var(--gold); }

/* ---- Form Controls ---- */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 7px; }
.form-control {
  width: 100%;
  padding: 11px 14px;
  background: var(--dark2);
  border: 1px solid rgba(200,134,10,0.18);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.form-control:focus {
  border-color: rgba(200,134,10,0.5);
  box-shadow: 0 0 0 3px rgba(200,134,10,0.08);
}
.form-control::placeholder { color: rgba(255,255,255,0.25); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 90px; }

/* ---- Tags / Chips ---- */
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 600; }
.tag-gold    { background: rgba(200,134,10,0.12); border: 1px solid rgba(200,134,10,0.25); color: var(--gold); }
.tag-green   { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2); color: #10b981; }
.tag-red     { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.2); color: #ef4444; }
.tag-blue    { background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.2); color: #3b82f6; }
.tag-purple  { background: rgba(139,92,246,0.1); border: 1px solid rgba(139,92,246,0.2); color: #8b5cf6; }

/* ---- Divider ---- */
.divider { height: 1px; background: rgba(200,134,10,0.1); margin: 24px 0; }
.divider-gold { height: 2px; width: 60px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 1px; margin: 16px 0; }

/* ---- Empty State ---- */
.empty-state {
  text-align: center;
  padding: 60px 24px;
  background: var(--dark3);
  border: 1px solid rgba(200,134,10,0.08);
  border-radius: 16px;
}
.empty-state-icon { font-size: 56px; color: rgba(200,134,10,0.1); display: block; margin-bottom: 16px; }
.empty-state-title { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.empty-state-text { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }

/* ---- Progress Bar ---- */
.progress { height: 6px; background: rgba(200,134,10,0.1); border-radius: 3px; overflow: hidden; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 3px; transition: width 1s ease; }

/* ---- Stars Rating ---- */
.stars { color: var(--gold); letter-spacing: 2px; font-size: 14px; }
.stars .empty { color: rgba(200,134,10,0.2); }

/* ---- Floating Action Button ---- */
.fab {
  position: fixed;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  z-index: 800;
  font-size: 20px;
}
.fab:hover { transform: scale(1.1); }
.fab-gold { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--dark); }
.fab-whatsapp { background: #25D366; color: #fff; right: 24px; bottom: 24px; }
.fab-top { background: var(--dark2); border: 1px solid rgba(200,134,10,0.25); color: var(--gold); right: 24px; bottom: 84px; opacity: 0; pointer-events: none; transition: opacity 0.3s; }

/* ---- Notification Badge ---- */
.badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  background: var(--gold);
  color: var(--dark);
  font-size: 10px;
  font-weight: 800;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* ---- Price Display ---- */
.price-display { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-current { font-size: 24px; font-weight: 800; color: var(--gold); }
.price-original { font-size: 15px; color: var(--text-muted); text-decoration: line-through; }
.price-discount { font-size: 12px; font-weight: 700; background: rgba(239,68,68,0.12); color: #ef4444; padding: 2px 8px; border-radius: 5px; }

/* ---- Table Utilities ---- */
.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid rgba(200,134,10,0.1); }
table.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data-table th { padding: 12px 16px; background: var(--dark2); color: var(--gold); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; text-align: right; border-bottom: 1px solid rgba(200,134,10,0.1); white-space: nowrap; }
table.data-table td { padding: 12px 16px; border-bottom: 1px solid rgba(200,134,10,0.04); color: var(--text); vertical-align: middle; }
table.data-table tr:last-child td { border-bottom: none; }
table.data-table tr:hover td { background: rgba(200,134,10,0.025); }

/* ---- Animation Utilities ---- */
.fade-in { animation: fadeIn 0.5s ease forwards; }
.slide-up { animation: slideUp 0.5s ease forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ─── Utility: always center regardless of direction ─── */
.text-center { text-align: center !important; }
[dir="rtl"] .text-center,
[dir="rtl"] .text-center * { text-align: center !important; }


/* ================================================
   CENTERING — Applied last, highest priority
   Centers all section titles, hero, page headers
   ================================================ */

/* Section headers always centered */
.section-header { text-align: center; }
.section-title { text-align: center; }
.section-subtitle { text-align: center; }

/* Hero always centered */
#hero .hero-body { text-align: center; }
#hero h1, #hero h2, #hero h3,
#hero p, #hero .hero-h1,
#hero .hero-sub, #hero .hero-badge,
#hero .hero-stat, #hero .hero-stat * { text-align: center; }

/* Service cards centered */
.svc-card { text-align: center; }
.svc-card h3, .svc-card p,
.svc-card-title, .svc-card-desc,
.svc-card-icon { text-align: center; }

/* About stats centered */
.about-stat, .about-stat *,
.stat-item, .stat-item *,
.hero-stat, .hero-stat * { text-align: center; }

/* Team cards centered */
.tm-body, .tm-body *,
.tm-name, .tm-role, .tm-bio-preview { text-align: center; }

/* Text utility */
.text-center { text-align: center !important; }

/* Hero typewriter — centered */
#hero .hero-sub { 
  text-align: center; 
  width: 100%;
}
