/* ========================================
   SADIQ PROJECT THEME
   4-Color Design System
   ======================================== */

/* Design Tokens */
:root {
  /* Primary - Ahlulbayt Green */
  --primary: #1F4015;
  --primary-700: #17310F;
  --primary-500: #1F4015;
  --primary-300: rgba(31, 64, 21, 0.6);
  --primary-100: rgba(31, 64, 21, 0.1);
  --primary-hover: #17310F;
  
  /* Accent - Gold (use sparingly) */
  --accent: #C9A24D;
  --accent-100: rgba(201, 162, 77, 0.15);
  --accent-hover: #B8923D;
  
  /* Background - Ivory */
  --bg: #F7F4EE;
  --bg-white: #FFFFFF;
  --bg-card: #FFFFFF;
  
  /* Ink - Dark charcoal (high contrast for accessibility) */
  --ink: #212121;
  --ink-muted: #4A4A4A; /* Darker muted for better contrast */
  --ink-light: rgba(33, 33, 33, 0.5);
  
  /* Borders */
  --border: rgba(31, 64, 21, 0.15);
  --border-light: rgba(31, 64, 21, 0.08);
  
  /* Legacy mappings for compatibility */
  --z-primary: var(--primary);
  --z-primary-dark: var(--primary-700);
  --z-primary-light: var(--primary-300);
  --z-gold: var(--accent);
  --z-gold-light: var(--accent);
  --z-cream: var(--bg);
  --z-warm-cream: var(--bg);
  --z-warm-beige: var(--bg);
  --z-sand: var(--bg);
  --z-white: var(--bg-white);
  --z-dark: var(--ink);
  --z-text: var(--ink);
  --z-text-light: var(--ink-muted);
  --z-border: var(--border);
  
  /* Typography */
  --z-font-serif: 'Cormorant Garamond', Georgia, serif;
  --z-font-sans: 'Source Sans Pro', -apple-system, sans-serif;
  
  /* Effects */
  --z-transition: all 0.3s ease;
  --z-shadow-soft: 0 8px 30px rgba(28, 42, 57, 0.08);
  --z-shadow-medium: 0 12px 40px rgba(28, 42, 57, 0.12);
  --z-shadow-warm: 0 15px 50px rgba(201, 162, 77, 0.12);
  
  /* Focus ring for accessibility */
  --focus-ring: 0 0 0 3px rgba(201, 162, 77, 0.35);
}

/* Base styles */
body.sadiq-theme {
  font-family: var(--z-font-sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.sadiq-theme h1,
.sadiq-theme h2,
.sadiq-theme h3,
.sadiq-theme h4 {
  font-family: var(--z-font-serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* Links - green default, darker green on hover */
.sadiq-theme a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--z-transition);
}

.sadiq-theme a:hover {
  color: var(--primary-700);
  text-decoration: none;
}

/* ========================================
   HEADER
   ======================================== */
.z-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.z-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.25rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

.z-logo {
  font-family: var(--z-font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.z-logo img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.z-logo:hover {
  color: var(--primary-700);
  text-decoration: none;
}

/* Navigation */
.z-nav {
  display: flex;
  align-items: center;
}

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

.z-nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.65rem 0.9rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  transition: var(--z-transition);
  text-decoration: none;
  position: relative;
}

.z-nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.z-nav-menu > li > a:hover,
.z-nav-menu > li.active > a {
  color: var(--primary);
  text-decoration: none;
}

.z-nav-menu > li > a:hover::after,
.z-nav-menu > li.active > a::after {
  transform: scaleX(1);
}

.z-nav-menu > li > a i {
  font-size: 0.65rem;
  transition: transform 0.3s;
}

/* Dropdown */
.z-has-dropdown {
  position: relative;
}

.z-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  box-shadow: 0 10px 40px rgba(28, 42, 57, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--z-transition);
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
}

.z-has-dropdown:hover .z-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.z-has-dropdown:hover > a i {
  transform: rotate(180deg);
}

.z-dropdown li a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
}

.z-dropdown li a:hover {
  background: var(--primary-100);
  color: var(--primary);
  text-decoration: none;
}

/* Header Buttons */
.z-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Sign In Button - Secondary style */
.z-btn-signin {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  background: var(--bg);
  border: 1px solid var(--primary);
  border-radius: 6px;
  transition: var(--z-transition);
  cursor: pointer;
  text-decoration: none;
}

.z-btn-signin:hover {
  background: var(--primary-100);
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
}

.z-btn-signin:focus {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Profile Dropdown */
.z-profile-menu {
  position: relative;
}

.z-profile-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem;
  padding-right: 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--z-transition);
}

.z-profile-toggle:hover {
  background: var(--primary-100);
  border-color: var(--primary);
}

.z-profile-avatar {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.z-profile-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.z-profile-toggle i {
  font-size: 0.7rem;
  color: var(--ink-muted);
  transition: transform 0.3s;
}

.z-profile-menu.open .z-profile-toggle i {
  transform: rotate(180deg);
}

.z-profile-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(28, 42, 57, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--z-transition);
  z-index: 1001;
  overflow: hidden;
}

.z-profile-menu.open .z-profile-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.z-profile-header {
  padding: 1rem 1.25rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.z-profile-header-name {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}

.z-profile-header-email {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-top: 0.15rem;
}

.z-profile-links {
  padding: 0.5rem 0;
}

.z-profile-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  color: var(--ink);
  font-size: 0.9rem;
  transition: background 0.2s;
  text-decoration: none;
}

