@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&family=Figtree:ital,wght@0,300..900;1,300..900&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

  :root {
    --void: #04070a;
    --ink: #071013;
    --teal: #2fcfb6;
    --teal-dim: #1c8f7c;
    --blue-glass: #1c4a63;
    --white: #f4f8f8;
    --text-dim: rgba(244, 248, 248, 0.66);
    --text-faint: rgba(244, 248, 248, 0.42);
    --font-display: 'Archivo', sans-serif;
    --font-body: 'Figtree', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html {
    scroll-behavior: smooth;
  }

  body {
    background: var(--void);
    color: var(--white);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
  }

  /* ============ PAGE-LOAD SEQUENCE ============ */
  /* One orchestrated entrance, staggered top to bottom through the hero.
     Everything else on the page reveals on scroll with the same quiet motion. */

  @keyframes rise-in {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .navbar,
  .event-logo,
  .lede,
  .cta-row,
  .stat-strip,
  .users-row,
  .card-stack {
    opacity: 0;
    animation: rise-in 0.9s var(--ease) forwards;
  }

  .navbar        { animation-delay: 0.05s; }
  .event-logo    { animation-delay: 0.22s; }
  .lede          { animation-delay: 0.36s; }
  .cta-row       { animation-delay: 0.5s; }
  .stat-strip    { animation-delay: 0.64s; }
  .users-row     { animation-delay: 0.76s; }
  .card-stack    { animation-delay: 0.42s; }

  /* Below-the-fold sections fade up once, the first time they enter view. */
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .navbar, .event-logo, .lede, .cta-row, .stat-strip, .users-row, .card-stack {
      opacity: 1;
      animation: none;
    }
    .reveal {
      opacity: 1;
      transform: none;
      transition: none;
    }
    .partners-track {
      animation: none;
    }
  }
  
  .enq-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
}
.enq-modal[hidden] { display: none; }
.enq-modal-box {
    width: 100%;
    max-width: 420px;
    padding: 36px 28px 28px;
    text-align: center;
    border-radius: 16px;
    background: #14141c;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: enqPop 0.25s ease;
}
@keyframes enqPop {
    from { opacity: 0; transform: translateY(12px) scale(0.96); }
    to   { opacity: 1; transform: none; }
}
.enq-modal-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}
.enq-modal.is-success .enq-modal-icon { background: #2fcfb6; }
.enq-modal.is-error   .enq-modal-icon { background: #e5484d; }
.enq-modal.is-info    .enq-modal-icon { background: #f5a524; }
.enq-modal-title { margin: 0 0 8px; font-size: 22px; }
.enq-modal-text  { margin: 0 0 22px; font-size: 15px; line-height: 1.5; opacity: 0.85; }
.enq-modal-btn   { min-width: 120px; }

  /* ============ NAVBAR ============ */

  .navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 80%;
    margin: 0 auto;
    padding: 24px 40px;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.35s var(--ease), border-color 0.35s var(--ease), padding 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
  }

  .navbar.is-scrolled {
    max-width: 100%;
    padding: 16px 40px;
    background: rgba(4, 7, 10, 0.78);
    border-bottom: 1px solid rgba(244, 248, 248, 0.08);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
  }

  .navbar-logo img {
    height: 34px;
    width: auto;
    display: block;
  }

  .navbar-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
  }

  .navbar-links a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--text-dim);
    text-decoration: none;
    position: relative;
    transition: color 0.25s var(--ease);
  }

  .navbar-links a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -6px;
    width: 0;
    height: 1px;
    background: var(--teal);
    transition: width 0.25s var(--ease);
  }

  .navbar-links a:hover {
    color: var(--white);
  }
  .navbar-links a:hover::after {
    width: 100%;
  }

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

  .navbar-actions .btn {
    padding: 10px 22px;
    font-size: 0.88rem;
  }

  .social-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    border: 1px solid rgba(244,248,248,0.14);
    transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .social-icon svg { width: 15px; height: 15px; display: block; }
  .social-icon:hover {
    color: var(--void);
    background: var(--teal);
    border-color: var(--teal);
    transform: translateY(-2px);
  }

  .navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 51;
  }
  .navbar-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }

  body.nav-open .navbar-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  body.nav-open .navbar-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .navbar-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  @media (max-width: 900px) {
    .navbar { max-width: 100%; padding: 18px 24px; }
    .navbar.is-scrolled { padding: 14px 24px; }
    .navbar-links {
      position: fixed;
      inset: 0;
      z-index: 45;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 30px;
      background: rgba(4, 7, 10, 0.97);
      backdrop-filter: blur(18px);
      opacity: 0;
      transform: translateY(-12px);
      pointer-events: none;
      transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
    }
    .navbar-links a { font-size: 1.15rem; }
    body.nav-open .navbar-links {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
      height: fit-content;
      padding: 2rem 0;
    }
    .navbar-actions { gap: 10px; }
    .navbar-actions .btn { display: none; }
    .navbar-toggle { display: flex; }
  }

  @media (max-width: 420px) {
    .social-icon:nth-child(3) { display: none; }
  }

  /* Anchor targets clear the fixed navbar when jumped to via nav links. */
  #home, #nextEventSection, #events, #overview, #speakers, #sponsors {
    scroll-margin-top: 90px;
  }

  /* ============ HERO ============ */

  .hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-image: url("../images/bg.jpg");
    background-size: cover;
    background-position: center;
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 7, 10, 0.833), rgba(4, 7, 10, 0.855));
    z-index: 0;
    backdrop-filter: blur(4px);
  }

  .hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(244,248,248,0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(244,248,248,0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(80% 60% at 30% 30%, black, transparent 75%);
    pointer-events: none;
  }

  .hero-inner {
    flex: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.85fr;
    gap: 48px;
    max-width: 80%;
    width: 100%;
    margin: 0 auto;
    padding: 148px 40px 64px;
    align-items: center;
    position: relative;
    z-index: 1;
  }

  .event-logo {
    width: clamp(180px, 34vw, 30rem);
    height: auto;
    margin-bottom: 22px;
  }

  .lede {
    margin-top: 22px;
    max-width: 46ch;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-dim);
  }

  .cta-row {
    margin-top: 34px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  .btn {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 30px;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  }
  .btn:hover { transform: translateY(-2px); }

  .btn-primary {
    color: var(--void);
    background: linear-gradient(135deg, var(--teal), var(--teal-dim));
    box-shadow: 0 10px 30px -10px rgba(47,207,182,0.55);
  }

  .btn-ghost {
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(244,248,248,0.18);
  }
  .btn-ghost:hover { border-color: rgba(47,207,182,0.5); }

  .video-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dim);
    font-size: 0.9rem;
    text-decoration: none;
  }
  .video-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(47,207,182,0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .video-dot::after {
    content: "";
    width: 0; height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 9px solid var(--teal);
    margin-left: 2px;
  }

  .stat-strip {
    margin-top: 46px;
    display: flex;
    align-items: stretch;
    width: fit-content;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(47,207,182,0.22);
    background: linear-gradient(180deg, rgba(28,74,99,0.35), rgba(4,7,10,0.2));
  }
  .stat {
    padding: 16px 26px;
    border-right: 1px solid rgba(244,248,248,0.08);
  }
  .stat:last-child { border-right: none; }
  .stat .num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--white);
  }
  .stat .num span { color: var(--teal); }
  .stat .label {
    margin-top: 3px;
    font-size: 0.8rem;
    color: var(--text-faint);
  }

  .users-row {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .avatars {
    display: flex;
  }
  .avatars img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--void);
    object-fit: cover;
    margin-left: -12px;
  }
  .avatars img:first-child { margin-left: 0; }
  .users-row .num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
  }
  .users-row .label {
    font-size: 0.8rem;
    color: var(--text-faint);
  }

  /* ============ CARD STACK — GLASS POLAROIDS ============ */

  .card-stack {
    position: relative;
    max-width: 480px;
    aspect-ratio: 3 / 4;
    filter: drop-shadow(0 40px 60px rgba(0,0,0,0.45));
  }

  .polaroid {
    position: absolute;
    background: linear-gradient(160deg, rgba(244,248,248,0.14), rgba(28,74,99,0.28) 55%, rgba(4,7,10,0.4));
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid rgba(244,248,248,0.16);
    border-radius: 10px;
    padding: 12px 12px 40px;
    box-shadow:
      0 24px 48px -18px rgba(0,0,0,0.65),
      inset 0 1px 0 rgba(244,248,248,0.35),
      inset 0 0 0 1px rgba(4,7,10,0.15);
    transition: transform 0.4s var(--ease);
  }

  .polaroid::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(115deg, rgba(244,248,248,0.16) 0%, transparent 30%, transparent 70%, rgba(47,207,182,0.08) 100%);
    pointer-events: none;
  }

  .polaroid .art {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 0 1px rgba(4,7,10,0.25);
  }

  .polaroid .art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .polaroid .caption {
    position: absolute;
    left: 12px; right: 12px; bottom: 14px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
  }
  .polaroid .caption .name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--white);
  }
  .polaroid .caption .price {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    color: var(--teal);
  }

  /* deliberate diagonal cascade — back to front, small to large */
  .card-stack .polaroid:nth-child(1) {
    width: 54%;
    top: 2%;
    left: 6%;
    transform: rotate(-8deg);
    z-index: 1;
    animation: float-a 7s var(--ease) infinite;
  }
  .card-stack .polaroid:nth-child(2) {
    width: 50%;
    top: 8%;
    right: 4%;
    transform: rotate(6deg);
    z-index: 2;
    animation: float-b 8s var(--ease) infinite;
  }
  .card-stack .polaroid:nth-child(3) {
    width: 58%;
    bottom: 4%;
    left: 22%;
    transform: rotate(-2deg);
    z-index: 3;
    animation: float-c 9s var(--ease) infinite;
  }

  @keyframes float-a {
    0%, 100% { transform: rotate(-8deg) translateY(0); }
    50%      { transform: rotate(-8deg) translateY(-8px); }
  }
  @keyframes float-b {
    0%, 100% { transform: rotate(6deg) translateY(0); }
    50%      { transform: rotate(6deg) translateY(-6px); }
  }
  @keyframes float-c {
    0%, 100% { transform: rotate(-2deg) translateY(0); }
    50%      { transform: rotate(-2deg) translateY(-10px); }
  }

  @media (prefers-reduced-motion: reduce) {
    .polaroid { animation: none !important; }
  }

  @media (max-width: 900px) {
    .card-stack { max-width: 320px;  }
  }

  /* partner strip — continuous right-to-left marquee */
  .partners {
    position: relative;
    border-top: 1px solid rgba(244,248,248,0.08);
    background: linear-gradient(90deg, rgba(28,74,99,0.5), rgba(47,207,182,0.08));
    padding: 26px 0;
    overflow: hidden;
    width: 100%;
    z-index: 10;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  }
  .partners-track {
    display: flex;
    align-items: center;
    gap: 56px;
    width: max-content;
    animation: marquee-rtl 26s linear infinite;
  }
  .partners span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: rgba(244,248,248,0.85);
    letter-spacing: -0.01em;
    white-space: nowrap;
  }

  @keyframes marquee-rtl {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  @media (max-width: 900px) {
    .hero-inner {
      grid-template-columns: 1fr;
      padding: 120px 24px 40px;
    }
  }

  @media (max-width: 480px) {
    .stat { padding: 12px 16px; }
    .stat .num { font-size: 1.1rem; }
    .cta-row { gap: 14px; }
    .btn { padding: 12px 22px; font-size: 0.88rem; }
  }

  @media (prefers-reduced-motion: reduce) {
    .btn { transition: none; }
  }

/* ============ NEXT EVENT FEATURE ============ */

.next-event-section {
    position: relative;
    background: var(--void);
    padding: 90px 40px 0;
}

.next-event-inner {
    max-width: 80%;
    margin: 0 auto;
}

.next-event-inner > .section-tag {
    margin-bottom: 18px;
}

.next-event-card {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: stretch;
    border: 1px solid rgba(244, 248, 248, 0.08);
    border-radius: 10px;
    overflow: hidden;
    background: var(--ink);
}

.next-event-media {
    position: relative;
    min-height: 380px;
    overflow: hidden;
}
.next-event-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(35%) contrast(1.05);
}
.next-event-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 70%, var(--ink) 100%);
}

