@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --primary-bg: #000;
    --secondary-bg: #1a1a1a;
    --accent-blue: #00CCFF; /* Cyan/Blue from your logo */
    --text-color: #fff;
    --subtle-color: #8C8C8C;
    --marquee-speed: 100s; /* How long one loop takes */
    --marquee-gap: 3rem;  /* Spacing between logos */
    --logo-height: 4rem;  /* Max height of a logo */
    --max-page-width: 1100px;
    --content-padding-x: 2rem; /* Padding for the main content edges */
    --sidebar-width: 150px;
    --gap-width: 4rem;
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html, body {
    width: 100%;
    /* Prevents scroll chaining on touch devices */
    overscroll-behavior: none; 
}

body {
    transition: all 0.3s ease; /* For smooth resizing */
    scroll-behavior: smooth; 
    overflow-x: hidden;
}

/* =================================================== */
/*  DEFAULT STYLES */
/* =================================================== */
.default-section {
    padding: 4rem 2rem; 
    /* height: 100vh; */
}

h1 {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: bold;
    /* max-width: 900px; */
}

/* COLORS */
.yellow {
    background: #F4A50F;
}
.yellow-txt {
    color: #F4A50F;
}
.wine {
    background: #D80C52;
}
.wine-txt {
    color: #D80C52;
}
.purple {
    background: #3C1287;
}
.purple-txt {
    color: #3C1287;
}
.blue {
    background: #145F9E;
}
.blue-txt {
    color: #145F9E;
}


/* =================================================== */
/*  NAVIGATION BAR */
/* =================================================== */
.nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
}

.logo-main {
    width: 150px;
    height: 24px;
}
.logo-main img {
    width: 100%;
    height: auto;
}


/* =================================================== */
/*  HERO */
/* =================================================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #111; /* Fallback background */
}

.hero-video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none; /* CRITICAL: Allows clicks/drags to pass through to the page */
}

.hero-video-wrap iframe {
    width: 100vw;
    height: 56.25vw; /* 9/16 = 0.5625 (16:9 Aspect Ratio) */
    min-height: 100vh;
    min-width: 177.77vh; /* 16/9 = 1.7777 */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: none;
}

/* Layer 2: Color Shield Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Adjust transparency to control dimness */
    z-index: 2;
}

.hero .default-section {
    position: relative;
    z-index: 3;
    pointer-events: none; 
}

.hero-align {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    height: 100%;
    max-width: 922px;
    pointer-events: auto;
}

.hero-title {
    font-size: 96px;
    line-height: 1.2;
    color: #fff;
}

.hero-description {
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    color: #fff;
}

.cta-section {
    display: flex;
    gap: 20px;
}

.sponsor {
    width: fit-content;
    cursor: pointer;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    transition: all 0.2s;
    padding: 10px 20px;
    border-radius: 100px;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #fff;
}

/* .sponsor:hover {
    background: #350e79;
} */

.sponsor > svg {
    width: 34px;
    margin-left: 10px;
    transition: transform 0.3s ease-in-out;
}

.sponsor:hover svg {
    transform: translateX(5px);
}

.sponsor:active {
    transform: scale(0.95);
}

.hero-align .date {
    display: flex;
    flex-direction: row;
    gap: 10px;
    font-family: "Inter", sans-serif;
}

.hero-align .date p {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
}


/* =================================================== */
/*  EVENT DETAILS */
/* =================================================== */
.event-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 60px;
    text-align: center;
}

.event-details hr {
    height: 1px;
    border: none;
    background: #D80C52;
}

/* .event-details h1 {
    font-family: "Inter", sans-serif;
    font-size: 30px;
    word-spacing: 5px;
    line-height: 1.5;
    background: linear-gradient(to right, #F4A50F, #D80C52);
        -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 800; 
    text-transform: uppercase;
} */

.imt-logos {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.imt-logos .item {
    width: 150px;
    height: auto;
    object-fit: contain;
}

.imt-logos .item img {
    width: 100%;
    height: auto;
    object-fit: contain;
}



/* =================================================== */
/*  UPDATES */
/* =================================================== */
.carousel-outer {
    margin: 6rem auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 18px;
    transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
}

/* ── Card ── */
.blog-card {
    flex: 0 0 calc(25% - 14px); /* 4 per view with gap */
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: block;
    aspect-ratio: 3 / 4;
    background: #222;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.22);
}

/* background image */
.card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .card-img {
    transform: scale(1.05);
}

/* gradient overlay */
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.10) 0%,
    rgba(0,0,0,0.08) 40%,
    rgba(0,0,0,0.75) 75%,
    rgba(0,0,0,0.90) 100%
    );
}

