/* 移动端响应式样式 */

html {
  height: auto;
  overflow: auto;
}

body {
  min-width: auto;
  overflow-x: hidden;
  transform: none;
  height: auto;
  position: relative;
  width: 100%;
}

.mobile-nav-toggle {
  display: none;
}

@media (max-width: 768px) {
  .header {
    height: 60px;
    background: linear-gradient(to bottom, #316AB4, #316ab464, #316ab400);
    padding: 0 15px;
  }

  .header-content {
    padding: 0;
    max-width: 100%;
    justify-content: space-between;
  }

  .logo {
    width: 120px;
  }

  .nav-section {
    position: relative;
    display: flex;
    align-items: center;
  }

  .search-btn {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    margin-left: auto;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: #316AB4;
    flex-direction: column;
    gap: 0;
    padding: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu a {
    font-size: 16px;
    display: block;
    width: 100%;
    padding: 15px 20px;
    transition: background-color 0.3s ease;
  }

  .nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .banner-swiper {}

  .banner-swiper img {
    object-fit: cover;
  }

  .swiper-pagination {
    bottom: 10px;
  }
}

@media (max-width: 768px) {
  .company-intro {
    padding: 0;
    margin-top: 0;
  }

  .intro-container {
    padding: 0 20px;
    flex-direction: column;
    gap: 0;
  }

  .intro-left,
  .intro-right {
    width: 100%;
    padding: 20px 0;
  }

  .intro-title {
    text-align: center;
    margin-bottom: 15px;
  }

  .intro-title img {
    max-width: 200px;
  }

  .intro-description {
    margin: 15px 0;
    text-align: center;
  }

  .intro-description p {
    font-size: 14px;
    line-height: 1.6;
  }

  .intro-stats {
    gap: 20px;
    align-items: center;
    margin-bottom: 15px;
  }

  .stat-item {
    text-align: center;
    width: 100%;
  }

  .stat-number {
    font-size: 24px;
  }

  .stat-label {
    font-size: 14px;
  }

  .intro-button {
    text-align: center;
    margin-top: 30px;
  }

  .detail-btn {
    padding: 12px 30px;
    font-size: 14px;
  }

  .intro-right {
    text-align: center;
  }

  .intro-right img {
    width: 100%;
    margin: 0 auto;
    display: block;
  }
}

@media (max-width: 768px) {
  .info-disclosure {
    padding: 40px 0;
    margin-top: -150px;
    position: relative;
    z-index: 10;
  }

  .info-container {
    padding: 0 20px;
  }

  .info-header {
    gap: 15px;
    text-align: center;
    margin-bottom: 30px;
  }

  .info-title img {
    max-width: 150px;
  }

  .info-content {
    flex-direction: column;
    gap: 30px;
  }

  .info-left,
  .info-right {
    width: 100%;
  }

  .info-swiper {
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
  }

  .info-swiper img {
    height: 200px;
    object-fit: cover;
  }

  .slide-title {
    padding: 15px;
  }

  .slide-title h3 {
    font-size: 14px;
    margin: 0;
  }

  .info-tabs {
    justify-content: center;
    margin-bottom: 20px;
    gap: 10px;
  }

  .tab-item {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 20px;
  }

  .list-item {
    padding: 15px 0;
    gap: 8px;
    align-items: flex-start;
  }

  .item-text {
    width: 100%;
    text-align: left;
  }

  .item-text a {
    font-size: 14px;
    line-height: 1.4;
  }

  .item-date {
    font-size: 12px;
    align-self: center;
    color: #666;
    padding-right: 0;
    margin-right: 0 !important;
  }

  .first-item .item-date {
    flex-direction: row;
    gap: 5px;
  }

  .day {
    font-size: 16px;
  }

  .month {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .key-projects {
    padding: 100px 0 !important;
    min-height: auto;
    margin-top: 0;
    background-size: cover;
  }

  .projects-container {
    padding: 0 20px;
  }

  .projects-header {
    gap: 15px;
    text-align: center;
    margin-bottom: 30px;
  }

  .projects-title img {
    max-width: 150px;
  }

  .projects-content {
    gap: 30px;
    flex-direction: column;
  }

  .projects-left,
  .projects-right {
    width: 100%;
  }

  .projects-swiper-left,
  .projects-swiper-right {
    width: 100%;
    height: 250px;
    border-radius: 8px;
  }

  .projects-swiper-left .swiper-slide img,
  .projects-swiper-right .swiper-slide img {
    height: 250px;
    object-fit: cover;
  }

  .project-title {
    padding: 0 15px;
  }

  .project-title h3 {
    font-size: 14px;
    margin: 0;
  }

  .projects-pagination-left,
  .projects-pagination-right {
    display: none;
  }
}

@media (max-width: 768px) {
  .news-section {
    padding: 40px 0;
  }

  .news-container {
    padding: 0 20px;
  }

  .news-header {
    gap: 15px;
    text-align: center;
    margin-bottom: 30px;
  }

  .news-title img {
    max-width: 150px;
  }

  .news-swiper {
    padding-bottom: 40px;
  }

  .news-card {
    flex-direction: column;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .news-content {
    padding: 5px;
  }

  .news-content h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
  }

  .news-date {
    font-size: 12px;
    color: #666;
  }

  .news-content p {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 0;
  }

  .footer-content {
    flex-wrap: wrap;
    gap: 0 !important;
    padding: 0 20px;
    text-align: center;
  }

  .footer-left {
    width: 100%;
    margin-bottom: 15px;
  }

  .footer-center,
  .footer-right {
    width: 50%;
  }

  .footer-center .footer-title {
    color: #fff;
  }

  .footer-title {
    font-size: 16px;
    margin-bottom: 15px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
  }

  .footer-title img {
    display: none;
  }

  .links-section {
    margin-bottom: 15px;
  }

  .footer-icon {
    width: 20px;
    height: 20px;
  }

  .contact-info {
    text-align: left;
    max-width: 300px;
    margin: 0 auto;
    padding: 0;
    gap: 0;
  }

  .contact-item {
    margin-bottom: 0px;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    flex-direction: row;
  }

  .contact-label {
    display: inline-block;
    width: 50px;
    flex-shrink: 0;
    color: #fff;
  }

  .contact-text {
    flex: 1;
    word-break: break-all;
    color: #fff;
  }

  .link-select {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    font-size: 14px;
    padding: 0 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
  }

  .qrcode-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .qrcode {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    margin-bottom: 0;
  }

  .qrcode-text {
    font-size: 14px;
    margin-top: 10px;
    color: #fff;
  }

  .footer-copyright {
    padding: 20px;
    margin-top: 20px;
    border-top: 1px solid #eee;
  }

  .footer-copyright p {
    font-size: 12px;
    line-height: 1.4;
    color: #fff;
  }
}

@media (max-width: 480px) {
  .header {
    height: 50px;
    padding: 0 10px;
  }

  .logo {
    width: 100px;
  }

  .mobile-nav-toggle {
    font-size: 20px;
  }

  .nav-menu {
    top: 50px;
  }

  .company-intro {
    background: #fff;
  }

  .info-disclosure {
    margin-top: 50px !important;
    margin-bottom: 50px !important;
  }

  .company-intro,
  .info-disclosure,
  .key-projects,
  .news-section {
    padding: 30px 0;
    height: auto;
    margin-top: 0;
  }

  .intro-container,
  .info-container,
  .projects-container,
  .news-container {
    padding: 0 15px;
  }

  .intro-title img,
  .info-title img,
  .projects-title img,
  .news-title img {
    max-width: 120px;
  }

  .intro-description p {
    font-size: 13px;
  }

  .stat-number {
    font-size: 20px;
  }

  .detail-btn {
    padding: 10px 25px;
    font-size: 13px;
  }

  .tab-item {
    padding: 8px 15px;
    font-size: 13px;
  }

  .item-text a {
    font-size: 13px;
  }

  .projects-swiper-left,
  .projects-swiper-right {
    height: 200px;
  }

  .projects-swiper-left .swiper-slide img,
  .projects-swiper-right .swiper-slide img {
    height: 200px;
  }

  .news-card img {
    height: 150px;
  }


  .news-content h3 {
    font-size: 15px;
    margin-bottom: 5px;
  }

  .news-content p {
    font-size: 13px;
  }

  .footer-content {
    padding: 0 15px;
  }
}

@media (max-width: 768px) and (orientation: landscape) {

  .intro-stats {
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
  }

  .stat-item {
    width: auto;
    min-width: 150px;
  }

  .info-content {
    flex-direction: row;
    gap: 20px;
  }

  .info-left,
  .info-right {
    width: 50%;
  }
}

@media (hover: none) and (pointer: coarse) {

  .nav-menu a,
  .detail-btn,
  .tab-item,
  .item-text a,
  .project-title h3 {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .list-item {
    min-height: 60px;
  }

  .mobile-nav-toggle {
    min-height: 44px;
    min-width: 44px;
  }
}

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

  .logo img,
  .intro-title img,
  .info-title img,
  .projects-title img,
  .news-title img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* 移动端header滚动样式 */
@media (max-width: 768px) {
  .header.scrolled {
    height: 60px;
  }

  .header.scrolled .logo {
    width: 150px;
  }

  .header.scrolled .search-btn {
    font-size: 12px;
  }

  .header.scrolled .nav-menu a {
    font-size: 14px;
  }
}