:root {
    --bg-start: #034058;
    --bg-end: #0e0b2a;
    --primary: #952A41;
    --primary-600: #812537;
    --primary-700: #6d1e2e;
    --accent: #B2D1BE;
    --text: #F6F7DB;
    --muted: #c2c2cf;
    --surface: rgba(255, 255, 255, 0.06);
    --surface-2: rgba(255, 255, 255, 0.12);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --radius-lg: 18px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --container: 1180px;
  }

* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
  background: radial-gradient(circle at 5% 5%, rgba(48, 47, 46, 0.3), transparent 30%),
   linear-gradient(135deg, #034058 60%, #e06e26); 
   font-family: "Cairo", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { 
  max-width: 100%; 
  display: block;
  height: auto;
}

/* تحسين الصور للهواتف */
@media (max-width: 768px) {
  img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding: 0 20px;
}

/* تحسينات عامة للهواتف */
@media (max-width: 768px) {
  html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
  }
  
  body {
    overflow-x: hidden;
  }
  
  * {
    -webkit-tap-highlight-color: rgba(224, 110, 38, 0.2);
  }
}

/* رأس الصفحة */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.2) blur(10px);
  background: linear-gradient(180deg, rgba(20,17,46,0.8), rgba(20,17,46,0.3) 60%, transparent);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  inline-size: 42px;
  block-size: 42px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #fff 0 15%, #034058 15% 55%, #27e0a8 55% 80%, #fff 80% 100%);
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.08), var(--shadow);
}

.logo-img { inline-size: 100px; block-size: 100px; object-fit: contain; border-radius: 8px; display: block; }
.logo-img1 { inline-size: 70px; block-size: 70px; object-fit: contain; border-radius: 8px; display: block; }

.brand h1 { font-size: 20px; margin: 0; letter-spacing: 0.3px; }

/* زر القائمة المتنقلة */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 100;
  position: relative;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.nav a { color: var(--muted); }
.nav a:hover { color: #fff; }

.actions { display: flex; align-items: center; justify-content: center; gap: 10px; }

.pill {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pill--accent { background: rgba(163, 255, 176, 0.15); color: #d4ffe0; }
.pill--primary { background: rgba(124, 77, 255, 0.18); border-color: rgba(124,77,255,0.35); }

/* البطل */
.hero { padding: 40px 0 26px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .hero-grid img {
    max-width: 100%;
    height: auto;
    order: -1;
  }
}

.hero h2 {
  margin: 0 0 30px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.6px;
  text-shadow: 0 2px 10px rgba(255, 255, 25, 0.2);
  color: #e06e26;
}

.hero .sub { color: var(--muted); margin-bottom: 26px; margin-top: 20px; }

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 10px 12px 10px 10px;
  max-width: 640px;
  box-shadow: var(--shadow);
}
.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 16px;
  padding: 10px 6px;
  outline: none;
}
.search-box .icon {
  inline-size: 22px; block-size: 22px;
  background: radial-gradient(circle at 30% 30%, #fff, #cbd1ff);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/></svg>') center/contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/></svg>') center/contain no-repeat;
}

.btn-primary {
  background: #e06e26;
  border: 1px solid rgba(224,110,38,0.65);
  color: white;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(224,110,38,0.4); }

/* سلايدر البطاقات */
.slider-wrap { position: relative; margin-top: 28px; }
.cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72%;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
  max-width: max-content;
}
.cards::-webkit-scrollbar { display: none; }

.card {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #11132a;
  scroll-snap-align: start;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.08);
}

