* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:'Founders Grotesk';
  background-color: #ffffff;
  color: #333333;
  line-height: 1.6;
}

.slider-container {
  width: 100%;
  /* max-width: 1400px; */ /* Added max-width container to slider for consistent alignment */
  margin: 0 auto;
  overflow: hidden;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  /* Removed fixed height constraints for more natural fit */
  height: auto;
}

.slides-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 100%;
  display: none;
}

.slide.active {
  display: block;
}

.slide-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  background-color: #ffffff;
  /* Added min-height for better proportions */
  min-height: 500px;
}

/* Text Content */
.text-content {
  /* Adjusted padding for better spacing */
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.location {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #333333;
}

.title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: #333333;
}

.title sup {
  font-size: 1rem;
  vertical-align: super;
}

.description {
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
  max-width: 600px;
}

/* Image Content */
.image-content {
  flex: 1;
  width: 100%;
  overflow: hidden;
  /* Removed max-height constraint, let image flow naturally */
  /* min-height: 400px; */
  padding: 0;
}
@media (max-width:500px){
.image-content img {
  width: 100%;
  height: 100%;
  /* Changed to cover for better fit */
  object-fit: cover;
  object-position: center;
  display: block;
  height:200px;
}}

@media(min-width:501px){
.image-content img {
  width: 100%;
  height: 100%;
  /* Changed to cover for better fit */
  object-fit: cover;
  object-position: center;
  display: block;
}}
@media (max-width:500px;){
.image-content img {
  width: 100%;
  height: 100%;
  /* Changed to cover for better fit */
  object-fit: cover;
  object-position: center;
  display: block;
}}

/* Navigation Arrows */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: none !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  color: #333333;
}

.nav-arrow:hover {
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.prev-arrow {
  left: 2rem;
}

.next-arrow {
  right: 2rem;
}

/* Dot Indicators */
.dots-container {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
  display: none;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(51, 51, 51, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.dot:hover {
  background-color: rgba(51, 51, 51, 0.5);
}

.dot.active {
  background-color: #333333;
  width: 32px;
  border-radius: 5px;
}

/* Desktop Layout */
@media (min-width: 768px) {
  /* Removed height constraints, let content determine height */
  .slider-wrapper {
    height: auto;
  }

  .slide-content {
    flex-direction: row;
    align-items: stretch;
    /* Adjusted min-height for better desktop proportions */
    min-height: 550px;
    height: auto;
  }

  .text-content {
    width: 40%;
    /* Refined padding for better spacing */
    padding: 3.5rem 3rem;
    justify-content: center;
  }

  .title {
    font-size: 3.5rem;
  }

  .description {
    font-size: 1.125rem;
  }

  .image-content {
    width: 60%;
    /* Removed max-height, added min-height for consistency */
    /* min-height: 550px; */
    /* height: 100%; */
    padding: 0;
  }

  .nav-arrow {
    display: flex;
  }

  /* Position arrows just outside the image boundaries - adjusted for new 40/60 split */
  /* Adjusted arrow position for better placement */
  .prev-arrow {
    left: calc(40% - 70px);
  }

  .next-arrow {
    right: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .slide-content {
    /* Increased min-height for larger screens */
    min-height: 600px;
  }

  .text-content {
    padding: 4.5rem 4rem;
  }

  .title {
    font-size: 4rem;
  }

  .image-content {
    /* min-height: 600px; */
  }
}

@media (min-width: 1280px) {
  .slide-content {
    /* Final min-height adjustment for XL screens */
    min-height: 650px;
  }

  .text-content {
    padding: 5rem 5rem;
  }

  .title {
    font-size: 2rem;
  }

  .image-content {
    /* min-height: 650px; */
  }
}

/* Updated all prize section classes to grand-prize prefix for unique identifiers */
/* Grand Prize Section */
.grand-prize-section {
  width: 100%;
  background-color: #ffffff;
}

.grand-prize-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  /* max-width: 1400px; */ /* Updated grand prize section to use same max-width container */
  margin: 0 auto;
  /* min-height: 600px; */
}

/* Grand Prize Text - appears first on mobile */
.grand-prize-text {
  background-color: #001489;
  color: #ffffff;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
  order: 1;
  text-align: center;
}

.grand-prize-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.grand-prize-subtitle {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.3;
}

.grand-prize-subtitle-secondary {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
}

.grand-prize-details {
  font-size: 0.7rem;
  line-height: 1.6;
  opacity: 0.95;
  font-weight: 300;
}

.grand-prize-details sup {
  font-size: 0.7rem;
  vertical-align: super;
}

/* Grand Prize Image - appears second on mobile */

.grand-prize-image {
  width: 100%;
  /* height: 400px; */
  overflow: hidden;
  order: 2;
  padding: 0;
}
@media (max-width:500px){
.grand-prize-image {
  width: 100%;
   height: 200px; 
  overflow: hidden;
  order: 2;
  padding: 0;
}}


.grand-prize-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Desktop Layout for Grand Prize Section */
@media (min-width: 768px) {
  .grand-prize-content {
    flex-direction: row;
    /* min-height: 600px; */
  }

  /* Updated to match carousel proportions - image 40%, text 60% */
  .grand-prize-image {
    width: 40%;
    /* height: 100%; */
    order: 1;
    /* padding: 0; */
  }

  .grand-prize-text {
    width: 60%;
    padding: 4rem 3rem;
    order: 2;
  }

  .grand-prize-title {
    font-size: 4rem;
  }

  .grand-prize-subtitle {
    font-size: 1.75rem;
  }

  .grand-prize-subtitle-secondary {
    font-size: 2rem;
  }

  .grand-prize-details {
    font-size: 1.125rem;
  }
}

@media (min-width: 1024px) {
  .grand-prize-text {
    padding: 5rem 4rem;
    text-align: center;
    line-height: normal;
  }

  .grand-prize-title {
    font-size: 5rem;
    line-height: 0.8;
  }

  .grand-prize-subtitle {
    font-size: 2rem;
  }
}

@media (min-width: 1280px) {
  .grand-prize-text {
    padding: 6rem 5rem;
  }

  .grand-prize-title {
    font-size: 5.5rem;
  }
}

/* Added specific styling for grand prize winner text */
.grand-prize-winner-text {
  font-size: 5rem;
}

@media (min-width: 1024px) {
  .grand-prize-winner-text {
    font-size: 8rem;
  }
}

/* Winners Section */
.winners-section {
  width: 100%;
  background-color: #5acede;
}

.winners-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  gap: 0;
}

.winner-card {
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.winner-title {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #001489;
}

.winner-points {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: #001489;
}

/* Desktop Layout for Winners Section */
/* Updated winners section padding and font sizes to match design */
@media (min-width: 768px) {
  .winners-section {
    padding: 0rem 0;
  }

  .winners-content {
    flex-direction: row;
  }

  .winner-card {
    width: 50%;
    padding: 4rem 3rem;
  }

  .winner-title {
    font-size: 2rem;
  }

  .winner-points {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .winners-section {
    padding: 0rem 0;
  }

  .winner-card {
    padding: 5rem 4rem;
  }

  .winner-title {
    font-size: 3.5rem;
  }

  .winner-points {
    font-size: 1.75rem;
  }
}

@media (min-width: 1280px) {
  .winner-title {
    font-size: 3rem;
  }

  .winner-points {
    font-size: 2rem;
  }
}

/* Added mobile border for winner cards */
@media (max-width: 500px) {
  #winner-card-border {
    border-bottom: #001489 4px solid;
  }
}