/* logo badge — top left */
.card-logo {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #fff;
    /* background: rgba(255,255,255,0.95); */
    backdrop-filter: blur(4px);
    border-radius: 8px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}

.card-logo img {
    width: 100%;
    height: 22px;
    flex-shrink: 0;
}

.card-logo span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #111;
    line-height: 1;
}

/* title at bottom */
.card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 18px 22px;
}

.card-body h3 {
    font-size: 17px;
    font-weight: 500;
    font-family: "Inter", sans-serif;
    color: #fff;
    line-height: 1.35;
    letter-spacing: -0.2px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 600;
    font-family: "Inter", sans-serif;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.card-arrow svg {
    width: 14px;
    height: 14px;
    stroke: rgba(255,255,255,0.75);
    stroke-width: 2;
    transition: transform 0.2s ease;
}

.blog-card:hover .card-arrow svg {
    transform: translateX(4px);
}

/* ── Nav controls ── */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
}

.nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #D80C52;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.nav-btn:hover {
    background: #D80C52;
    border-color: #D80C52;
    transform: scale(1.08);
}

.nav-btn svg {
    width: 18px;
    height: 18px;
    stroke: #D80C52;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.2s ease;
}

.nav-btn:hover svg { stroke: #fff; }

/* dot indicators */
.nav-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background: #D80C52;
    transform: scale(1.35);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .blog-card { flex: 0 0 calc(50% - 9px); }
}
@media (max-width: 600px) {
    .blog-card { flex: 0 0 calc(100%); }
    .card-body h3 { font-size: 15px; }
}


/* =================================================== */
/*  SPONSOR */
/* =================================================== */
.stack-section {
  padding: 4rem 2rem 0;
  background: #fdf0d5;
}

.stack-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stack-heading h1 {
  font-size: 80px;
}

.why-sponsor-btn {
  height: fit-content;
  width: auto;
  cursor: pointer;
  padding: 10px;
  border-radius: 20px;
  background-color: #fdf0d5;
  border: 2px solid #D80C52;
  display: flex;
  position: relative;
  transition: all 0.5s;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #D80C52;
  font-family: "Inter", sans-serif;
}

.why-sponsor-btn svg {
  transition: all 0.5s;
}
.why-sponsor-btn:hover {
  transform: translateY(-3px);
  background-color: #D80C52;
  color: #fff;
}
.why-sponsor-btn:hover svg {
  fill: white;
  transform: scale(1.2);
}
.why-sponsor-btn:hover::after {
  transform: scale(1);
}
.why-sponsor-btn:active {
  transform: translateY(2px);
}

.stack-heading svg {
  width: 100px;
  height: 100px;
  color: #D80C52;
  transition: transform 0.3s ease-in-out;
}

.cards {
  margin: 6rem auto;
  /* padding-bottom: px; */
}

.stack-card {
  position: sticky;
  overflow: hidden;
  top: 90px;
  min-height: 480px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 38px;
  align-items: center;
  padding: 40px;
  box-shadow: 0 25px 80px rgba(30, 24, 18, 0.18);
  border-radius: 34px;
  background: var(--card-bg);
  transform: scale(var(--scale, 1));
  transform-origin: top center;
}

.stack-card .card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0; 
  pointer-events: none;
}

.stack-card .card-image,
.stack-card .card-content {
  position: relative;
  z-index: 1;
}

.stack-card:nth-child(1) {
  top: 90px;
  --card-bg: #F4A50F;
}

.stack-card:nth-child(2) {
  top: 138px;
  --card-bg: #D80C52;
}

.stack-card:nth-child(3) {
  top: 186px;
  --card-bg: #3C1287;
}

.stack-card:nth-child(4) {
  top: 234px;
  --card-bg: #145F9E;
}

.card-head {
    display: flex; /* Aligns children in a row */
    align-items: center; /* Vertically centers the text with the image */
    gap: 5px; 
    margin-bottom: 24px;
}

.card-head img {
    max-width: 50px;
    /* height: auto; */
}

.card-image {
  height: 100%;
  min-height: 410px;
  border-radius: 26px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 20px 16px 20px 0;
}

.card-number {
  display: inline-flex;
  margin-bottom: 24px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(0, 0, 0, 0.48);
}

.card-content h3 {
  max-width: 520px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  color: #fff;
  font-size: 48px;
  /* line-height: 0.95; */
  letter-spacing: -0.06em;
  /* margin-bottom: 24px; */
}

