/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@100;200;300;400;500;600;700&display=swap');

:root {
  --brand: #31b889;
  --bd: #e2e8f0;
  --ink: #0b3b5a;
  --muted: #475569;
  --deep1: #06252d;
  --deep2: #0a3a47;
  --deep3: #0e5c67;
  --deep4: #158f9b;
}

/* Fixes */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
}
/* Unified Reusable Components */
  .breadcrumb-wrapper {
    /* background: #f8f9fa; */
    /* border-bottom: 1px solid #e5e5e5; */
    padding: 30px 0;
    position: relative;
    z-index: 1;
  }

  .breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0;
  }

  .breadcrumb-item {
    display: flex;
    align-items: center;
    list-style: none;
  }

  .breadcrumb-item a {
    color: var(--brand);
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .breadcrumb-item a:hover {
    color: var(--brand);
    text-decoration: underline;
  }

  .breadcrumb-item.active {
    color: #fff !important;
    font-weight: 500;
  }

  .breadcrumb-item + .breadcrumb-item::before {
    color: #fff;
  }

  @media (max-width: 768px) {
    .breadcrumb-nav {
      font-size: 0.75rem;
      gap: 0.25rem;
    }
  }

  #tts-landing {
    margin-top: -81px;
  }

/* Section Badge Component */
.section-badge {
  display: inline-flex;
  /* align-items: center; */
  gap: 0.5rem;
  /* padding: 0.5rem 1rem; */
  /* background: linear-gradient(135deg, var(--brand), #0ea5a6); */
  color: var(--brand);
  /* border-radius: 999px; */
  font-size: 0.875rem;
  font-weight: 700;
  /* margin-bottom: 1rem; */
  /* box-shadow: 0 4px 12px rgba(49, 184, 137, 0.3); */
  /* animation: pulse-badge 2s infinite; */
}

.section-badge .badge-icon {
  font-size: 1rem;
}

.section-badge .badge-text {
  font-weight: 700;
}

/* Section Subtitle Component */
.section-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 600px;
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-subtitle.support {
  max-width: 500px;
}

.section-subtitle.roles {
  margin-bottom: 2rem;
}
/* Font Awesome Icon Styling */
.fas, .far, .fab {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}

/* Icon Size Adjustments */
.stat-icon i,
.tab-icon i,
.acc-icon i,
.feature-icon i,
.footer-icon i {
  font-size: inherit;
  line-height: inherit;
  color: var(--brand);
}

.pdf-icon i {
  font-size: 4rem;
  opacity: 0.7;
  color: var(--brand);
}

/* Specific icon color overrides */
.footer-icon i {
  color: rgba(255, 255, 255, 0.9);
}

.support-icon i {
  color: #fff;
  font-size: 2rem;
}

/* Support feature icons */
.feature-icon i {
  color: var(--brand);
  font-size: 1.125rem;
}

/* Active/Selected States - Icons turn white */
/* Active tab icons */
input[type="radio"]:checked + .role-tab-label .tab-icon i {
  color: #fff;
}

/* Active accordion icons when open */
.acc.enhanced[open] .acc-icon i {
  color: #fff;
}

/* Button hover states */
.btn:hover i,
.btn.primary i,
.cal-card:hover i {
  color: #fff;
}

/* Enhanced button icons */
.btn.enhanced i {
  color: #fff;
}

/* Panel Content Wrapper */
.panel-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Hover states for interactive elements */
.role-tab-label:hover .tab-icon i {
  color: var(--brand);
  opacity: 0.8;
}

/* .acc.enhanced:hover .acc-icon i {
  color: var(--brand);
  opacity: 0.8;
} */

/* Calendar button active state */
.cal-card.enhanced .cal-ico i {
  color: var(--brand);
}

.cal-card.enhanced:hover .cal-ico i {
  color: #fff;
}

/* Font declarations removed - now using Google Fonts IBM Plex Sans Arabic */

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--ink);
  font-family: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Arial,
    "Helvetica Neue", sans-serif;
  scroll-behavior: smooth;
}

