html, body {
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: 'Rajdhani', sans-serif;  
  background: #FFFCF9;
  color: white;
  overflow-x: hidden;
  color: #3a312a;
}
* {
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: inherit;
}

section {
  padding: 6rem 3rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
/*Hide the menu for now */
.burger-menu, .menu-wrapper{
	display: none!important;
}

.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  position: absolute;
  width: 100%;
  z-index: 10;
}

.logo img {
  height: 48px;
}
.menu-wrapper {
  position: absolute;
  top: 20px;
  right: 150px;
  width: 214px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 16px;
    background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px) brightness(0.9);
  -webkit-backdrop-filter: blur(8px) brightness(0.9);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: white;
  font-family: 'Rajdhani', sans-serif;
  z-index: 999;
}

.menu-toggle {
  display: flex;
  padding: 10px 10px 16px 10px;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.menu-toggle span {
  font-weight: 600;
}

.chevron-icon,
.close-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  fill: white!important;
}
/* Default state: show chevron, hide X */
.close-icon {
  display: none;
}
.menu-toggle.open .chevron {
  transform: rotate(180deg);
}

.menu-items {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}

.menu-items.open {
  max-height: 500px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  padding: 10px;
  text-decoration: none;
  color: white;
  font-weight: 400;
  transition: transform 0.3s ease;
}

.menu-item:hover {
  text-decoration: none;
}
.menu-item:hover .menu-icon{
  transform: translateY(-5px);
  transition: transform 0.6s ease;
}
.icon-stack {
  position: relative;
  width: 20px;
  height: 20px;
  display: inline-block;
  overflow: hidden;
}

.arrow-default,
.arrow-hover {
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.3s ease;
  width: 100%;
  height: 100%;
}

.arrow-hover {
  transform: translateY(100%);
}

.menu-item:hover .arrow-default {
  transform: translateY(-100%);
}

.menu-item:hover .arrow-hover {
  transform: translateY(0);
}

.menu-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  transition: transform 0.3s ease
}

.submit-btn {
  display: inline-block;
  margin-top: 10px;
  width: 100%;
  background: white;
  color: #333;
  text-align: center;
  padding: 10px 0;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.6s ease;
}

.submit-btn:hover {
  background: #e5e5e5;
  background: transparent;
  color: white;
  border: 1px solid white;
}


/* HERO SECTION */
.hero {
  position: relative;
  height: 100vh;
  background-image: url('48c56afdbab7b9274dc06fdf8803d0ae23fcf1b4.jpg');
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) brightness(2.2) contrast(0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;  
  margin: 0 auto;
  padding: 2rem;
}

.hero-heading {
  text-align: left;  
}

.hero-heading h1 {
	font-style: normal;
	font-weight: 600;
	line-height: 130%;
	text-transform: uppercase;
	color: white;
    display: inline-block;
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.2;
	margin-bottom: 0px;
	padding-bottom: 0px;	
}

.hero-line {
  display: inline-block;
  vertical-align: middle;
  height: 2px;
  background-color: white;
  width: 140px;
  margin-left: 1rem;
  margin-bottom: 0.4rem;
}

.hero-subheading {
  text-align: right;
  text-transform: uppercase;	
}

.hero-subheading p {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: white;
}

.left-align{
	text-align: left;
	display: block;
	float: right;
}

/*Movement Section */
.movement-section {
  padding: 10rem 2rem;
  background: #FFFCF9;
}

.movement-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  width: 100%;
  margin: 0px auto;
  max-width: 80%;
  margin: 0 auto;
  flex-wrap: nowrap; 
}

.movement-text {
  flex: 1 1 400px;
  max-width: 50%;
  color: #3a312a;
}

.movement-text h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.movement-text h2 span {
  font-weight: 400;
  display: block;
}

.movement-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.movement-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border: 1px solid #d5c8bd;
  border-radius: 2rem;
  gap: 8px;
  text-decoration: none;
  color: #3a312a;  
  font-weight: 500;
  transition: transform 0.5s ease;
  filter: brightness(0) saturate(100%) invert(14%) sepia(22%) saturate(1344%) hue-rotate(8deg) brightness(91%) contrast(89%);
}
.arrow-stack {
  position: relative;
  width: 20px;
  height: 20px;
  overflow: hidden;
}