.next-event-info {
    padding: 56px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.next-event-date {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(244, 248, 248, 0.1);
}
.next-event-date .day {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--white);
}
.next-event-date .month-year {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    color: var(--text-faint);
    text-transform: uppercase;
}

.next-event-country {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--teal);
}

.next-event-name {
    margin-top: 14px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    color: var(--white);
    letter-spacing: -0.01em;
}

.next-event-place {
    margin-top: 10px;
    font-size: 0.92rem;
    color: var(--text-dim);
}

.next-event-cta {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.next-event-cta .btn-primary {
    padding: 13px 28px;
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(244, 248, 248, 0.22);
    box-shadow: none;
    border-radius: 10px;
}
.next-event-cta .btn-primary:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.next-event-cta .btn-ghost {
    padding: 0;
    border: none;
    font-size: 0.88rem;
    color: var(--text-dim);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: rgba(244,248,248,0.25);
}
.next-event-cta .btn-ghost:hover {
    color: var(--white);
    text-decoration-color: var(--teal);
    transform: none;
}

@media (max-width: 900px) {
    .next-event-inner { max-width: 100%; }
    .next-event-section { padding: 70px 20px 0; }
    .next-event-card { grid-template-columns: 1fr; }
    .next-event-media { min-height: 220px; }
    .next-event-info { padding: 36px 28px; }
}

/* ============ UPCOMING EVENTS CAROUSEL ============ */

.events-section {
    position: relative;
    background: var(--void);
    padding: 100px 40px 90px;
    overflow: hidden;
}

.events-inner {
    max-width: 80%;
    margin: 0 auto;
    overflow: hidden;
}

.events-header {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 44px;
    gap: 24px;
}

.section-tag {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 10px;
}

.events-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.7rem, 2.6vw, 2.4rem);
    color: var(--white);
    letter-spacing: -0.01em;
}