/* Hero */
.hero-fw {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero-fw .bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: radial-gradient(
      900px 380px at 85% -20%,
      rgba(49, 184, 137, 0.18),
      transparent 60%
    ),
    radial-gradient(
      700px 320px at 10% -10%,
      rgba(14, 165, 166, 0.18),
      transparent 60%
    ),
    linear-gradient(
      135deg,
      var(--deep1),
      var(--deep2) 35%,
      var(--deep3) 65%,
      var(--deep4)
    );
}
.hero-fw .overlay-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.3;
  mix-blend-mode: screen;
  background-image: url('../images/tts-hero.webp');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
  text-align: center;
}
.hero-fw h1 {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
  margin: 14px 0 6px;
  font-weight: 800;
  color: var(--brand);
}
.hero-fw p {
  max-width: 58ch;
  text-align: center;
  line-height: 2.15;
  margin: 16px auto;
  color: #f0fdfb;
  font-size: clamp(1.12rem, 2.7vw, 1.44rem);
  font-weight: 800;
  letter-spacing: 0.1px;
}
.actions {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.22rem 1.85rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 800;
  text-decoration: none;
  transition: 0.2s;
  font-size: 1.06rem;
}
.hero-fw .btn {
  padding: 1.4rem 2.2rem;
  font-size: 1.18rem;
  border-radius: 22px;
}
.btn.primary {
  background: #31b889;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(49, 184, 137, 0.3);
}
.btn.primary:hover {
  transform: translateY(-2px);
}
.btn.ghost {
  background: #fff;
  color: #06333e;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.08);
}
.btn.ghost:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
}

/* Layout */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .wrap {
    padding: 0 24px;
  }
}
.sec {
  padding: 56px 24px;
}
.sec h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 16px;
  color: #0b3b5a;
}
.sub {
  color: #dc3545;
  font-size: 13px;
}

/* انتقال - Enhanced Modern Design */
#transition {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(49, 184, 137, 0.02) 0%,
    rgba(14, 165, 166, 0.03) 50%,
    rgba(49, 184, 137, 0.02) 100%
  );
  overflow: hidden;
}

#transition::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 40%;
  height: 200%;
  background: radial-gradient(
    ellipse at center,
    rgba(49, 184, 137, 0.08) 0%,
    transparent 70%
  );
  transform: rotate(-15deg);
  pointer-events: none;
}

.transition-header {
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

/* Transition badge - now uses .section-badge unified component */

/* @keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
} */

/* .badge-icon {
  font-size: 1rem;
  animation: flash 1.5s infinite;
} */

/* @keyframes flash {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0.7; }
} */

#transition h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 1rem;
  color: var(--ink);
}

/* Transition subtitle - now uses .section-subtitle unified component */

.transition-content {
  display: grid;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.transition-main-card {
  background: #fff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06),
    0 20px 40px rgba(49, 184, 137, 0.08);
  border: 1px solid rgba(49, 184, 137, 0.1);
  position: relative;
  overflow: hidden;
}

/* .transition-main-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), #0ea5a6, var(--brand));
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
} */

/* @keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
} */

.tts-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--brand), #0ea5a6);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 16px rgba(49, 184, 137, 0.25);
  /* animation: float 3s ease-in-out infinite; */
}

/* @keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
} */

.header-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.header-content .lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 1rem;
  font-weight: 500;
}

.benefits-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(49, 184, 137, 0.02), rgba(14, 165, 166, 0.02));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(49, 184, 137, 0.15);
  border-color: rgba(49, 184, 137, 0.3);
}

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

.benefit-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(49, 184, 137, 0.1), rgba(14, 165, 166, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  position: relative;
  z-index: 1;
}

.benefit-content h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.benefit-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.875rem;
}

.transition-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(49, 184, 137, 0.05), rgba(14, 165, 166, 0.05));
  border-radius: 16px;
  border: 1px solid rgba(49, 184, 137, 0.1);
}

.btn.enhanced {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn.enhanced::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;
}

.btn.enhanced:hover::before {
  left: 100%;
}

.btn.enhanced svg {
  transition: transform 0.3s ease;
}

.btn.enhanced:hover svg {
  transform: translate(2px, -2px);
}

.cta-info {
  text-align: center;
}

