html {
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: poppins, sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
  letter-spacing: 1px;
}

header.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 3s ease-in-out;
  /* rest of your styles remain */
  color: #fff;
  text-align: center;
  padding: 160px 20px 100px;
  animation: fadeIn 1.5s ease-in;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

header.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 0;
}

header.hero h1,
header.hero p,
header.hero .cta-button {
  position: relative;
  z-index: 1;
}

header.hero h1 {
  word-wrap: break-word;
  max-width: 100%;
  font-size: clamp(32px, 8vw, 130px);
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: -15px;
}

header.hero p {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 25px;
}

/*Button*/
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 140px;
  padding: 14px 20px;
  margin: 0 auto;
  font-size: 16px;
  font-weight: 350;
  border: 1px solid #ed9c24;
  border-radius: 30px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #ed9c24;
  box-shadow: 0 6px 20px rgba(192, 126, 29, 0.5);
  transform: translateY(-2px);
}

.cta-button--register{
    color: black;
}

.cta-button--register:hover{
    color: white;
}
.container {
  max-width: 1100px;
  margin: auto;
  /* padding: 60px 20px; */
}

.container p {
  text-align: justify;
}

h2 {
  color: #333;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 28px;
}

ul {
  padding-left: 20px;
}

ul li {
  margin-bottom: 10px;
  font-weight: 300;
}

.content-box {
  /* background-color: #f9f9f9; */
  padding: 30px;
  border-radius: 12px;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); */
  margin-bottom: 30px;
}

.content-box ul {
  padding-top: 20px;
  list-style-type: none;
}

.flex-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.flex-text {
  flex: 1;
  min-width: 300px;
}

.flex-text p {
    font-weight: 300;
}

/* Add spacing between all main sections consistently */
.flex-section,
.content-box {
  margin-bottom: 110px;
  margin-top: 110px;
}

/* Images */
.flex-section img {
  position: relative;
  width: 400px;
  max-width: 100%;
  height: auto;
  border-radius: 30px;
  display: block;
  z-index: 0;
}

/* 
.flex-section img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
} */

.benefit_box {
  padding: 30px;
  border-left: 3px solid #ed9c24;
}

.benefit_box:last-child {
  border-right: 3px solid #ed9c24;
  border-left: none;
  text-align: right;
}

.benefit_box ul {
  list-style-type: none;
}

#register,
#register p {
  text-align: center;
}

footer {
  text-align: center;
  padding: 30px 20px;
  background-color: #333;
  color: #fff;
  font-size: 14px;
}

.date-card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.date-card {
  flex: 1 1 250px;
  border-left: 6px solid #ed9c24;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.date-card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
  color: #333;
}

.date-card:hover {
  cursor: pointer;
}

section {
  scroll-margin-top: 100px; /* or header height */
}


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

@media (max-width: 695px) {
  header.hero h1 {
    font-size: 90px;
  }
}
@media (max-width: 484px) {
  header.hero h1 {
    font-size: 60px;
  }

  header.hero p {
    font-size: 16px;
  }

  .cta-button {
    font-size: 14px;
    padding: 12px;
  }

  .flex-section {
    flex-direction: column;
    gap: 20px;
  }

  .benefit_box {
    text-align: left;
    border-left: 3px solid #ed9c24;
    border-right: none;
  }

  .date-card {
    flex: 1 1 100%;
  }
}

@media (max-width: 375px) {
  header.hero h1 {
    font-size: 44px;
  }

  header.hero p {
    font-size: 14px;
  }

  .cta-button {
    font-size: 13px;
    padding: 10px;
  }

  .container {
    padding: 30px 15px;
  }
}

@media (max-width: 320px) {
  header.hero h1 {
    font-size: 38px;
    line-height: 1.1;
  }

  header.hero p {
    font-size: 13px;
    margin-bottom: 15px;
  }

  .cta-button {
    font-size: 12px;
    padding: 10px 14px;
  }

  .container {
    padding: 20px 15px;
  }

  .flex-section {
    gap: 10px;
    flex-direction: column;
  }

  .benefit_box {
    padding: 20px;
  }

  .date-card {
    flex: 1 1 100%;
    padding: 15px;
  }
}