.z-profile-link:hover {
  background: var(--primary-100);
  color: var(--primary);
  text-decoration: none;
}

.z-profile-link i {
  width: 18px;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.z-profile-link:hover i {
  color: var(--primary);
}

.z-profile-divider {
  height: 1px;
  background: var(--border);
  margin: 0.5rem 0;
}

.z-profile-link.logout {
  color: #dc3545;
}

.z-profile-link.logout:hover {
  background: #fff5f5;
  color: #dc3545;
  text-decoration: none;
}

.z-profile-link.logout i {
  color: #dc3545;
}

/* ========================================
   BUTTONS - All must have visible text!
   Primary = Green bg, white text
   Secondary = Ivory bg, green border/text
   ======================================== */
.z-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.5rem;
  font-family: var(--z-font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
  transition: var(--z-transition);
  cursor: pointer;
  text-decoration: none;
  border: none;
  /* Default fallback to ensure text is always visible */
  color: var(--ink);
}

.z-btn:focus {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Primary Button - Green with VISIBLE white text */
.z-btn-primary {
  background: var(--primary) !important;
  color: #ffffff !important;
  border: 2px solid var(--primary);
}

.z-btn-primary:hover {
  background: var(--primary-700) !important;
  border-color: var(--primary-700);
  text-decoration: none;
  color: #ffffff !important;
}

/* Secondary/Outline Button - Ivory with green border */
.z-btn-outline {
  background: var(--bg);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.z-btn-outline:hover {
  background: var(--primary-100);
  color: var(--primary);
  text-decoration: none;
}

/* Dark Button - Navy with VISIBLE white text */
.z-btn-dark {
  background: var(--ink) !important;
  color: #ffffff !important;
  border: 2px solid var(--ink);
}

.z-btn-dark:hover {
  background: #0f1a24 !important;
  border-color: #0f1a24;
  text-decoration: none;
  color: #ffffff !important;
}

/* Gold Button - Use sparingly for special moments */
.z-btn-gold {
  background: var(--accent);
  color: #ffffff;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 6px;
  border: 2px solid var(--accent);
  box-shadow: 0 4px 15px rgba(201, 162, 77, 0.25);
}

.z-btn-gold:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 162, 77, 0.35);
  text-decoration: none;
  color: #ffffff;
}

/* Hero CTA - Primary green */
.z-btn-hero {
  background: var(--primary);
  color: #ffffff;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  letter-spacing: 0.5px;
  border: 2px solid var(--primary);
}

.z-btn-hero:hover {
  background: var(--primary-700);
  border-color: var(--primary-700);
  transform: translateY(-2px);
  text-decoration: none;
  color: #ffffff;
}

/* Mobile Toggle */
.z-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.z-mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--z-dark);
  transition: var(--z-transition);
}

/* ========================================
   HERO
   ======================================== */
.z-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.z-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

/* Video background for hero */
.z-hero-video {
  position: relative;
}

.z-hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Hero overlay - removed gradient per user request */
.z-hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}

.z-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  padding: 2rem;
}

.z-hero-title {
  font-family: var(--z-font-serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 600;
  font-style: italic;
  color: #ffffff !important;
  line-height: 1.15;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 50px rgba(0, 0, 0, 0.5);
}

/* Hero CTA - Clean, appropriately sized button */
.z-hero-cta {
  display: inline-block;
  background: var(--primary) !important;
  color: #ffffff !important;
  padding: 14px 28px;
  font-family: var(--z-font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  transition: var(--z-transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.z-hero-cta:hover {
  background: var(--primary-700) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  text-decoration: none;
}

.z-hero-cta:focus {
  outline: none;
  box-shadow: var(--focus-ring), 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Hero CTA Group - For multiple buttons */
.z-hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Secondary Hero CTA - Gold accent for Sign Up */
.z-hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent) !important;
  color: #ffffff !important;
  padding: 14px 28px;
  font-family: var(--z-font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  transition: var(--z-transition);
  box-shadow: 0 4px 15px rgba(201, 162, 77, 0.4);
  border: none;
}

.z-hero-cta-secondary:hover {
  background: var(--accent-hover) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 162, 77, 0.5);
  text-decoration: none;
}

.z-hero-cta-secondary:focus {
  outline: none;
  box-shadow: var(--focus-ring), 0 4px 15px rgba(201, 162, 77, 0.4);
}

.z-hero-cta-secondary i {
  font-size: 0.9rem;
}

.z-hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  max-width: 650px;
  margin: 1.5rem auto 0;
  line-height: 1.7;
  display: none;
}

/* ========================================
   CONTAINER
   ======================================== */
.z-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ========================================
   ANNOUNCEMENT
   ======================================== */
.z-announcement {
  background: var(--bg);
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.z-announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

/* Badge - Gold for "Now Enrolling" type labels */
.z-announcement-label {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
}

.z-announcement h2 {
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.z-announcement p {
  color: var(--ink-muted);
  margin: 0;
  font-size: 1.05rem;
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.z-section-header {
  margin-bottom: 2.5rem;
}

.z-section-header.z-center {
  text-align: center;
}

/* Section label - Darker gold for accessibility/contrast */
.z-section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #9A7B3D; /* Darker gold for contrast on ivory */
  margin-bottom: 0.5rem;
  font-style: italic;
}

.z-section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  max-width: 800px;
}

.z-center .z-section-title {
  margin: 0 auto;
}

/* ========================================
   PROGRAMS SECTION
   ======================================== */
.z-programs {
  padding: 5rem 0;
  background: var(--bg);
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.z-programs::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.02;
  pointer-events: none;
}

.z-programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

/* Program Cards - White with distinct border for structure */
.z-program-card {
  background: var(--bg-white);
  border: 2px solid rgba(31, 64, 21, 0.12);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--z-transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.z-program-card:hover {
  box-shadow: 0 12px 40px rgba(31, 64, 21, 0.15);
  transform: translateY(-8px);
  border-color: var(--primary);
}

.z-program-card:hover .z-program-title {
  color: var(--primary);
}

.z-program-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg);
  position: relative;
}

.z-program-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
}

.z-program-content {
  padding: 1.75rem;
}

.z-program-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
  line-height: 1.3;
}