.info-text {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.transition-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(49, 184, 137, 0.1);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 0.25rem;
  display: block;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 768px) {
  .transition-main-card {
    padding: 1.5rem;
  }
  
  .tts-card-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .benefit-card {
    padding: 1rem;
  }
  
  .transition-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .stat-item {
    padding: 1rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
}

/* Legacy transition styles - keeping for backward compatibility */
#transition .simple-box {
  border: 2px solid var(--brand);
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.06);
}
#transition .mini {
  margin: 4px 0 8px;
  font-size: 16px;
  color: #0b3b5a;
  font-weight: 800;
}
#transition .lead {
  margin: 0 0 8px;
  color: #0b3b5a;
  line-height: 2;
  font-size: 1.1rem;
  font-weight: 800;
}
#transition .pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 8px;
}
#transition .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #0b3b5a;
  font-weight: 800;
  font-size: 0.92rem;
}
#transition .pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
}
#transition .cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
}
#transition .cta .btn {
  padding: 0.9rem 1.2rem;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
}

/* Roles Section Header */
.roles-header {
  margin-bottom: 3rem;
  position: relative;
}

/* Roles badge - now uses .section-badge unified component */

.roles-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  margin: 0 0 1rem;
  color: var(--ink);
}

/* Roles subtitle - now uses .section-subtitle.roles unified component */

.roles-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.role-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.role-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(49, 184, 137, 0.02), rgba(14, 165, 166, 0.02));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.role-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(49, 184, 137, 0.1);
  border-color: rgba(49, 184, 137, 0.3);
}

.role-stat:hover::before {
  opacity: 1;
}

.stat-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(49, 184, 137, 0.1), rgba(14, 165, 166, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
}

.stat-content {
  flex: 1;
  text-align: right;
}

