/* ==========================================================================
   GISEC Global 2026 — eMudhra corporate event detail page.
   eMudhra branding throughout (NOT CertiNext) per the GISEC content brief —
   tokens re-derived from the sitewide blue palette (files/css/stylesheet.css)
   rather than the CertiNext orange used on the Black Hat page.
   ========================================================================== */

.gsc26-page {
  --gsc26-navy: #0b1330;
  --gsc26-navy-soft: #16224a;
  --gsc26-blue: #1a56db;
  --gsc26-blue-deep: #233876;
  --gsc26-cream: #fff8f1;
  --gsc26-ink: #111928;
  --gsc26-ink-soft: #4b5563;
  --gsc26-border: #eceef1;
  --gsc26-radius-lg: 20px;
  --gsc26-radius-md: 16px;
  font-family: var(--DMSans, "DM Sans", sans-serif);
  color: var(--gsc26-ink);
}

/* ---------- Hero — same full-bleed image structure as the Black Hat page
   (files/css/events/events.css .bh26-hero*): light background, image
   pinned to the right 60%, faded to white on the left so the text stays
   readable, dark ink text instead of white-on-navy. ---------- */
.gsc26-hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  min-height: 440px;
  display: flex;
  align-items: flex-start;
  padding: 130px 0 60px;
}

.gsc26-hero__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 60%;
  z-index: 0;
}

.gsc26-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 30%;
  display: block;
}

.gsc26-hero__media-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    #fff 0%,
    #fff 8%,
    rgba(255, 255, 255, 0.78) 20%,
    rgb(255 255 255 / 45%) 40%,
    rgba(255, 255, 255, 0) 58%);
}

.gsc26-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.gsc26-hero__eyebrow {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--gsc26-blue);
  background: var(--primary-050);
  border: 1px solid var(--primary-100);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.gsc26-hero__title {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--gsc26-ink);
  margin-bottom: 10px;
  max-width: 760px;
}

.gsc26-hero__logo {
  display: block;
  width: clamp(220px, 26vw, 320px);
  height: auto;
  margin-bottom: 20px;
}

.gsc26-hero__detail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 0.98rem;
  color: var(--gsc26-ink-soft);
  margin-bottom: 22px;
}

/* Invisible full-width spacer forces the booth badge onto its own row
   unconditionally (not just when it happens to wrap), while the badge
   itself keeps flex:0 0 auto so it stays max-content width instead of
   stretching to fill the row. */
.gsc26-hero__detail-break {
  flex-basis: 100%;
  height: 0;
}

.gsc26-hero__detail .gsc26-booth-badge {
  flex: 0 0 auto;
}

.gsc26-hero__detail span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gsc26-hero__detail .gsc26-dot {
  opacity: 0.5;
}

.gsc26-hero__desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--gsc26-ink-soft);
  max-width: 640px;
  margin-bottom: 30px;
}

.gsc26-hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .gsc26-hero {
    min-height: 0;
    padding: 100px 0 0;
    display: block;
  }
  .gsc26-hero__media {
    position: relative;
    width: 100%;
    height: 220px;
    margin-bottom: -1px;
  }
  .gsc26-hero__media img {
    object-position: 70% 35%;
  }
  .gsc26-hero__media-fade {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 55%, #fff 100%);
  }
  .gsc26-hero__inner {
    max-width: none;
    padding: 24px 0 40px;
  }
}

/* ---------- Generic section scaffolding ---------- */
.gsc26-section {
  padding: 76px 0;
}

.gsc26-section--cream {
  background: var(--gsc26-cream);
}

.gsc26-section--navy {
  position: relative;
  background: var(--gsc26-navy);
  color: #fff;
  overflow: hidden;
}

/* Dubai skyline watermark, low opacity, biased toward the tower (right
   side of the source image) so the section's left/center text area stays
   on the plain navy background — a dark tint (::after) sits on top to
   keep contrast regardless of the image underneath. */
