﻿/* =====================================================
   OFFER BANNER  –  offer-banner.css
   Admission offer with limited-time pricing (3-column layout)
   Brand colors: #FFA600 (orange) · white accents
   ===================================================== */

.offer-banner {
  position: relative;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  min-height: 100px;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
}

/* Animated shimmer overlay – end-to-end sweep */
.offer-banner::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 150%; height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 166, 0, .15) 25%, 
    rgba(255, 166, 0, .25) 50%, 
    rgba(255, 166, 0, .15) 75%, 
    transparent 100%);
  animation: offerShimmer 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes offerShimmer {
  0%   { left: -100%; }
  100% { left: 110%; }
}

@keyframes pbBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(-4px); opacity: .9; }
}

@keyframes offerPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.08); opacity: .85; }
}

/* 3-Column Layout */
.offer-banner__inner {
  position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 2rem;
    padding: 1.4rem 2rem;
    width: 100%;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
    border: 2px dashed #fff;
    background-color:rgba(0,0,0,0.5);
}

/* Column 1: Left - Text Content */
.offer-banner__col-left {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.offer-banner__badge-launch {
  display: inline-flex;
  align-items: center;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ffffff;
  width: fit-content;
  animation: pbBounce .8s ease-in-out infinite;
}

.offer-banner__headline {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.offer-banner__label {
  display: inline-flex;
  align-items: center;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #FFA600;
  width: fit-content;
}

.offer-banner__title {
  font-family: var(--font-heading, 'Poppins', sans-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 900;
  line-height: 1.1;
  color: #ffffff;
  margin: 0;
}

.offer-banner__title em {
  font-style: normal;
  color: #ffffff;
  display: inline;
  font-weight: 900;
}

/* Column 2: Middle - Pricing */
.offer-banner__col-middle {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
  justify-content: center;
}

.offer-banner__pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  background: rgba(255, 166, 0, .12);
  padding: .8rem 1.2rem;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 166, 0, .3);
  text-align: center;
}

.offer-banner__price-line {
  display: flex;
  align-items: center;
  gap: .6rem;
  justify-content: center;
}

.offer-banner__original {
  font-size: .75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .6);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.offer-banner__now {
  font-size: .9rem;
  font-weight: 800;
  color: #ffffff;
}

.offer-banner__now strong {
  font-size: 1.2rem;
  color: #FFA600;
  font-weight: 900;
}

.offer-banner__validity {
  font-size: .7rem;
  color: rgba(255, 255, 255, .7);
  font-weight: 600;
}

.offer-banner__highlight {
  display: flex;
  align-items: center;
}

.offer-banner__badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(13, 22, 53, .15);
  color: #ffffff;
  padding: .6rem 1.2rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 900;
  border: 2px solid #ffffff;
  animation: offerPulse 2s ease-in-out infinite;
}

/* Column 3: Right - CTA Button */
.offer-banner__col-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}

.offer-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.5rem;
  background: #FFA600;
  color: #ffffff;
  font-size: .9rem;
  font-weight: 900;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all .3s cubic-bezier(.34, 1.56, .64, 1);
  box-shadow: 0 8px 20px rgba(255, 166, 0, .35);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.offer-banner__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 166, 0, .5);
  background: #ff9500;
}

.offer-banner__btn:active {
  transform: translateY(0);
}

/* Sub-text under CTA */
.offer-banner__sub-text {
  font-size: .7rem;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  letter-spacing: .05em;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  .offer-banner__inner {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    padding: 1.3rem 1.5rem;
  }
  
  .offer-banner__title {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
  }
  
  .offer-banner__btn {
    padding: 0.85rem 2.2rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 1024px) {
  .offer-banner__inner {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.3rem;
    padding: 1.2rem 1.2rem;
  }
  
  .offer-banner__title {
    font-size: clamp(1.2rem, 2.8vw, 1.6rem);
  }
  
  .offer-banner__pricing {
    padding: 0.7rem 1rem;
  }
}

@media (max-width: 768px) {
  .offer-banner__inner {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.2rem 1.2rem;
    margin: 1rem 1rem;
  }
  
  .offer-banner__col-left { text-align: center; }
  .offer-banner__col-middle { width: 100%; text-align: center; align-items: center; }
  .offer-banner__col-right { width: 100%; text-align: center; align-items: center; }
  
  .offer-banner__badge-launch { justify-content: center; margin: 0 auto; }
  .offer-banner__headline { align-items: center; }
  .offer-banner__label { justify-content: center; }
  
  .offer-banner__title {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    text-align: center;
  }
  
  .offer-banner__label {
    font-size: 0.7rem;
  }
  
  .offer-banner__pricing {
    padding: 0.65rem 1rem;
    margin: 0 auto;
  }
  
  .offer-banner__btn {
    width: 100%;
    padding: 0.8rem 1.5rem;
    font-size: 0.8rem;
  }
  
  .offer-banner__sub-text {
    font-size: 0.65rem;
    text-align: center;
  }
  
  .offer-banner {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .offer-banner__inner {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 1rem 0.8rem;
    margin: 0.8rem 0.8rem;
  }
  
  .offer-banner__col-left { text-align: center; }
  .offer-banner__col-middle { width: 100%; text-align: center; }
  .offer-banner__col-right { width: 100%; text-align: center; }
  
  .offer-banner__title {
    font-size: 1.25rem;
    text-align: center;
  }
  
  .offer-banner__badge-launch {
    font-size: 0.7rem;
    justify-content: center;
    margin: 0 auto;
  }
  
  .offer-banner__price-line {
    gap: 0.4rem;
    justify-content: center;
  }
  
  .offer-banner__original {
    font-size: 0.7rem;
  }
  
  .offer-banner__now strong {
    font-size: 1.1rem;
  }
  
  .offer-banner__btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .offer-banner {
    min-height: 90px;
  }
  
  .offer-banner__inner {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    padding: 0.9rem 0.6rem;
    margin: 0.6rem 0;
  }
  
  .offer-banner__col-left { text-align: center; }
  .offer-banner__col-middle { width: 100%; text-align: center; }
  .offer-banner__col-right { width: 100%; text-align: center; }
  
  .offer-banner__title {
    font-size: 1.1rem;
    line-height: 1.2;
    text-align: center;
  }
  
  .offer-banner__badge-launch {
    font-size: 0.65rem;
    justify-content: center;
    margin: 0 auto;
  }
  
  .offer-banner__label {
    font-size: 0.65rem;
    justify-content: center;
  }
  
  .offer-banner__pricing {
    padding: 0.6rem 0.9rem;
    gap: 0.2rem;
    margin: 0 auto;
  }
  
  .offer-banner__price-line {
    justify-content: center;
  }
  
  .offer-banner__original {
    font-size: 0.65rem;
  }
  
  .offer-banner__now {
    font-size: 0.8rem;
  }
  
  .offer-banner__now strong {
    font-size: 1rem;
  }
  
  .offer-banner__validity {
    font-size: 0.65rem;
  }
  
  .offer-banner__btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.7rem;
  }
  
  .offer-banner__sub-text {
    font-size: 0.6rem;
    text-align: center;
  }
}