.stat-number {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.25rem;
  display: block;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .roles-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .role-stat {
    padding: 1rem;
    text-align: center;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .stat-content {
    text-align: center;
  }
  
  .stat-icon {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
  
  .workshops-header {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .workshops-content {
    text-align: center;
  }
  
  .workshops-section {
    padding: 1rem!important;
  }
}

/* Enhanced Role Tabs */
.role-tabs {
  margin-top: 2rem;
}

.role-tabs .labels {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

@media (min-width: 768px) {
  .role-tabs .labels {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .role-tabs .labels {
    grid-template-columns: repeat(4, 1fr);
  }
}

.role-tabs input {
  display: none;
}

.role-tab-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border: 2px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.role-tab-label::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(49, 184, 137, 0.02), rgba(14, 165, 166, 0.02));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.role-tab-label:hover {
  border-color: rgba(49, 184, 137, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(49, 184, 137, 0.1);
}

.role-tab-label:hover::before {
  opacity: 1;
}

.role-tabs input:checked + .role-tab-label {
  /* background: linear-gradient(135deg, var(--brand), #0ea5a6); */
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 8px 25px rgba(49, 184, 137, 0.3);
  transform: translateY(-2px);
}

.role-tabs input:checked + .role-tab-label::before {
  opacity: 0;
}

.role-tabs input:checked + .role-tab-label .tab-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.tab-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(49, 184, 137, 0.1), rgba(14, 165, 166, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  color: var(--brand);
}

.role-tabs input:checked + .role-tab-label .tab-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.tab-content {
  flex: 1;
  text-align: right;
  position: relative;
  z-index: 1;
}

.tab-title {
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: var(--ink);
  transition: color 0.3s ease;
}

.role-tabs input:checked + .role-tab-label .tab-title {
  color: #fff;
}

.tab-subtitle {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.3s ease;
}

@media (max-width: 768px) {
  .role-tab-label {
    padding: 1rem;
    /* text-align: center;
    flex-direction: column; */
    gap: 0.75rem;
  }
  
  /* .tab-content {
    text-align: center;
  } */
  
  .tab-icon {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
  
  .tab-title {
    font-size: 1rem;
  }
  
  .tab-subtitle {
    font-size: 0.8rem;
  }
}
.panel {
  display: none;
  margin-top: 2rem;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Show panels based on checked radio buttons */
#tab-trainee:checked ~ .panels #panel-trainee,
#tab-trainer:checked ~ .panels #panel-trainer,
#tab-pdpa:checked ~ .panels #panel-pdpa,
#tab-dio:checked ~ .panels #panel-dio {
  display: block;
}

/* Enhanced Accordion */
.acc {
  border: 1px solid var(--bd);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: all 0.3s ease;
}

.acc.enhanced {
  border: 2px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.acc.enhanced:hover {
  border-color: rgba(49, 184, 137, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(49, 184, 137, 0.1);
}

.acc.enhanced[open] {
  border-color: var(--brand);
  box-shadow: 0 8px 25px rgba(49, 184, 137, 0.15);
}

/* Removed .acc + .acc margin - now handled by .panel-content gap */

.acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  font-weight: 800;
  color: #0b3b5a;
  transition: all 0.3s ease;
}

.acc.enhanced summary {
  padding: 1.25rem;
  gap: 1rem;
}

.acc summary::-webkit-details-marker {
  display: none;
}

.acc-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(49, 184, 137, 0.1), rgba(14, 165, 166, 0.1));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.acc.enhanced[open] .acc-icon {
  background: linear-gradient(135deg, var(--brand), #0ea5a6);
  color: #fff;
  transform: scale(1.05);
}

.acc-content {
  flex: 1;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.acc-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
}

.acc-meta {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .acc.enhanced summary {
    padding: 1rem;
    gap: 0.75rem;
  }
  
  .acc-icon {
    width: 36px;
    height: 36px;
    font-size: 1.125rem;
  }
  
  .acc-title {
    font-size: 1rem;
  }
  
  .acc-meta {
    font-size: 0.75rem;
  }
}
.chev {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid #0b3b5a;
  border-bottom: 2px solid #0b3b5a;
  transform: rotate(45deg);
  transition: 0.2s;
  margin-left: 1rem;
}
.acc[open] .chev {
  transform: rotate(-135deg);
}


.faq-item .chev {
  border-right-color: var(--brand);
  border-bottom-color: var(--brand);
  transition: transform 0.3s ease;
}

.faq-item[open] .chev {
  transform: rotate(-135deg) !important;
}

.acc-body {
  padding: 12px;
  border-top: 1px solid var(--bd);
  background: #f8fafc;
}
.embed {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 10px;
  background: #000;
}
.embed.pdf {
  height: 600px;
  background: #fff;
}

/* PDF Fallback Styling */
.pdf-fallback {
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 10px;
  border: 2px dashed #cbd5e1;
}

.pdf-blocked-message {
  text-align: center;
  padding: 2rem;
  max-width: 400px;
}

.pdf-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.pdf-blocked-message h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

.pdf-blocked-message p {
  color: var(--muted);
  margin: 0 0 1.5rem;
  line-height: 1.5;
  font-size: 0.95rem;
}

.pdf-open-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem !important;
  font-size: 0.95rem !important;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(49, 184, 137, 0.25);
}

.pdf-open-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(49, 184, 137, 0.35);
}

.pdf-open-btn svg {
  transition: transform 0.3s ease;
}

.pdf-open-btn:hover svg {
  transform: translate(2px, -2px);
}

@media (max-width: 768px) {
  .pdf-fallback {
    height: 400px;
  }
  
  .pdf-blocked-message {
    padding: 1.5rem;
  }
  
  .pdf-icon {
    font-size: 3rem;
  }
  
  .pdf-blocked-message h4 {
    font-size: 1.125rem;
  }
  
  .pdf-blocked-message p {
    font-size: 0.875rem;
  }
}
.openout {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--bd);
  background: #fff;
  text-decoration: none;
  color: #0b3b5a;
  font-weight: 800;
}
.openout.attend {
  background: #31b889 !important;
  color: #fff !important;
  border-color: #31b889 !important;
  box-shadow: 0 8px 20px rgba(49, 184, 137, 0.25);
}
.openout.attend:hover {
  transform: translateY(-1px);
}
.openout.attend-disabled {
  background: #f1f5f9 !important;
  color: #64748b !important;
  border-color: #e2e8f0 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}
.openout.attend-disabled:hover {
  transform: none !important;
}

/* ورش العمل - Enhanced */
.workshops-section {
  border: 2px solid var(--brand);
  background: linear-gradient(
    135deg,
    rgba(49, 184, 137, 0.08),
    rgba(14, 165, 166, 0.06)
  );
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.06);
  position: relative;
  overflow: hidden;
}

/* .workshops-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), #0ea5a6, var(--brand));
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
} */

.workshops-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(49, 184, 137, 0.2);
}

.workshops-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.workshops-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--brand), #0ea5a6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(49, 184, 137, 0.3);
}

.workshops-content {
  flex: 1;
  text-align: right;
}

.workshops-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
  color: var(--ink);
}

