/* ════════════════════════════════════════════════════════════
   Be Inspired by Islam — SLB.CAREERS INSPIRED REDESIGN
   Clean white/blue corporate design with blue striped accents
   ════════════════════════════════════════════════════════════ */

:root {
  /* SLB-inspired corporate blue palette */
  --slb-blue: #0050a0;
  --slb-blue-dark: #003366;
  --slb-blue-light: #0066cc;
  --slb-blue-subtle: #e8f0fe;
  --slb-blue-stripe: #004080;
  --slb-white: #ffffff;
  --slb-grey-1: #f5f5f5;
  --slb-grey-2: #e0e0e0;
  --slb-grey-3: #cccccc;
  --slb-grey-4: #999999;
  --slb-grey-5: #666666;
  --slb-black: #1a1a1a;
  --slb-text: #333333;
  --slb-text-light: #666666;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Typography */
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic: 'Noto Naskh Arabic', 'Amiri', 'Traditional Arabic', serif;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.1);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ════════════════════════════════════════════════════════════
   RESET & BASE
   ════════════════════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-ui);
  background: var(--slb-white);
  color: var(--slb-text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: var(--slb-blue);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--slb-blue-dark); }

img { max-width: 100%; height: auto; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-ui);
  color: var(--slb-black);
  line-height: 1.25;
  margin-bottom: var(--space-md);
}
h1 {
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: -0.5px;
}
h2 {
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--slb-black);
}
h3 { font-size: 1.4rem; font-weight: 400; }
h4 { font-size: 1.1rem; font-weight: 500; }

/* ════════════════════════════════════════════════════════════
   SCROLLBAR
   ════════════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--slb-grey-1); }
::-webkit-scrollbar-thumb { background: var(--slb-blue); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--slb-blue-dark); }

/* ════════════════════════════════════════════════════════════
   NAVBAR — Clean white corporate bar
   ════════════════════════════════════════════════════════════ */
.navbar-glass {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--slb-white);
  border-bottom: 1px solid var(--slb-grey-2);
  padding: 0;
  height: 64px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.navbar-glass .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  height: 64px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--slb-black);
  text-decoration: none;
  border-right: 1px solid var(--slb-grey-2);
}
.navbar-glass .navbar-brand span:last-child { color: var(--slb-blue); }

.navbar-glass #nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
  padding: 0 16px;
}

.navbar-glass .nav-link {
  display: flex;
  align-items: center;
  height: 64px;
  padding: 0 20px;
  color: var(--slb-text-light);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
  position: relative;
}
.navbar-glass .nav-link:hover,
.navbar-glass .nav-link.active {
  color: var(--slb-blue);
  background: var(--slb-blue-subtle);
}

.navbar-glass .nav-link::after {
  content: none;
}

.cart-link .cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: var(--slb-blue);
  color: var(--slb-white);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ════════════════════════════════════════════════════════════
   HERO — Full-width image + overlay
   ════════════════════════════════════════════════════════════ */
.hero-glass {
  position: relative;
  text-align: center;
  padding: 100px 24px;
  background: linear-gradient(135deg, var(--slb-blue-dark) 0%, var(--slb-blue) 50%, var(--slb-blue-light) 100%);
  overflow: hidden;
  margin-bottom: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
}
.hero-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 20px,
      rgba(255,255,255,0.03) 20px,
      rgba(255,255,255,0.03) 40px
    );
  pointer-events: none;
}
.hero-glass::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,80,160,0.3) 0%, transparent 50%);
  pointer-events: none;
}
.hero-glass * { position: relative; z-index: 1; }
.hero-glass h1 {
  font-size: 3.2rem;
  font-weight: 300;
  color: var(--slb-white);
  margin-bottom: var(--space-md);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}
.hero-glass p {
  color: rgba(255,255,255,0.85);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 300;
}

.hero-glass .hero-actions { margin-top: var(--space-xl); }

/* ════════════════════════════════════════════════════════════
   BUTTONS — Clean border style like SLB
   ════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 0;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid;
  text-decoration: none;
  letter-spacing: 0;
}

.btn-primary {
  background: transparent;
  color: var(--slb-white);
  border-color: var(--slb-white);
}
.btn-primary:hover {
  background: var(--slb-white);
  color: var(--slb-blue);
}

.btn-secondary {
  background: transparent;
  color: var(--slb-blue);
  border-color: var(--slb-blue);
}
.btn-secondary:hover {
  background: var(--slb-blue);
  color: var(--slb-white);
}

.btn-success {
  background: #1a8a6e;
  border-color: #1a8a6e;
  color: white;
}
.btn-success:hover { background: #156d58; border-color: #156d58; }

.btn-danger {
  background: #c0392b;
  border-color: #c0392b;
  color: white;
}

.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 14px 36px; font-size: 1.05rem; }

/* ════════════════════════════════════════════════════════════
   GLASS CARDS → Clean white cards
   ════════════════════════════════════════════════════════════ */