.card .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.02);
}
.card .fade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 20%, rgba(0,0,0,0.55) 70%);
}
.card .content {
  position: absolute; inset-inline: 16px; inset-block-end: 16px;
  display: grid; gap: 8px;
}
.card .title { font-size: clamp(18px, 2.6vw, 28px); font-weight: 800; }
.card .cta { font-weight: 800; color: #ffe4a3; }

.slider-nav {
  position: absolute; inset-inline: 10px; inset-block-end: -18px;
  display: flex; gap: 10px; justify-content: center;
}
.nav-btn {
  inline-size: 44px; block-size: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: var(--surface-2);
  color: #fff; cursor: pointer;
}
.nav-btn:disabled { opacity: .5; cursor: not-allowed; }

/* تذييل */
footer { 
  margin-top: 52px; 
  padding: 40px 0; 
  background: linear-gradient(135deg, #034058, #e06e26);
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-main {
  text-align: center;
}

.footer-main p {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.footer-description {
  font-size: 14px !important;
  color: var(--muted) !important;
  font-weight: 400 !important;
  line-height: 1.5;
  max-width: 300px;
  margin: 0 auto !important;
}

.footer-logos {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 60px !important;
  margin-top: 50px !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  flex-direction: row !important;
}

.footer-logo {
  width: auto !important;
  max-width: 180px !important;
  max-height: 50px !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  filter: brightness(0.95);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
  filter: brightness(1);
}

@media (max-width: 768px) {
  .footer-logos {
    gap: 20px;
    margin-top: 20px;
    flex-wrap: nowrap;
  }
  
  .footer-logo {
    max-width: 150px;
    max-height: 80px;
  }
}

.footer-social h4,
.footer-contact h4 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 20px;
  text-align: center;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-5px);
  color: #fff;
  text-decoration: none;
}

.social-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  transition: all 0.3s ease;
}

.social-link.instagram:hover {
  background: linear-gradient(135deg, #E4405F, #C13584);
  border-color: #E4405F;
}

.social-link.twitter:hover {
  background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
  border-color: #1DA1F2;
}

.social-link.telegram:hover {
  background: linear-gradient(135deg, #0088cc, #006699);
  border-color: #0088cc;
}

.social-link.youtube:hover {
  background: linear-gradient(135deg, #FF0000, #cc0000);
  border-color: #FF0000;
}

.contact-info {
  display: flex;
  justify-content: center;
}

.whatsapp-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 12px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-link:hover {
  background: linear-gradient(135deg, #128C7E, #0f7a6e);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  color: white;
  text-decoration: none;
}

.contact-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}


/* قسم الفعاليات الجديد */
.events-section {
  margin-top: 80px;
  padding: 60px 0;
  background: transparent;
}

/* قسم البرامج */
.programs-section {
  margin-top: 60px;
  padding: 60px 0;
  background: transparent;
}

.programs-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.program-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e06e26, #f4a261);
  border-radius: 16px 16px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.program-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  border-color: rgba(224, 110, 38, 0.3);
}

.program-card:hover::before {
  opacity: 1;
}

.program-image-container {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

.program-card:hover .program-image {
  transform: scale(1.1);
}

.program-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 20px;
  color: white;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.program-card:hover .program-overlay {
  transform: translateY(0);
}

.program-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.program-description {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  margin: 0 0 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.program-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.feature-tag {
  background: rgba(224, 110, 38, 0.2);
  color: #ff9800;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(224, 110, 38, 0.3);
  transition: all 0.2s ease;
}

.feature-tag:hover {
  background: rgba(224, 110, 38, 0.3);
  transform: translateY(-1px);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

.section-description {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .section-description {
    font-size: 16px;
    padding: 0 10px;
  }
  
  .section-description br {
    display: none;
  }
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
}

.event-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e06e26, #ff9800, #e06e26);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.event-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-color: rgba(224, 110, 38, 0.3);
}

.event-card:hover::before {
  opacity: 1;
}

.event-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #e06e26, #ff9800);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(224, 110, 38, 0.3);
}

.event-icon .icon {
  font-size: 18px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.event-icon .icon img,
.event-icon img.icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.event-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.event-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.event-description {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
  margin: 0 0 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  flex: 1;
}

.event-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 8px;
}

.event-count {
  background: rgba(224, 110, 38, 0.2);
  color: #ff9800;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  backdrop-filter: blur(5px);
  flex: 1;
  text-align: center;
}

.event-status {
  background: rgba(40, 167, 69, 0.2);
  color: #4ade80;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  backdrop-filter: blur(5px);
  flex: 1;
  text-align: center;
}

.event-action {
  margin-top: auto;
}

.event-link {
  display: inline-block;
  background: linear-gradient(135deg, #e06e26, #ff9800);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 11px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(224, 110, 38, 0.3);
  width: 100%;
  text-align: center;
}

.event-link:hover {
  background: linear-gradient(135deg, #d45e16, #e68900);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 110, 38, 0.4);
  color: white;
  text-decoration: none;
}


/* الأقسام التفصيلية */
.detail-section {
  margin-top: 60px;
  padding: 40px 0;
}

.detail-title {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
    margin-bottom: 16px;
  text-align: center;
  }

.detail-text {
  font-size: 16px;
  color: var(--muted);
    text-align: center; 
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* تنسيقات صورة المقهى */
.cafe-images-row {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin: 40px 0;
  flex-wrap: wrap;
  width: 100%;
}

.cafe-image-container {
  display: inline-flex !important;
  justify-content: center;
  align-items: center;
  padding: 20px;
  flex: 0 0 auto;
  width: auto;
  max-width: calc(50% - 12px);
}

.cafe-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 400px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  object-fit: contain;
  cursor: pointer;
}

.cafe-image:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* إخفاء معرض صور المقاهي مؤقتاً */
#cafeGalleryModal {
  display: none !important;
  visibility: hidden !important;
}

/* أنماط بطاقات الأمسيات بتصميم Tailwind */
.evenings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

/* أنماط بطاقات الورش التدريبية - تصميم مميز */
.workshops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.evening-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.evening-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.evening-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.evening-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.evening-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
}

.evening-badge {
  background: linear-gradient(135deg, #e06e26, #ff9800);
  color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px; 
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(224, 110, 38, 0.3);
}

.evening-content {
  padding: 20px;
}

.evening-title {
    font-size: 18px; 
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px;
    line-height: 1.3;
}

/* تنسيق قسم المحاور */
.evening-topics {
  margin: 16px 0;
  padding: 12px;
  background: rgba(224, 110, 38, 0.05);
  border-radius: 8px;
  border-right: 3px solid #e06e26;
}

.topics-title {
  font-size: 14px;
  font-weight: 600;
  color: #e06e26;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.topics-title::before {
  content: "📋";
  font-size: 12px;
}

.topics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.topic-item {
  display: inline-block;
  
  color: #8b4513;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  transition: all 0.2s ease;
}

.topic-item:hover {
  background: rgba(224, 110, 38, 0.15);
  transform: translateY(-1px);
}

.evening-guest {
  font-size: 14px;
  font-weight: 600;
  color: #e06e26;
  margin: 0 0 6px;
}

.evening-description {
    font-size: 13px; 
  color: #666;
  margin: 0 0 16px;
  line-height: 1.4;
  }

.evening-meta {
  margin-bottom: 20px;
  }

  .meta-item { 
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
    font-size: 12px; 
  color: #555;
}

.meta-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.evening-btn {
  width: 100%;
  background: linear-gradient(135deg, #e06e26, #ff9800);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(224, 110, 38, 0.3);
}

.evening-btn:hover {
  background: linear-gradient(135deg, #d45e16, #e68900);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(224, 110, 38, 0.4);
}

.evening-btn:active {
  transform: translateY(0);
}

/* زر عرض باقي القصص */
#showMoreStoriesBtn {
  width: auto !important;
  min-width: 200px;
  margin: 24px auto !important;
  display: block !important;
  text-align: center;
  position: relative;
  z-index: 10;
}

/* أنماط بطاقات الورش التدريبية - تصميم مميز */
.workshop-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid rgba(224, 110, 38, 0.1);
  backdrop-filter: blur(15px);
  position: relative;
}

.workshop-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #e06e26, #ff9800, #ff6b35, #e06e26);
  background-size: 200% 100%;
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.workshop-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 25px 50px rgba(224, 110, 38, 0.2);
  border-color: rgba(224, 110, 38, 0.3);
}

.workshop-image {
  position: relative;
  height: 160px;
  overflow: hidden;
}

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

.workshop-card:hover .workshop-image img {
  transform: scale(1.08);
}

.workshop-overlay {
  position: absolute;
  top: 16px;
  right: 16px;
}

.workshop-badge {
  background: linear-gradient(135deg, #e06e26, #ff9800);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(224, 110, 38, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.workshop-content {
  padding: 16px;
  text-align: center;
}

.workshop-title {
  font-size: 16px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 8px;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.workshop-guest {
  font-size: 13px;
  font-weight: 700;
  color: #e06e26;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.workshop-guest::before {
  content: "👨‍⚕️";
  font-size: 14px;
}

.workshop-description {
  font-size: 12px;
  color: #666;
  margin: 0 0 12px;
  line-height: 1.4;
  font-weight: 500;
}

/* تنسيق قسم المحاور للورش */
.workshop-topics {
  margin: 12px 0;
  padding: 12px;
  background: linear-gradient(135deg, rgba(224, 110, 38, 0.08), rgba(255, 152, 0, 0.05));
  border-radius: 12px;
  border-right: 4px solid #e06e26;
  position: relative;
}

.workshop-topics::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #e06e26, #ff9800);
  border-radius: 12px 12px 0 0;
}

.topics-title {
  font-size: 13px;
  font-weight: 700;
  color: #e06e26;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.topics-title::before {
  content: "🎯";
  font-size: 12px;
}

.topics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.topic-item {
  display: inline-block;
  background: rgba(224, 110, 38, 0.1);
  color: #8b4513;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  transition: all 0.3s ease;
  border: 1px solid rgba(224, 110, 38, 0.2);
}

.topic-item:hover {
  background: rgba(224, 110, 38, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(224, 110, 38, 0.2);
}

.workshop-meta {
  margin-bottom: 16px;
}

.meta-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 11px;
  color: #555;
  font-weight: 500;
}

.meta-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  background: rgba(224, 110, 38, 0.1);
  border-radius: 50%;
  color: #e06e26;
}

.workshop-btn {
  width: 100%;
  background: linear-gradient(135deg, #e06e26, #ff9800);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(224, 110, 38, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.workshop-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.workshop-btn:hover::before {
  left: 100%;
}

.workshop-btn:hover {
  background: linear-gradient(135deg, #d45e16, #e68900);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(224, 110, 38, 0.4);
}

.workshop-btn:active {
  transform: translateY(-1px);
}

/* أنماط Toast Notifications */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-right: 4px solid #17a2b8;
  z-index: 1000;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s ease;
  max-width: 400px;
  min-width: 300px;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.success {
  border-right-color: #28a745;
}

.toast.error {
  border-right-color: #dc3545;
}

.toast.info {
  border-right-color: #17a2b8;
}

.toast-content {
  display: flex;
  align-items: center;
  padding: 16px;
  gap: 12px;
}

.toast-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: bold;
  flex-shrink: 0;
}

.toast.success .toast-icon {
  background: #28a745;
}

.toast.error .toast-icon {
  background: #dc3545;
}

.toast.info .toast-icon {
  background: #17a2b8;
}

.toast-message {
  flex: 1;
  font-size: 14px;
  color: #333;
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  font-size: 18px;
  color: #999;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.toast-close:hover {
  background: #f5f5f5;
  color: #333;
}

/* استجابة للهواتف */
@media (max-width: 768px) {
  .toast {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
    min-width: auto;
  }
  
  .toast.show {
    transform: translateY(0);
  }
}

/* أنماط النافذة المنبثقة للتسجيل */
.registration-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.registration-modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.registration-modal.show .modal-content {
  transform: scale(1);
}

.modal-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid #eee;
  position: relative;
}

.modal-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px;
  text-align: center;
}

.modal-subtitle {
  font-size: 14px;
  color: #666;
  margin: 0;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 16px;
  left: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #f5f5f5;
  color: #333;
}

.modal-body {
  padding: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #fff;
}

.form-input:focus {
  outline: none;
  border-color: #e06e26;
  box-shadow: 0 0 0 3px rgba(224, 110, 38, 0.1);
}

.form-input::placeholder {
  color: #999;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.btn-submit {
  flex: 1;
  background: linear-gradient(135deg, #e06e26, #ff9800);
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(224, 110, 38, 0.3);
}

.btn-submit:hover {
  background: linear-gradient(135deg, #d45e16, #e68900);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(224, 110, 38, 0.4);
}

.btn-submit:active {
  transform: translateY(0);
}

.btn-cancel {
  flex: 1;
  background: #f8f9fa;
  color: #666;
  border: 2px solid #e1e5e9;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cancel:hover {
  background: #e9ecef;
  border-color: #d1d5db;
  color: #333;
}

/* استجابة للهواتف */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 20px;
  }
  
  .modal-header {
    padding: 20px 20px 16px;
  }
  
  .modal-body {
    padding: 20px;
  }
  
  .modal-title {
    font-size: 20px;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .btn-submit,
  .btn-cancel {
    width: 100%;
  }
}

/* استجابة للشاشات المختلفة */
@media (min-width: 1400px) {
  .events-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }
  
  .event-card {
    padding: 24px;
    min-height: 220px;
  }
  
  .event-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
  }
  
  .event-icon .icon {
    font-size: 22px;
  }
  
  .event-title {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .event-description {
    font-size: 14px;
    margin-bottom: 16px;
  }
  
  .event-link {
    font-size: 13px;
    padding: 10px 20px;
  }
}

@media (max-width: 1200px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-grid img { order: -1; }
  .events-grid { 
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  .programs-gallery { 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
  .evenings-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
  .workshops-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
}

@media (max-width: 992px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .event-card {
    padding: 22px;
    min-height: 200px;
  }
  
  .event-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 14px;
  }
  
  .event-icon .icon {
    font-size: 20px;
  }
  
  .event-title {
    font-size: 17px;
    margin-bottom: 9px;
  }
  
  .event-description {
    font-size: 13px;
    margin-bottom: 14px;
  }
  
  .event-link {
    font-size: 12px;
    padding: 9px 18px;
  }
}

@media (max-width: 880px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .topbar { 
    flex-wrap: wrap;
    position: relative;
  }
  
  .brand {
    order: 1;
  }
  
  .mobile-menu-toggle {
    order: 2;
    margin-right: auto;
  }
  
  .actions {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 12px;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .actions .logo-img1 {
    display: none;
  }
  
  .nav {
    order: 4;
    display: none;
    width: 100%;
    flex-direction: column;
    background: rgba(20, 17, 46, 0.98);
    backdrop-filter: blur(20px);
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 20px;
    margin-top: 10px;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    gap: 12px;
    z-index: 99;
  }
  
  .nav.active {
    display: flex;
  }
  
  .nav a {
    width: 100%;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 600;
  }
  
  .nav a:hover {
    background: rgba(224, 110, 38, 0.2);
    color: #fff;
  }
  
  body.menu-open {
    overflow: hidden;
  }
  
  .events-section { margin-top: 60px; padding: 40px 0; }
  .programs-section { margin-top: 50px; padding: 40px 0; }
  .section-title { font-size: 28px; }
  .section-description { font-size: 16px; }
  .events-grid { 
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .programs-gallery { 
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
  }
  .evenings-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
  .workshops-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
}

@media (max-width: 580px) {
  .container { padding: 0 16px; }
  
  .logo-img { 
    inline-size: 70px; 
    block-size: 70px; 
  }
  
  .topbar {
    padding: 12px 0 8px;
  }
  
  .actions {
    margin-top: 8px;
  }
  
  .pill {
    font-size: 12px;
    padding: 6px 10px;
    white-space: nowrap;
  }
  
  .pill--primary {
    font-size: 11px;
    padding: 6px 8px;
  }
  
  .hero { padding: 32px 0 20px; }
  .hero h2 { font-size: 28px; }
  .hero .sub {
    font-size: 14px;
    line-height: 1.5;
  }
  
  .events-section { margin-top: 40px; padding: 30px 0; }
  .programs-section { margin-top: 40px; padding: 30px 0; }
  .section-header { margin-bottom: 40px; }
  .section-title { font-size: 24px; }
  .section-description { font-size: 14px; }
  .events-grid { 
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .programs-gallery { 
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .program-card { margin: 0 auto; max-width: 100%; }
  .program-image-container { height: 180px; }
  .program-title { font-size: 16px; }
  .program-description { font-size: 13px; }
  .feature-tag { font-size: 10px; padding: 3px 6px; }
  .event-card { padding: 24px 20px; }
  .event-icon { width: 50px; height: 50px; }
  .event-icon .icon { font-size: 24px; }
  .event-title { font-size: 18px; }
  .event-description { font-size: 14px; }
  .detail-section { margin-top: 40px; padding: 32px 0; }
  .detail-title { font-size: 24px; }
  .evenings-grid { grid-template-columns: 1fr; gap: 16px; }
  .evening-card { margin: 0 auto; max-width: 100%; }
  .workshops-grid { grid-template-columns: 1fr; gap: 14px; }
  .workshop-card { margin: 0 auto; max-width: 100%; }
}

@media (max-width: 400px) {
  .logo-img { 
    inline-size: 60px; 
    block-size: 60px; 
  }
  
  .hero h2 { font-size: 24px; }
  .hero .sub {
    font-size: 13px;
  }
  
  .nav a { 
    font-size: 15px;
    padding: 10px;
  }
  
  .pill { 
    padding: 5px 8px; 
    font-size: 11px; 
  }
  
  .pill--primary {
    font-size: 10px;
    padding: 5px 6px;
  }
  
  .events-section { padding: 20px 0; }
  .programs-section { padding: 20px 0; }
  .cafe-images-row { 
    gap: 16px; 
    margin: 20px 0; 
    flex-direction: row !important;
  }
  .cafe-image-container { 
    margin: 0; 
    padding: 10px; 
    max-width: calc(50% - 8px);
    flex: 0 0 auto;
  }
  .cafe-image { max-height: 250px; }
  .section-title { font-size: 20px; }
  .section-description { font-size: 13px; }
  .events-grid {
    gap: 14px;
  }
  .programs-gallery {
    gap: 14px;
  }
  .program-card { max-width: 100%; }
  .program-image-container { height: 160px; }
  .program-title { font-size: 15px; }
  .program-description { font-size: 12px; }
  .program-overlay { padding: 16px; }
  .feature-tag { font-size: 9px; padding: 2px 5px; }
  .event-card { padding: 20px 16px; }
  .event-icon { width: 45px; height: 45px; }
  .event-icon .icon { font-size: 20px; }
  .event-title { font-size: 16px; }
  .event-description { font-size: 13px; }
  .event-meta { flex-direction: column; gap: 8px; align-items: flex-start; }
  .detail-title { font-size: 20px; }
  .detail-text { font-size: 14px; }
  .evening-card { max-width: 100%; }
  .evening-content { padding: 16px; }
  .evening-title { font-size: 16px; }
  .evening-topics { margin: 12px 0; padding: 10px; }
  .topics-title { font-size: 13px; }
  .topic-item { font-size: 11px; padding: 3px 6px; }
  .workshop-card { max-width: 100%; }
  .workshop-content { padding: 14px; }
  .workshop-title { font-size: 15px; }
  .workshop-topics { margin: 10px 0; padding: 10px; }
  .workshop-btn { font-size: 11px; padding: 8px 14px; }
}

/* استجابة Footer للهواتف */
@media (max-width: 880px) {
  .footer-content { 
    grid-template-columns: 1fr; 
    gap: 30px; 
    text-align: center; 
  }
  
  .social-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  
  .social-link {
    flex: 1;
    min-width: 120px;
    justify-content: center;
  }
}

@media (max-width: 580px) {
  footer {
    padding: 30px 0;
  }
  
  .footer-content {
    gap: 25px;
  }
  
  .social-links {
    flex-direction: column;
    gap: 10px;
  }
  
  .social-link {
    min-width: auto;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
  
  .whatsapp-link {
    padding: 14px 20px;
    font-size: 15px;
  }
}

/* تحسينات للشعار الراعي الاستراتيجي */
.sponsor-logo-container {
  width: 450px;
  height: 450px;
  margin: 0 auto;
  margin-top: 10px;
  max-width: 100%;
}

.sponsor-logo-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .sponsor-logo-container {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .sponsor-logo-container {
    width: 250px;
    height: 250px;
    margin-top: 8px;
  }
}

@media (max-width: 360px) {
  .sponsor-logo-container {
    width: 200px;
    height: 200px;
  }
}

/* تحسينات إضافية للهواتف الصغيرة */
@media (max-width: 480px) {
  .hero-grid {
    gap: 16px;
  }
  
  .hero h2 {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 20px;
  }
  
  .hero .sub {
    font-size: 13px;
    line-height: 1.6;
  }
  
  .section-header {
    margin-bottom: 30px;
  }
  
  .detail-section {
    padding: 24px 0;
  }
  
  .cafe-images-row {
    gap: 12px;
    margin: 20px 0;
    flex-direction: row !important;
  }
  .cafe-image-container {
    padding: 15px;
    max-width: calc(50% - 6px);
    flex: 0 0 auto;
  }
}