:root {
  --bg: #ffffff;
  --fg: #0b0d10;
  --muted: #4b5563;
  --accent: #20bdbf;
}

* {
  box-sizing: border-box;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden !important;
  max-width: 100%;
  scrollbar-gutter: stable;
}

html,
body {
  margin: 0;
  font-family: "Assistant", "Open Sans Hebrew", "Noto Sans Hebrew", Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.7;
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden !important;
}

/* Prevent horizontal overflow on all sections */
section,
main,
article,
div,
header,
footer {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  padding-top: 95px;
}

/* Default heading and bold text colors - only for black text, not turquoise */
h1,
h2,
h3,
h4 {
  color: #3D3E47;
}

/* Override for turquoise titles - keep them turquoise */
.workshop-card .main-title {
  color: #20BDBF !important;
}

strong {
  color: #3D3E47;
}

a {
  color: var(--fg);
  text-decoration: none;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
  max-width: 100%;
  overflow-x: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.site-header .logo img {
  height: 75px;
}

.top-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  align-items: center;
  max-width: min(90%, 800px);
}

.top-nav a {
  margin-inline: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: clamp(14px, 2.5vw, 20px);
  font-weight: 500;
  position: relative;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

.top-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.site-footer {
  padding: 0;
  color: var(--muted);
  margin-top: 0;
  background: #fafafa;
}

.footer-centered {
  text-align: center;
  padding: 36px 0;
}

.footer-logo-lg {
  height: 105px;
  width: auto;
  margin-bottom: 10px;
}

.footer-links {
  margin: 8px 0 6px;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.footer-links a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-year {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.95em;
}

.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  place-items: center;
  text-align: center;
  background: #f5f5f5;
}

.hero.slim {
  min-height: 48vh;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
}

.hero h1 {
  font-size: clamp(26px, 4vw, 42px);
  margin: 0 0 16px;
}

.hero p {
  font-size: clamp(14px, 2vw, 18px);
  color: var(--muted);
  margin: 0 0 24px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  border: none;
  outline: none;
}

.btn:focus,
.btn:active {
  outline: none;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 12px;
}

.card h2 {
  margin: 0 0 8px;
  font-size: 26px;
  color: #3D3E47;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 23px;
}

.card-icon-side .card-header-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.card-icon-side .card-header-row img {
  width: 96px;
  height: 96px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.card-icon-side .card-header-row img.funnel-icon {
  width: 96px;
  height: 96px;
}

.card-icon-side .card-header-row h2 {
  margin: 0;
  line-height: 1.2;
  display: inline-block;
  color: #3D3E47;
}

.card-icon-side .card-header-row h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--accent);
  margin-top: 6px;
  border-radius: 2px;
}

.card-title-line1 {
  color: var(--accent);
}

.card-title-line2 {
  color: #3D3E47;
}

.prose {
  line-height: 1.8;
}

.prose.content-section {
  padding: 32px 0;
}

.prose h2,
.prose h3 {
  margin-top: 28px;
  color: #3D3E47;
}

.prose ul {
  padding-right: 20px;
}

.contact-form {
  max-width: 720px;
  margin: 24px auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comment-row {
  grid-column: 1/-1;
  margin-top: 0;
}

.hidden {
  display: none !important;
}

.required {
  color: #dc2626;
}

.contact-form .btn {
  display: block;
  margin: 32px auto 0;
  padding: 24px 44px;
  font-size: 18px;
}

.banner-form-section .contact-form .btn {
  background: #20bdbf;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 600px;
}

input,
textarea,
select {
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 12px 14px;
  background: #ffffff;
  color: var(--fg);
  font-size: 16px;
  line-height: 1.7;
  font-family: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--accent);
  border-color: transparent;
  box-shadow: 0 0 0 4px rgba(10, 163, 154, 0.12);
}

select {
  cursor: pointer;
}

select option {
  padding: 8px;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-status {
  margin-top: 12px;
  font-weight: 500;
  min-height: 1.5em;
}

label {
  font-weight: 500;
  font-size: 18px;
}

/* Top-only video hero for homepage */
.video-hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  outline: none;
}

.video-hero .video-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 48vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  overflow-x: hidden;
  background: transparent;
  border: none;
  outline: none;
}

.video-hero .bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
  border: none;
  outline: none;
}


/* Home title and underline */
.home-intro {
  padding: 28px 0 12px;
  text-align: center;
}