.glass-card {
  background: var(--slb-white);
  border: 1px solid var(--slb-grey-2);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.glass-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--slb-blue);
}
.glass-card::before { display: none; }

/* ════════════════════════════════════════════════════════════
   PRODUCT CARDS
   ════════════════════════════════════════════════════════════ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
  padding: var(--space-xl) 0;
}

.product-card {
  background: var(--slb-white);
  border: 1px solid var(--slb-grey-2);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--slb-blue);
  transform: translateY(-2px);
}

.product-card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.1), transparent);
  pointer-events: none;
}

.product-card .card-body { padding: var(--space-lg); }
.product-card .card-title {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
  color: var(--slb-black);
  font-weight: 500;
}
.product-card .card-text {
  color: var(--slb-text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: var(--space-md);
}
.product-card .price {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--slb-blue);
}
.product-card .old-price {
  text-decoration: line-through;
  color: var(--slb-grey-3);
  font-size: 0.95rem;
  margin-right: var(--space-sm);
}
.product-card .sale-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: #c0392b;
  color: white;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}
.product-card .card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* ════════════════════════════════════════════════════════════
   SECTION
   ════════════════════════════════════════════════════════════ */
.section {
  padding: var(--space-3xl) var(--space-xl);
}
.featured-section {
  padding: var(--space-3xl) var(--space-xl);
  background: var(--slb-grey-1);
}
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}
.section-title {
  font-size: 2rem;
  font-weight: 300;
  color: var(--slb-black);
}
.section-subtitle {
  color: var(--slb-text-light);
  font-size: 1rem;
}

/* ════════════════════════════════════════════════════════════
   PAGE HERO — Inner pages
   ════════════════════════════════════════════════════════════ */
.page-hero {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
  background: var(--slb-blue-subtle);
  border-bottom: 1px solid var(--slb-grey-2);
  margin-bottom: var(--space-2xl);
}
.page-hero-title {
  font-size: 2rem;
  font-weight: 300;
  color: var(--slb-black);
  margin-bottom: var(--space-sm);
}
.page-hero-subtitle {
  color: var(--slb-text-light);
  font-size: 1rem;
}

/* ════════════════════════════════════════════════════════════
   FOOTER — Clean blue footer
   ════════════════════════════════════════════════════════════ */
.footer-glass {
  background: var(--slb-blue-dark);
  color: rgba(255,255,255,0.8);
  padding: var(--space-3xl) var(--space-xl) var(--space-xl);
  margin-top: var(--space-3xl);
  border-top: none;
}
.footer-glass h5 {
  color: var(--slb-white);
  margin-bottom: var(--space-md);
  font-weight: 500;
  font-size: 1rem;
}
.footer-glass a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.footer-glass a:hover { color: var(--slb-white); }

/* ════════════════════════════════════════════════════════════
   TABLES, FORMS, ETC
   ════════════════════════════════════════════════════════════ */
.table-glass {
  background: var(--slb-white);
  border: 1px solid var(--slb-grey-2);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.table-glass thead th {
  background: var(--slb-grey-1);
  color: var(--slb-blue);
  border-bottom: 2px solid var(--slb-grey-2);
  padding: var(--space-md);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.table-glass td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--slb-grey-2);
  color: var(--slb-text);
}
.table-glass tr:hover td { background: var(--slb-blue-subtle); }

.form-glass {
  background: var(--slb-white);
  border: 1px solid var(--slb-grey-2);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}
.form-glass .form-control {
  background: var(--slb-grey-1);
  border: 1px solid var(--slb-grey-2);
  border-radius: var(--radius-sm);
  color: var(--slb-text);
  padding: 10px 14px;
  transition: all var(--transition);
}
.form-glass .form-control:focus {
  border-color: var(--slb-blue);
  box-shadow: 0 0 0 3px rgba(0,80,160,0.1);
  background: var(--slb-white);
  outline: none;
}
.form-glass .form-label {
  color: var(--slb-text);
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

select.form-control option { background: white; color: var(--slb-text); }

.filters-panel {
  background: var(--slb-white);
  border: 1px solid var(--slb-grey-2);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}
.filters-panel h5 {
  color: var(--slb-blue);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-md);
}
.filter-group {
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--slb-grey-2);
}
.filter-option {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 4px 0;
  color: var(--slb-text-light);
  cursor: pointer;
}
.filter-option:hover { color: var(--slb-text); }

.search-glass {
  background: var(--slb-grey-1);
  border: 1px solid var(--slb-grey-2);
  border-radius: 0;
  padding: 10px 16px;
  color: var(--slb-text);
  width: 100%;
  transition: all var(--transition);
  font-family: var(--font-ui);
}
.search-glass:focus {
  outline: none;
  border-color: var(--slb-blue);
  box-shadow: 0 0 0 3px rgba(0,80,160,0.1);
  background: var(--slb-white);
}
.search-glass::placeholder { color: var(--slb-grey-4); }