.workshops-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}
.wk-toolbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  flex-wrap: wrap;
}
.cal-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--bd);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 1px 4px rgba(2, 6, 23, 0.06);
  white-space: nowrap;
  transition: all 0.3s ease;
}

.cal-card.enhanced {
  padding: 1rem 1.25rem;
  border: 2px solid rgba(49, 184, 137, 0.2);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(2, 6, 23, 0.08);
  position: relative;
}

.cal-card.enhanced:hover {
  transform: translateY(-1px);
  border-color: var(--brand);
  box-shadow: 0 8px 20px rgba(49, 184, 137, 0.15);
}

.cal-arrow {
  margin-right: 0.5rem;
  color: var(--brand);
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.cal-card.enhanced:hover .cal-arrow {
  transform: rotate(180deg);
}
.cal-ico {
  width: 18px;
  height: 18px;
  display: inline-block;
  position: relative;
  flex: 0 0 auto;
}
.cal-ico::before,
.cal-ico::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
}
.cal-ico::before {
  top: 0;
  height: 6px;
  background: #31b889;
  border-radius: 3px 3px 0 0;
}
.cal-ico::after {
  top: 6px;
  bottom: 0;
  border: 2px solid #0b3b5a;
  border-top: 0;
  border-radius: 0 0 3px 3px;
}
.picked-inline {
  font-weight: 800;
  color: #0b3b5a;
  line-height: 1;
  white-space: nowrap;
}
.cal-popover {
  position: absolute;
  z-index: 1000;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.12);
  padding: 12px;
  min-width: 260px;
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.cal-title {
  font-weight: 900;
  color: #0b3b5a;
  flex: 1;
  text-align: center;
}
.cal-nav {
  background: none;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0b3b5a;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.2s ease;
}
.cal-nav:hover:not(:disabled) {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.cal-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-grid .w {
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
  text-align: center;
  padding: 6px 0;
}
.cal-grid .d {
  font-size: 14px;
  text-align: center;
  padding: 8px 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.cal-grid .d:not(.sel):not(.dis) {
  background-color: #f3faf8;
  color: var(--brand);
  font-weight: 700;
}

.cal-grid .d:hover {
  border-color: #31b889;
}
.cal-grid .d.sel {
  background: #31b889;
  color: #fff;
  border-color: #31b889;
}
.cal-grid .d.dis {
  opacity: 0.35;
  pointer-events: none;
}
.wk-grid {
  display: grid;
  gap: 8px;
}
@media (min-width: 768px) {
  .wk-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.card {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 1px 6px rgba(2, 6, 23, 0.06);
}
.card h3 {
  margin: 2px 0 4px;
  font-size: 18px;
  font-weight: 900;
  color: #0b3b5a;
}
.card .sub {
  font-size: 14px;
  color: #0b3b5a;
}

/* Enhanced FAQ Section */
#faq {
  background: linear-gradient(135deg, rgba(49, 184, 137, 0.02) 0%, rgba(14, 165, 166, 0.03) 50%, rgba(49, 184, 137, 0.02) 100%);
}
.faq-header {
  margin-bottom: 3rem;
  position: relative;
}

/* FAQ badge - now uses .section-badge unified component */

.faq-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  margin: 0 0 1rem;
  color: var(--ink);
}

/* FAQ subtitle - now uses .section-subtitle unified component */

.faq-categories {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.faq-category {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.category-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 1.5rem;
  color: var(--ink);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(49, 184, 137, 0.1);
}

.category-icon {
  font-size: 1.5rem;
}

.faq-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  margin-bottom: 0 !important;
}

.faq-answer {
  padding: 0.5rem 0;
}

.faq-answer p {
  margin: 0 0 1rem;
  line-height: 1.6;
  color: var(--ink);
}

.faq-answer ol,
.faq-answer ul {
  margin: 0 0 1rem;
  padding-right: 1.5rem;
}

.faq-answer li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
  color: var(--ink);
}