.home-title {
  font-size: clamp(23px, 6vw, 47px);
  margin: 0 0 8px;
  color: #3D3E47;
}

.home-title.smaller-title {
  font-size: clamp(18px, 5vw, 37px);
}

.home-title.larger-title {
  font-size: clamp(32px, 8vw, 60px) !important;
}

.home-title-underline {
  display: block;
  width: 180px;
  height: 6px;
  background: var(--accent);
  border-radius: 4px;
  margin: 8px auto 18px;
}

.lead {
  font-weight: 600;
}

.banner-form-section {
  background: #232730;
  width: 100%;
  padding: 40px 0;
  margin: 0;
  margin-top: 80px;
}

.home-banner {
  margin: 0 auto 25px;
  max-width: 600px;
}

.home-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.contact-form {
  margin-top: 32px;
}

.banner-form-section .contact-form {
  color: #ffffff;
}

.banner-form-section label {
  color: #ffffff;
}

.banner-form-section input,
.banner-form-section textarea {
  background: #ffffff;
  color: var(--fg);
}

.banner-form-section .form-status {
  color: #ffffff;
}

/* Right-align home intro text and button */
.home-intro {
  text-align: right;
}

.home-intro p {
  font-size: 23px;
}

.home-intro .btn {
  display: inline-block;
  margin-right: 0;
  font-size: 21px;
}

.home-title-underline {
  margin: 8px 0 18px 0;
  /* align to right in RTL */
}

/* Contact info section */
.contact-intro {
  padding: 40px 0 30px;
  text-align: right;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
  margin-top: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 30px;
}

.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.contact-link {
  color: var(--fg);
  transition: color 0.2s ease;
  font-weight: 500;
}

.contact-link:hover {
  color: var(--accent);
}

.home-banner-wrap {
  width: 100%;
  background: #232730;
  padding: 8px 0;
}

.home-banner {
  margin: 0 auto;
}

.home-banner img {
  border-radius: 0;
  box-shadow: none;
  display: block;
  margin: 0 auto;
}

.footer-legal {
  padding: 18px 0 28px;
  text-align: center;
  color: #555;
}

.footer-legal p {
  margin: 6px 0;
}

.footer-credits a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: var(--fg);
}

.banner-small {
  max-width: 800px;
}

.banner-small img {
  max-width: 100%;
}

/* Workshops page */

.workshops-intro {
  margin: 4rem auto 3rem;
  max-width: 900px;
}

.workshops-intro-lead {
  font-size: 1.1rem;
  font-weight: 600;
}

.meta-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(35, 39, 48, 0.06);
}

.meta-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #3D3E47;
}

.meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.meta-list li {
  position: relative;
  padding-right: 1.1rem;
  margin-bottom: 0.25rem;
  font-size: 23px;
}

.meta-list li::before {
  content: "•";
  position: absolute;
  right: 0;
  top: 0;
  color: #20bdbf;
}

/* Layout for the two workshop cards */

.workshops-layout {
  background: #f5f7fb;
  padding: 3rem 0 3.5rem;
}

.workshops-layout .section-title {
  text-align: center;
  margin-bottom: 2.25rem;
}

.workshops-layout .section-title.title-right {
  text-align: right;
}

.workshops-layout .section-title.title-right .home-title-underline {
  margin: 8px 0 4px 0;
}

.workshops-layout .section-title.title-right .toolbox-subtitle {
  margin-top: 4px;
  font-size: 23px !important;
}

.workshops-layout .section-title h2 {
  margin-bottom: 0.25rem;
  font-size: clamp(18px, 5vw, 37px);
  color: #3D3E47;
}

.workshops-layout .section-title p {
  margin: 0;
  opacity: 0.85;
  font-size: 23px;
}

.workshops-layout .section-title p.toolbox-subtitle {
  font-size: 23px !important;
  opacity: 1;
}

.workshops-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 900px) {
  .workshops-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .workshops-grid .workshop-card {
    min-height: 680px;
  }
}

.workshop-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.75rem 1.75rem 1.25rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
  border-top: 4px solid #20bdbf;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.workshop-header h3 {
  margin-bottom: 0.5rem;
  color: #3D3E47;
}

.workshop-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  padding: 0.25rem 1.2rem;
  /* increased horizontal padding */
  border-radius: 999px;
  background: rgba(32, 189, 191, 0.08);
  color: #232730;
  white-space: nowrap;
  /* prevent line break */
  line-height: 1.5;
}