.z-program-content p {
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

/* Links - green with gold background on hover */
.z-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--primary);
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  margin: -0.5rem -1rem;
}

.z-link:hover {
  background: var(--accent);
  color: #1a1a1a;
  text-decoration: none;
}

.z-link i {
  font-size: 0.85rem;
}

/* ========================================
   SECTION HEADER WITH CTA
   ======================================== */
.z-section-header-with-cta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.z-section-header-with-cta .z-section-header-text {
  flex: 1;
  min-width: 280px;
}

.z-section-header-with-cta .z-btn {
  flex-shrink: 0;
  margin-top: 0.5rem;
}

/* ========================================
   CATALOG-STYLE PROGRAM CARDS
   Clean, scannable university catalog design
   ======================================== */
.z-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.z-catalog-card {
  background: var(--bg-white);
  border: 2px solid rgba(31, 64, 21, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--z-transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.z-catalog-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(31, 64, 21, 0.12);
  transform: translateY(-4px);
}

/* Image thumbnail area */
.z-catalog-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--bg);
}

.z-catalog-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.15), transparent);
  pointer-events: none;
}

.z-catalog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.z-catalog-card:hover .z-catalog-image img {
  transform: scale(1.05);
}

/* Content area */
.z-catalog-content {
  padding: 1.5rem;
  background: var(--bg-white);
}

.z-catalog-title {
  font-family: var(--z-font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  text-align: left;
}

.z-catalog-card:hover .z-catalog-title {
  color: var(--primary);
}

.z-catalog-preview {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: left;
}

.z-catalog-full {
  margin-bottom: 1rem;
}

.z-catalog-full p {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.7;
  text-align: left;
}

.z-catalog-toggle {
  background: transparent;
  border: none;
  padding: 0.5rem 1rem;
  font-family: var(--z-font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--z-transition);
  border-radius: 6px;
}

.z-catalog-toggle:hover {
  background: var(--accent);
  color: #1a1a1a;
}

.z-catalog-toggle i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

/* Responsive */
@media (max-width: 1024px) {
  .z-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .z-section-header-with-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .z-catalog-grid {
    grid-template-columns: 1fr;
  }
  
  .z-catalog-image {
    height: 180px;
  }
}
  transition: transform 0.3s;
}

.z-link:hover i {
  transform: translateX(6px);
}

/* ========================================
   STUDENTS SECTION
   ======================================== */
.z-students {
  padding: 3rem 0;
  background: var(--bg);
  overflow: hidden;
}

.z-students-carousel {
  overflow: visible;
  margin-top: 2rem;
  padding: 1rem 0;
}

.z-students-track {
  display: flex;
  gap: 2rem;
  animation: scrollStudents 30s linear infinite;
  align-items: center;
}

@keyframes scrollStudents {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.z-student-card {
  flex: 0 0 auto;
  width: 340px;
  height: 240px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--z-shadow-soft);
  background-color: var(--bg);
  transition: var(--z-transition);
  border: 1px solid var(--border);
}

.z-student-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--z-shadow-warm);
  border-color: var(--accent);
}

.z-student-card img {
  width: 100%;
  height: 100%;
  display: block;
  background-color: var(--bg);
  object-fit: cover;
  object-position: center;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.z-features {
  padding: 2rem 0;
  background: var(--bg-white);
}

.z-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.z-feature {
  text-align: center;
  padding: 1.25rem 1rem;
}

/* Feature icon chips - green */
.z-feature-icon {
  width: 65px;
  height: 65px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  box-shadow: 0 8px 25px rgba(31, 64, 21, 0.2);
}

.z-feature-icon i {
  font-size: 1.5rem;
  color: #ffffff;
}

.z-feature h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-family: var(--z-font-sans);
  font-weight: 600;
  color: var(--ink);
}

.z-feature p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 240px;
  margin: 0 auto;
}

/* ========================================
   EXPLORE SECTION
   ======================================== */
.z-explore {
  padding: 4rem 0;
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.z-explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.z-explore-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 16px;
  border: 2px solid rgba(31, 64, 21, 0.12);
  transition: var(--z-transition);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.z-explore-card:hover {
  box-shadow: 0 12px 35px rgba(31, 64, 21, 0.15);
  transform: translateY(-5px);
  border-color: var(--primary);
  text-decoration: none;
}

.z-explore-card:hover h4 {
  color: var(--primary);
}

/* Explore icon - green */
.z-explore-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.z-explore-icon i {
  font-size: 1.25rem;
  color: #ffffff;
}

.z-explore-card h4 {
  font-family: var(--z-font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.z-explore-card p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.55;
}

/* ========================================
   SPONSORS
   ======================================== */
.z-sponsors {
  padding: 4rem 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
}

.z-sponsors-label {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ink-muted);
  margin-bottom: 2rem;
}

.z-sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.z-sponsor-logo {
  max-height: 60px;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--z-transition);
}

