/* 协力页面特定样式 */

/* 页面标题区域 */
.page-title {
    background-color: var(--primary-color-light);
    padding: 3rem 0;
    margin-bottom: 3rem;
}

/* 页面顶部标题区域优化 */
.page-title, .container > .row.align-items-center.mb-5 {
    padding-top: 100px !important;
}

@media (max-width: 767.98px) {
    .page-title, .container > .row.align-items-center.mb-5 {
        padding-top: 120px !important;
    }
}

/* 合作类型卡片 */
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* 图标盒子 */
.icon-box {
    width: 60px;
    height: 60px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

/* 合作优势卡片 */
.benefit-card {
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.icon-wrapper {
    transition: all 0.3s ease;
}

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

/* 合作伙伴轮播 */
.partner-carousel {
    position: relative;
}

.partner-carousel .carousel-control-prev,
.partner-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

.partner-carousel .carousel-control-prev:hover,
.partner-carousel .carousel-control-next:hover {
    opacity: 1;
}

.partner-carousel-control {
    filter: brightness(0) invert(1);
}

/* 合作伙伴卡片 */
.partner-card {
    transition: all 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-logo {
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.partner-card:hover .partner-logo {
    filter: grayscale(0%);
}

.partner-web-link {
    opacity: 0;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-web-link {
    opacity: 1;
}

/* 合作时间线 */
.cooperation-timeline {
    position: relative;
    padding: 2rem 0;
}

.cooperation-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 50%;
}

.timeline-item:nth-child(even) {
    padding-left: 0;
    padding-right: 50%;
}

.timeline-badge {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.timeline-content {
    position: relative;
    padding: 0 2rem;
}

/* FAQ手风琴 */
.custom-accordion .accordion-button {
    padding: 1.25rem;
    font-weight: 500;
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: var(--primary-color-light);
}

.custom-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.125);
}

/* 页脚样式 */
.footer {
    background-color: var(--footer-bg, #1b3f5e);
    font-family: 'Noto Sans JP', 'Noto Sans SC', sans-serif;
    color: var(--footer-text, #e6f3fb);
    background-image: linear-gradient(to bottom, rgba(44, 92, 125, 0.95), rgba(31, 65, 88, 1));
}

/* 页脚主要内容样式 */
.footer-main {
    padding: 4rem 0;
    background-color: transparent;
    border-top: none;
    position: relative;
    overflow: hidden;
}

.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 90%, rgba(114, 193, 240, 0.1) 0%, transparent 60%),
                      radial-gradient(circle at 90% 20%, rgba(114, 193, 240, 0.15) 0%, transparent 40%);
    z-index: -1;
}

.footer-reveal {
    opacity: 1 !important;
    transform: none !important;
}

/* Logo样式 */
.footer-logo {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.footer-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.footer-logo img {
    height: 120px;
    width: auto;
    max-width: 90%;
    object-fit: contain;
    display: block;
    margin: 0 auto 1.2rem auto;
    box-shadow: 0 4px 24px rgba(114,193,240,0.10);
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
}

/* 标题样式 */
.footer-heading {
    color: var(--footer-text, #e6f3fb);
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    position: relative;
    font-size: 1.25rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--footer-accent, #72c1f0), transparent);
}

/* 标语样式 */
.footer-slogan h5 {
    color: #fff !important;
    font-style: italic;
    font-size: 1.1rem;
    margin: 1.5rem 0;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* 描述文本样式 */
.footer-desc {
    color: #e0e6ed !important;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* 链接列表样式 */
.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    padding: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.footer-links a i {
    font-size: 0.8rem;
    margin-right: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--footer-accent, #72c1f0);
    background-color: rgba(114, 193, 240, 0.1);
    transform: translateX(5px);
}

.footer-links a:hover i {
    transform: translateX(3px);
}

/* 联系信息样式 */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background-color: rgba(114, 193, 240, 0.1);
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    color: var(--footer-accent, #72c1f0);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-text {
    flex: 1;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.contact-text a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--footer-accent, #72c1f0);
}

/* 社交媒体链接 */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    color: var(--footer-accent, #72c1f0);
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(114, 193, 240, 0.2);
}

/* 订阅表单样式 */
.newsletter {
    margin-bottom: 2rem;
}

.newsletter-text {
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.newsletter-form .input-group {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.newsletter-form .form-control {
    padding: 0.8rem 1.2rem;
    border: 1px solid rgba(114, 193, 240, 0.3);
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;
    font-size: 0.95rem;
}

.newsletter-form .form-control:focus {
    border-color: var(--footer-accent, #72c1f0);
    box-shadow: 0 0 0 3px rgba(114, 193, 240, 0.2);
}

.btn-subscribe {
    background-color: var(--footer-accent, #72c1f0);
    color: #1b3f5e;
    border: none;
    padding: 0.8rem 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    background-color: #89d4ff;
    transform: translateY(-1px);
}

/* QR码样式 */
.footer-qr {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.footer-qr:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.qr-code {
    width: 120px;
    height: 120px;
    border-radius: 4px;
}

/* 版权区域 */
.copyright {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    position: relative;
}

.copyright::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0) 100%
    );
}

.copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.footer-legal-links {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

.legal-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.legal-link:hover {
    color: var(--footer-accent, #72c1f0);
}

/* 响应式调整 */
@media (min-width: 1200px) {
    .footer-main .col-lg-3, .footer-logo { min-height: 260px; }
    .footer-logo img { height: 120px; }
}
@media (max-width: 1199.98px) {
    .footer-main .col-lg-3, .footer-logo { min-height: 180px; }
    .footer-logo img { height: 90px; }
}
@media (max-width: 991.98px) {
    .footer-main .col-lg-3, .footer-logo { min-height: 120px; }
    .footer-logo img { height: 60px; }
}
@media (max-width: 767.98px) {
    .footer-main .col-lg-3, .footer-logo { min-height: 0; }
    .footer-logo img { height: 40px; }
}

/* ---- 页脚动画与交互增强 ---- */

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

.footer-reveal {
  animation: fadeInUp 1s cubic-bezier(0.23, 1, 0.32, 1) both;
}
.footer-reveal[data-delay="100"] { animation-delay: 0.15s; }
.footer-reveal[data-delay="200"] { animation-delay: 0.3s; }
.footer-reveal[data-delay="300"] { animation-delay: 0.45s; }

.footer-logo {
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s;
}
.footer-logo:hover {
  transform: scale(1.06) translateY(-3px);
  box-shadow: 0 8px 32px rgba(114,193,240,0.18);
}

.social-links {
  gap: 1.2rem;
}
.social-link {
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  box-shadow: 0 2px 8px rgba(114,193,240,0.08);
  transition: transform 0.22s, box-shadow 0.22s, background 0.22s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-link:hover {
  background: var(--footer-accent, #72c1f0);
  color: #1b3f5e;
  transform: scale(1.18) translateY(-2px);
  box-shadow: 0 6px 24px rgba(114,193,240,0.22);
}

.footer-links a {
  transition: color 0.22s, background 0.22s, transform 0.22s;
}
.footer-links a:hover {
  color: var(--footer-accent, #72c1f0);
  background: rgba(114,193,240,0.13);
  transform: translateX(7px);
}

.newsletter-form .form-control {
  border-radius: 2rem !important;
  font-size: 1rem;
}
.btn-subscribe {
  border-radius: 2rem !important;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(114,193,240,0.08);
}
.btn-subscribe:hover {
  background: linear-gradient(90deg, #72c1f0 60%, #89d4ff 100%);
  color: #1b3f5e;
  transform: translateY(-2px) scale(1.07);
  box-shadow: 0 6px 18px rgba(114,193,240,0.18);
}

.footer-main .row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  column-gap: 2.5rem;
  align-items: stretch;
}

.footer-main .col-lg-3 {
  flex: 0 0 25%;
  max-width: 25%;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (max-width: 991.98px) {
  .footer-main .row {
    flex-wrap: wrap;
    column-gap: 1.2rem;
  }
  .footer-main .col-lg-3 {
    flex: 0 0 50%;
    max-width: 50%;
    min-width: 180px;
  }
}
@media (max-width: 767.98px) {
  .footer-main .row {
    flex-direction: column;
    row-gap: 2.2rem;
    flex-wrap: nowrap;
  }
  .footer-main .col-lg-3 {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
    align-items: center;
  }
}

/* ---- END 页脚动画与交互增强 ---- */

/* 页脚logo文字为白色 */
.footer-logo, .footer-logo * {
  color: #fff !important;
} 