.breadcrumb-gold { background: transparent; padding: var(--space-md) 0; }
.breadcrumb-gold .breadcrumb-item { color: var(--slb-grey-4); }
.breadcrumb-gold .breadcrumb-item a { color: var(--slb-blue); }
.breadcrumb-gold .breadcrumb-item.active { color: var(--slb-text); }
.breadcrumb-gold .breadcrumb-item + .breadcrumb-item::before { color: var(--slb-grey-3); }

.alert-glass {
  background: var(--slb-grey-1);
  border: 1px solid var(--slb-grey-2);
  border-radius: var(--radius-sm);
  color: var(--slb-text);
  padding: var(--space-md) var(--space-lg);
}
.alert-glass.alert-success { border-color: #1a8a6e; }
.alert-glass.alert-danger { border-color: #c0392b; }
.alert-glass.alert-warning { border-color: #e67e22; }

.pagination-glass { gap: 4px; }
.pagination-glass .page-link {
  background: var(--slb-white);
  border: 1px solid var(--slb-grey-2);
  color: var(--slb-text);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  transition: all var(--transition);
}
.pagination-glass .page-link:hover { border-color: var(--slb-blue); color: var(--slb-blue); }
.pagination-glass .page-item.active .page-link {
  background: var(--slb-blue);
  border-color: var(--slb-blue);
  color: var(--slb-white);
}

/* ════════════════════════════════════════════════════════════
   COURSES
   ════════════════════════════════════════════════════════════ */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}
.course-card {
  background: var(--slb-white);
  border: 1px solid var(--slb-grey-2);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.course-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--slb-blue);
  transform: translateY(-2px);
}
.course-card img { width: 100%; height: 180px; object-fit: cover; }
.course-card-body { padding: var(--space-lg); }
.course-card-body h3 { font-size: 1.15rem; margin-bottom: var(--space-sm); }
.course-card-body p { color: var(--slb-text-light); font-size: 0.9rem; line-height: 1.6; }
.course-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--slb-grey-2);
}

