/* ======================
   BANNER BASE
====================== */
.banner {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  color: white;
  width: 100%;
}

/* Dark overlay */
.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

/* CONTENT WRAPPER */
.banner .banner-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  padding: 0 100px;
}

/* SINCE BADGE */
.banner .since {
  background: rgba(242, 244, 248, 0.15);
  font-size: 16px;
  font-weight: 500;
  opacity: 0.9;
  border-radius: 5px;
  padding: 8px 12px;
  display: inline-block;
  margin-bottom: 15px;
}

/* TITLE */
.banner h1 {
  font-size: 54px;
  font-weight: 600;
  margin: 20px 0;
  line-height: 1.2;
  color: #fff;
}

/* PARAGRAPH */
.banner p {
  max-width: 520px;
  opacity: 0.9;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  color: #fff;
}

/* BUTTON GROUP */
.banner .banner-buttons {
  margin-top: 25px;
  display: flex;
  gap: 15px;
}

/* PRIMARY BUTTON */
.banner .btn-primary {
  background: #FFB000 !important;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size : 16px;
  color: #fff !important;
  text-decoration: none;
  transition: 0.25s ease;
  display: inline-block;
}

/* PRIMARY HOVER */
.banner .btn-primary:hover,
.banner .btn-primary:focus {
  background: rgba(255, 176, 0, 0.7) !important;
  color: #fff !important;
}

/* OUTLINE BUTTON */
.banner .btn-outline {
  border: 1px solid #fff;
  background: transparent;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none;
  transition: 0.25s ease;
  display: inline-block;
}

/* OUTLINE HOVER */
.banner .btn-outline:hover,
.banner .btn-outline:focus {
  background: rgba(255, 176, 0, 0.7);
  color: #fff !important;
}

/* ======================
   CINEMATIC TEXT ANIMATION
====================== */

.banner-text p {
  font-size: 15px;
  font-weight: 400;
  opacity: 0;
  transform: translateY(40px);
  animation: cinematicParagraph 1.4s ease forwards;
  animation-delay: 0.6s;
}

/* SINCE BADGE FLOAT */
.banner .since {
  animation: floatIn 1.2s ease forwards;
  opacity: 0;
}

/* BUTTONS */
.banner-buttons {
  opacity: 0;
  animation: cinematicButtons 1.2s ease forwards;
  animation-delay: 1.2s;
}

/* ======================
   KEYFRAMES
====================== */

@keyframes cinematicTitle {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(1.15);
    filter: blur(10px);
    letter-spacing: 2px;
  }
  60% {
    opacity: 1;
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    letter-spacing: 0;
  }
}

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

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

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

/* ======================
   WORD BY WORD ANIMATION
====================== */

.banner-text h1 {
  overflow: hidden;
  font-size: 45px;
  font-weight: 700;
}

.banner-text h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: wordUp 0.6s ease forwards;
}

/* Delay each word */
.banner-text h1 .word:nth-child(1) { animation-delay: 0.1s; }
.banner-text h1 .word:nth-child(2) { animation-delay: 0.2s; }
.banner-text h1 .word:nth-child(3) { animation-delay: 0.3s; }
.banner-text h1 .word:nth-child(4) { animation-delay: 0.4s; }
.banner-text h1 .word:nth-child(5) { animation-delay: 0.5s; }
.banner-text h1 .word:nth-child(6) { animation-delay: 0.6s; }
.banner-text h1 .word:nth-child(7) { animation-delay: 0.7s; }
.banner-text h1 .word:nth-child(8) { animation-delay: 0.8s; }
.banner-text h1 .word:nth-child(9) { animation-delay: 0.9s; }
.banner-text h1 .word:nth-child(10){ animation-delay: 1s; }

/* KEYFRAME */
@keyframes wordUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======================
   MOBILE
====================== */
@media (max-width: 1019px) {

  .banner {
    height: 74vh;
    padding: 0;
    align-items: center;
  }

  .banner .banner-content {
    padding: 0 20px;          /* smaller side padding */
    text-align: left;        /* like screenshot */
  }

  .banner .since {
    font-size: 14px;
    font-weight: 600;
    padding: 6px 10px;
    margin-bottom: 12px;
  }

  .banner-text h1 {
    overflow: hidden;
    font-size: 30px;
    font-weight: 700;
  }

  .banner h1 {
    margin-top: 20px;
    margin-bottom: 20px;
    line-height: 1.25;
  }

  .banner p {
    font-size: 15px;
    font-weight: 400;
    max-width: 100%;
    margin-bottom: 20px;
  }

  .banner .banner-buttons {
    flex-direction: row;     /* side by side */
    gap: 12px;
  }

  .banner .btn-primary,
  .banner .btn-outline {
    font-size: 13px;
    padding: 12px 18px;
  }

  .banner-text p {
    font-size: 13px;
  }
}