.card-content p {
  max-width: 500px;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #fff;
  margin-bottom: 32px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.card-meta span {
  padding: 10px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.09);
  font-size: 13px;
  font-weight: 800;
  color: #39352f;
    font-family: "Inter", sans-serif;

  
}

/* Tablet */

@media (max-width: 900px) {
  .stack-card {
    gap: 24px;
    padding: 22px;
    min-height: 400px;
  }

  .card-image {
    min-height: 340px;
  }

  .card-content {
    padding: 16px 12px 16px 0;
  }
}

/* Mobile  */

@media (max-width: 680px) {
  .stack-card {
    position: relative;
    top: auto;
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 20px;
    margin-bottom: 0;
    border-radius: 26px;
  }

  .card-image {
    width: 100%;
    min-height: 0;
    height: 240px;
    border-radius: 18px;
  }

  .card-content {
    padding: 4px;
  }

  .card-content h3 {
    margin-bottom: 16px;
  }

  .card-content p {
    margin-bottom: 24px;
    font-size: 16px;
  }

  .card-number {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .card-meta span {
    font-size: 12px;
    padding: 8px 12px;
  }

  .intro,
  .outro {
    min-height: 70vh;
    padding: 60px 20px;
  }
}


/* =================================================== */
/*  WATCH */
/* =================================================== */
.watch {
  /* height: 100vh; */
  background: #1E1E1E;
}

.watch h1 {
  color: #fff;
  font-size: 80px;
}

.watch-ctn {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  gap: 0;
  margin: 80px auto;
}

.watch-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 28px;
  width: 287px;
  height: 330px;
  border: 1px solid #1E1E1E;
  overflow: hidden;
  color: #fff;
}
.watch-card::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -30%;
  width: 120px;
  height: 120px;
  filter: blur(70px);
  border-radius: 50%;
  transition: width 1s, height 1s;
}
.watch-card::before {
  content: "";
  position: absolute;
  bottom: -160%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  /* background: #23c55e; */
  filter: blur(70px);
  border-radius: 50%;
  transition: width 1s, height 1s;
}

.watch-card:nth-child(1) {
  background: #F4A50F;
}

.watch-card:nth-child(2) {
  background: #D80C52;
}

.watch-card:nth-child(3) {
  background: #3C1287;
}

.watch-card:nth-child(4) {
  background: #145F9E;
}

.watch-card:nth-child(5) {
  background: #630C2A;
}


.watch-card .icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.watch-card .icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.content-ctn {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.title {
    font-family: "Inter", sans-serif;
    font-size: 26px;
    font-weight: 700;
    height: 60px;
    display: flex;
    align-items: flex-end;
    transition: transform 0.5s ease; 
    margin: 0;
    transform: translateY(-5px);
    /* margin-bottom: 20px; */
    color: #FFF; 
}

.subtitle {
    display: block;
    color: #fff;
    font-size: 14px;
    line-height: 22px;
    flex-grow: 1;
    font-family: "Inter", sans-serif;
    max-height: 100px;
    opacity: 1;
    margin-top: 10px;
  }


/* =================================================== */
/*  LOGO SLIDER */
/* =================================================== */
/* Pause the animations by default */
.speakers-track,
.marquee-track {
    animation-play-state: paused !important;
}

/* Resume animation when the .playing class is applied */
.speakers-track.playing,
.marquee-track.playing {
    animation-play-state: running !important;
}

/* Adjust button SVG sizes for the play/pause icons */
#speaker-btn svg,
#logo-btn svg {
    width: 32px;
    height: 32px;
    transition: all 0.3s ease;
}

#speaker-btn:hover svg,
#logo-btn:hover svg {
    fill: white;
}

.past-organisations h1 {
  font-size: 80px;
  color: #145F9E;
  max-width: 900px;
}

.past-btn {
  height: 100px;
  width: 100px;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid #145F9E;
  display: flex;
  position: relative;
  transition: all 0.5s;
  justify-content: center;
  align-items: center;
}

.past-btn svg {
  transition: all 0.5s;
  fill: #145F9E;
}
.past-btn:hover {
  transform: translateY(-3px);
  background-color: #145F9E;
}
.past-btn:hover svg {
  fill: white;
  transform: scale(1.2);
}
.past-btn:hover::after {
  transform: scale(1);
}
.past-btn:active {
  transform: translateY(2px);
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    padding: 1.5rem 0;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */
}

.marquee-track {
    display: flex;
    gap: var(--marquee-gap);
    width: fit-content;
    animation: scroll-left var(--marquee-speed) linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.logo-item {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    height: var(--logo-height);
    padding: 0 1rem;
}

.logo-item img {
    display: block;
    height: 100%;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    transition: filter 0.3s;
}

/* .logo-item img:hover {
    filter: grayscale(0%) opacity(100%);
} */

@keyframes scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); } 
}