.arrow {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

/* Initial states */
.arrow-top {
  transform: translateY(0);
  opacity: 1;
}

.arrow-bottom {
  transform: translateY(100%);
  opacity: 0;
}
.movement-btn:hover {
  background: transparent;
  color: #000;
  border-color: #000;
}
/* On hover, animate arrows */
.movement-btn:hover .arrow-top {
  transform: translateY(-100%);
  opacity: 0;
}
.subscribe-btn{	
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border: 1px solid #d5c8bd;
  border-radius: 2rem;
  gap: 8px;
  text-decoration: none;
  color: #ffffff;  
  font-weight: 500;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  background: #584E4A;
}
.subscribe-btn:hover {
  background: transparent;
  color: #000;
  border-color: #000;
}


.movement-btn:hover .arrow-bottom {
  transform: translateY(0);
  opacity: 1;
}
.movement-btn .menu-icon {
  display: inline-block;
  transition: transform 0.6s ease, opacity 0.6s ease;
}
.movement-btn img.menu-icon {
  width: 1rem;
  height: 1rem;
  margin-left: 0.5rem;
  vertical-align: middle;  
  filter: brightness(0) saturate(100%) invert(18%) sepia(72%) saturate(643%) hue-rotate(172deg) brightness(92%) contrast(85%);
}

.movement-image {
  flex: 1 1 50%;
  text-align: center;
}

.movement-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 1000;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background: #fff;
  color: #333;
  padding: 2rem;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  transform: translateY(30px);
  transition: transform 0.4s ease;
}

/* Slide up animation on open */
.popup-overlay.active .popup-content {
  transform: translateY(0);
}

.popup-content h2 {
  margin-top: 0;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #000;
}
.disciplines-section {
  /*background-color: #fefaf6;*/
  /*padding: 8rem 3rem;*/
  padding: 3rem;
  font-family: 'Rajdhani', sans-serif;
}

.disciplines-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
  flex-wrap: wrap;
}

.disciplines-left h2 {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.3;
  color: #3a312a;
  margin: 0;
}

.disciplines-left span {
  font-weight: 700;
}

.disciplines-right {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}

.deadline-block,
.days-block {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.label {
  font-size: 1.1rem;
  color: #3a312a;
  margin-bottom: 0.2rem;
}

.value {
  font-size: 1.4rem;
  font-weight: 500;
  color: #3a312a;
  margin: 0;
}

.days {
  font-size: 2rem;
  font-weight: 700;
  color: #3a312a;
  margin: 0 0 0.2rem 0;
}

.divider {
  width: 1px;
  height: 60px;
  background-color: #3a312a;
  align-self: center;
}

/* Categories Section */
.categories-section {
  /*background: #fefaf6;*/
  padding: 6rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.categories-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 90%;
  margin: 0 auto;
}

.categories-row {
  display: flex;
  gap: 2rem;
  width: 100%;
  height: 70vh;
}

.category-card {
  flex: 1 1 50%;
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 1rem;
  overflow: hidden;
  filter: grayscale(100%);
  transition: all 0.6s ease;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
}

.category-card.left:hover {
  flex: 0 1 60%;
  filter: grayscale(0%);
}
.category-card.left:hover ~ .category-card.right {
  flex: 0 1 40%;
}

.category-card.right:hover {
  flex: 0 1 60%;
  filter: grayscale(0%);
}
.category-card.right:hover ~ .category-card.left {
  flex: 0 1 40%;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.category-content {
position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  max-width: 90%;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}
.category-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-copy {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  line-height: 1.4;
  color: white;
}

.category-card:hover .category-copy {
  opacity: 1;
  transform: translateY(0);
}
.category-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
}

.category-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.submit-entry-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid white;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: white;
  font-weight: 500;
  border-radius: 2rem;
  background: transparent;
  transition: background 0.3s ease;
}

.submit-entry-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.category-desc {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  color: white;
  z-index: 2;
  position: relative;
  margin-top: 1rem;
}