.workshop-summary {
  margin: 0;
  text-align: right;
}

/* Accordion button */

.workshop-toggle {
  margin-top: auto;
  width: 100%;
  padding: 0.75rem 0 0.35rem;
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: inherit;
  color: inherit;
  cursor: pointer;
  position: relative;
  z-index: 5;
}

.workshop-toggle:focus-visible {
  outline: 2px solid #20bdbf;
  outline-offset: 4px;
}

.toggle-label {
  font-weight: 600;
  font-size: 0.95rem;
}

/* Workshop Register Button */
.workshop-register-btn {
  display: inline-block;
  width: 100%;
  padding: 12px 22px;
  margin-top: 12px;
  text-align: center;
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--accent);
  border-radius: 12px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* When button is inside expanded details */
.workshop-details .workshop-register-btn {
  margin-top: 20px;
  margin-bottom: 0;
}


.workshop-register-btn:hover {
  background: var(--accent);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(32, 189, 191, 0.3);
}

.workshop-register-btn:focus-visible {
  outline: 2px solid #20bdbf;
  outline-offset: 4px;
}

.toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #20BDBF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
  color: #20BDBF;
  flex-shrink: 0;
}

/* Details area */

.workshop-details {
  padding-top: 0.75rem;
  margin-top: 0.25rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
  font-size: 0.95rem;
  text-align: right;
}

.workshop-details h4 {
  font-size: 26px;
  margin: 1.5rem 0 0.5rem;
  display: inline-block;
  color: #3D3E47;
  text-align: right;
}

.workshop-details h4::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #20BDBF;
  margin-top: 4px;
  border-radius: 2px;
}

.workshop-details ul {
  margin: 0 0 0.5rem;
  padding-right: 1.1rem;
  text-align: right;
}

/* Note pill */

.banner-note {
  margin: 2rem auto 0;
  max-width: 1400px;
  font-size: 0.9rem;
  text-align: center;
  background: rgba(32, 189, 191, 0.08);
  padding: 1.5rem 2rem;
  border-radius: 999px;
  overflow: visible;
}

.banner-note-inner {
  display: inline-block;
  text-align: right;
  position: relative;
  padding-right: 55px;
  max-width: 100%;
  overflow: visible;
}

.banner-note-bullet {
  position: absolute;
  right: 10px;
  top: -8px;
  width: 32px;
  height: 32px;
}

.banner-note p:first-of-type {
  margin-bottom: 0.75rem;
}

.banner-note p:last-of-type {
  margin: 0;
}

/* Facilitator section */

.facilitator {
  padding: 3rem 0 4rem;
}

/* Meta Section Grid */
.workshops-meta-section {
  margin-bottom: 3rem;
}

.workshops-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* Force 2 columns */
  gap: 2rem;
  margin-top: 2rem;
}

.meta-box {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
  /* Make them equal height */
  display: flex;
  flex-direction: column;
}

.meta-list {
  flex: 1;
  /* Push content to fill height */
}

@media (max-width: 768px) {
  .workshops-meta {
    grid-template-columns: 1fr;
    /* Stack on mobile */
  }
}

/* Workshops Grid */
.workshops-layout .container {
  max-width: 1200px;
  margin: 0 auto;
}

.workshop-card {
  height: auto;
}

/* Facilitator Section */
.facilitator {
  padding: 3rem 0 4rem;
  text-align: right;
  overflow-x: hidden;
}

.facilitator-inner {
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: hidden;
}

.facilitator-layout {
  display: grid;
  grid-template-columns: 55% 30%;
  gap: 60px;
  align-items: start;
  overflow-x: hidden;
  justify-content: start;
  direction: rtl;
}

.facilitator-text {
  text-align: right;
  padding-left: 0;
  margin-left: 0;
}

.facilitator h2 {
  display: table;
  margin-left: auto;
  margin-right: 0;
  margin-bottom: 1rem;
  color: #3D3E47;
}

.facilitator h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #20BDBF;
  margin-top: 4px;
  border-radius: 2px;
}

/* Vertical Carousel */
.facilitator-carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  padding: 15px 0;
  text-align: center;
}

.vertical-carousel-title {
  font-size: 22px;
  font-weight: 700;
  color: #3D3E47;
  text-align: center;
  margin: 0;
  padding: 8px 0;
  line-height: 1.4;
  direction: rtl;
  unicode-bidi: embed;
  display: inline-block;
}