.marquee-track > .original-logos,
.marquee-track > .cloned-logos {
    display: flex;
    gap: var(--marquee-gap);
    padding-right: var(--marquee-gap);
}

@media (max-width: 600px) {
    :root {
        --marquee-gap: 2rem;
        --logo-height: 3rem;
        --marquee-speed: 30s; /* Faster on mobile */
    }
    h1 { font-size: 1.5rem; }
    .marquee-container { padding: 1rem 0; }
}


/* Container Wrapper */

.speaker-btn {
  height: 100px;
  width: 100px;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid #3C1287;
  display: flex;
  position: relative;
  transition: all 0.5s;
  justify-content: center;
  align-items: center;
}

.speaker-btn svg {
  transition: all 0.5s;
  fill: #3C1287;
}
.speaker-btn:hover {
  transform: translateY(-3px);
  background-color: #3C1287;
}
.speaker-btn:hover svg {
  fill: white;
  transform: scale(1.2);
}
.speaker-btn:hover::after {
  transform: scale(1);
}
.speaker-btn:active {
  transform: translateY(2px);
}

.speakers-ctn h1 {
    font-size: 80px;
    color: #3C1287;
    max-width: 900px;
    
}

.speakers-section {
    width: 100%;
    background: #FFF;
    padding: 60px 0;
    overflow: hidden;
}

/* The Fade Edge System */
.speakers-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* Applies a high-performance alpha blend mask at both ends of the container */
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

/* The Continuous Strip Track */
.speakers-track {
    display: flex;
    gap: 20px; /* Space between each card */
    width: max-content;
    animation: scrollSpeakers 50s linear infinite;
    will-change: transform;
}

/* Gracefully pauses the carousel when a user moves their mouse over a speaker */
.speakers-track:hover {
    animation-play-state: paused;
}

/* Precise 5-Card Viewport Split Sizing */
.speaker-card {
    /* (Full Screen Width - combined gap space for 4 gaps) divided cleanly by 5 cards */
    flex: 0 0 calc((100vw - (4 * 20px)) / 5);
    
    /* background: #111; */
    overflow: hidden;
    /* border-radius: 4px; */
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
}

.speaker-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* Infinite Hardware-Accelerated Animation Loop */
@keyframes scrollSpeakers {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); } /* Shifts exactly by the length of the original set */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 1024px) {
    .speaker-card {
        flex: 0 0 calc((100vw - (2 * 15px)) / 3); /* 3 cards visible on tablets */
    }
    .speakers-track { gap: 15px; }
}

@media (max-width: 600px) {
    .speaker-card {
        flex: 0 0 calc((100vw - (1 * 10px)) / 1.7); /* 1.7 cards visible on mobile phones */
    }
    .speakers-track { gap: 10px; }
    .speakers-carousel-container {
        mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
    }
}


/* =================================================== */
/*  GALLERY */
/* =================================================== */
/* Layout containers */
.upper-page { position: relative; width: 100%; height: 100vh; overflow: hidden; background: #1a1a1a; }
#viewport { position: absolute; top: 0; right: 0; bottom: 0; left: 0; cursor: grab; overflow: hidden; }

#slide-wrapper, 
.wall-item, 
.marquee-track {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* The loop wrapper */
#slide-wrapper {
    display: flex;
    width: max-content;
    animation: slideWall 80s linear infinite;
}

/* Grid setup: 5 columns, 350px each */
#wall, #wall-clone {
    display: grid;
    grid-template-columns: repeat(5, 350px);
    gap: 20px;
    padding: 40px 10px 40px;
}

/* The loop animation: slides exactly the width of one grid block */
@keyframes slideWall {
    from { transform: translateX(0); }
    to { transform: translateX(-1870px); } /* 5 * 350px + 4 * 20px gaps */
}

#viewport:hover #slide-wrapper { animation-play-state: paused; }

/* Items */
.wall-item { width: 350px; height: 250px; position: relative; background: #242424; overflow: hidden; }
.wall-item img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.wall-item-description { 
    position: absolute; bottom: 21px; left: 15px; 
    background: rgba(17, 17, 17, 0.85); color: #fff; padding: 5px 10px; font-size: 11px;
}


/* =================================================== */
/*  FAQ */
/* =================================================== */


.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 40px;
}

.faq-item {
    background: #145F9E;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item.active {
    box-shadow: 0 6px 28px rgba(0,0,0,0.07);
}