.z-sponsor-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ========================================
   DONATE CTA - Green header band
   ======================================== */
.z-donate-cta {
  padding: 5rem 0;
  background: linear-gradient(145deg, var(--primary-700) 0%, var(--primary) 50%, var(--primary-700) 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.z-donate-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

.z-donate-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  flex-wrap: wrap;
  position: relative;
}

.z-donate-content {
  max-width: 750px;
}

/* Arabic text - gold accent */
.z-donate-arabic {
  font-size: 3.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
  font-family: 'Amiri', serif;
  letter-spacing: 3px;
}

.z-donate-content h2 {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 1rem;
  font-weight: 500;
}

.z-donate-content p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.35rem;
  line-height: 1.8;
}

/* Warm button - ivory background for contrast on green */
.z-btn-warm {
  background: var(--bg);
  color: var(--ink);
  padding: 1.5rem 3.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--bg);
  text-decoration: none;
}

.z-btn-warm:hover {
  background: var(--bg-white);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  color: var(--ink);
}

.z-btn-warm:focus {
  outline: none;
  box-shadow: var(--focus-ring), 0 10px 30px rgba(0, 0, 0, 0.2);
}

.z-btn-warm:active {
  transform: translateY(4px) scale(0.98);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.1s ease;
}

/* ========================================
   RESOURCES PAGE - Curated library style
   ======================================== */
.z-resources-section {
  padding: 4rem 0 6rem;
  background: var(--bg);
}