.faq-link {
  margin: 1rem 0;
}

.faq-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(49, 184, 137, 0.25);
}

.faq-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(49, 184, 137, 0.35);
}

.faq-helpful {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

.faq-helpful span {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.helpful-buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.helpful-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.helpful-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.helpful-btn.yes:hover {
  background: rgba(34, 197, 94, 0.1);
  border-color: #22c55e;
  color: #22c55e;
}

.helpful-btn.no:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
  color: #ef4444;
}

@media (max-width: 768px) {
  .faq-categories {
    gap: 1.5rem;
  }
  
  .faq-category {
    padding: 1rem;
    border-radius: 16px;
  }
  
  .category-title {
    font-size: 1.125rem;
    gap: 0.5rem;
  }
  
  .category-icon {
    font-size: 1.25rem;
  }
  
  .helpful-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .helpful-btn {
    width: 100px;
  }
}

/* Enhanced Support Section */
#support {
  background: linear-gradient(
    135deg,
    rgba(49, 184, 137, 0.02) 0%,
    rgba(14, 165, 166, 0.03) 50%,
    rgba(49, 184, 137, 0.02) 100%
  );
  position: relative;
  overflow: hidden;
}

#support::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 40%;
  height: 200%;
  background: radial-gradient(
    ellipse at center,
    rgba(49, 184, 137, 0.06) 0%,
    transparent 70%
  );
  transform: rotate(15deg);
  pointer-events: none;
}

.support-header {
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

/* Support badge - now uses .section-badge unified component */

.support-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  margin: 0 0 1rem;
  color: var(--ink);
}

/* Support subtitle - now uses .section-subtitle.support unified component */

.support-content {
  position: relative;
  z-index: 2;
}

.support-main-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06),
    0 20px 40px rgba(49, 184, 137, 0.08);
  border: 1px solid rgba(49, 184, 137, 0.1);
  position: relative;
  overflow: hidden;
}

/* .support-main-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), #0ea5a6, var(--brand));
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
} */

.support-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--brand), #0ea5a6);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 16px rgba(49, 184, 137, 0.25);
}

.support-text {
  flex: 1;
  text-align: right;
}

.support-text h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.support-text p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 1rem;
  font-weight: 500;
}

.support-cta {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.support-cta .btn.enhanced {
  padding: 1.25rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(49, 184, 137, 0.25);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.support-cta .btn.enhanced::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;
}

.support-cta .btn.enhanced:hover::before {
  left: 100%;
}

.support-cta .btn.enhanced svg {
  transition: transform 0.3s ease;
}

.support-cta .btn.enhanced:hover svg {
  transform: translate(2px, -2px);
}

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

.support-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  border: 1px solid rgba(49, 184, 137, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(10px);
}

.feature-icon {
  font-size: 1.125rem;
}

.feature-text {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .support-main-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1rem;
  }
  
  .support-text {
    text-align: center;
  }
  
  .support-icon {
    width: 64px;
    height: 64px;
  }
  
  .support-features {
  display: none;
    
  }
  
  .feature-item {
    justify-content: center;
    width: 100%;
    max-width: 200px;
  }
}

/* Workshop UX Enhancement Styles */
.workshop-hint {
  margin-top: 12px;
}

.workshop-hint-box {
  padding: 12px;
  margin-top: 16px;
  background: #fff;
  color: var(--muted);
  border-radius: 8px;
  border-inline-start: 4px solid var(--brand);
  font-size: 14px;
}

.workshop-hint-box strong {
  display: block;
  margin-bottom: 4px;
}

.workshop-hint-box .hint-text {
  color: #666;
}

.date-indicator {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #dc3545;
  color: white;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: bold;
  z-index: 10;
}

.date-hint {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .date-hint {
    display: none;
  }
}


/* Calendar Past Date Styling */
.cal-grid .d.passed {
  background: #f8f9fa;
  color: #6c757d;
  border-color: #e2e8f0;
  opacity: 0.6;
  cursor: not-allowed;
  text-decoration: line-through;
}

.cal-grid .d.passed:hover {
  border-color: #e2e8f0;
  background: #f8f9fa;
}

/* Card Actions */
.card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