.gsc26-section--navy::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/images/events/dubai-event-thumb.jpg');
  background-size: cover;
  background-position: center 35%;
  opacity: 0.4;
  z-index: 0;
}

.gsc26-section--navy::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,19,48,0.72) 0%, rgba(11,19,48,0.82) 100%);
  z-index: 0;
}

.gsc26-section--navy > .container {
  position: relative;
  z-index: 1;
}

.gsc26-section-head {
  text-align: center;
  max-width: 930px;
  margin: 0 auto 44px;
}

.gsc26-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gsc26-blue);
  margin-bottom: 10px;
}

.gsc26-section--navy .gsc26-eyebrow {
  color: #8fb3ff;
}

.gsc26-section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--gsc26-ink);
}

.gsc26-section--navy .gsc26-section-title {
  color: #fff;
}

.gsc26-section-sub {
  font-size: 1rem;
  color: var(--gsc26-ink-soft);
  margin-top: 10px;
  line-height: 1.65;
}

.gsc26-section--navy .gsc26-section-sub {
  color: rgba(255, 255, 255, 0.75);
}

.gsc26-callout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-050);
  color: var(--gsc26-blue);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  margin-top: 18px;
}

/* ---------- Pillars grid (Secure Everything That Matters) ---------- */
.gsc26-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

@media (max-width: 991px) { .gsc26-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .gsc26-grid { grid-template-columns: 1fr; } }

.gsc26-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 991px) { .gsc26-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .gsc26-grid--3 { grid-template-columns: 1fr; } }

/* "What You Can Expect" — image-card style borrowed from a reference
   design (gradient tile, title bottom-left, circular arrow button
   bottom-right). No real photography for these 4 concepts, so a large
   faint icon watermark stands in for imagery. */
.gsc26-expect-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 991px) { .gsc26-expect-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .gsc26-expect-grid { grid-template-columns: 1fr; } }

.gsc26-expect-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  border-radius: 18px;
  padding: 20px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gsc26-expect-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(11, 19, 48, 0.22);
}

.gsc26-expect-card__icon-bg {
  position: absolute;
  top: -16px;
  right: -16px;
  opacity: 0.16;
  z-index: 0;
}

.gsc26-expect-card__title {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  max-width: 72%;
  margin: 0;
}

.gsc26-expect-card__arrow {
  position: absolute;
  bottom: 18px;
  right: 18px;
  z-index: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: var(--gsc26-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.gsc26-expect-card:hover .gsc26-expect-card__arrow {
  transform: rotate(45deg) scale(1.1);
  background: #fff;
  color: var(--gsc26-blue);
}

.gsc26-card {
  background: #fff;
  border: 1px solid var(--gsc26-border);
  border-radius: var(--gsc26-radius-md);
  padding: 28px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gsc26-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(11, 19, 48, 0.1);
}

.gsc26-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary-050);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.gsc26-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gsc26-ink);
  margin: 0 0 8px;
}

.gsc26-card__desc {
  font-size: 0.9rem;
  color: var(--gsc26-ink-soft);
  line-height: 1.6;
}

/* ---------- Stats band ---------- */
.gsc26-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  margin-top: 12px;
}

@media (max-width: 767px) { .gsc26-stats { grid-template-columns: repeat(2, 1fr); } }

.gsc26-stat__num {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
}

.gsc26-stat__label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 6px;
}

/* ---------- Meet Our Team ----------
   Same floating-avatar card structure/columns as the Black Hat page
   (files/css/events/events.css .bh26-team-*, itself based on the real
   eMudhra leadership page): a circular photo in a white ring overlaps the
   card's top edge, card lifts on hover. Re-themed blue (--gsc26-blue)
   instead of Black Hat's purple #673695, matching this page's eMudhra
   branding. No LinkedIn hover badge — unlike Black Hat's 3, none of these
   8 have a confirmed LinkedIn URL yet, so there's nothing real to link to. */
/* Flexbox (not grid) on purpose: with 8 cards in 3 columns, the last row
   only has 2 items. CSS Grid would leave that row's 3rd track empty and
   the 2 items hugging the left; flexbox's justify-content:center centers
   the items on each wrapped line independently, so an incomplete last
   row centers itself instead of leaving a blank column on the right. */
