﻿/* ========================================
   2026 Survey Landing Page Styles
   ======================================== */

/* Hero Section */
.survey-hero-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Hero Cards Layout */
.survey-hero-cards {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* Base Survey Card Styles */
.survey-card {
  background: rgba(30, 41, 59, 0.95);
  border-radius: 16px;
  padding: 2rem;
  color: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.survey-card__title {
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.4;
  text-align: center;
}

/* Main Prize Card */
.survey-card--main .survey-card__prizes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3.6rem;
}

.survey-card--main .prize-item {
  text-align: center;
}

.survey-card--main .prize-item img {
  width: 100%;
  max-width: 120px;
  height: auto;
  margin: 0 auto 0.75rem;
  display: block;
}

.survey-card--main .prize-item p {
  font-size: 1.0rem;
  line-height: 1.3;
  margin: 0;
}

/* Time Card */
.survey-card--time {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.time-display {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
}

.time-icon {
  width: 100%;
  max-width: 180px;
  height: auto;
}

/* Countdown Card */
.survey-card--countdown {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.countdown-display {
  display: flex;
  justify-content: center;
  gap: 1.25rem; 
  margin: 1.5rem 0;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.countdown-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.625rem;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(255,255,255,.75);
  border-radius: 1px;
}

.countdown-value {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

.countdown-label {
  font-size: 0.9rem;
  opacity: 0.9;
  text-transform: capitalize;
}

.countdown-value,
.countdown-label {
  display: block;
  text-align: center;
}
/* CTA Button with Gradient */
.survey-cta-button {
  background: linear-gradient(95.45deg, #048F87 8%, #3875A7 44.51%, #3F458F 84.2%);
  border: 1px solid rgba(221, 228, 255, 0.35);
  box-shadow: 0 2.5px 2.5px rgba(0,0,0,0.25), inset 0 2.5px 5.7px rgba(0,255,194,0.30);
  border-radius: 8px;

  color: #fff;
  text-shadow: 0 -0.63px 0 rgba(0,0,0,0.17);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  padding: 0.9rem 1.5rem;
  font-size: 1.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;

  width: auto;
  min-width: 220px;   
  min-height: 80px;
}

.survey-cta-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 6px 20px rgba(8, 180, 180, 0.35);
}

.survey-cta-button i { margin-left: 0.25rem; color: inherit; }

/* Hero Content */
.survey-hero-content {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.survey-hero__heading {
  font-size: 2.9em;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: white;
}

.survey-hero__description {
  font-weight: 300;
  font-size: 1.45em;
  line-height: 1.25em;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}

/* Prizes Section */
.survey-prizes-section {
  margin-top: 4rem;
  padding: 0 1rem;
}

.survey-section-title {
  font-size: 2rem;
  margin-bottom: 2.5rem;
}

/* Carousel Prize Items - Modern Styling */
.prizes-carousel .carousel-cell {
  margin-right: 20px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(30, 41, 59, 0.9);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prizes-carousel .carousel-cell:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.prizes-carousel .carousel-cell .image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.prizes-carousel .carousel-cell .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prizes-carousel .carousel-cell .caption-text {
  padding: 1.5rem;
  text-align: center;
}

.prizes-carousel .carousel-cell .caption-text h5 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: white;
  font-weight: 600;
  line-height: 1.3;
}

.prizes-carousel .carousel-cell .caption-text p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.jumbo .white-txt h1 {
    margin-top: 0.2em !important;
}

.hero-slide .carousel-cell > * {
  width: 100% !important;
}

.hr-desktop-only {
  display: none;
  border: none;
  background: transparent;
  height: 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet and below (max-width: 1024px) */
@media screen and (max-width: 1024px) {
  .survey-hero-cards {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .survey-card--main .survey-card__prizes {
    margin-top: 0rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .survey-hero__heading {
    font-size: 2rem;
  }

  .survey-hero__description {
    font-size: 1rem;
  }

  /* Carousel adjustments for tablet */
  .prizes-carousel .carousel-cell .image {
    height: 200px;
  }

  .prizes-carousel .carousel-cell .caption-text,
  .sponsors-carousel .carousel-cell .caption-text {
    padding: 1.25rem;
  }
}

/* Mobile landscape and below (max-width: 768px) */
@media screen and (max-width: 768px) {
  .survey-hero-section {
    padding: 1.5rem 1rem;
  }

  .survey-card {
    padding: 1.5rem;
  }

  .survey-card__title {
    font-size: 1rem;
  }

  .survey-card--main .prize-item img {
    max-width: 100px;
  }

  .survey-card--main .prize-item p {
    font-size: 0.8rem;
  }

  .countdown-value {
    font-size: 2rem;
  }

  .countdown-label {
    font-size: 0.8rem;
  }

  .countdown-display { gap: 1rem; }

  .survey-cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 1.15rem;
  }

  .survey-hero__heading {
    font-size: 1.75rem;
  }

  .survey-hero__description {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .prizes-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .prize-card__image {
    height: 200px;
  }

  .sponsors-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .survey-section-title {
    font-size: 1.75rem;
  }
}

/* Mobile portrait (max-width: 540px) */
@media screen and (max-width: 540px) {
  .survey-hero-section {
    padding: 1rem 0.75rem;
  }

  .survey-hero-cards {
    gap: 1rem;
  }

  .survey-card {
    padding: 1.25rem;
  }

  .survey-card--main .survey-card__prizes {
    gap: 1rem;
  }

  .survey-card--main .prize-item img {
    max-width: 80px;
    margin-bottom: 0.5rem;
  }

  .survey-card--main .prize-item p {
    font-size: 0.75rem;
  }

  .time-icon {
    max-width: 150px;
  }

  .countdown-value {
    font-size: 1.75rem;
  }

  .countdown-label {
    font-size: 0.75rem;
  }

  .survey-cta-button {
    padding: 0.75rem 1.25rem;
    font-size: 1.0rem;
  }

  .survey-hero-content {
    padding: 1.5rem 0.5rem;
  }

  .survey-hero__heading {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .survey-hero__description {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .survey-prizes-section {
    margin-top: 3rem;
  }

  .prize-card__image {
    height: 180px;
  }

  .prize-card__content {
    padding: 1.25rem;
  }

  .prize-card__content h5 {
    font-size: 1.1rem;
  }

  .prize-card__content p {
    font-size: 0.9rem;
  }

  .survey-section-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
}

/* Extra small mobile (max-width: 420px) */
@media screen and (max-width: 420px) {
  .survey-cta-button { width: 100%; min-width: 0; }
  
  .survey-card--main .survey-card__prizes {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .survey-card--main .prize-item img {
    max-width: 70px;
  }

  .survey-card--main .prize-item p {
    font-size: 0.7rem;
    line-height: 1.2;
  }

  .countdown-value {
    font-size: 1.5rem;
  }

  .countdown-label {
    font-size: 0.7rem;
  }

  .survey-hero__heading {
    font-size: 1.35rem;
  }

  .survey-hero__description {
    font-size: 0.85rem;
  }

  .countdown-display { gap: 0.25rem; }

  .countdown-item:not(:last-child)::after { right: -0.125rem; }

}

@media (max-width: 768px) {
  .countdown-display { gap: 1rem; }
  .countdown-item:not(:last-child)::after { right: -0.5rem; }
}
@media (max-width: 420px) {
  .countdown-display { gap: 0.75rem; }
  .countdown-item:not(:last-child)::after { right: -0.375rem; }
}

/* Show only on desktop (≥ 992px) */
@media (min-width: 992px) {
  .hr-desktop-only {
    display: block;
    margin-bottom: 3em;
  }
}
