.footer{
  font-size: 14px;
}
.min-vh-100{
  min-height: 100vh !important;
}

@media (max-width: 680px) {
  .section{
    height: auto !important;
  }
}

.section01{
  background: #666 url('../images/bg-section01.jpg') no-repeat center center / cover;
}

.bg-wavy{
  background: url('../images/bg-wavy.svg') repeat center center;
}

.bg-pattern-grid {
  background-color: #f8fafc;
  background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
  background-size: 30px 30px;
}

.max-width-700{
  max-width: 700px;
}

.tag-light{
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: bold;
  border: 1px solid #fff;
  border-radius: 100px;
  padding: 5px 10px;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  background-color: rgba(255, 255, 255, 0.1);
}

.text-green-light{
  background-image: linear-gradient(to right, rgb(52, 211, 153), rgb(94, 234, 212));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.text-title-green-light{
  background-image: linear-gradient(to right, rgb(52, 211, 153), rgb(0, 77, 64));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.text-lg {
  font-size: 1em;
}

@media (min-width: 992px) {
  .text-lg {
    font-size: 1.22em;
  }
}

/* 图标盒子 */
.icon-box {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 8px 16px rgba(16, 185, 129, 0.2);
}

@media (min-width: 768px) {
  .icon-box {
    width: 3.5rem;
    height: 3.5rem;
  }
}

/* 翠绿色背景 */
.bg-emerald {
  background-color: rgb(16, 185, 129);
}

.bg-emerald-light {
  background-color: rgba(16, 185, 129, 0.1);
}

.text-emerald {
  color: rgb(16, 185, 129);
}

.bg-info-light {
  background-color: rgba(14, 165, 233, 0.1);
}

.text-info {
  color: rgb(14, 165, 233);
}

/* 活动卡片 */
.event-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.event-card {
  position: relative;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  overflow: hidden;
}

.event-card:hover {
  border-color: rgb(16, 185, 129);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.event-card-disabled {
  opacity: 0.6;
  cursor: default;
}

.event-card-disabled:hover {
  border-color: #e2e8f0;
  box-shadow: none;
}

.event-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 0.25rem;
  height: 100%;
}

.event-date {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  background-color: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #475569;
  text-align: center;
}

.event-date small {
  font-size: 0.625rem;
  opacity: 0.6;
}

.event-arrow {
  font-size: 1rem;
  color: #cbd5e1;
  transition: all 0.3s;
  align-self: center;
}

.event-card:hover .event-arrow {
  color: rgb(16, 185, 129);
  transform: translateX(0.25rem);
}

.img-with-caption .text-caption{
  padding: 1rem 1.5rem;
}
.img-with-caption.caption-bl .text-caption{
  bottom: 0;
  left: 0;
}

/* Modal Styles */
.modal-fullscreen-lg-end .modal-dialog {
  margin: 0;
  height: 100vh;
}

@media (min-width: 992px) {
  .modal-fullscreen-lg-end .modal-dialog {
    max-width: 60%;
    margin-left: auto;
  }
}

.modal-lg-end {
  position: fixed;
  right: 0;
  top: 0;
  height: 100%;
}

.bg-emerald-dark {
  background-color: #064e3b;
}

.bg-emerald-light {
  background-color: rgba(16, 185, 129, 0.1);
}

.text-emerald-light {
  color: rgb(52, 211, 153);
}

.text-emerald-dark {
  color: #064e3b;
}

.border-emerald {
  border-color: rgba(16, 185, 129, 0.2) !important;
}

/* Outline List */
.outline-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.outline-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background-color: #f8fafc;
  border-radius: 0.75rem;
  border-left: 3px solid rgb(16, 185, 129);
}

.outline-number {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, rgb(16, 185, 129), rgb(13, 148, 136));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.875rem;
}

/* Button Emerald */
.btn-emerald {
  background: linear-gradient(135deg, rgb(16, 185, 129), rgb(13, 148, 136));
  color: white;
  border: none;
  transition: all 0.3s;
}

.btn-emerald:hover {
  background: linear-gradient(135deg, rgb(13, 148, 136), rgb(16, 185, 129));
  color: white;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
  transform: translateY(-2px);
}

/* Form Control Focus */
.form-control:focus {
  border-color: rgb(16, 185, 129);
  box-shadow: 0 0 0 0.25rem rgba(16, 185, 129, 0.1);
}