.z-resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.z-resource-card {
  background: var(--bg-white);
  border: 2px solid rgba(31, 64, 21, 0.1);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: left;
  transition: var(--z-transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.z-resource-card:hover {
  transform: translateY(-6px);
  border-color: rgba(31, 64, 21, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.z-resource-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.z-resource-icon i {
  font-size: 1.5rem;
  color: #ffffff;
}

.z-resource-title {
  font-family: var(--z-font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.z-resource-desc {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.z-resource-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--z-font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: var(--z-transition);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  background: transparent;
}

.z-resource-link:hover {
  background: var(--accent);
  color: #1a1a1a;
}

.z-resource-link i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.z-resource-link:hover i {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .z-resources-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
  }
}

/* ========================================
   FOOTER - Navy background, ivory text, gold accents
   Green divider connects footer to brand
   ======================================== */
.z-footer {
  background: var(--ink);
  color: var(--bg);
  padding: 4rem 0 2rem;
  position: relative;
}

/* Thin green divider above footer */
.z-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-700), var(--primary));
}

.z-footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.z-footer h4 {
  font-family: var(--z-font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--bg);
  margin-bottom: 1.25rem;
}

.z-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.z-footer ul li {
  margin-bottom: 0.6rem;
}

.z-footer ul li a {
  color: rgba(247, 244, 238, 0.7);
  font-size: 0.95rem;
  transition: var(--z-transition);
  text-decoration: none;
}

/* Gold hover for footer links */
.z-footer ul li a:hover {
  color: var(--accent);
  text-decoration: none;
}

.z-footer-contact p {
  color: rgba(247, 244, 238, 0.7);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.z-footer-contact a {
  color: rgba(247, 244, 238, 0.7);
  text-decoration: none;
}

.z-footer-contact a:hover {
  color: var(--accent);
  text-decoration: none;
}

.z-footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.z-footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(247, 244, 238, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(247, 244, 238, 0.7);
  transition: var(--z-transition);
  text-decoration: none;
}

/* Gold hover for social icons */
.z-footer-social a:hover {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
  text-decoration: none;
}

.z-footer-bottom {
  border-top: 1px solid rgba(247, 244, 238, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.z-copyright {
  font-size: 0.85rem;
  color: rgba(247, 244, 238, 0.5);
}

/* ========================================
   MOBILE NAVIGATION
   ======================================== */
.z-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 42, 57, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: var(--z-transition);
  z-index: 1001;
}

.z-mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.z-mobile-nav {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100%;
  background: var(--bg-white);
  z-index: 1002;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.z-mobile-nav.active {
  right: 0;
}

.z-mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.z-mobile-logo {
  font-family: var(--z-font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
}

.z-mobile-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--ink);
  cursor: pointer;
  line-height: 1;
}

.z-mobile-menu {
  list-style: none;
  padding: 1rem 0;
  margin: 0;
}

.z-mobile-menu > li > a,
.z-mobile-dropdown-header a {
  display: block;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.z-mobile-menu > li > a:hover,
.z-mobile-dropdown-header a:hover {
  color: var(--primary);
  text-decoration: none;
}

.z-mobile-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.z-mobile-dropdown-toggle {
  background: none;
  border: none;
  padding: 1rem 1.5rem;
  color: var(--ink);
  cursor: pointer;
}

.z-mobile-dropdown-menu {
  display: none;
  background: var(--bg);
  list-style: none;
  padding: 0;
  margin: 0;
}

.z-mobile-dropdown-menu.active {
  display: block;
}

.z-mobile-dropdown-menu li a {
  display: block;
  padding: 0.75rem 1.5rem 0.75rem 2.5rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.z-mobile-dropdown-menu li a:hover {
  color: var(--primary);
  text-decoration: none;
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.z-about-section {
  padding: 5rem 0;
  background: var(--bg-white);
  min-height: 80vh;
  display: flex;
  align-items: center;
}

/* Alternating backgrounds for about page */
.z-about-cream,
.z-values-section.z-about-cream {
  background: var(--bg) !important;
}

.z-about-white,
.z-values-section.z-about-white {
  background: var(--bg-white) !important;
}

.z-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.z-about-grid.z-about-reverse {
  direction: rtl;
}

.z-about-grid.z-about-reverse > * {
  direction: ltr;
}

.z-about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.z-about-content p {
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
  line-height: 1.85;
  font-size: 1.1rem;
}

.z-about-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--z-shadow-soft);
  border: 1px solid var(--border);
}

/* Story Section */
.z-story-section {
  padding: 6rem 0;
  background: var(--bg);
  position: relative;
}

.z-story-section::before {
  content: '"';
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--z-font-serif);
  font-size: 8rem;
  color: var(--primary);
  opacity: 0.1;
  line-height: 1;
}

.z-story-content {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.z-story-content p {
  font-family: var(--z-font-serif);
  font-size: 1.4rem;
  line-height: 2;
  color: var(--ink);
  margin-bottom: 1.75rem;
  font-style: italic;
}

.z-story-content p:first-child::first-letter {
  font-size: 3.5rem;
  float: left;
  line-height: 1;
  padding-right: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  font-style: normal;
}

.z-story-content p:last-child {
  margin-bottom: 0;
}

.z-story-content:empty::before {
  content: '';
  display: block;
  min-height: 100px;
}

.z-values-section {
  padding: 5rem 0;
  background: var(--bg-white);
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.z-values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.z-value-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg);
  border-radius: 16px;
  box-shadow: var(--z-shadow-soft);
  border: 1px solid var(--border);
}

/* Value icon - green */
.z-value-icon {
  width: 70px;
  height: 70px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.z-value-icon i {
  font-size: 1.5rem;
  color: #ffffff;
}

.z-value-card h3 {
  font-family: var(--z-font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.z-value-card p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.z-contact-section {
  padding: 5rem 0;
  background: var(--bg);
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.z-contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
}

.z-contact-info h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--ink);
}

.z-contact-info > p {
  color: var(--ink-muted);
  margin-bottom: 2rem;
}

.z-contact-details {
  margin-bottom: 2rem;
}

.z-contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* Contact icons - green */
.z-contact-item i {
  width: 45px;
  height: 45px;
  background: var(--primary-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.z-contact-item h4 {
  font-family: var(--z-font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--ink);
}

.z-contact-item a {
  color: var(--ink-muted);
  text-decoration: none;
  transition: var(--z-transition);
}

.z-contact-item a:hover {
  color: var(--primary);
  text-decoration: none;
}

.z-contact-social h4 {
  font-family: var(--z-font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--ink);
}

/* Form wrapper - white card with border */
.z-contact-form-wrapper {
  background: var(--bg-white);
  padding: 3rem 3.5rem;
  border-radius: 16px;
  box-shadow: var(--z-shadow-soft);
  border: 1px solid var(--border);
}

.z-contact-form-wrapper h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

/* Form Fields - Ivory inputs, green focus */
.z-form-group {
  margin-bottom: 1.25rem;
}

.z-form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.z-form-group input,
.z-form-group textarea,
.z-form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--z-font-sans);
  font-size: 1rem;
  transition: var(--z-transition);
  background: var(--bg);
  color: var(--ink);
}

.z-form-group input:focus,
.z-form-group textarea:focus,
.z-form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 64, 21, 0.1);
  background: var(--bg-white);
}

.z-form-group input::placeholder,
.z-form-group textarea::placeholder {
  color: var(--ink-light);
}

.z-btn-full {
  width: 100%;
}

/* ========================================
   PRICING PAGE
   ======================================== */
.z-pricing-section {
  padding: 5rem 0;
  background: var(--bg);
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.z-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Pricing Cards - white with distinct border for structure */
.z-pricing-card {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 1.75rem;
  position: relative;
  transition: var(--z-transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 2px solid rgba(31, 64, 21, 0.12);
}

.z-pricing-card:hover {
  box-shadow: 0 12px 35px rgba(31, 64, 21, 0.15);
  transform: translateY(-4px);
  border-color: var(--primary);
}

.z-pricing-card:hover .z-pricing-title {
  color: var(--primary);
}

.z-pricing-card.selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-100);
}

.z-pricing-card.selected .z-select-program {
  background: var(--primary);
  color: white;
}

.z-select-program.selected {
  background: var(--primary) !important;
  color: white !important;
}

/* Cart Popup - green */
.cart-popup {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(31, 64, 21, 0.3);
  z-index: 1000;
  transition: bottom 0.3s ease;
}

.cart-popup.visible {
  bottom: 2rem;
}

.cart-popup-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cart-popup-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cart-count {
  font-size: 0.85rem;
  opacity: 0.9;
}

.cart-total {
  font-size: 1.25rem;
  font-weight: 700;
}

.cart-popup-btn {
  background: white;
  color: var(--primary);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-popup-btn:hover {
  background: var(--bg);
  transform: scale(1.05);
}

/* Remove old featured styles - no longer needed */
.z-pricing-featured {
  background: var(--bg-white);
  color: inherit;
}

.z-pricing-featured h3,
.z-pricing-featured .z-price {
  color: inherit;
}

.z-pricing-featured .z-pricing-features li {
  color: inherit;
}

.z-pricing-featured .z-pricing-features i {
  color: var(--primary);
}

/* Pricing Badge - Gold for "Now Enrolling" */
.z-pricing-badge {
  display: inline-block;
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.4rem 1rem;
  border-radius: 20px;
}

.z-pricing-header {
  margin-bottom: 1.25rem;
}

.z-pricing-header h3 {
  font-family: var(--z-font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

/* Price - green emphasis */
.z-price {
  font-family: var(--z-font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
}

.z-price span {
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.7;
  color: var(--ink-muted);
}

.z-pricing-description {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.z-pricing-featured .z-pricing-description {
  color: var(--ink-muted);
  border-bottom-color: var(--border-light);
}

/* Loading States */
.z-loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: var(--z-text-light);
  gap: 1rem;
}

.z-loading-state i {
  font-size: 2rem;
  color: var(--z-primary);
}

.z-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: var(--z-text-light);
  gap: 1rem;
  text-align: center;
}

.z-empty-state i {
  font-size: 3rem;
  opacity: 0.5;
}

/* Smooth content loading - prevent layout shift */
[data-content] {
  min-height: 2rem;
}

/* Fade in animation for dynamic content */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.z-pricing-card,
.z-program-card,
.z-faq-item,
.youtube-card,
.event-card,
.blog-card {
  animation: fadeIn 0.3s ease-out;
}

.z-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.z-pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--ink);
  font-size: 0.9rem;
}

.z-pricing-features li:last-child {
  border-bottom: none;
}

/* Checkmark icons - green */
.z-pricing-features i {
  color: var(--primary);
  font-size: 0.8rem;
}

/* ========================================
   FAQ PAGE
   ======================================== */
.z-faq-section {
  padding: 5rem 0;
  background: var(--bg);
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.z-faq-list {
  max-width: 850px;
  margin: 0 auto;
}

/* FAQ Items - white cards with distinct border for structure */
.z-faq-item {
  background: var(--bg-white);
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 2px solid rgba(31, 64, 21, 0.12);
  transition: var(--z-transition);
}

.z-faq-item:hover {
  border-color: rgba(31, 64, 21, 0.25);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}

.z-faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  font-family: var(--z-font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: var(--z-transition);
}

.z-faq-question:hover {
  color: var(--primary);
}

/* FAQ active state - green header */
.z-faq-item.active .z-faq-question {
  background: var(--primary);
  color: #ffffff;
}

.z-faq-question i {
  font-size: 0.85rem;
  transition: transform 0.3s;
  color: var(--primary);
}

.z-faq-item.active .z-faq-question i {
  transform: rotate(180deg);
  color: #ffffff;
}

.z-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.z-faq-item.active .z-faq-answer {
  max-height: 500px;
}

.z-faq-answer p {
  padding: 0 2rem 1.5rem 2rem;
  color: var(--ink-muted);
  line-height: 1.85;
  font-size: 1.05rem;
}

/* ========================================
   CTA SECTION
   ======================================== */
.z-cta-section {
  padding: 5rem 0;
  background: var(--bg);
  min-height: 50vh;
  display: flex;
  align-items: center;
}

.z-cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.z-cta-inner h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--ink);
}

.z-cta-inner p {
  color: var(--ink-muted);
  margin-bottom: 2rem;
}

.z-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.z-btn-outline-light {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}

.z-btn-outline-light:hover {
  background: var(--ink);
  color: #ffffff !important;
  text-decoration: none;
}

/* ========================================
   YOUTUBE PAGE
   ======================================== */
.z-header-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.z-header-social a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--z-white);
  transition: var(--z-transition);
}

.z-header-social a:hover {
  background: var(--z-white);
  color: var(--z-primary);
}

.z-youtube-section {
  padding: 5rem 0;
  background: var(--z-warm-cream);
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.z-videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.z-video-card {
  background: var(--z-white);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--z-transition);
  box-shadow: var(--z-shadow-soft);
}

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

.z-video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.z-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.z-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: var(--z-transition);
}

