/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* MAIN CONTAINER */
.main-container {
  min-height: 100vh;
  width: 100%;
  background-image: url('./images/bgimage.avif');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  padding: 20px;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  z-index: 1;
}

.main-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px;
  width: 100%;
  max-width: 1300px;
  color: #002147;
  gap: 30px;
  flex-wrap: wrap;
}

/* CONTENT */
.content {
  flex: 1 1 400px;
  padding-right: 40px;
  animation: slideLeft 1s ease forwards;
}

.content figure {
  margin-bottom: 20px;
}

.content figure img {
  max-width: 180px;
  height: auto;
}

.main-heading h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: #002147;
    text-transform: uppercase;

}

.main-heading h1 span {
  color: #db342c;
  text-transform: uppercase;
}

.main-heading p {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #db342c;
}

/* BUTTON */
.content button {
  background-color: #f6461a;
  color: white;
  padding: 1rem 1.2rem;
  border: none;
  font-size: 2rem;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 20px;
  transition: transform 0.4s ease-in-out, background 0.3s;
  animation: pulse 2s infinite;
}

.content button:hover {
  background-color:#db342c ;
  transform: scale(1.05);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* TEXT */
.text p {
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.6;
  color: #002147;
}

/* SVG */
.svg {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slideRight 1s ease forwards;
}

.svg iframe {
  width: 100%;
  max-width: 500px;
  height: 500px;
}

/* TIMER */
.timer {
  margin-top: 25px;
  color: #002147;
  text-align: left;
}

.timer h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #002147;
}

.countdown {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: start;
}

.countdown div {
  background-color: rgba(221, 90, 57, 0.1);
  padding: 12px 18px;
  border-radius: 10px;
  text-align: center;
  min-width: 70px;
  box-shadow: 0 0 10px rgba(233, 44, 34, 0.3);
}

.countdown span {
  display: block;
  font-size: 1.8rem;
  font-weight: bold;
  color: #db342c;
}

.countdown p {
  font-size: 0.85rem;
  color: #002147;
  margin: 5px 0 0;
}

/* ANIMATIONS */
@keyframes slideLeft {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .main-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
  }

  .content {
    padding: 0;
  }

  .main-heading h1 {
    font-size: 2.4rem;
  }

  .main-heading p {
    font-size: 1.1rem;
  }

  .content button {
    font-size: 1rem;
    padding: 12px 20px;
    width: 100%;
  }

  .svg iframe {
    max-width: 100%;
    height: 600px;
    width: 500px;
  }

  .timer h3 {
    text-align: center;
  }

  .countdown {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .main-heading h1 {
    font-size: 2rem;
  }

  .svg iframe {
    height: 400px;
    width: 400px;
  }

  .text p {
    font-size: 0.95rem;
  }

  .countdown div {
    padding: 10px 14px;
    min-width: 60px;
  }

  .countdown span {
    font-size: 1.4rem;
  }

  .countdown p {
    font-size: 0.75rem;
  }
}