/* Sticky Top XL */
@media (min-width: 1200px) {
  .sticky-xl-top {
    position: sticky;
  }
}

/* Modal Backdrop Blur */
.modal.show {
  backdrop-filter: blur(8px);
}

.modal-backdrop.show {
  opacity: 0.4;
}

/* Partner Cards */
.partner-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(16, 185, 129, 0.02));
  border: 1px solid #f1f5f9;
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.5s;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.partner-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.partner-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #059669;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

@media (min-width: 768px) {
  .partner-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.75rem;
  }
}

.partner-abbr {
  font-size: 0.6rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94A3B8;
}

.partner-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.sub-title {
  font-size: 0.8rem;
  font-weight: bold;
  color: #94A3B8;
  line-height: 1.4;
}

.sub-title::before,
.sub-title::after {
  background-color: #E2E8F0;
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  margin-bottom: 0.25rem;
}

.sub-title::after {
  margin-left: 0.8rem;
}

.sub-title::before {
  margin-right: 0.8rem;
}

.sub-title::after {
  background-color: #E2E8F0;
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  margin-left: 1rem;
  margin-bottom: 0.25rem;
}


/* Partners Marquee */
.partners-marquee {
  overflow: hidden;
  position: relative;
  margin-top: 3rem;
}

.marquee-content {
  display: flex;
  gap: 2.5rem;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .marquee-content {
    gap: 5rem;
  }
}

.marquee-content span {
  font-size: 0.875rem;
  font-weight: bold;
  color: #94a3b8;
  transition: color 0.3s;
}

@media (min-width: 768px) {
  .marquee-content span {
    font-size: 1.125rem;
  }
}

.marquee-content span:hover {
  color: rgb(16, 185, 129);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* About Image */
.about-image-wrapper {
  aspect-ratio: 16 / 9;
}

@media (min-width: 768px) {
  .about-image-wrapper {
    aspect-ratio: 4 / 3;
  }
}

.about-image {
  transition: transform 0.7s;
}

.about-image-wrapper:hover .about-image {
  transform: scale(1.05);
}

.about-image-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.about-image-text {
  bottom: 1rem;
  left: 1rem;
}

@media (min-width: 768px) {
  .about-image-text {
    bottom: 2rem;
    left: 2rem;
  }
}

/* Direction Cards */
.direction-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  transition: all 0.3s;
}

@media (min-width: 768px) {
  .direction-card {
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
  }
}

.direction-card:hover {
  border-color: rgba(16, 185, 129, 0.3);
  background-color: rgba(16, 185, 129, 0.02);
}

.direction-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.1);
  color: rgb(16, 185, 129);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .direction-icon {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
  }
}

.direction-card span {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1e293b;
}

@media (min-width: 768px) {
  .direction-card span {
    font-size: 1.125rem;
  }
}

/* Framework Cards */
.framework-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 2rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.5s;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.framework-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-8px);
}

.framework-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  transition: transform 0.3s;
}

@media (min-width: 768px) {
  .framework-icon {
    width: 6rem;
    height: 6rem;
    font-size: 2.5rem;
  }
}

.framework-card:hover .framework-icon {
  transform: scale(1.1);
}

.bg-teal-light {
  background-color: rgba(20, 184, 166, 0.1);
}

.text-teal {
  color: rgb(20, 184, 166);
}

.bg-cyan-light {
  background-color: rgba(6, 182, 212, 0.1);
}

.text-cyan {
  color: rgb(6, 182, 212);
}

/* News Cards */
.news-card {
  display: block;
  transition: all 0.3s;
}

.news-image-wrapper {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 0.75rem;
  background-color: #f1f5f9;
  margin-bottom: 1rem;
}

.news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.news-card:hover .news-image {
  transform: scale(1.05);
}

.news-content {
  padding: 0.5rem 0;
}

.news-date {
  font-size: 0.625rem;
  color: #94a3b8;
  font-weight: bold;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-title {
  font-size: 1rem;
  font-weight: bold;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s;
}

@media (min-width: 768px) {
  .news-title {
    font-size: 1.125rem;
  }
}

.news-card:hover .news-title {
  color: rgb(16, 185, 129);
}

/* 移动端新闻卡片横向布局 */
@media (max-width: 767px) {
  .news-card {
    display: flex;
    gap: 1rem;
  }

  .news-image-wrapper {
    width: 33.333%;
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .news-content {
    flex: 1;
    padding: 0;
  }
}
