﻿/* ============================================================
   CEEIA 88<sup>th</sup> Home Page Styles
   ============================================================ */

/* ----- Hero Section ----- */
.hero {
  position: relative;
  background: var(--c-navy);
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .hero {
    padding: 6rem 0;
  }
}
@media (min-width: 1024px) {
  .hero {
    padding: 8rem 0;
  }
}
.hero__bg-gradient {
  position: absolute;
  inset: 0;
  /*background: linear-gradient(135deg, var(--c-navy), var(--c-navy-light), #1a3a5c);
	opacity: 0.95;*/
  background: #0d1f39;
 
}
.hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  pointer-events: none;
}
.hero__content {
  position: relative;
  text-align: center;
  max-width: 66rem;
  margin: 0 auto;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--c-gold-light);
  border: 1px solid rgba(196, 150, 60, 0.3);
  border-radius: 9999px;
  padding: 0.3125rem 0.75rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) {
  .hero__badge {
    gap: 0.5rem;
    padding: 0.375rem 1rem;
  }
}
.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-gold);
  animation: pulse 2s var(--ease-in-out) infinite;
}
.hero__badge-text {
  color: var(--c-gold);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}
@media (min-width: 640px) {
  .hero__badge-text {
    font-size: 0.875rem;
  }
}
.hero__heading {
  font-size: 1.625rem;
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
.hero__subtitle {
  font-size: 0.9375rem;
  color: var(--c-blue-text);
  max-width: 40rem;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
@media (min-width: 640px) {
  .hero__heading {
    font-size: 2rem;
  }
}
.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
@media (max-width: 639px) {
  .hero__buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__buttons .btn-primary {
    width: 100%;
  }
}
.hero__wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  line-height: 0;
}
.hero__wave svg {
  width: 100%;
  height: auto;
  display: block;
  min-height: 32px; /* 鎵嬫満绔繚璇?wave 瓒冲楂?*/
}

@media (min-width: 768px) {
  .hero__heading {
    font-size: 2.75rem;
  }
  .hero__subtitle {
    font-size: 1.125rem;
  }
}
@media (min-width: 1024px) {
  .hero__heading {
    font-size: 3.5rem;
  }
}

/* ----- Stats Bar ----- */
.stats-section {
  position: relative;
  z-index: 10;
  margin-top: -0.5rem;
  padding-bottom: 3rem;
  overflow-x: hidden; /* 闃叉 stat 鏁板€兼孩鍑轰骇鐢熸í鍚戞粴鍔ㄦ潯 */
}
.stats-bar {
  background: linear-gradient(135deg, var(--c-blue), var(--c-navy));
  border-radius: var(--radius-xl);
  padding: 2.5rem 1rem;
  box-shadow: var(--shadow-xl);
  overflow-x: hidden;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.stat-card__icon {
  width: 3.25rem;
  height: 3.25rem;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  background: var(--c-white-a10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  transition: background 0.3s;
  color: var(--c-gold);
}
.stat-card:hover .stat-card__icon {
  background: rgba(196, 150, 60, 0.2);
}
.stat-card__value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.125rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat-card__label {
  font-size: 0.75rem;
  color: var(--c-blue-text);
  white-space: nowrap;
}
@media (min-width: 640px) {
  .stat-card__value {
    font-size: 1.5rem;
  }
}
@media (min-width: 768px) {
  .stat-card__value {
    font-size: 1.75rem;
  }
}
@media (min-width: 1024px) {
  .stat-card__value {
    font-size: 2.5rem;
  }
}

/* ----- Rewards Section ----- */
.rewards-section {
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .rewards-section {
    padding: 5rem 0;
  }
}

.rewards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .rewards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .rewards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.reward-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}
.reward-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.reward-card__image {
  height: 12rem;
  position: relative;
  overflow: hidden;
  display: block;
  cursor: pointer;
}
.reward-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.reward-card:hover .reward-card__img {
  transform: scale(1.05);
}
.reward-card__body {
  padding: 1.25rem 1.25rem 2rem 1.25rem;
}
.reward-card__title {
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 2rem;
  min-height: 2.75rem;
  line-height: 1.375;
  font-size: 0.9375rem;
}
.reward-card .btn-primary {
  width: 100%;
  padding: 0.75rem;
  font-size: 0.8125rem;
}

/* ----- CTA Banner ----- */
.cta-banner {
  position: relative;
  overflow: hidden;
}
.cta-banner__bg {
  position: absolute;
  inset: 0;
  background: var(--c-navy);
}
.cta-banner__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--c-navy), var(--c-navy-light), var(--c-blue));
  opacity: 0.9;
}
.cta-banner__image {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}
.cta-banner__content {
  position: relative;
  padding:7rem 2rem;
}
.cta-banner__heading {
  font-size: 1.75rem;
  color: #fff;
  margin-bottom: 0.75rem;
  max-width: 100%;
}
.cta-banner__text {
  font-size: 1.0625rem;
  color: var(--c-blue-text);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  max-width: 100%;
}
@media (min-width: 768px) {
  .cta-banner__content {
    padding: 7rem 2rem;
  }
  .cta-banner__heading {
    font-size: 2.125rem;
  }
	.cta-banner__text{
		max-width: 50%;
	}
}