.category-card:hover .category-desc {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .categories-row {
    flex-direction: column;
    height: 60vh;
  }

  .category-card {
    flex: 1 1 100%;
    height: 70vh;
  }

  .category-card.left:hover,
  .category-card.right:hover {
    flex: 1 1 100%;
  }

  .category-card.left:hover ~ .category-card.right,
  .category-card.right:hover ~ .category-card.left {
    flex: 1 1 100%;
  }

  .category-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

.jury-section {
  /*background: #fefaf6;*/
  padding: 8rem 3rem;
}

.jury-container {
  display: flex;
  max-width: 90%;
  margin: 0 auto;
  gap: 4rem;
  align-items: center;
}

.jury-info {
  flex: 0 0 30%;
}

.jury-info h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #3a312a;
  margin-bottom: 1rem;
}

.jury-info p {
  color: #3a312a;
  font-size: 1.125rem;
  line-height: 1.6;
}

.jury-controls {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}
.juryPrev, .juryNext{
	display: flex;
	padding: 10px 20px;
	align-items: center;
	gap: 10px;
	border-radius: var(--radius-999, 999px);
	border: 1px solid var(--btn-outline-stroke, #DFD5D1);	
}
.arrow-icon {
  color: #DDD; /* default stroke color */
  cursor: pointer;
  transition: color 0.3s ease;
}

.arrow-icon:hover {
  color: #584E4A; /* hover stroke color */
  border: 1px solid var(--btn-outline-stroke, #584E4A);	
}

.jury-carousel-wrapper {
	width: 100%;
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
}

.jury-carousel {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  transition: transform 0.6s ease;
  will-change: transform;
}

.jury-card {
/*
  filter: grayscale(100%);
  flex: 0 0 calc((100% - 32px) / 3);
  margin: 0;
  opacity: 0.3;  
  transition: transform 0.5s ease, opacity 0.5s ease;
  height: 60vh;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  position: relative;
  */
    position: relative;
  overflow: hidden;
  background: none;
  border-radius: 16px;
  flex: 0 0 calc((100% - 32px) / 3); /* Keep your 3-per-row layout */
  height: 60vh;
  border-radius: 16px;
  background: none;
}
.jury-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%)!important;;
  opacity: 0.3; /* faded by default */
  z-index: 0;
  border-radius: 16px;
  transition: opacity 0.3s ease;
}
.jury-card.center::before {
  opacity: 1; /* make center one sharp, but still grayscale */
  /* DO NOT remove grayscale */
}
.jury-card.center {
  opacity: 1;  
  z-index: 2;
}

.jury-card.left,
.jury-card.right {
  opacity: 0.3;
}
.jury-carousel-wrapper::before,
.jury-carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 15%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.jury-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

.jury-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

.jury-details {  
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  z-index: 2;
  width: 100%;
  
}
/* Background image classes */
.bg-bibi::before {
  background-image: url('bibi_@OmarVictorDiop.jpg');
}
.bg-charles::before {
  background-image: url('Charles_Job.jpeg');
}
.bg-juliet::before {
  background-image: url('Juliet Kavishe.jpg');
}
.bg-mugendi::before {
  background-image: url('Mugendi_Rithaa.jpg');
}
.bg-seun::before {
  background-image: url('Seun_Olatunji.jpg');
}
/* restore full image for center */
.jury-card.center::before {
  filter: grayscale(0%);
  opacity: 1;
}

/* show content fully */
.jury-card.center .jury-details {
  opacity: 1;
}
.jury-company {
  border-bottom: 2px solid white;
  padding-bottom: 4px;
  margin-bottom: 4px;
  font-weight: 600;
  max-width: 90%;
}