.event-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(160deg, rgba(244,248,248,0.09), rgba(28,74,99,0.24) 55%, rgba(4,7,10,0.4));
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    border: 1px solid rgba(244,248,248,0.14);
    box-shadow:
        0 24px 50px -20px rgba(0,0,0,0.55),
        inset 0 1px 0 rgba(244,248,248,0.2);
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

/* gradient-stroke border, whole card */
.event-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(47,207,182,0.5), transparent 45%, rgba(47,207,182,0.12));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

.event-card:hover {
    transform: translateY(-6px);
    border-color: rgba(47,207,182,0.4);
    box-shadow:
        0 30px 60px -18px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(244,248,248,0.25);
}

.event-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
}
.event-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(4,7,10,0.5) 100%);
}
.event-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.05);
    transition: transform 0.7s var(--ease);
}
.event-card:hover .event-media img {
    transform: scale(1.08);
}

.event-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 22px 20px 26px;
}

.event-date-badge {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-family: var(--font-display);
}
.event-date-badge .day {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: -0.01em;
}
.event-date-badge .month {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    color: var(--teal);
}
.event-date-badge .divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(244,248,248,0.35);
}

.event-country {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal-dim);
}

.event-place {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dim);
    max-width: 22ch;
}
.event-visit-btn {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--white);
    text-decoration: none;
    border: 1px solid rgba(47,207,182,0.35);
    background: rgba(47,207,182,0.08);
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.25s var(--ease), color 0.3s var(--ease);
}
.event-visit-btn svg {
    width: 13px;
    height: 13px;
    transition: transform 0.3s var(--ease);
}
.event-visit-btn:hover {
    background: linear-gradient(135deg, var(--teal), var(--teal-dim));
    border-color: transparent;
    color: var(--void);
    transform: translateY(-2px);
}
.event-visit-btn:hover svg {
    transform: translate(2px, -2px);
}
@media (max-width: 700px) {
    .events-inner { max-width: 100%; }
    .events-section { padding: 70px 20px 60px; }
    .events-header { flex-direction: column; align-items: flex-start; }
}

