/*event css start*/
.event-sec {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.event-image {
  position: relative;
}
.event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 5em 0;
  display: flex;
  color: #fff;
}
.event-overlay .container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Top Section */
.event-tag h2 {
  background: #a24c2d;
  color: #fff;
  padding: 20px 20px;
  font-size: 30px;
  margin: 0;
  font-family: var(--primary-font-bold);
  letter-spacing: 4px;
  position: absolute;
  left: 0;
  border-bottom-right-radius: 50px;
  border-top-right-radius: 50px;
  width: min(100%, 400px);
  text-align: end;
  font-weight: 500;
}

.event-info p {
  font-size: 35px;
  text-align: right;
  font-family: var(--primary-font);
  font-weight: 600;
  line-height: 1.3;
}
.event-info span {
  font-style: italic;
  font-weight: 400;
  font-size: 32px;
  font-family: var(--secondary-font);
}
.event-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* ==========================
   Countdown Section
========================== */
.event-counter {
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid #fff;
    border-radius: 20px;
    padding: 0 30px 30px;
    backdrop-filter: blur(1px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    width: min(100%, 400px);
}

.counter-label {
    background: var(--primary-color);
    color: #000;
    font-weight: 600;
    display: inline-block;
    padding: 8px 25px;
    border-radius: 25px;
    position: relative;
    top: -20px;
}

.counter-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.counter-timer div {
    text-align: center;
    padding: 0 10px;
    position: relative;
}

/* vertical divider lines between counters */
.counter-timer div:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.counter-timer span {
    font-size: 38px;
    display: block;
    font-weight: 700;
}

.counter-timer p {
    font-size: 13px;
    margin: 0;
    font-weight: 400;
}

/* ==========================
   Bottom Content
========================== */
.event-content {
  text-align: left;
  margin-bottom: 40px;
}
.event-content p {
  font-size: 30px;
  font-family: var(--primary-font-bold);
  margin-bottom: 0;
}
.event-content h2 {
  font-size: 60px;
  font-weight: 600;
}


/* ==========================
   Responsive Styling
========================== */
@media only screen and (max-width:991px) {
  .event-tag h2 {
    font-size: 20px;
    width: min(100%, 300px);
  }
  .event-info p {
    font-size: 30px;
  }
  .counter-timer {
    gap: 20px;
  }
  .counter-timer span {
    font-size: 36px;
  }
  .event-content h2 {
    font-size: 40px;
    font-weight: 600;
}
.event-overlay {
    padding: 2em 0;
}
.counter-label {
    top: -35px;
}
}

@media only screen and (max-width:767px) {
  .event-sec img {
    height: 450px;
  }
  .event-tag h2 {
    font-size: 11px;
    width: min(100%, 170px);
    letter-spacing: 1px;
  }
  .event-info p {
    font-size: 15px;
    line-height: 1.3;
  }
  .event-info span {
    font-size: 16px;
  }
  .event-content p {
    font-size: 20px;
  }
  .event-content h2 {
    font-size: 30px;
  }
  .btn-wrp .primary-btn {
    font-size: 18px;
  }
    .event-counter {
        padding: 0px 0 20px;
    }
  .counter-timer span {
    font-size: 20px;
  }
  .counter-timer div:not(:last-child)::after {
    height: 30px;
    right: -5px;
  }
      .counter-label {
        top: -20px;
    }

  .event-content {
    margin-bottom: 0;
}
.event-content .btn-wrp.mt-5 {
    margin-top: 20px !important;
}
.counter-timer p {
    font-size: 10px;
}
  .event-counter {
    width: min(100%, 300px);
}
    .counter-timer {
        gap: 5px;
    }
}