.gsc26-team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

.gsc26-team-card {
  flex: 0 1 calc((100% - 44px) / 3);
}

@media (max-width: 991px) {
  .gsc26-team-card { flex-basis: calc((100% - 22px) / 2); }
}

@media (max-width: 767px) {
  .gsc26-team-card { flex-basis: 100%; }
}

.gsc26-team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 67px;
  padding: 83px 24px 32px;
  border-radius: var(--gsc26-radius-md);
  border: 1px solid var(--gsc26-border);
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.gsc26-team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(26, 86, 219, 0.15);
  border-color: var(--gsc26-blue);
}

.gsc26-team-card__avatar,
.gsc26-team-card__photo-wrap {
  position: absolute;
  top: -67px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  flex-shrink: 0;
}

.gsc26-team-card__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gsc26-blue) 0%, var(--gsc26-blue-deep) 100%);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
}

/* Same cream-to-peach gradient backdrop Black Hat's .bh26-team-photo uses
   behind its cutout/transparent-background headshots. */
.gsc26-team-card__photo-wrap {
  background: linear-gradient(135deg, #fff 0%, var(--gsc26-cream) 55%, #ffe9db 100%);
}

.gsc26-team-card__photo {
  width: 100%;
  height: 100%;
  /* contain, not cover — cover was cropping into people's hair/edges no
     matter how object-position was tuned. contain shows the whole photo
     uncropped, scaled to fit inside the circle instead. */
  object-fit: contain;
  object-position: center top;
  display: block;
}

/* Aaron's source photo is a video-call still with an out-of-focus
   background and a stray dark artifact behind his shoulder — cropping
   the source itself isn't an option, so zoom + shift the visible window
   up onto just his face/shoulders to crop the blurred surroundings out
   of the small circular frame instead. */
.gsc26-team-card__photo--tight {
  object-position: center top;
  transform: scale(1.3);
  transform-origin: center top;
}

.gsc26-team-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gsc26-team-card__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--gsc26-ink);
}

.gsc26-team-card__role {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gsc26-blue);
  margin-top: 4px !important;
  line-height: 1.5;
}

.gsc26-team-card__bio {
  font-size: 13.5px;
  color: var(--gsc26-ink-soft);
  line-height: 1.6;
  margin: 0px !important;
  flex: 1;
}

@media (max-width: 480px) {
  .gsc26-team-card {
    margin-top: 52px;
    padding: 66px 18px 26px;
  }
  .gsc26-team-card__avatar,
  .gsc26-team-card__photo-wrap {
    top: -52px;
    width: 104px;
    height: 104px;
  }
}

/* ---------- Reserve Your Meeting (lead form) ---------- */
.gsc26-form-section {
  padding: 76px 0;
  background: var(--gsc26-cream);
}

.gsc26-form-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 991px) {
  .gsc26-form-layout { grid-template-columns: 1fr; gap: 36px; }
}

.gsc26-form-copy h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 800;
  color: var(--gsc26-ink);
  margin-bottom: 14px;
}

.gsc26-form-copy p {
  font-size: 1rem;
  color: var(--gsc26-ink-soft);
  line-height: 1.65;
  margin-bottom: 22px;
}

.gsc26-value-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gsc26-value-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--gsc26-ink);
}

/* Green circle checkmark — same treatment as the Black Hat page's
   .bh26-form-copy__check (files/css/events/events.css). */
.gsc26-value-list__check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Booth/stand callout reused inline in copy text, mirroring the Black
   Hat page's .bh26-booth-badge — same pill, blue instead of orange. */
