/* ===== Page hero ===== */

.page-hero--organizers {
  min-height: 420px;
  height: 48vh;

  /* Stronger dark overlay + your auditorium image */
  background:
    linear-gradient(
      to bottom,
      rgba(5, 6, 23, 0.80),   /* top darker */
      rgba(5, 6, 23, 0.94)    /* bottom very dark */
    ),
    url("../assets/new-conf-3.jpg") center/cover no-repeat;

  background-blend-mode: overlay;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  position: relative;
}




.page-hero__inner {
  height: 100%;
  display: flex;
  align-items: center;      /* vertically centered */
  justify-content: flex-start; /* left aligned */
  padding-left: 2.5rem;     /* adjust as needed */
}


.page-hero__text {
  max-width: 650px;
}

.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;

  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;

  padding: 0.25rem 0.75rem;
  border-radius: 999px;

  /* pill background & border, like home */
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(248, 250, 252, 0.18);
  color: rgba(249, 250, 251, 0.9);

  margin-bottom: 0.6rem;

  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}


.page-hero__title {
  margin: 0 0 0.45rem;
  font-size: 2.3rem;
  font-weight: 700;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.75);
}

.page-hero__lead {
  margin: 0;
  font-size: 0.98rem;
  color: rgba(235, 239, 245, 0.9);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}



/* ===== Organizers section ===== */

.section--organizers {
  padding-top: 2.8rem;
  padding-bottom: 3.8rem;
}

.section--organizers::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 70% 30%, rgba(56, 189, 248, 0.12), transparent 60%);
  opacity: 0.9;
}



.section__title--sub {
  font-size: 1.2rem;
  margin-bottom: 1.6rem;
}

/* Grid */

.organizers-grid,
.assistant {
  position: relative;
  z-index: 1;
}

/* Base grid for desktop */
.organizers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}



/* ===== Flip card ===== */

.organizer-card {
  perspective: 1200px;
}

.organizer-card__inner {
  position: relative;
  width: 100%;
  min-height: 230px;
  transform-style: preserve-3d;
  transition: transform 0.5s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.organizer-card__face {
  position: absolute;
  inset: 0;
  padding: 1.25rem 1.3rem 1.2rem;
  border-radius: 1.1rem;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.8);
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

/* Front face */

.organizer-card__face--front {
  z-index: 2;
}

/* Back face */

.organizer-card__face--back {
  transform: rotateY(180deg);
}

/* Hover flip */

.organizer-card:hover .organizer-card__inner {
  transform: rotateY(180deg);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.95);
}

.organizer-card:hover .organizer-card__face {
  border-color: rgba(129, 140, 248, 0.7);
}

/* Front face content */

.organizer-card__top {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.organizer-card__photo {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(148, 163, 184, 0.7);
}

.organizer-card__meta {
  min-width: 0;
}

.organizer-card__name {
  margin: 0;
  font-size: 1rem;
}

.organizer-card__role {
  margin: 0.1rem 0 0;
  font-size: 0.85rem;
  color: #bfdbfe;
}

.organizer-card__affiliation {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.organizer-card__location {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.9);
}

/* Back face content */

.organizer-card__backline {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.organizer-card__bullets {
  margin: 0.55rem 0 0.45rem;
  padding-left: 1.1rem;
  font-size: 0.83rem;
  color: var(--color-muted);
}

.organizer-card__bullets li {
  margin-bottom: 0.18rem;
}

.organizer-card__link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #bfdbfe;
  text-decoration: none;
}

.organizer-card__link:hover {
  text-decoration: underline;
}

/* ===== Assistant block ===== */

.assistant {
  margin-top: 3.2rem;
}

.assistant__title {
  margin-bottom: 1rem;
}

.assistant-card {
  max-width: 420px;
  background: rgba(15, 23, 42, 0.98);
  border-radius: 1.1rem;
  border: 1px solid rgba(52, 211, 153, 0.6);
  padding: 1.1rem 1.3rem;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.9);
}

.assistant-card__header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.assistant-card__photo {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(52, 211, 153, 0.8);
}

.assistant-card__meta {
  min-width: 0;
}

.assistant-card__name {
  margin: 0;
  font-size: 0.98rem;
}

.assistant-card__role {
  margin: 0.12rem 0 0;
  font-size: 0.86rem;
  color: var(--color-muted);
}

/* ===== Responsive ===== */

@media (max-width: 1024px) {
  .organizers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .page-hero--organizers {
    padding-top: 4.5rem;
    padding-bottom: 2.2rem;
  }

  .organizers-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .organizer-card__face {
    padding: 1.1rem 1.1rem;
  }
}



.section--organizers {
  position: relative;
  padding-top: 2.8rem;
  padding-bottom: 3.8rem;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.98));
  overflow: hidden; /* important so lines don’t spill out */
}



/* Side animated Supertree-style branches */

.org-branches {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 20%;
  pointer-events: none;
  opacity: 0.85;
  z-index: 1;
}

.org-branches--left {
  left: 0;
  transform: translateX(-70px); 
}

.org-branches--right {
  right: 0;
  transform: translateX(70px); 
}

.org-branches__svg {
  width: 100%;
  height: 100%;
}

/* Branch line */
.org-branch {
  fill: none;
  stroke: rgba(148, 163, 184, 0.85);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 7 5;
  stroke-dashoffset: 90;
  opacity: 0.75;
}

/* Nodes (intersection lights) */
.org-node {
  fill: rgba(248, 250, 252, 0.9);
  opacity: 0;
  transform-origin: center;
}

/* Looping animations – same vibe as Explore section */
@keyframes org-branch-grow-loop {
  0% {
    stroke-dashoffset: 90;
    opacity: 0;
  }
  35% {
    stroke-dashoffset: 0;
    opacity: 0.9;
  }
  65% {
    stroke-dashoffset: 0;
    opacity: 0.9;
  }
  90% {
    stroke-dashoffset: 90;
    opacity: 0;
  }
  100% {
    stroke-dashoffset: 90;
    opacity: 0;
  }
}

@keyframes org-node-twinkle-loop {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
  100% {
    opacity: 0;
    transform: scale(0.7);
  }
}

.org-branch {
  animation: org-branch-grow-loop 3.6s ease-in-out infinite;
}

.org-node {
  animation: org-node-twinkle-loop 2.6s ease-in-out infinite;
}

/* Stagger node twinkles */
.org-node:nth-of-type(1) { animation-delay: 0.1s; }
.org-node:nth-of-type(2) { animation-delay: 0.3s; }
.org-node:nth-of-type(3) { animation-delay: 0.5s; }
.org-node:nth-of-type(4) { animation-delay: 0.7s; }
.org-node:nth-of-type(5) { animation-delay: 0.9s; }
.org-node:nth-of-type(6) { animation-delay: 1.1s; }
.org-node:nth-of-type(7) { animation-delay: 1.3s; }
.org-node:nth-of-type(8) { animation-delay: 1.5s; }
.org-node:nth-of-type(9) { animation-delay: 1.7s; }
.org-node:nth-of-type(10) { animation-delay: 1.9s; }
.org-node:nth-of-type(11) { animation-delay: 2.1s; }



.section--organizers .main-container {
  position: relative;
  z-index: 2;
}


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