/* ============ OWL CAROUSEL — THEME OVERRIDES ============ */


.events-section .owl-carousel .owl-stage-outer { overflow: visible; }

.events-section .owl-carousel .event-card {
    height: 100%;
}

.events-section .owl-nav {
    position: absolute;
    top: -84px;
    right: 0;
    display: flex;
    gap: 12px;
}

.events-section .owl-nav svg {
    width: 18px;
    height: 18px;
    display: block;
}

.events-section .owl-nav button.owl-prev,
.events-section .owl-nav button.owl-next {
    width: 46px;
    height: 46px;
    border-radius: 50% !important;
    border: 1px solid rgba(244, 248, 248, 0.16) !important;
    background: transparent !important;
    color: var(--white) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}
.events-section .owl-nav button.owl-prev:hover,
.events-section .owl-nav button.owl-next:hover {
    border-color: var(--teal) !important;
    background: rgba(47, 207, 182, 0.1) !important;
    transform: translateY(-2px);
}
.events-section .owl-nav button.disabled {
    opacity: 0.35;
}

.events-section .owl-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}
.events-section .owl-dots .owl-dot span {
    width: 7px;
    height: 7px;
    margin: 0;
    border-radius: 50%;
    background: rgba(244, 248, 248, 0.2) !important;
    transition: background 0.25s var(--ease), width 0.25s var(--ease);
    display: block;
}
.events-section .owl-dots .owl-dot.active span {
    background: var(--teal) !important;
    width: 22px;
    border-radius: 4px;
}

@media (max-width: 700px) {
    .events-section .owl-nav { position: static; margin-bottom: 20px; justify-content: flex-end; }
}

/* overview section */
.overview {
    padding: 70px 20px;
    text-align: center;
}
.overview h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.6rem, 2.6vw, 2.6rem);
    color: var(--white);
    letter-spacing: -0.01em;
}
.overview p {
    margin-top: 18px;
    max-width: 85ch;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dim);
}

/* ============ PAST SPEAKERS ============ */

.speakers-section {
    position: relative;
    background: black;
    padding: 100px 40px 110px;
}

.speakers-inner {
    max-width: 80%;
    margin: 0 auto;
}

.speakers-heading {
    max-width: 640px;
    margin: 0 auto 56px;
    text-align: center;
}
.speakers-heading .section-tag { justify-content: center; display: flex; }
.speakers-heading h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1.28;
    color: var(--white);
    letter-spacing: -0.01em;
}

.speakers-heading h3 {
    font-family: var(--font-display);
    font-weight: 300;
    margin-top: 6px;
    font-size: clamp(1rem, 1vw, 1rem);
    line-height: 1.28;
    color: var(--white);
    letter-spacing: -0.01em;
}

.speakers-heading h3 em {
    display: block;
    margin-top: 4px;
    font-style: italic;
    font-weight: 500;
    font-family: var(--font-body);
    color: var(--teal);
    font-size: 0.92em;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 20px;
}

.speaker-card {
    position: relative;
    aspect-ratio: 3 / 3.8;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(to bottom, rgba(244, 248, 248, 0), rgba(28, 74, 99, 0.378) 55%, var(--teal) 100%);
    cursor: default;
}
.speaker-card.is-hidden-extra { display: none; }

.speaker-media {
    position: absolute;
    inset: 0;
}
.speaker-media img {
    width: 100%;
    position: absolute;
    bottom: 0;
    display: block;
    transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.speaker-media::after {
    content: "";
    position: absolute;
    inset: 0;
    bottom: -1rem;
    background: linear-gradient(180deg, transparent 62%, rgba(4,7,10,0.94) 100%);
}

.speaker-face {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.speaker-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--white);
    letter-spacing: -0.01em;
}
.speaker-role {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal);
}

.speaker-bio {
    position: absolute;
    inset: 0;
    z-index: 3;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: linear-gradient(160deg, var(--void), rgba(44, 139, 110, 0.85) );
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.speaker-bio::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(244,248,248,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(244,248,248,0.05) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: radial-gradient(75% 60% at 25% 15%, black, transparent 75%);
    pointer-events: none;
}
.speaker-bio .speaker-name { position: relative; z-index: 1; }
.speaker-bio .speaker-role { position: relative; z-index: 1; }
.speaker-bio p {
    position: relative;
    z-index: 1;
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--text-dim);
}

.speaker-card:hover .speaker-media img { opacity: 0; transform: scale(1.06); }
.speaker-card:hover .speaker-face { opacity: 0; transform: translateY(6px); }
.speaker-card:hover .speaker-bio { opacity: 1; transform: translateY(0); }

@media (hover: none) {
    .speaker-card.is-active .speaker-media img { opacity: 0; transform: scale(1.06); }
    .speaker-card.is-active .speaker-face { opacity: 0; transform: translateY(6px); }
    .speaker-card.is-active .speaker-bio { opacity: 1; transform: translateY(0); }
}