.jury-position {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.jury-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.jury-name img {
  width: 18px;
  height: auto;
}	
.jury-name span.fi {
  filter: none !important
}

.key-moments {  
  background: #FBF6F3;
  padding: 6rem;
  font-family: 'Rajdhani', sans-serif;
}

.key-moments-container {
  width: 100%;  
  margin: 0 auto;
  display: flex;
  align-items: center;  
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 10vh;
}
.timeline {
	width: 15%;
  box-sizing: border-box;
}
.timeline-image{
	width: 50%;
  box-sizing: border-box;	
}
.moment-details {
  width: 35%;
  box-sizing: border-box;
}
.timeline ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline ul li {
  margin-bottom: 1.5rem;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  color: #888;  
  list-style-type: none;
  opacity: 0.5;
  transform: scale(1);
  transition: color 0.4s ease, opacity 0.4s ease, transform 0.3s ease;
}

.timeline ul li::before {
  /*content: "●";
  position: absolute;
  left: -1.5rem;
  top: 0;
  color: #888;
  */
}

.timeline ul li.active {
   font-weight: bold;
   color: #3a312a;
   list-style-type: disc;
   opacity: 1;
   transform: scale(1.03);
}

.timeline ul li.active::before {
  color: #3a312a;
}

.timeline-image {
  flex: 1 1 400px;
  max-width: 600px;
}

.timeline-image img {
  width: 100%;
  border-radius: 1.5rem;
  clip-path: polygon(5% 0%, 95% 0%, 100% 100%, 0% 100%);
  object-fit: cover;
}

.moment-details h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #3a312a;
  text-transform: uppercase;
}

.moment-details p {
  font-size: 1rem;
  line-height: 1.6;
  color: #3a312a;
}
.moment-details h3,
.moment-details p {
  opacity: 1;
  transition: opacity 0.5s ease;
}

.moment-details.fade-out h3,
.moment-details.fade-out p {
  opacity: 0;
}

.timeline-copy{
	padding: 0rem;
}

.newsletter{
	background: #FFFCF9;
	padding: 10rem 2rem;
}
.newsletter-form p{
	font-weight: 600;
}
.newsletter-form input{
	display: flex;
	padding: 11px 12px;
	align-items: center;
	gap: 10px;
	align-self: stretch;
	border: 0px none;
	border-bottom: 1px solid #E7E7E7;ž
	background: transparent;
}
.newsletter-wrapper{
  display: flex;
  gap: 105px;
  align-items: center;
  justify-content: center;
  padding: 64px;
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid rgba(57, 57, 57, 0.10);
  border-radius: 24px;
  background: #FBF6F3;
}
.newsletter-form {
  flex: 1;
}
.newsletter-image {
  flex: 1.5;
}
.newsletter-image img{
	width: 100%;
	max-width: 600px;
	border-radius: var(--radius-16, 16px);
	background: linear-gradient(0deg, rgba(204, 165, 147, 0.12) 0%, rgba(204, 165, 147, 0.12) 100%), url(<path-to-image>) lightgray -3.924px 0px / 100.046% 100% no-repeat;
}

.partnerships {
  background: #fdfafa;
  padding: 5rem 2rem;
}

.partnerships-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.partnerships-heading {
  text-align: center;  
  margin-bottom: 4rem;
  font-weight: 600;
}
.partnerships-row {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  flex-wrap: wrap;
}
.partnership {
  flex: 1 1 48%;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.partnership-img {
  flex: 0 0 160px;
}

.partnership-img img {
  width: 100%;
  max-width: 100px;
  height: auto;
  border-radius: 8px;
}

.partnership-content {
  flex: 1;
}

.partnership-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  margin-top: 0;
}

.partnership-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #333;
}

.site-footer {
  background: #FBF6F3;
  background: #FBF6F3;
  padding: 4rem 2rem 2rem;
  font-family: 'Rajdhani', sans-serif;
  color: #3a312a;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4rem;
}

.footer-logo-block {
  max-width: 280px;
}

.footer-logo {
  width: 91.618px;
  height: 37px;  
}

.footer-tagline {
  font-size: 1rem;
  line-height: 1.6;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  flex: 1;
  justify-content: space-between;
}

.footer-column h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #000;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: #666;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #000;
}

.footer-bottom {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.85rem;
  color: #777;
}

.footer-bottom a {
  color: #777;
  text-decoration: none;
  margin: 0 0.5rem;
}