.z-video-card:hover .z-play-icon {
  opacity: 1;
}

.z-play-icon i {
  width: 60px;
  height: 60px;
  background: var(--z-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--z-primary);
  font-size: 1.25rem;
}

.z-video-info {
  padding: 1.5rem;
}

.z-video-info h3 {
  font-family: var(--z-font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--z-dark);
}

.z-video-info p {
  font-size: 0.9rem;
  color: var(--z-text-light);
  margin: 0;
}

.z-youtube-cta {
  text-align: center;
}

.z-youtube-cta .z-btn i {
  margin-right: 0.5rem;
}

/* ========================================
   DONATE PAGE
   ======================================== */
.z-donate-header {
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-700) 100%);
  padding: 8rem 0 6rem;
  text-align: center;
  min-height: 35vh;
  display: flex;
  align-items: center;
}

.z-donate-header h1 {
  font-family: var(--z-font-serif);
  font-size: 3.5rem;
  font-weight: 500;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.z-donate-page-content {
  padding: 5rem 0;
  background: var(--bg);
  min-height: 50vh;
  display: flex;
  align-items: center;
}

.z-donate-card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.z-donate-intro {
  font-size: 1.15rem;
  color: var(--ink-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.z-donate-quote {
  font-family: var(--z-font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--ink);
  margin: 2rem 0;
  padding: 0 2rem;
  line-height: 1.6;
}

.z-donate-attribution {
  font-size: 1rem;
  color: var(--ink-muted);
  margin-bottom: 2.5rem;
}

.z-btn-donate {
  padding: 1rem 3rem;
  font-size: 1.1rem;
}

.z-donate-image {
  width: 100%;
  overflow: hidden;
}

.z-donate-image img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: -25%;
}

/* ========================================
   CONSULTATION PAGE
   ======================================== */
.z-consultation-section {
  padding: 5rem 0;
  background: var(--bg);
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.z-consultation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.z-consultation-info h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--ink);
}

.z-consultation-info > p {
  color: var(--ink-muted);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.z-consultation-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.z-consultation-feature {
  display: flex;
  gap: 1rem;
}

/* Consultation feature icons - green */
.z-consultation-feature i {
  width: 50px;
  height: 50px;
  background: var(--primary-100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.z-consultation-feature h4 {
  font-family: var(--z-font-sans);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--ink);
}

.z-consultation-feature p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin: 0;
}

/* Consultation form wrapper */
.z-consultation-form-wrapper {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: var(--z-shadow-soft);
  border: 1px solid var(--border);
}

.z-consultation-form-wrapper h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

/* ========================================
   PAGE HEADER - Green hero band
   ======================================== */
.z-page-header {
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-700) 100%);
  padding: 8rem 0 6rem;
  text-align: center;
  min-height: 40vh;
  display: flex;
  align-items: center;
}