.speakers-more {
    display: flex;
    justify-content: center;
    margin-top: 44px;
}
.speakers-more.is-hidden { display: none; }

@media (max-width: 900px) {
    .speakers-section { padding: 80px 20px 90px; }
    .speakers-inner { max-width: 100%; }
}
@media (max-width: 480px) {
    .speakers-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .speaker-card { border-radius: 10px; }
    .speaker-face, .speaker-bio { padding: 14px; }
}

/* ============ PAST SPONSORS ============ */

.sponsors-section {
    position: relative;
    background: var(--void);
    padding: 100px 40px 110px;
}

.sponsors-inner {
    max-width: 80%;
    margin: 0 auto;
}

.sponsors-heading {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: center;
}
.sponsors-heading .section-tag { justify-content: center; display: flex; }

.sponsors-heading h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1.28;
    color: var(--white);
    letter-spacing: -0.01em;
}

.sponsors-heading h3 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(1rem, 1vw, 1rem);
    line-height: 1.28;
    margin-top: 6px;
    color: var(--white);
    letter-spacing: -0.01em;
}
.sponsors-heading h3 em {
    display: block;
    margin-top: 4px;
    font-style: italic;
    font-weight: 500;
    font-family: var(--font-body);
    color: var(--teal);
    font-size: 0.92em;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.sponsor-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 102px;
    border-radius: 12px;
    border: 1px solid rgba(244,248,248,0.1);
   background: white;
    transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.sponsor-card:hover {
    border-color: rgba(47,207,182,0.4);
    transform: translateY(-4px);
    background: white;
}

.sponsor-mark {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--void);
    background: linear-gradient(135deg, var(--teal), var(--teal-dim));
}

.sponsor-name {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dim);
}

@media (max-width: 900px) {
    .sponsors-section { padding: 80px 20px 90px; }
    .sponsors-inner { max-width: 100%; }
}
@media (max-width: 480px) {
    .sponsors-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .sponsor-card { padding: 14px; }
}

/* ============ ENQUIRY PAGE ============ */

.enquiry-page {
    min-height: 100vh;
    background:
        radial-gradient(60% 50% at 15% 0%, rgba(28,74,99,0.35), transparent 60%),
        radial-gradient(50% 40% at 100% 10%, rgba(47,207,182,0.08), transparent 60%),
        var(--void);
}

.enquiry-wrap {
    display: flex;
    justify-content: center;
    padding: 150px 24px 90px;
}

.enquiry-card {
    position: relative;
    width: 100%;
    max-width: 720px;
    background: linear-gradient(160deg, rgba(244,248,248,0.06), rgba(28,74,99,0.14));
    border: 1px solid rgba(244,248,248,0.1);
    border-radius: 18px;
    padding: 48px 48px 40px;
    box-shadow: 0 40px 80px -40px rgba(0,0,0,0.6);
}

.enquiry-close {
    position: absolute;
    top: 22px; right: 24px;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(244,248,248,0.14);
    color: var(--text-dim);
    text-decoration: none;
    font-size: 1.3rem;
    line-height: 1;
    transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.enquiry-close:hover {
    color: var(--void);
    background: var(--teal);
    border-color: var(--teal);
}

.enquiry-title {
    margin-top: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.8rem, 3.4vw, 2.4rem);
    color: var(--white);
    letter-spacing: -0.01em;
}

.enquiry-sub {
    margin-top: 10px;
    max-width: 48ch;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dim);
}

.enquiry-form {
    margin-top: 34px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.field label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-faint);
}
.field label span {
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-faint);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: 10px;
    border: 1px solid rgba(244,248,248,0.14);
    background: rgba(4,7,10,0.4);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.94rem;
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }

.field input::placeholder,
.field textarea::placeholder { color: var(--text-faint); }

.field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%232fcfb6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.field select option { background: var(--ink); color: var(--white); }

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(47,207,182,0.16);
}

.enquiry-submit {
    margin-top: 6px;
    width: 100%;
}
.enquiry-submit:disabled {
    opacity: 0.7;
    cursor: default;
    transform: none;
}

.enquiry-status {
    min-height: 1.2em;
    font-size: 0.88rem;
    color: var(--teal);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}
.enquiry-status.is-visible { opacity: 1; }