/* ════════════════════════════════════════════════════════════
   VALUES / BENEFITS GRID
   ════════════════════════════════════════════════════════════ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}
.value-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--slb-white);
  border: 1px solid var(--slb-grey-2);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.value-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--slb-blue);
  transform: translateY(-2px);
}
.value-card .value-icon { font-size: 2.5rem; margin-bottom: var(--space-md); }
.value-card h3 { font-size: 1.15rem; margin-bottom: var(--space-sm); }
.value-card p { font-size: 0.95rem; line-height: 1.7; }

/* ════════════════════════════════════════════════════════════
   CART / CHECKOUT
   ════════════════════════════════════════════════════════════ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-xl);
  align-items: start;
}
.cart-items { display: flex; flex-direction: column; gap: var(--space-md); }
.cart-item { background: var(--slb-white); border: 1px solid var(--slb-grey-2); border-radius: var(--radius-md); padding: var(--space-lg); }
.cart-item:hover { border-color: var(--slb-blue); }
.cart-item-desc { color: var(--slb-text-light); }
.cart-item-type {
  display: inline-block;
  background: var(--slb-blue-subtle);
  color: var(--slb-blue);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: 2px;
}
.cart-summary {
  position: sticky;
  top: 90px;
  background: var(--slb-grey-1);
  border: 1px solid var(--slb-grey-2);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
}
.cart-summary h3 { color: var(--slb-blue); margin-bottom: var(--space-lg); border-bottom: 2px solid var(--slb-grey-2); padding-bottom: var(--space-md); }
.summary-row { display: flex; justify-content: space-between; padding: var(--space-sm) 0; }

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-xl);
  align-items: start;
}
.checkout-section { background: var(--slb-white); border: 1px solid var(--slb-grey-2); border-radius: var(--radius-md); padding: var(--space-xl); }
.checkout-section h3 { color: var(--slb-blue); margin-bottom: var(--space-md); }
.payment-option {
  display: flex; align-items: center; gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--slb-grey-1);
  border: 1px solid var(--slb-grey-2);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.payment-option:hover { border-color: var(--slb-blue); }
.guarantee-card { text-align: center; padding: var(--space-xl); background: var(--slb-grey-1); border-radius: var(--radius-md); }

/* ════════════════════════════════════════════════════════════
   PRODUCT DETAIL
   ════════════════════════════════════════════════════════════ */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: start;
}
.product-detail-title { font-size: 2rem; font-weight: 300; }
.product-detail-subtitle { color: var(--slb-text-light); }
.product-detail-description { color: var(--slb-text-light); line-height: 1.8; }
.product-detail-description h2 { color: var(--slb-blue); font-size: 1.1rem; font-weight: 500; }
.meta-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 4px 14px;
  background: var(--slb-grey-1);
  border: 1px solid var(--slb-grey-2);
  border-radius: 2px;
  font-size: 0.85rem;
}
.purchase-card { position: sticky; top: 90px; background: var(--slb-grey-1); border: 1px solid var(--slb-grey-2); border-radius: var(--radius-md); padding: var(--space-xl); }
.price-large { font-size: 2.5rem; font-weight: 600; color: var(--slb-blue); }
.price-free-large { font-size: 2.5rem; font-weight: 600; color: #1a8a6e; }
.btn-purchase {
  display: flex; align-items: center; justify-content: center; gap: var(--space-sm);
  width: 100%; padding: 14px;
  background: var(--slb-blue);
  color: var(--slb-white);
  border: 2px solid var(--slb-blue);
  font-size: 1.05rem; font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-purchase:hover { background: var(--slb-blue-dark); border-color: var(--slb-blue-dark); }

.confirmation-card {
  background: var(--slb-white);
  border: 1px solid var(--slb-grey-2);
  border-radius: var(--radius-md);
  padding: var(--space-3xl);
  max-width: 560px;
  width: 100%;
  text-align: center;
}
.confirmation-icon { font-size: 3rem; margin-bottom: var(--space-md); }
.status-pending { color: #e67e22 !important; }
.status-completed { color: #1a8a6e !important; }
.status-cancelled { color: #c0392b !important; }

/* ════════════════════════════════════════════════════════════
   WHATSAPP FLOAT
   ════════════════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  box-shadow: 0 2px 12px rgba(37,211,102,0.3);
  z-index: 9998;
  transition: all var(--transition);
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  color: white;
}

/* ════════════════════════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════════════════════════ */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.animate-fade-in { animation: fadeIn 0.6s ease; }
.animate-fade-up { animation: fadeInUp 0.6s ease; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════════════════════════
   LOADING SCREEN
   ════════════════════════════════════════════════════════════ */
.loading-screen {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: white;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 99999;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.loading-screen.loaded {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.loading-screen .loading-text { font-family: var(--font-ui); font-size: 1rem; color: var(--slb-blue); }
.loading-screen .arabic { font-size: 1.4rem; color: var(--slb-blue); margin-bottom: var(--space-sm); }
.spinner-gold {
  width: 36px;
  height: 36px;
  margin: 0 auto var(--space-lg);
  border: 3px solid var(--slb-grey-2);
  border-top-color: var(--slb-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ════════════════════════════════════════════════════════════
   CATEGORY LIST, QTY SELECTOR, STAR RATING, ETC
   ════════════════════════════════════════════════════════════ */
.category-list { list-style: none; }
.category-list a {
  display: block; padding: var(--space-sm) var(--space-md);
  color: var(--slb-text-light);
  transition: all var(--transition);
}
.category-list a:hover { background: var(--slb-blue-subtle); color: var(--slb-blue); }
.category-list a.active { background: var(--slb-blue-subtle); color: var(--slb-blue); font-weight: 600; }

.qty-selector { display: inline-flex; align-items: center; border: 1px solid var(--slb-grey-2); }
.qty-selector button { background: var(--slb-grey-1); border: none; color: var(--slb-text); padding: 6px 12px; cursor: pointer; }
.qty-selector input { border-left: 1px solid var(--slb-grey-2); border-right: 1px solid var(--slb-grey-2); color: var(--slb-text); text-align: center; width: 50px; padding: 6px 0; border: none; background: var(--slb-white); }

.star-rating { color: var(--slb-blue); font-size: 1rem; letter-spacing: 2px; }
.star-rating .empty { color: var(--slb-grey-3); }

.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  padding: 12px 20px;
  background: var(--slb-white);
  border: 1px solid var(--slb-grey-2);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  pointer-events: auto;
  animation: fadeInUp 0.3s ease;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  color: var(--slb-text);
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero-glass h1 { font-size: 2rem; }
  .hero-glass { padding: 60px 20px; }
  .navbar-glass { height: auto; flex-wrap: wrap; }
  .navbar-glass .navbar-brand { border-right: none; }
  .navbar-glass #nav-links { padding: 8px 16px; flex-wrap: wrap; }
  .navbar-glass .nav-link { height: auto; padding: 8px 16px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .product-detail-layout { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   UTILITY
   ════════════════════════════════════════════════════════════ */
.text-center { text-align: center; }
.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.justify-content-center { justify-content: center; }
.align-items-center { align-items: center; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.py-3 { padding-top: 1rem; padding-bottom: 1rem; }
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.px-3 { padding-left: 1rem; padding-right: 1rem; }