.footer-bottom a:hover {
  text-decoration: underline;
}
.burger {
	display: none;
}
@media (min-width: 768px) {
  .hero {	
	height: 130vh;
  }
  .hero-content {
    margin-top: 30%;
	padding: 10rem 1rem;
  }
  .hero-subheading p {
	 margin-right: 5%;	 
  }
}


@media (max-width: 1024px) {
  .jury-card {
    flex: 0 0 80vw;
    height: auto;
  }
  .timeline-image {
		width: 100%; 
		order: 3; 
		max-width: 100%; 
		height: auto; 
	}
	.timeline{
		width: 30%;
	}
	.moment-details{
		width: 60%;
	}
	.moment-details h3 {
		margin-top: 0px!important;
	}
	.moment-title{
		margin-top: 0px!important;
	}
	.key-moments-container{
		justify-content: flex-start;
		align-items: flex-start;
	}
	
	/* Jury part */
	.jury-container {
        flex-direction: column; /* Stack info and carousel vertically */
        gap: 2rem; /* Adjust gap between info and carousel */
        padding: 0 20px; /* Add some overall horizontal padding */
    }

    .jury-info {
        flex: unset; /* Remove flex sizing */
        width: 100%; /* Take full width */
        max-width: 100%;
        text-align: center; /* Center the text for better mobile presentation */
    }

    .jury-controls {
        justify-content: center; /* Center the navigation buttons */
    }

    .jury-carousel-wrapper {
        flex: unset; /* Remove flex sizing */
        width: 100%; /* Take full width */
        /* Keep desktop mask image for now, but you might want to adjust its values if 3 cards scale weirdly */
        mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
        /* Add some padding to the wrapper if needed, to prevent cards touching edges */
        padding: 0 10px; /* Example: slight padding on the sides of the carousel area */
        box-sizing: border-box;
    }

    .jury-carousel {
        /* Keep the gap between cards, as you're still showing multiple */
        gap: 16px; /* Your desired spacing between cards */
    }

    .jury-card {
        /* Scale down to show 3 cards comfortably in the reduced width */
        flex: 0 0 calc((100% / 3) - (2 * 16px / 3)); /* Adjust to fit 3 cards evenly within 100% width with gaps */
        /* You might need to play with this calculation:
           calc(33.33% - (2 * 16px / 3)) or simply calc(33.33% - Xpx)
           Alternatively, for simpler scaling, you could use a fixed width and let overflow scrolling happen (but your JS handles the sliding).
           If fixed width, then the carousel needs to be wider than the wrapper, and JS moves it.
        */
        height: 50vh; /* Adjust height for tablet view if needed */
        /* Ensure background image is also responsive within the card */
        /* .jury-card::before can also have its height adjusted here */
    }

    /* Additional styles if the 3-card layout needs specific adjustments on tablets */
	
}