.field input.is-invalid {
    border-color: #e5484d;
    box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.16);
}
.enquiry-status.is-error { color: #ff6b70; }

@media (max-width: 640px) {
    .enquiry-wrap { padding: 130px 16px 60px; }
    .enquiry-card { padding: 34px 24px 30px; border-radius: 14px; }
    .form-row { grid-template-columns: 1fr; gap: 20px; }
}

/* media_partners */
.media {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #060606;
    justify-content: center;
    padding-bottom: 6vw;
}

.media_h {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--white);
    text-transform: titlecase;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.media_coverage {
    width: 60%;
    filter: drop-shadow(10px 10px 10px rgba(0, 0, 0, 0.236));
}
@media (max-width: 900px) {
    /* media */
.media{
    width: 100%;
    height: auto;
    padding: 8vw 0vw;
}

.media_coverage{
    width: 90%;
}
}

/* ---------------------------------------------
   Footer — simple, no boxes
--------------------------------------------- */
.site-footer {
  width: 100%;
  padding: 6rem 0 2.5rem;
  background: var(--void);
  border-top: 1px solid rgba(244, 248, 248, 0.08);
}

.footer-inner {
  width: 80%;
  margin: 0 auto;
}

/* --- top row: org + social --- */
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-org {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-org-logo {
  height: 1.7rem;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-org-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.footer-social a {
  display: flex;
  color: var(--text-faint);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

.footer-social svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: currentColor;
}

.footer-social a:hover {
  color: var(--teal);
  transform: translateY(-2px);
}

/* --- divider --- */
.footer-rule {
  height: 1px;
  margin: 3rem 0;
  background: rgba(244, 248, 248, 0.10);
}

/* --- contacts --- */
.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  text-decoration: none;
}

.footer-contact-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color 0.3s var(--ease);
}

.footer-contact-mail {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.005em;
  background-image: linear-gradient(var(--teal), var(--teal));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 1px;
  transition: color 0.3s var(--ease), background-size 0.35s var(--ease);
  padding-bottom: 0.15rem;
}

.footer-contact:hover .footer-contact-label { color: var(--teal-dim); }
.footer-contact:hover .footer-contact-mail {
  color: var(--teal);
  background-size: 100% 1px;
}

/* --- legal --- */
.footer-legal {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-faint);
}

.footer-legal a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.footer-legal a:hover { color: var(--teal); }

@media (max-width: 900px) {
  .footer-contacts {
    flex-direction: column;
    gap: 1.8rem;
  }
}

@media (max-width: 640px) {
  .site-footer { padding: 4.5rem 0 2rem; }
  .footer-inner { width: 88%; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .footer-rule { margin: 2.2rem 0; }
  .footer-contact-mail { font-size: 1rem; }
}


/* ================= BLOGS PAGE ================= */
#header,
#blogs {
  --b-bg: #05090a;
  --b-teal: #14b8a6;          /* swap for your site's teal variable */
  --b-text: #eef5f4;
  --b-muted: rgba(238, 245, 244, 0.55);
  --b-line: rgba(238, 245, 244, 0.14);
  font-family: inherit;
}

/* ---------- Header ---------- */
#header {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(20, 184, 166, 0.16), transparent 70%),
    var(--b-bg);
  padding: 180px 6vw 90px;
  border-bottom: 1px solid var(--b-line);
  color: var(--b-text);
}

#header .b {
  font-size: clamp(90px, 20vw, 300px);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(238, 245, 244, 0.28);
  background: linear-gradient(180deg, rgba(20, 184, 166, 0.55), transparent 85%);
  -webkit-background-clip: text;
  background-clip: text;
  will-change: transform;
  animation: bHeadIn 1.1s cubic-bezier(.2, .7, .2, 1) both;
}

#header h1 {
  margin: 28px 0 0;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--b-muted);
  animation: bHeadIn 1.1s .15s cubic-bezier(.2, .7, .2, 1) both;
}
#header h1::before {
  content: "";
  width: 56px;
  height: 1px;
  background: var(--b-teal);
}

#header .fintech_icon {
  position: absolute;
  right: 6vw;
  bottom: 60px;
  width: clamp(70px, 9vw, 130px);
  opacity: 0.18;
  filter: grayscale(1) brightness(2);
  animation: bFloat 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes bHeadIn {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: none; }
}
@keyframes bFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* ---------- Blog grid ---------- */
#blogs {
  background: var(--b-bg);
  color: var(--b-text);
  padding: 90px 6vw 130px;
}

.blog-container {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 72px 44px;
}

.blog-container > a {
  display: block;
  color: inherit;
  text-decoration: none;
  opacity: 0;
  transform: translateY(46px);
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1),
              transform .9s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.blog-container > a.in {
  opacity: 1;
  transform: none;
}

.blog-box {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--b-line);
  height: 100%;
  display: flex;
  flex-direction: column;
}
/* teal line that draws across on hover */
.blog-box::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  height: 1px;
  width: 100%;
  background: var(--b-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
.blog-container > a:hover .blog-box::before { transform: scaleX(1); }

.blog-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 2px;
  background: #0d1516;
}
.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.85) brightness(.9);
  transition: transform 1.1s cubic-bezier(.2, .7, .2, 1), filter .6s;
}
.blog-container > a:hover .blog-img img {
  transform: scale(1.06);
  filter: saturate(1.05) brightness(1);
}

.blog-type {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--b-text);
  background: rgba(5, 9, 10, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
}
.blog-type::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--b-teal);
  box-shadow: 0 0 10px var(--b-teal);
}

.blog-name {
  margin: 26px 0 0;
  font-size: clamp(19px, 1.6vw, 24px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition: color .4s;
}
.blog-container > a:hover .blog-name { color: var(--b-teal); }

.blog-date {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--b-muted);
}