.vertical-carousel-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #20BDBF;
  margin-top: 6px;
  border-radius: 2px;
}

.carousel-container-vertical {
  flex: 0 0 auto;
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  padding: 0;
  clip-path: inset(0 0 0 0);
  height: 400px;
  max-height: 800px;
  transition: height 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
  will-change: height;
}

.carousel-track-vertical {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.5s ease-in-out;
  padding: 0;
}

.recommendation-card-vertical {
  flex: 0 0 auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: all 0.4s ease;
  opacity: 0.5;
  transform: scale(0.9);
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  direction: rtl;
  text-align: right;
}

.recommendation-card-vertical.active {
  opacity: 1;
  transform: scale(1);
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(32, 189, 191, 0.15);
  background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
}

.carousel-btn-vertical {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(32, 189, 191, 0.15);
  will-change: transform;
  contain: layout;
  margin: 0 auto;
  align-self: center;
}

.carousel-btn-vertical svg {
  width: 18px;
  height: 18px;
}

.carousel-btn-vertical:hover {
  background: var(--accent);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(32, 189, 191, 0.3);
}

.carousel-btn-vertical:active {
  transform: scale(0.95);
}

.carousel-btn-vertical svg {
  pointer-events: none;
}

.carousel-dots-vertical {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: absolute;
  left: -22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.carousel-dot-vertical {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot-vertical.active {
  background: var(--accent);
  height: 32px;
  border-radius: 6px;
}

.carousel-dot-vertical:hover {
  background: #a0a5ab;
}

.workshop-card .custom-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* Better vertical alignment */
  margin-bottom: 1.5rem;
  /* More space below header */
  gap: 1rem;
  /* Gap between icon and text */
}

/* Tablet/Middle width - center the header content (only when cards stack) */
@media (min-width: 769px) and (max-width: 899px) {
  .workshop-card .custom-header {
    justify-content: center;
    gap: 1.5rem;
  }

  .workshop-card .header-content {
    flex: 0 0 auto;
    text-align: center;
  }

  .workshop-card .custom-header {
    justify-content: center;
  }

  .workshop-card .sub-title-wrap {
    align-items: center;
  }

  .workshop-card .header-icon {
    flex: 0 0 auto;
  }
}

.workshop-card .header-content {
  flex: 1;
  padding-right: 0;
  /* Reset padding */
  padding-left: 0;
  min-width: 0;
  /* Prevent flex item from overflowing */
  text-align: right;
}

.workshop-card .main-title {
  color: #20BDBF;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.2;
}

.workshop-card .sub-title-wrap {
  display: inline-flex;
  flex-direction: column;
  max-width: 100%;
  align-items: flex-start;
}

.workshop-card .sub-title {
  color: #3D3E47;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

.workshop-card .title-line {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #20BDBF;
  margin-top: 6px;
  border-radius: 2px;
}

.workshop-card .header-icon {
  flex-shrink: 0;
  /* Prevent icon from shrinking */
}

.workshop-card .header-icon img {
  width: 80px;
  height: auto;
  margin: 0;
  object-fit: contain;
  display: block;
  /* Remove inline spacing */
}

/* Custom Bullet Points */
.meta-list li::before,
.workshop-details ul li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.4em;
  width: 12px;
  height: 12px;
  background-image: url('../img/BulletPoint.jpeg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Remove old bullet color if present */
.meta-list li::before {
  color: transparent;
}

/* Ensure workshop details list items have relative positioning for the pseudo-element */
.workshop-details ul li {
  position: relative;
  padding-right: 1.5rem;
  list-style: none;
  margin-bottom: 0.5rem;
  text-align: right;
}

/* Increase font size for workshops page to match intro */
.facilitator,
.workshop-details,
.toggle-label,
.workshop-card p,
.section-title p {
  font-size: 23px;
}

.section-title p.toolbox-subtitle {
  font-size: 23px !important;
}

.banner-note {
  font-size: 24px;
  line-height: 1.5;
}

.toggle-label,
.meta-title {
  display: inline-block;
  margin-bottom: 1rem;
}

.meta-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #20BDBF;
  margin-top: 4px;
  border-radius: 2px;
}

.meta-intro-text {
  font-size: 23px;
}

/* Recommendations Carousel */
.recommendations-section {
  padding: 60px 0 120px;
  text-align: center;
  overflow: visible;
}

.recommendations-title {
  font-size: clamp(32px, 5vw, 48px);
  margin: 0 0 8px;
  color: #3D3E47;
}

.recommendations-title-underline {
  display: block;
  width: 180px;
  height: 6px;
  background: var(--accent);
  border-radius: 4px;
  margin: 8px auto 40px;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 100%;
  padding-bottom: 10px;
}

.carousel-container {
  flex: 0 0 auto;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 400px;
  max-height: 800px;
  transition: height 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
  will-change: height;
}

.carousel-track {
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
  padding: 0;
  will-change: transform;
  align-items: stretch;
}

.recommendation-group {
  flex: 0 0 calc(33.333% - 14px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0.6;
  transform: scale(0.92);
  transition: all 0.4s ease;
}

.recommendation-group.active {
  opacity: 1;
  transform: scale(1);
}

.recommendation-card {
  flex: 0 0 auto;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: all 0.4s ease;
  opacity: 0;
  transform: scale(0.92);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  direction: rtl;
  text-align: right;
  height: auto;
  visibility: hidden;
}

.recommendation-card.grouped {
  flex: 1;
  min-height: 0;
  opacity: 1;
  transform: scale(1);
  padding: 24px 22px;
  border: 2px solid transparent;
}

.recommendation-group.active .recommendation-card.grouped {
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(32, 189, 191, 0.15);
  background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
}

.recommendation-card:first-child,
.recommendation-card.active {
  opacity: 1;
  transform: scale(1);
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(32, 189, 191, 0.15);
  background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
  visibility: visible;
}

.recommendation-text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg);
  text-align: right;
  margin: 0 0 24px;
  flex: 1;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.recommendation-author {
  text-align: right;
  padding-top: 20px;
  border-top: 2px solid var(--accent);
}

.author-name {
  font-size: 20px;
  font-weight: 700;
  color: #3D3E47;
  margin: 0 0 4px;
}

.author-title {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}

.carousel-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(32, 189, 191, 0.15);
}

.carousel-btn:hover {
  background: var(--accent);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(32, 189, 191, 0.3);
}

.carousel-btn:active {
  transform: scale(0.95);
}

.carousel-btn svg {
  pointer-events: none;
}

.carousel-dots {
  display: none;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active {
  background: var(--accent);
  width: 32px;
  border-radius: 6px;
}

.carousel-dot:hover {
  background: #a0a5ab;
}

/* Persistent Contact Button */
.contact-button-fixed {
  position: fixed;
  left: 0;
  top: clamp(200px, calc(34vh + 103px), 523px);
  z-index: 100;
  width: 120px;
  height: 120px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.contact-button-fixed:hover {
  transform: scale(1.1);
}

.contact-button-fixed img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

@media (max-width: 768px) {

  /* Add margin for entire mobile site */
  body {
    margin: 0;
    padding-top: 130px;
  }

  .contact-button-fixed {
    width: 85px;
    height: 85px;
    left: 0;
    top: calc(34vh + 103px);
  }

  .contact-button-fixed img {
    width: 85px;
    height: 85px;
  }

  /* Mobile-specific improvements */

  /* Header and Navigation */
  .site-header {
    padding: 10px 16px;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
  }

  .site-header .logo img {
    height: 60px;
  }

  .top-nav {
    position: static;
    transform: none;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 2px;
    width: 100%;
    max-width: 100%;
  }

  .top-nav a {
    margin-inline: 2px;
    padding: 6px 8px;
    font-size: clamp(12px, 3.5vw, 18px);
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
  }

  .top-nav a.active::after {
    bottom: -6px;
    width: 40px;
    height: 3px;
  }

  /* Cards and Grid */
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }

  .card {
    padding: 16px;
  }

  .card h2 {
    font-size: 22px;
  }

  .card p {
    font-size: 18px;
  }

  .card-icon-side .card-header-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .card-icon-side .card-header-row img,
  .card-icon-side .card-header-row img.funnel-icon {
    width: 72px;
    height: 72px;
  }

  /* Home Section */
  .home-title {
    font-size: clamp(16px, 8vw, 33px);
  }

  .home-intro {
    padding: 20px 0 10px;
  }

  .home-intro p {
    font-size: 18px;
  }

  .home-intro .btn {
    font-size: 18px;
    padding: 10px 18px;
  }

  .home-title-underline {
    margin: 8px 0 18px 0;
  }

  /* Video Hero */
  .video-hero .video-wrap {
    height: 32vh;
    max-height: 380px;
    min-height: 250px;
  }

  /* Hero Sections */
  .hero {
    min-height: 50vh;
  }

  .hero.slim {
    min-height: 25vh;
  }

  /* Show more of the video on mobile */
  .bg-video {
    object-fit: cover !important;
    object-position: center center !important;
  }

  /* Contact Section */
  .contact-intro {
    padding: 24px 0 20px;
  }

  .contact-item {
    font-size: 24px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }

  /* Forms */
  .contact-form .btn {
    padding: 18px 32px;
    font-size: 16px;
  }

  label {
    font-size: 16px;
  }

  input,
  textarea,
  select {
    font-size: 15px;
    padding: 10px 12px;
  }

  /* Banner Section */
  .banner-form-section {
    padding: 28px 0;
    margin-top: 48px;
  }

  /* Workshops Page */
  .workshops-layout {
    padding: 2rem 0 2.5rem;
  }

  .meta-title {
    font-size: 22px;
  }

  .meta-list li {
    font-size: 18px;
  }

  .meta-intro-text {
    font-size: 18px !important;
  }

  .about-closing-text {
    font-size: 16px !important;
  }

  .workshops-layout .section-title h2 {
    font-size: clamp(18px, 5vw, 30px);
  }

  .workshops-layout .section-title p {
    font-size: 18px;
  }

  .workshops-layout .section-title p.toolbox-subtitle {
    font-size: 18px !important;
  }

  .workshop-card {
    padding: 1.25rem;
  }

  .workshop-card .main-title,
  .workshop-card .sub-title {
    font-size: clamp(12px, 4.3vw, 22px);
    white-space: nowrap;
  }

  .workshop-register-btn {
    font-size: 16px;
    padding: 10px 18px;
  }

  .workshop-details h4 {
    font-size: 22px;
  }

  .facilitator,
  .workshop-details,
  .banner-note,
  .toggle-label,
  .workshop-card p,
  .section-title p {
    font-size: 18px;
  }

  .section-title p.toolbox-subtitle {
    font-size: 18px !important;
  }

  .facilitator {
    padding: 2rem 0 2.5rem;
  }

  .facilitator h2 {
    font-size: 26px;
  }

  .facilitator p {
    font-size: 18px;
  }

  /* Vertical Carousel Mobile - Stack layout */
  .facilitator-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }

  .facilitator-carousel {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .carousel-container-vertical {
    max-width: 100%;
  }

  .recommendation-card-vertical {
    min-height: 400px;
    padding: 24px 20px;
  }

  .carousel-btn-vertical {
    width: 32px;
    height: 32px;
    margin: 0 auto;
    align-self: center;
  }

  .carousel-btn-vertical svg {
    width: 16px;
    height: 16px;
  }

  .vertical-carousel-title {
    font-size: 20px;
    display: inline-block;
  }

  .carousel-dots-vertical {
    left: -20px;
    gap: 6px;
  }

  .carousel-dot-vertical {
    width: 10px;
    height: 10px;
  }

  .carousel-dot-vertical.active {
    height: 28px;
  }

  /* Workshop Card Mobile Adjustments */
  .workshop-card .custom-header {
    flex-direction: row-reverse;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .workshop-card .header-icon {
    order: 1;
    flex-shrink: 0;
  }

  .workshop-card .header-icon img {
    width: 64px;
    height: 64px;
  }

  .workshop-card .header-content {
    width: auto;
    text-align: right;
    flex: 1 1 auto;
  }

  .workshop-card .sub-title-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    width: auto;
  }

  .workshop-card .title-line {
    width: 100%;
    max-width: none;
  }

  .workshop-card {
    text-align: center;
    overflow-x: hidden;
  }

  .workshop-card .custom-header {
    width: fit-content;
    max-width: calc(100% - 3.5rem);
    margin: 0 auto;
    display: inline-flex;
  }

  /* Shift only the first card (magnifying glass) header to the right */
  .workshop-card:has(.magnifying-glass-icon) .custom-header {
    transform: translateX(35px);
  }

  /* Shift only the funnel icon card header to the right */
  .workshop-card:has(.funnel-icon) .custom-header {
    transform: translateX(35px);
  }

  /* Prevent horizontal overflow from transforms */
  .grid-2.features {
    overflow-x: hidden;
  }

  .container {
    overflow-x: hidden;
  }

  .workshop-summary {
    text-align: right;
    display: inline-block;
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    word-wrap: break-word;
    box-sizing: border-box;
  }

  /* Workshop Tag Mobile */
  .workshop-tag {
    font-size: 0.8rem;
    padding: 0.25rem 1rem;
    justify-content: center;
    margin: 0 auto;
  }

  /* Banner Note Mobile */
  /* Completely rebuild banner note for mobile - vertical pill */
  .banner-note {
    padding: 3.5rem 2.5rem 3.5rem 2.5rem !important;
    font-size: 18px !important;
    border-radius: 100px !important;
    max-width: 400px !important;
    width: 90% !important;
    text-align: right !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    margin: 2rem auto 0 !important;
    min-height: auto !important;
    position: relative !important;
  }

  .banner-note-inner {
    padding-right: 45px !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: none !important;
    text-align: right !important;
    position: static !important;
    overflow: visible !important;
  }

  .banner-note p {
    display: block !important;
    width: 100% !important;
    margin: 0 0 1.5rem 0 !important;
    text-align: right !important;
    line-height: 1.6 !important;
    font-size: 18px !important;
  }

  .banner-note p:last-of-type {
    margin-bottom: 0 !important;
  }

  .banner-note-bullet {
    width: 35px;
    height: 35px;
    position: absolute !important;
    top: 25px !important;
    right: 40px !important;
    margin-bottom: 0 !important;
  }

  /* Footer */
  .footer-logo-lg {
    height: 80px;
  }

  /* Container */
  .container {
    width: 90%;
    max-width: 100%;
  }

  /* Recommendations Carousel Mobile */
  .recommendations-section {
    padding: 40px 0 60px;
  }

  .recommendations-title {
    font-size: clamp(26px, 7vw, 36px);
  }

  .recommendations-title-underline {
    width: 140px;
    height: 5px;
    margin: 8px auto 30px;
  }

  .carousel-wrapper {
    gap: 12px;
  }

  .recommendation-group {
    flex: 0 0 85%;
  }

  .recommendation-card {
    flex: 0 0 85%;
    padding: 24px 20px;
  }

  .recommendation-card.grouped {
    min-height: 0;
    padding: 20px 16px;
  }

  .recommendation-text {
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 20px;
  }

  .author-name {
    font-size: 18px;
  }

  .author-title {
    font-size: 15px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .carousel-btn svg {
    width: 20px;
    height: 20px;
  }

  /* Carousel dots hidden */
}

/* Tablet/Medium screens - Recommendations */
@media (min-width: 769px) and (max-width: 1024px) {
  .recommendation-group {
    flex: 0 0 calc(40% - 14px);
  }

  .recommendation-card {
    flex: 0 0 calc(40% - 14px);
  }

  .recommendation-card.grouped {
    min-height: 0;
  }

  .recommendation-text {
    font-size: 18px;
  }

  /* Vertical Carousel Tablet */
  .facilitator-layout {
    grid-template-columns: 58% 32%;
    gap: 45px;
  }

  .facilitator-text {
    padding-left: 0;
    margin-left: 0;
  }

  .facilitator-carousel {
    max-width: 300px;
  }

  .carousel-container-vertical {
    max-width: 300px;
  }

  .recommendation-card-vertical {
    min-height: 350px;
  }
}

@media (max-width: 768px) {
  .intro-text {
    font-weight: 700;
  }

  .mobile-break-text {
    display: block;
  }
}

/* ToolBox Page Styles */
.toolbox-subtitle {
  font-size: 23px !important;
  font-weight: 700;
  color: #3D3E47;
  margin: 4px 0 0;
  text-align: right;
}

/* Specific size for first toolbox-subtitle (top intro section) */
section.home-intro.container:first-of-type p.toolbox-subtitle {
  font-size: 25px !important;
}

/* Ultra-specific rule to ensure workshops-layout subtitle gets correct size */
section.workshops-layout .container header.section-title.title-right p.toolbox-subtitle {
  font-size: 23px !important;
  opacity: 1 !important;
}

.cta-text {
  margin-top: 20px !important;
}

.toolbox-closing-text {
  font-size: clamp(44px, 6vw, 60px);
  font-weight: 700;
  color: #3D3E47;
  text-align: right;
}

.intro-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: right;
}

.intro-list li {
  position: relative;
  padding-right: 1.5rem;
  margin-bottom: 0.2rem;
  font-size: 23px;
  line-height: 1.4;
}

.intro-list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.35em;
  width: 12px;
  height: 12px;
  background-image: url('../img/BulletPoint.jpeg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.section-main-title {
  font-size: 38px;
  font-weight: 700;
  color: #3D3E47;
  text-align: center;
  margin-bottom: 2rem;
  display: inline-block;
  width: 100%;
}

.section-main-title::after {
  content: "";
  display: block;
  width: 180px;
  height: 4px;
  background-color: #20BDBF;
  margin: 8px auto 0;
  border-radius: 2px;
}

.toolbox-logo-inline {
  height: 30px;
  width: auto;
  vertical-align: baseline;
  display: inline-block;
  margin: 0 4px 0 4px;
}

.toolbox-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 2rem;
}

.benefit-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
  border-top: 4px solid #20bdbf;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(32, 189, 191, 0.15);
}