/* ----- News Section ----- */
.news-section {
  padding: 4rem 0;
}
@media (min-width: 768px) {
  .news-section {
    padding: 5rem 0;
  }
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: 1fr 2fr;
  }
}

.news-sidebar {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.news-sidebar__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.news-sidebar__icon-box {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-lg);
  background: var(--c-red-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-sidebar__icon-box .icon, .news-sidebar__icon-box .iconfont {
  color: var(--c-red);
}
.news-sidebar__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--c-navy);
}
.news-sidebar__sub {
  font-size: 0.8125rem;
  color: var(--c-text-light);
}

.news-list {
  flex: 1;
}
.news-list__item {
  display: block;
  padding: 0.875rem;
  border-radius: var(--radius-lg);
  transition:
    background 0.2s,
    border 0.2s;
  border: 1px solid transparent;
  margin-bottom: 0.25rem;
}
.news-list__item:hover {
  background: var(--c-bg-gray);
  border-color: var(--c-border);
}
.news-list__date {
  font-size: 0.75rem;
  color: var(--c-red);
  font-weight: 500;
  margin-bottom: 0.125rem;
}
.news-list__title {
  font-size: 0.875rem;
  color: var(--c-navy);
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.2s;
}
.news-list__item:hover .news-list__title {
  color: var(--c-blue);
}

.news-featured {
  position: relative;
  min-height: 360px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.news-featured__bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/textbg.jpg");
  background-size: cover;
  background-position: center;
  transition: transform 0.7s var(--ease-out);
}
.news-featured:hover .news-featured__bg {
  transform: scale(1.05);
}
.news-featured__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 40, 56, 0.9), rgba(27, 40, 56, 0.25), transparent);
}
.news-featured__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
}
.news-featured__badge {
  display: inline-block;
  background: var(--c-red);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}
.news-featured__heading {
  font-size: 1.375rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
  .news-featured__heading {
    font-size: 1.75rem;
  }
}
.news-featured__text {
  color: var(--c-white-a70);
  margin-bottom: 1.25rem;
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ----- Previous Data Section ----- */
.prev-data-section {
  padding: 4rem 0;
  background: #fff;
}
@media (min-width: 768px) {
  .prev-data-section {
    padding: 5rem 0;
  }
}

.prev-data-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .prev-data-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .prev-data-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.prev-data-card {
  background:#f0f4fa;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid #edf3fb;
  transition: all 0.3s var(--ease-out);
}
.prev-data-card:hover {
  border-color: rgba(43, 124, 211, 0.3);
  box-shadow: var(--shadow-md);
}
.prev-data-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.prev-data-card__label {
  font-size: 0.8125rem;
  color: var(--c-text-mid);
}
.prev-data-card__icon-box {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-md);
  background: var(--c-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: var(--c-blue);
}
.prev-data-card:hover .prev-data-card__icon-box {
  background: var(--c-blue);
  color: #fff;
}
.prev-data-card__value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-top: 0.375rem;
}

/* ----- Partners Section ----- */
.partners-section {
  padding: 4rem 0 5rem;
  background: var(--c-bg-gray);
}
@media (min-width: 768px) {
  .partners-section {
    padding: 5rem 0 6rem;
  }
}

/* ── Partners Carousel ── */
.partners-carousel {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}

/* ── Viewport (clips the sliding track) ── */
.partners-carousel__viewport {
  overflow: hidden;
  width: 100%;
}

/* ── Track (slides horizontally) ── */
.partners-carousel__track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Each slide is a grid of 15 logos ── */
.partners-carousel__slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0 0.25rem;
}
@media (min-width: 640px) {
  .partners-carousel__slide {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
  }
}
@media (min-width: 1024px) {
  .partners-carousel__slide {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
  }
}

/* ── Individual partner card ── */
.partner-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 6rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}
@media (min-width: 640px) {
  .partner-card {
    height: 6rem;
    padding: 0.875rem;
  }
}
@media (min-width: 1024px) {
  .partner-card {
    height: 6rem;
    padding: 1rem;
  }
}
.partner-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.partner-card__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ── Arrows ── */
.partners-carousel__arrow {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  background: #fff;
  color: var(--c-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}
.partners-carousel__arrow:hover {
  background: var(--c-navy);
  color: #fff;
  border-color: var(--c-navy);
  box-shadow: var(--shadow-md);
}
.partners-carousel__arrow--left {
  margin-right: 0.75rem;
}
.partners-carousel__arrow--right {
  margin-left: 0.75rem;
}
@media (min-width: 640px) {
  .partners-carousel__arrow {
    width: 3rem;
    height: 3rem;
  }
  .partners-carousel__arrow--left {
    margin-right: 1rem;
  }
  .partners-carousel__arrow--right {
    margin-left: 1rem;
  }
}

/* ── Dot indicators ── */
.partners-carousel__dots {
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}
.partners-carousel__dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  border: none;
  background: var(--c-border);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s var(--ease-out);
}
.partners-carousel__dot.is-active {
  background: var(--c-navy);
  width: 1.5rem;
  border-radius: 999px;
}