.z-page-header .z-container {
  width: 100%;
}

.z-page-header h1 {
  font-family: var(--z-font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.z-page-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin: 0;
}

/* ========================================
   EVENTS PAGE
   ======================================== */
.z-events-section {
  padding: 5rem 0;
  background: var(--bg);
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.z-events-grid {
  display: grid;
  gap: 1.5rem;
}

/* Event Cards - white with border */
.z-event-card {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  background: var(--bg-white);
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: var(--z-transition);
  box-shadow: var(--z-shadow-soft);
}

.z-event-card:hover {
  box-shadow: var(--z-shadow-warm);
  transform: translateY(-5px);
  border-color: var(--primary-300);
}

/* Event date badge - green */
.z-event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  padding: 1rem;
  background: var(--primary);
  border-radius: 8px;
  color: #ffffff;
}

.z-event-month {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.z-event-day {
  font-family: var(--z-font-serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.z-event-content h3 {
  font-family: var(--z-font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.z-event-description {
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.z-event-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.z-event-meta i {
  margin-right: 0.5rem;
  color: var(--primary);
}

.z-past-events {
  padding: 5rem 0;
  background: var(--bg);
  min-height: 40vh;
  display: flex;
  align-items: center;
}

.z-past-events-inner {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.z-past-events h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.z-past-events p {
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}

/* Social links - green with gold hover */
.z-social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.z-social-links a {
  width: 45px;
  height: 45px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: var(--z-transition);
  text-decoration: none;
}

.z-social-links a:hover {
  background: var(--accent);
  transform: translateY(-3px);
  text-decoration: none;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .z-programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .z-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .z-footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .z-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .z-about-grid,
  .z-contact-grid,
  .z-consultation-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .z-about-grid.z-about-reverse {
    direction: ltr;
  }

  .z-values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .z-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .z-nav,
  .z-header-actions {
    display: none;
  }

  .z-mobile-toggle {
    display: flex;
  }

  .z-hero {
    min-height: 70vh;
  }

  .z-hero-title {
    font-size: 2rem;
  }

  .z-hero-subtitle {
    font-size: 1rem;
  }

  .z-announcement-inner {
    flex-direction: column;
    text-align: center;
  }

  .z-programs-grid,
  .z-explore-grid,
  .z-pricing-grid {
    grid-template-columns: 1fr;
  }

  .z-features-grid,
  .z-values-grid {
    grid-template-columns: 1fr;
  }

  .z-donate-inner {
    flex-direction: column;
    text-align: center;
  }

  .z-donate-content h2 {
    font-size: 1.75rem;
  }

  .z-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .z-videos-grid {
    grid-template-columns: 1fr;
  }

  .z-page-header h1 {
    font-size: 1.75rem;
  }

  .z-donate-header h1 {
    font-size: 2rem;
  }

  .z-donate-quote {
    font-size: 1.2rem;
    padding: 0;
  }

  .z-event-card {
    flex-direction: column;
    gap: 1rem;
  }

  .z-event-date {
    flex-direction: row;
    min-width: auto;
    gap: 0.5rem;
  }

  /* Cart Popup Mobile */
  .cart-popup {
    left: 1rem;
    right: 1rem;
    transform: none;
    border-radius: 16px;
  }

  .cart-popup-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .cart-popup-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .z-header-inner {
    padding: 0 1rem;
  }

  .z-container {
    padding: 0 1.25rem;
  }

  .z-logo {
    font-size: 1.25rem;
  }

  .z-footer-grid {
    grid-template-columns: 1fr;
  }

  .z-student-card {
    width: 240px;
    height: 170px;
  }

  .z-hero-cta {
    padding: 18px 35px;
    font-size: 0.95rem;
  }

  .z-donate-arabic {
    font-size: 1.3rem;
  }

  .z-donate-content h2 {
    font-size: 2rem;
  }
}

/* ========================================
   FEATURED EVENT SECTION
   ======================================== */

/* Featured event hidden by default - JS will show it */
#featured-event-section {
  display: none !important;
}

#featured-event-section.active {
  display: block !important;
}

/* Featured event section - green gradient */
.featured-event-section {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary) 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.featured-event-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.featured-event-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  flex-wrap: wrap;
}

.featured-event-info {
  flex: 1;
  min-width: 300px;
  color: var(--z-white);
}

.featured-event-label {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: var(--z-white);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
}

.featured-event-title {
  font-family: var(--z-font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: #ffffff !important;
}

.featured-event-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.875rem 1.75rem;
  background: var(--z-cream, #F5F1E8);
  color: var(--z-green, #2C4A3E);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.featured-event-btn:hover {
  background: white;
  color: var(--z-green, #2C4A3E);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.featured-event-description {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  max-width: 550px;
}

.featured-event-date {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.95;
}

.featured-event-date i {
  color: var(--accent);
}

.featured-event-sponsors {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.sponsor-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.sponsor-logos {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.sponsor-logo {
  height: 90px;
  width: auto;
  max-width: 220px;
  object-fit: cover;
  background: white;
  padding: 6px;
  border-radius: 8px;
  transition: var(--z-transition);
}

.sponsor-logo:hover {
  transform: scale(1.05);
}

/* Countdown Timer */
.featured-event-countdown {
  display: flex;
  gap: 1rem;
}

.countdown-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  min-width: 90px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--z-transition);
}

.countdown-box:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.countdown-number {
  display: block;
  font-family: var(--z-font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--z-white);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.countdown-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.8);
}

/* Featured Event Responsive */
@media (max-width: 900px) {
  .featured-event-content {
    flex-direction: column;
    text-align: center;
  }

  .featured-event-info {
    text-align: center;
  }

  .featured-event-description {
    margin-left: auto;
    margin-right: auto;
  }

  .featured-event-date {
    justify-content: center;
  }

  .sponsor-logos {
    justify-content: center;
  }

  .featured-event-countdown {
    justify-content: center;
  }
}

@media (max-width: 500px) {
  .countdown-box {
    min-width: 70px;
    padding: 1rem 0.8rem;
  }

  .countdown-number {
    font-size: 1.8rem;
  }

  .countdown-label {
    font-size: 0.65rem;
  }
}

/* ========================================
   PAYMENT SECTION
   ======================================== */

.z-payment-section {
  padding: 4rem 0;
  background: var(--bg);
}

.z-payment-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 2.5rem 3rem;
  box-shadow: var(--z-shadow-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  border: 1px solid var(--border);
}

.z-payment-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}

/* Payment icon - green */
.z-payment-icon {
  width: 70px;
  height: 70px;
  background: var(--primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.z-payment-icon i {
  font-size: 1.75rem;
  color: #ffffff;
}

.z-payment-text h3 {
  font-family: var(--z-font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.z-payment-text p {
  color: var(--ink-muted);
  font-size: 1rem;
  margin: 0;
  max-width: 500px;
}

.z-btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .z-payment-card {
    padding: 2rem;
    flex-direction: column;
    text-align: center;
  }

  .z-payment-content {
    flex-direction: column;
  }

  .z-payment-text p {
    max-width: 100%;
  }
}

/* ========================================
   LOADING & EMPTY STATES
   ======================================== */

.z-loading-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--z-text-light);
}

.z-loading-state i {
  font-size: 2rem;
  color: var(--z-primary);
  margin-bottom: 1rem;
}

.z-loading-state p {
  font-size: 1rem;
}

.z-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--z-warm-cream);
  border-radius: 16px;
}

.z-empty-state i {
  font-size: 3rem;
  color: var(--z-primary);
  opacity: 0.5;
  margin-bottom: 1rem;
}

.z-empty-state p {
  color: var(--z-text-light);
  font-size: 1.1rem;
}

/* ========================================
   ZAYTUNA-STYLE FOOTER
   ======================================== */
.z-footer-zaytuna {
  background: var(--bg-white);
  color: var(--ink);
  padding: 3rem 0 0;
  border-top: 1px solid var(--border);
}

.z-footer-zaytuna::before {
  display: none;
}

.z-footer-zaytuna .z-footer-main {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.z-footer-zaytuna .z-footer-col {
  flex: 1;
  min-width: 150px;
}

.z-footer-zaytuna h4 {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  font-family: var(--font-nav, 'Quicksand', sans-serif);
}

.z-footer-zaytuna ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.z-footer-zaytuna ul li {
  margin-bottom: 0.5rem;
}

.z-footer-zaytuna ul li a {
  color: var(--ink-muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
  text-decoration: none;
}

.z-footer-zaytuna ul li a:hover {
  color: var(--primary);
}

.z-footer-zaytuna .z-footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.z-footer-zaytuna .z-footer-social a {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  transition: all 0.2s ease;
  text-decoration: none;
  font-size: 0.85rem;
}

.z-footer-zaytuna .z-footer-social a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.z-footer-zaytuna .z-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-top: none;
}

.z-footer-zaytuna .z-copyright {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.z-footer-zaytuna .z-footer-legal {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.z-footer-zaytuna .z-footer-legal a {
  color: var(--ink-muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.z-footer-zaytuna .z-footer-legal a:hover {
  color: var(--primary);
}

.z-footer-zaytuna .z-footer-legal span {
  color: var(--ink-muted);
  opacity: 0.5;
}

@media (max-width: 768px) {
  .z-footer-zaytuna .z-footer-main {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .z-footer-zaytuna .z-footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