.benefit-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.benefit-icon {
  margin: 0;
  width: 115px;
  height: 115px;
  flex-shrink: 0;
}

.benefit-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.benefit-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #3D3E47;
  margin: 0;
  text-align: center;
  display: inline-block;
}

.benefit-card h3::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #20BDBF;
  margin-top: 6px;
  border-radius: 2px;
}

.benefit-card p {
  font-size: 23px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
  text-align: center;
}

.tools-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 2rem;
}

.tool-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-right: 4px solid var(--accent);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tool-item:hover {
  transform: translateX(-4px);
  box-shadow: 0 12px 32px rgba(32, 189, 191, 0.15);
}

.tool-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tool-title {
  font-size: 18px;
  font-weight: 700;
  color: #3D3E47;
  margin: 0;
  text-align: right;
  flex: 1;
}

.tool-toggle {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.tool-toggle:focus-visible {
  outline: 2px solid #20bdbf;
  outline-offset: 4px;
  border-radius: 50%;
}

.tool-toggle .toggle-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid #20BDBF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  color: #20BDBF;
  transition: all 0.3s ease;
}

.tool-toggle:hover .toggle-icon {
  background: rgba(32, 189, 191, 0.1);
}

.tool-details {
  padding-top: 0.75rem;
  margin-top: 0.25rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
  font-size: 0.95rem;
  text-align: right;
}