@media (max-width: 768px) {	

 /* Carousel Wrapper adjustments (keep these as they are for mobile) */
    .jury-carousel-wrapper {
        mask-image: none;
        -webkit-mask-image: none;
        padding: 0 20px;
    }

    .jury-carousel {
        gap: 0; /* No gap between cards on mobile if they are 100% width */
    }

    /* The Jury Card itself */
    .jury-card {
        flex: 0 0 100%; /* Each card takes full width */
        height: 70vh; /* Set a fixed height for the card on mobile to ensure visibility */
        /* height: auto; can be problematic if content doesn't give it height */
        margin-right: 0; /* No margin between cards */
        min-height: unset; /* Ensure no minimum height is preventing shrinking if desired */

        /* Ensure it acts as a positioning context for its absolute children */
        position: relative; /* Essential for ::before and jury-details positioning */
        overflow: hidden; /* Important for border-radius to apply correctly to image */
        border-radius: 16px; /* Ensure border-radius applies to the card */
        /* No need for display:flex, justify-content, align-items here unless you are explicitly centering
           the ::before pseudo-element, which is usually handled by inset:0. */
    }

    /* The Image Pseudo-element */
    .jury-card::before {
        content: ""; /* Make sure content is defined */
        position: absolute; /* ABSOLUTE to fill the parent .jury-card */
        inset: 0; /* Top, right, bottom, left to 0 */
        width: 100%; /* Explicitly set width */
        height: 100%; /* Explicitly set height */
        background-size: cover; /* Ensure image covers the area */
        background-position: center; /* Center the image */
        filter: grayscale(100%); /* Default grayscale */
        opacity: 0.3; /* Default fade */
        z-index: 0; /* Behind the details */
        border-radius: 16px; /* Apply border-radius */
    }

    .jury-card.center::before {
        filter: grayscale(0%) !important; /* Full color for center card */
        opacity: 1 !important; /* Full opacity for center card */
    }

    /* The Details Overlay */
    .jury-details {
        position: absolute; /* ABSOLUTE to overlay the image */
        bottom: 20px; /* Position from the bottom */
        left: 20px; /* Position from the left */
        width: calc(100% - 40px); /* Adjust width to fit within padding */
        padding: 0; /* Remove padding here, controlled by bottom/left */
        color: white; /* Make text visible on dark background */
        text-align: left;
        z-index: 2; /* Above the image */
        opacity: 1; /* Always visible for the active card */
    }

    /* Ensure non-center cards on mobile also show details and are white */
    .jury-card:not(.center) .jury-details {
        opacity: 1;
        pointer-events: auto;
        color: white; /* Keep white for consistency with center card on mobile */
    }

  .disciplines-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .disciplines-right {
    flex-direction: column;
    gap: 1.5rem;
  }

  .divider {
    display: none;
  }
  .jury-item {
    min-width: 200px;
  }
  .movement-text {
	  flex: 1 1 400px;
	  max-width: 50%;
	  color: #3a312a;
	}
  .menu-wrapper {
	position: fixed;
    top: 0;
    right: -100%;
    height: 50vh;
    width: 250px;
    transition: right 0.4s ease;
    z-index: 9999;
  }

  .menu-wrapper.active {
    right: 0;
  }

  .burger {
    position: absolute;
    top: 30px;
    right: 130px;
    z-index: 1000;
    cursor: pointer;
    /*display: block;*/
	display: none;
	color: #fff;
  }
   .menu-toggle .chevron{
	   display: none;
   }
  .menu-toggle .chevron-icon {
    display: none!imporatnt;
  }

  .menu-toggle.open .chevron-icon {
    display: none;
  }

  .menu-toggle .close-icon {
    display: none;
  }

  .menu-toggle.open .close-icon {
    display: inline;
  }
    .menu-toggle .close-icon, .menu-toggle.open .close-icon  {
    width: 15px;
	height: 15px;
  }
    .movement-container {	
    flex-direction: column;
	flex-wrap: wrap;
	}

	.movement-text,
	.movement-image {
	  flex: 1 1 50%;
	  max-width: 100%;
	}
	 

  .movement-image {
    order: -1!important;
  }
  .hero-subheading{
	  margin-top: 4rem
  }
.jury-container {
    flex-direction: column;
    padding: 0 20px;
  }

  .jury-text,
  .jury-carousel-wrapper {
    position: static;
    width: 100%;
    height: auto;
    padding: 20px 0;
  }

  .jury-carousel {
    justify-content: center;
  }
  .partnership {
    flex-direction: column;
    flex: 1 1 100%;
  }

  .partnership-img {
    margin-bottom: 1rem;
  }
    .newsletter-wrapper {
    flex-direction: column;
    padding: 2rem;
    gap: 2rem;
  }

  .newsletter-form,
  .newsletter-image {
    flex: unset;
    width: 100%;
    text-align: center;
  }

  .newsletter-image img {
    max-width: 100%;
    height: auto;
  }

  .newsletter-form input {
    width: 100%;
    box-sizing: border-box;
  }

  .subscribe-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
	.menu-wrapper {
	position: fixed;
    top: 0;
    right: -120%;
    height: 50vh;
    width: 250px;
    transition: right 0.4s ease;
    z-index: 9999;
  }

  .menu-wrapper.active {
    right: 0;
  }

  .burger {    
    top: 30px;
    right: 100px;    
  }
    .jury-card {
    flex: 0 0 90vw;
  }
} 