/* button becomes an editorial text link */
.blog-btn {
  margin-top: auto;
  padding: 26px 0 0;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--b-text);
}
.blog-btn::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width .5s cubic-bezier(.2, .7, .2, 1), background .4s;
}
.blog-container > a:hover .blog-btn { color: var(--b-teal); }
.blog-container > a:hover .blog-btn::after { width: 64px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .blog-container { grid-template-columns: repeat(2, 1fr); gap: 60px 32px; }
}
@media (max-width: 640px) {
  #header { padding: 130px 6vw 60px; }
  #header .fintech_icon { display: none; }
  #blogs { padding: 60px 6vw 90px; }
  .blog-container { grid-template-columns: 1fr; gap: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  #header .b, #header h1, #header .fintech_icon { animation: none; }
  .blog-container > a { opacity: 1; transform: none; transition: none; }
}

/* ================= BLOG ARTICLE PAGE ================= */
#blog-page {
  --b-bg: #05090a;
  --b-teal: #14b8a6;          /* swap for your site's teal variable */
  --b-text: #eef5f4;
  --b-body: rgba(238, 245, 244, 0.78);
  --b-muted: rgba(238, 245, 244, 0.5);
  --b-line: rgba(238, 245, 244, 0.14);
  background: var(--b-bg);
  color: var(--b-text);
  min-height: 100vh;
}

/* ---------- Reading progress bar (created by JS) ---------- */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--b-teal, #14b8a6);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 9999;
  pointer-events: none;
}

/* ---------- Hero ---------- */
#blog-page #head {
  position: relative;
  overflow: hidden;
  padding: 190px 6vw 80px;
  background:
    radial-gradient(55% 90% at 90% 10%, rgba(20, 184, 166, 0.18), transparent 70%),
    var(--b-bg);
  border-bottom: 1px solid var(--b-line);
}
#blog-page .blog-top {
  max-width: 1320px;
  margin: 0 auto;
}
#blog-page .blog-top h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(38px, 6.4vw, 96px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--b-text);
  animation: artIn 1s cubic-bezier(.2, .7, .2, 1) both;
}
#blog-page .blog-top p {
  margin: 34px 0 0;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--b-muted) !important;   /* overrides the inline colour */
  animation: artIn 1s .15s cubic-bezier(.2, .7, .2, 1) both;
}
#blog-page .blog-top p::before {
  content: "";
  width: 56px;
  height: 1px;
  background: var(--b-teal);
}
@keyframes artIn {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Layout ---------- */
#blog-page .blog-page-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 80px 6vw 130px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 90px;
  align-items: start;
}

/* ---------- Article ---------- */
#blog-page .blog-cont {
  max-width: 760px;
}
#blog-page .blog-image {
  margin: 0 0 56px;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 16 / 9;
  background: #0d1516;
}
#blog-page .blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#blog-page .blog-cont h2 {
  position: relative;
  margin: 0 0 26px;
  padding-top: 26px;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--b-text);
}
#blog-page .blog-cont h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--b-teal);
}
#blog-page .blog-cont h3 {
  margin: 44px 0 14px;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--b-teal);
}

#blog-page .blog-cont p {
  margin: 0 0 22px;
  font-size: 17.5px;
  line-height: 1.85;
  color: var(--b-body);
}
/* intro paragraph reads as a lead */
#blog-page .blog-image + h2 + p {
  font-size: 21px;
  line-height: 1.7;
  color: var(--b-text);
}
#blog-page .blog-cont strong {
  font-weight: 600;
  color: var(--b-text);
}

/* links inside content (incl. headings) */
#blog-page .blog-cont a {
  color: var(--b-teal);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .4s cubic-bezier(.2, .7, .2, 1), color .3s;
}
#blog-page .blog-cont a:hover {
  background-size: 0% 1px;
  background-position: 100% 100%;
}

/* lists: dash + hairline rows, no bullets */
#blog-page .blog-cont ul {
  list-style: none;
  margin: 8px 0 32px;
  padding: 0;
  border-top: 1px solid var(--b-line);
}
#blog-page .blog-cont li {
  position: relative;
  padding: 16px 0 16px 34px;
  font-size: 17px;
  color: var(--b-body);
  border-bottom: 1px solid var(--b-line);
  transition: padding-left .4s cubic-bezier(.2, .7, .2, 1), color .3s;
}
#blog-page .blog-cont li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 1px;
  background: var(--b-teal);
  transition: width .4s cubic-bezier(.2, .7, .2, 1);
}
#blog-page .blog-cont li:hover {
  padding-left: 46px;
  color: var(--b-text);
}
#blog-page .blog-cont li:hover::before { width: 30px; }

/* section divider */
#blog-page .blog-cont .line {
  height: 1px;
  margin: 64px 0 56px;
  background: linear-gradient(90deg, var(--b-teal) 0, var(--b-teal) 60px, var(--b-line) 60px);
}

/* scroll reveal (class added by JS) */
#blog-page .rv {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
}
#blog-page .rv.in { opacity: 1; transform: none; }