/* Header row */
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 26px;
    cursor: pointer;
    user-select: none;
    gap: 16px;
}

.faq-question-text {
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    line-height: 1.4;
    transition: color 0.25s ease;
    font-family: "Inter", sans-serif;
}

.faq-item.active .faq-question-text {
    color: #fff;
    font-weight: 600;
}

/* Plus / Minus toggle button */
.faq-toggle {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.faq-item.active .faq-toggle {
    background: #fff;
    transform: rotate(45deg);
}

.faq-toggle svg {
    width: 14px;
    height: 14px;
    stroke: #4a4035;
    stroke-width: 2.2;
    transition: stroke 0.25s ease;
}

/* .faq-item.active .faq-toggle svg {
    stroke: #fff;
} */

/* Answer body */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.35s ease;
}

.faq-answer-inner {
    padding: 0 26px 22px;
    font-size: 15px;
    color: #fff;
    line-height: 1.75;
    /* border-top: 1px solid rgba(0,0,0,0.06); */
    padding-top: 16px;
    font-family: "Inter", sans-serif;
}

.faq-answer-inner a {
    color: #fff;
    text-decoration: underline;
}

.faq-item.active .faq-answer {
    max-height: 400px;
}

/* Divider line inside active item */
.faq-item:not(.active) .faq-answer-inner {
    border-top-color: transparent;
}

@media (max-width: 600px) {
    .faq-question { padding: 18px 18px; }
    .faq-question-text { font-size: 14.5px; }
    .faq-answer-inner { padding: 12px 18px 18px; font-size: 14px; }
}


/* =================================================== */
/*  FOOTER/COUNTDOWN */
/* =================================================== */
.countdown {
  /* background-color: #FFF; */
  color: #FFF;
  font-family: 'Inter', sans-serif;
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: sticky;
  overflow: hidden;
  background: #1E1E1E;
  transform: scale(var(--scale, 1));
  transform-origin: top center;
}

.countdown .card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0; 
  pointer-events: none;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    z-index: 1;
}

.logo-mark {
  width: 150px;
  height: auto;
}

.logo-mark img {
  width: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-email {
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    letter-spacing: 0.5px;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    z-index: 1;
}

.countdown-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.digits {
    font-family: 'Inter', sans-serif;
    font-size: 130px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    color: #FFF;
}

.label {
    font-size: 20px;
    font-weight: 300;
    margin-top: 5px;
}

.separator {
    font-size: 80px;
    font-weight: 300;
    margin-top: -40px;
}

/* Footer */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    border-top: 1px solid #333;
    z-index: 1;
}

.copyright {
    font-size: 12px;
    font-family: "Inter", sans-serif;
    font-weight: 300;
    color: #aaa;
}

.dots {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.dots a {
    display: block;
    width: 20px;
    height: 20px;
    color: #fff;
    text-decoration: none;
}

.dots a svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.dot {
    width: 15px;
    height: 15px;
    background-color: #ffffff;
    border-radius: 50%;
}

@media (max-width: 1024px) {
    .digits { font-size: 100px; }
    .separator { font-size: 60px; margin-top: -30px; }
    .time-block { min-width: 90px; }
    header, footer { padding: 20px 30px; }
}

@media (max-width: 768px) {
    .countdown-container { gap: 15px; }
    .digits { font-size: 60px; }
    .separator { font-size: 40px; margin-top: -20px; }
    .label { font-size: 16px; }
    .time-block { min-width: 60px; }
    header { flex-direction: column; gap: 15px; align-items: flex-start; }
}




/* =================================================== */
/* NEWSLETTER POP-UP MODAL INFRASTRUCTURE */
/* =================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    /* High-performance GPU accelerated blurring */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000; /* Keeps modal structural flow securely on top of navigations and sections */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Enabled Display State */
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Card layout matches structural variables from .stack-card */
.modal-card {
    position: relative;
    width: 90%;
    max-width: 580px;
    height: 40vh;
    max-height: 600px;
    background: #FFF; /* Inherited signature Purple brand hex */
    border-radius: 34px; /* Matches stack-card border dimensions */
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

/* Visual Background Texture Mapping */
.modal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
}

/* Close/Dismiss Button Styling */
.modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #D80C52;
    font-size: 26px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: background 0.2s, transform 0.2s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.modal-close:active {
    transform: scale(0.95);
}

/* Context Frame Body */
.modal-content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 70px 24px 24px; /* Offsets container context beneath close interaction layout boundaries */
}


.modal-content iframe {
    border-radius: 16px;
    background: transparent;
}