.gsc26-booth-badge {
  display: inline-flex;
  align-items: center;
  color: #fff;
  /* Same orange gradient as the Black Hat page's .bh26-booth-badge. */
  background: linear-gradient(135deg, #ff5a1f 0%, #f26739 100%);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.9em;
  font-weight: 600;
  white-space: nowrap;
}

.gsc26-form-card {
  background: #fff;
  border: 1px solid var(--gsc26-border);
  border-radius: var(--gsc26-radius-lg);
  padding: 34px 32px;
}

.gsc26-form-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gsc26-ink);
  margin-bottom: 6px;
}

.gsc26-form-card__helper {
  font-size: 0.88rem;
  color: var(--gsc26-ink-soft);
  margin-bottom: 22px;
}

.gsc26-field {
  margin-bottom: 16px;
}

.gsc26-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gsc26-ink);
  margin-bottom: 6px;
}

.gsc26-req {
  color: #dc2626;
}

.gsc26-field input,
.gsc26-field textarea {
  width: 100%;
  border: 1px solid var(--gsc26-border);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.92rem;
  font-family: var(--DMSans);
  color: var(--gsc26-ink);
  background: #fff;
  transition: border-color 0.2s ease;
}

.gsc26-field input:focus,
.gsc26-field textarea:focus {
  outline: none;
  border-color: var(--gsc26-blue);
}

.gsc26-field.has-error input,
.gsc26-field.has-error textarea {
  border-color: #dc2626;
}

.gsc26-field__error {
  display: none;
  font-size: 0.78rem;
  color: #dc2626;
  margin-top: 4px;
}

.gsc26-field.has-error .gsc26-field__error {
  display: block;
}

.gsc26-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 480px) {
  .gsc26-field-row { grid-template-columns: 1fr; }
}

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

/* Phone field — sitewide PhoneValidator (intl-tel-input). Without this,
   the plugin's .iti wrapper defaults to display:inline-block and shrinks
   to the input's intrinsic width instead of filling .gsc26-field, which
   is why the field looked narrower than the others. Same fix as the
   Black Hat page's .bh26-phone-wrap. */
.gsc26-phone-wrap .iti {
  width: 100%;
  display: block;
}

.gsc26-phone-wrap .iti__tel-input {
  width: 100%;
  border: 1px solid var(--gsc26-border);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.92rem;
  font-family: var(--DMSans);
  color: var(--gsc26-ink);
  background: #fff;
  transition: border-color 0.2s ease;
}

.gsc26-phone-wrap .iti__tel-input:focus {
  outline: none;
  border-color: var(--gsc26-blue);
}

.gsc26-phone-wrap .iti--separate-dial-code .iti__selected-flag {
  background: #f3f4f6;
  border-right: 1px solid var(--gsc26-border);
  border-radius: 10px 0 0 10px;
}

.gsc26-phone-wrap .iti__selected-dial-code {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gsc26-ink);
}

.gsc26-phone-wrap .iti__country-list {
  border-radius: 10px;
  border: 1px solid var(--gsc26-border);
  max-height: 240px;
}

.gsc26-phone-wrap.has-error .iti__tel-input {
  border-color: #dc2626;
}

.gsc26-consent {
  font-size: 0.7rem;
  color: var(--gsc26-ink-soft);
  line-height: 1.6;
  margin: 16px 0;
}

.gsc26-consent a {
  color: var(--gsc26-blue);
}

.gsc26-form__submit {
  width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gsc26-blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--DMSans);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.gsc26-form__submit:hover {
  /* One step darker on the sitewide primary-blue scale (--primary-700 ->
     --primary-800), matching the .ems-btn--pri hover convention in
     faq.css, plus the same lift + shadow that hover uses there.
     --gsc26-blue-deep (--primary-900) is two steps down and reads as
     switching to a different navy color, not a hover state. */
  background: var(--primary-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(28, 100, 242, 0.35);
}

.gsc26-form__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Closing CTA now reuses the shared .faq-cta-section / .faq-cta-inner
   classes from faq.css (same card used on /resources and the Events hub
   page) instead of a dark band — no CTA-specific rules needed here. */

/* ---------- Reveal-on-scroll ---------- */
.gsc26-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.gsc26-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .gsc26-reveal { opacity: 1; transform: none; transition: none; }
}