.tool-details p {
  font-size: 23px;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

.section-subtitle {
  text-align: center;
  font-size: 20px;
  color: var(--muted);
  margin-top: 12px;
}

@media (max-width: 768px) {

  .toolbox-subtitle {
    font-size: 18px !important;
  }

  .toolbox-closing-text {
    font-size: 14px !important;
  }

  /* Specific size for first toolbox-subtitle (top intro section) on mobile */
  section.home-intro.container:first-of-type p.toolbox-subtitle {
    font-size: 20px !important;
  }

  /* Ultra-specific rule to ensure workshops-layout subtitle gets correct size on mobile */
  section.workshops-layout .container header.section-title.title-right p.toolbox-subtitle {
    font-size: 18px !important;
    opacity: 1 !important;
  }

  .intro-list li {
    font-size: 18px;
  }

  .section-main-title {
    font-size: 28px;
  }

  .toolbox-benefits {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .benefit-card {
    padding: 20px 16px;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .benefit-card .benefit-header {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 12px;
    justify-content: flex-start;
  }

  .benefit-icon {
    width: 92px;
    height: 92px;
    margin: 0;
    flex-shrink: 0;
  }

  .benefit-card h3 {
    font-size: 20px;
    margin: 0;
    text-align: right;
    flex: 1;
  }

  .benefit-card p {
    font-size: 18px;
    text-align: right;
  }

  .tool-item {
    padding: 20px;
  }

  .tool-title {
    font-size: 14px;
  }

  .tool-toggle .toggle-icon {
    width: 20px;
    height: 20px;
    font-size: 0.9rem;
  }

  .tool-details p {
    font-size: 18px;
  }

  .section-subtitle {
    font-size: 18px;
  }
}

/* 
   Workshop Dynamic Button Logic 
   Instead of moving DOM elements, we toggle visibility of duplicate buttons.
*/

/* Hide the OUTER register button when the toggle above it is expanded */
.workshop-toggle[aria-expanded="true"]+.workshop-register-btn {
  display: none !important;
}

/* Styling for the INNER register button */
.workshop-register-btn.inner-btn {
  margin-top: 32px;
  margin-bottom: 0;
  width: 100%;
  display: inline-block;
}