/* ---------- Sidebar: keep reading ---------- */
#blog-page #categories {
  position: sticky;
  top: 120px;
}
#blog-page #categories::before {
  content: "Keep Reading";
  display: block;
  margin-bottom: 8px;
  padding-bottom: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--b-muted);
  border-bottom: 1px solid var(--b-line);
}
#blog-page .categories-container {
  display: flex;
  flex-direction: column;
}
#blog-page .category-link {
  display: block;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--b-line);
}
#blog-page .category-box {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
}
#blog-page .category-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 2px;
  background: #0d1516;
}
#blog-page .category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.85) brightness(.9);
  transition: transform .9s cubic-bezier(.2, .7, .2, 1), filter .5s;
}
#blog-page .category-link:hover .category-img img {
  transform: scale(1.1);
  filter: saturate(1.05) brightness(1);
}
#blog-page .cat-details {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--b-muted);
  transition: color .3s;
}
#blog-page .category-name {
  margin-bottom: 10px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--b-text);
  transition: color .3s;
}
#blog-page .category-link:hover .category-name,
#blog-page .category-link:hover .cat-details { color: var(--b-teal); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  #blog-page .blog-page-container {
    grid-template-columns: 1fr;
    gap: 80px;
  }
  #blog-page #categories { position: static; }
}
@media (max-width: 640px) {
  #blog-page #head { padding: 130px 6vw 56px; }
  #blog-page .blog-page-container { padding: 48px 6vw 90px; }
  #blog-page .blog-cont p { font-size: 16.5px; }
  #blog-page .blog-image + h2 + p { font-size: 18.5px; }
  #blog-page .category-box { grid-template-columns: 80px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  #blog-page .blog-top h1,
  #blog-page .blog-top p { animation: none; }
  #blog-page .rv { opacity: 1; transform: none; transition: none; }
}

/* ============ NAVBAR EVENTS DROPDOWN ============ */

.navbar-links .has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dim);
  transition: color 0.25s var(--ease), transform 0.3s var(--ease);
}
.dropdown-toggle svg { width: 14px; height: 14px; display: block; }
.has-dropdown:hover .dropdown-toggle,
.has-dropdown:focus-within .dropdown-toggle { color: var(--teal); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  min-width: 290px;
  max-height: 70vh;
  overflow-y: auto;
  list-style: none;
  padding: 8px;
  border-radius: 14px;
  background: rgba(7, 16, 19, 0.96);
  border: 1px solid rgba(244, 248, 248, 0.12);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(244, 248, 248, 0.08);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  z-index: 60;
}
/* invisible bridge so hover isn't lost between link and panel */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown,
.has-dropdown.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.has-dropdown:hover .dropdown-toggle svg,
.has-dropdown.is-open .dropdown-toggle svg { transform: rotate(180deg); }
.dropdown-toggle svg { transition: transform 0.3s var(--ease); }

.navbar-links .nav-dropdown a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 14px;
  border-radius: 9px;
  font-size: 0.88rem;
  color: var(--white);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.navbar-links .nav-dropdown a::after { display: none; }
.navbar-links .nav-dropdown a:hover { background: rgba(47, 207, 182, 0.1); color: var(--white); }

.nav-dropdown .dd-country {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}
.nav-dropdown .dd-place {
  font-weight: 500;
  color: var(--white);
}
.nav-dropdown .dd-date {
  font-size: 0.78rem;
  color: var(--text-faint);
}
.nav-dropdown .dd-all {
  margin-top: 4px;
  border-top: 1px solid rgba(244, 248, 248, 0.08);
  border-radius: 0 0 9px 9px;
}
.nav-dropdown .dd-all .dd-place { color: var(--teal); font-size: 0.82rem; }

@media (max-width: 900px) {
  .navbar-links .has-dropdown {
    flex-wrap: wrap;
    justify-content: center;
  }
  .dropdown-toggle { width: 28px; height: 28px; }
  .dropdown-toggle svg { width: 18px; height: 18px; }

  .nav-dropdown {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    max-height: 40vh;
    margin-top: 14px;
    opacity: 1;
    visibility: visible;
    transform: none;
    text-align: center;
    background: rgba(244, 248, 248, 0.04);
  }
  .nav-dropdown::before { display: none; }
  .has-dropdown.is-open .nav-dropdown { display: block; transform: none; }
  .has-dropdown:hover .nav-dropdown,
  .has-dropdown:focus-within .nav-dropdown { transform: none; }
  .navbar-links .nav-dropdown a { align-items: center; font-size: 0.95rem; }
}

/* ============ CUSTOM SCROLLBAR ============ */

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: var(--void);
  border-left: 1px solid rgba(244, 248, 248, 0.06);
}
::-webkit-scrollbar-thumb {
  /* transparent border + padding-box makes the thumb look slimmer than the track */
  background: linear-gradient(180deg, var(--teal), var(--teal-dim));
  border: 3px solid var(--void);
  border-radius: 999px;
  background-clip: padding-box;
  min-height: 48px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #5eead4, var(--teal));
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:active {
  background: var(--teal);
  background-clip: padding-box;
}
::-webkit-scrollbar-corner {
  background: var(--void);
}

/* Firefox (wrapped so Chrome 121+ doesn't ignore the gradient thumb above) */
@supports not selector(::-webkit-scrollbar) {
  html,
  .nav-dropdown {
    scrollbar-width: thin;
    scrollbar-color: var(--teal-dim) var(--void);
  }
}

/* Slimmer scrollbar inside the navbar events dropdown */
.nav-dropdown::-webkit-scrollbar {
  width: 8px;
}
.nav-dropdown::-webkit-scrollbar-track {
  background: transparent;
  border-left: none;
  margin: 8px 0;
}
.nav-dropdown::-webkit-scrollbar-thumb {
  background: rgba(47, 207, 182, 0.45);
  border: 2px solid transparent;
  background-clip: padding-box;
}
.nav-dropdown::-webkit-scrollbar-thumb:hover {
  background: var(--teal);
  background-clip: padding-box;
}

/* Text selection to match */
::selection {
  background: rgba(47, 207, 182, 0.3);
  color: var(--white);
}