/* Banner Styles */
.banner-container {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.animated-banner {
  width: 100%;
  height: auto;
  display: block;
}

:root {
  --cover-timing: 0.5s;
  --cover-ease: cubic-bezier(0.66, 0.08, 0.19, 0.97);
  --cover-stagger: 0.15s;
  --text-timing: .75s;
  --text-stagger: 0.015s;
  --text-ease: cubic-bezier(0.38, 0.26, 0.05, 1.07);
  --title-stagger: 0.05s;
  --highlight: white;
}

.card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9/12;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 0 15px 0 0;
  box-shadow: rgba(255, 255, 255, 0.3) 0 5vw 6vw -8vw, rgba(255, 255, 255, 0) 0 4.5vw 5vw -6vw, rgba(50, 50, 80, 0.5) 0px 4vw 8vw -2vw, rgba(0, 0, 0, 0.8) 0px 4vw 5vw -3vw;
  transition: box-shadow 1s var(--cover-ease);
}
.card > * {
  z-index: 2;
}
.card > .text {
  z-index: 2;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}
.card > img {
  z-index: 0;
  transition: all 0.8s cubic-bezier(0.66, 0.08, 0.19, 0.97);
  flex-grow: 1;
  object-fit: cover;
}

/* Enter Button Styles */
.enter-button {
  display: inline-block;
  padding: 10px 30px;
  background-color: #d9043d;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  margin-top: 15px;
  margin-bottom: 15px;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.enter-button:hover {
  background-color: #b80334;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.enter-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.card::after {
  transition-delay: var(--cover-stagger);
  top: 50%;
}

.card:hover::before, .card:hover::after {
  transform: scaleX(1);
}

.card:hover img {
  transform: scale(1.1);
}

.text {
  position: absolute;
  inset: 5px;
  top: auto;
}

h2 {
  font-size: 30px;
  font-size: clamp(20px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 0.2em;
}

p {
  font-size: 12px;
  font-size: clamp(10px, 1.25vw, 14px);
  line-height: 1.4;
  text-align: justify;
  margin-top: 0.2em;
  margin-bottom: 0;
}

h2 .char,
p .word {
  color: var(--highlight);
  display: inline-block;
  opacity: 0;
  position: relative;
  transform: translateY(20px);
  transition-property: transform, opacity, color;
  transition-timing-function: var(--text-ease);
  transition-duration: var(--text-timing), var(--text-timing), calc(var(--text-timing)*2);
}

img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0 15px 0 0;
}

/* Carousel dots navigation */
.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 15px 0 25px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 100;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  border: 2px solid #999;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

.carousel-dot:hover,
.carousel-dot:focus {
  background-color: #999;
  transform: scale(1.2);
}

.carousel-dot.active {
  background-color: #333;
  border-color: #333;
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

/* Mobile carousel styles */
@media screen and (max-width: 599px) {
  .cd__main main {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding: 20px calc(50vw - 150px);
    justify-content: flex-start;
    scroll-padding: 0 calc(50vw - 150px);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
  }
  
  .cd__main main .card {
    flex: 0 0 300px;
    width: 300px;
    max-width: 300px;
    scroll-snap-align: center;
    transform: scale(0.9);
    transform-origin: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.4;
    margin: 0;
    position: relative;
    z-index: 1;
    pointer-events: none;
  }
  
  .cd__main main .card.active {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    z-index: 2;
    pointer-events: auto;
  }
  
  .cd__main main .card:not(.active) {
    margin: 0 -60px;
  }
  
  .cd__main main .card:first-child {
    margin-left: 0;
  }
  
  .cd__main main .card:last-child {
    margin-right: 0;
  }
  
  /* Hide scrollbar but keep functionality */
  .cd__main main::-webkit-scrollbar {
    display: none;
  }
  
  .cd__main main {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

/* Desktop grid styles */
@media screen and (min-width: 600px) {
  .cd__main main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: -webkit-min-content 1fr 1fr;
    grid-template-rows: min-content 1fr 1fr;
    grid-gap: 2em;
    place-items: center;
  }
}



.card {
  width: 90vw;
  max-width: 250px;
}
@media screen and (min-width: 600px) {
  .card {
    width: 40vw;
  }
}

h1 {
  color: #5b6377;
  font-weight: 100;
}
@media screen and (min-width: 600px) {
  h1 {
    grid-column: 1/3;
  }
}

body, html {
  color: white;
  background: #333844;
  padding: 0;
  margin: 0;
  min-height: 100vh;
  font-family: "Open Sans", sans-serif;
}

body {
  padding: 0em 0 3em;
  min-height: calc(100vh - 4em);
}

h4.blue {
    font-size: 18px;
    font-weight: 500px;
    color: #fff;
    background: rgb(54,120,255);
	background: linear-gradient(180deg, rgba(54,120,255,1) 0%, rgba(2,80,238,1) 85%);
    border-left: 0px solid #fff;
    padding: 5px;
    padding-left: 20px;
    border-radius: 0px;
    box-shadow: 0px 0px 0px 0px rgb(50 50 50 / 30%);
    text-decoration: none;
}

h4.red {
    font-size: 18px;
    font-weight: 500px;
    color: #fff;
    background: rgb(254,93,136);
	background: linear-gradient(180deg, rgba(254,93,136,1) 0%, rgba(217,4,61,1) 85%);
    border-left: 0px solid #fff;
    padding: 5px;
    padding-left: 20px;
    border-radius: 0px;
    box-shadow: 0px 0px 0px 0px rgb(50 50 50 / 30%);
    text-decoration: none;
}

.sec_banner {
    border-bottom: solid 10px #d9043d;

}

.sec_banner h1,
.sec_banner h2 {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin: 10px 0;
    font-weight: 700;
    letter-spacing: 1px;
}

.sec_banner h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    animation: fadeInDown 1s ease-out;
}

.sec_banner h2 {
    font-size: 3rem;
    margin-top: 0;
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}