﻿/********** Template CSS **********/
:root {
    --primary: #f14d5d;
    --secondary: #F14D5D;
    --light: #ECF4FF;
    --dark: #120F2D;
}

[class^=flaticon-]:before,
[class*=" flaticon-"]:before,
[class^=flaticon-]:after,
[class*=" flaticon-"]:after {
    font-size: inherit;
    margin-left: 0;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 ;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary,
.btn-primary:hover,
.btn-secondary:hover {
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    position: relative;
    margin-left: 30px;
    padding: 30px 0;
    font-size: 20px;
    font-weight: 500;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #f14d5d;
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 15, 45, .5);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.carousel-indicators {
    align-items: flex-end;
}

.carousel-indicators [data-bs-target] {
    width: 5px;
    height: 25px;
}

.carousel-indicators .active {
    height: 45px;
}

.hero-header {
    background:  url(../picture/top.jpg) top right no-repeat;
    background-size: cover;
}

.service-item div {
    z-index: 1;
}

.service-item div::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 2px 2px 0 0;
    transition: .5s;
    z-index: -1;
}

.service-item div:hover::after {
    width: 100%;
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}

.bg-offer {
    background: linear-gradient(rgba(18, 15, 45, .5), rgba(18, 15, 45, .5)), url(../image/carousel-2.jpg) top right no-repeat;
    background-size: cover;
}

.testimonial-carousel .owl-dots {
    height: 45px;
    margin-top: 5px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 5px;
    height: 25px;
    background: #DDDDDD;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    height: 45px;
    background: var(--primary);
}

.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.blog-date {
    position: absolute;
    width: 90px;
    height: 65px;
    top: 75px;
    left: -25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: var(--secondary);
}

.blog-date::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: -25px;
    left: 0;
    border: 13px solid;
    border-color: transparent #D34351 #D34351 transparent;
    z-index: -1;
}
             /* 跳转按钮样式 */
        .jump-button {
            margin-top: 30px;
            /* 边框设置：粗黑色 */
            border: 4px solid #000;
            /* 背景色：白色 */
            background-color: #fff;
            /* 文字颜色：黑色 */
            color: #000;
            /* 圆角设置 */
            border-radius: 8px;
            /* 内边距，控制按钮大小 */
            padding: 10px 20px;
            /* 文字样式 */
            font-size: 18px;
            font-weight: 500;
            /* 去除默认下划线 */
            text-decoration: none;
            /* 鼠标悬停时的指针样式 */
            cursor: pointer;
            /* 过渡效果，使状态变化更平滑 */
            transition: background-color 0.2s ease;
        }
        
        /* 按钮悬停效果 - 保持文字黑色 */
        .jump-button:hover {
            background-color: #f5f5f5;
            color: #000; /* 明确设置悬停时文字颜色为黑色 */
        }
        
        /* 按钮聚焦效果（提升可访问性） */
        .jump-button:focus {
            outline: 2px solid #000;
            outline-offset: 2px;
            color: #000; /* 明确设置聚焦时文字颜色为黑色 */
        }
        
        /* 去除已访问链接的颜色变化 */
        .jump-button:visited {
            color: #000;
        }
        
           .mess{
      margin: 0;
      padding: 0;
      font-family: Arial, sans-serif;
    }

    /* 替换为不常用的class名 */
    .lynx-holder {
      width: 90%;
      max-width: 800px;
      margin: 0 auto;
      padding: 20px;
      /* 移动端适配：根据屏幕尺寸调整内边距 */
      padding: clamp(20px, 5vw, 40px);
    }

    .heading-ceo {
      text-align: center;
      font-weight: bold;
      margin-bottom: 40px;
      /* 响应式字体大小 */
      font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .para-content {
      line-height: 1.8;
      margin-bottom: 25px;
      /* 响应式字体大小 */
      font-size: clamp(1rem, 2vw, 1.1rem);
    }

    .sign-off {
      /*margin-top: 40px;*/
      font-size: clamp(1rem, 2vw, 1.1rem);
    }

    .values-block {
      background-color: #b3b3b3;
      padding: 30px;
      margin-top: 50px;
      /* 小屏幕上增加顶部间距 */
      margin-top: clamp(30px, 8vw, 50px);
    }

    .values-title {
      margin-top: 0;
      margin-bottom: 20px;
      /* 响应式字体大小 */
      font-size: clamp(1.3rem, 3vw, 1.8rem);
    }

    /* 移动端优化：在小屏幕上调整段落间距和行高 */
    @media (max-width: 600px) {
      .para-content {
        line-height: 1.7;
        margin-bottom: 20px;
      }
      
      .sign-off {
        margin-top: 30px;
      }
      
      .values-block {
        padding: 20px;
      }
    }
    .ser{
      font-family: Arial, sans-serif;
      line-height: 1.4;
      color: #000;
      padding: 20px;
      padding-top: 60px;
    }

    /* 标题样式 */
    .top-title {
       text-align: center;
    margin-bottom: 50px;
    font-weight: normal;
    font-size: 1.3rem;

    }

    /* 容器布局，用于包裹各个板块 */
    .content-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-around;
      gap: 20px;
      max-width: 1000px;
      margin: 0 auto;
      padding-left: 40px;
      padding-right: 40px;
    }

    /* 每个板块的样式 */
    .section-item {
      width: calc(33.333% - 20px);
      text-align: center;
      min-width: 250px;
    }

    .section-item img {
      width: 90%; /* 桌面端图片宽度 */
      margin: 0 auto 10px;
      display: block;
    }

    .section-item h3 {
      margin-bottom: 10px;
    }

    .section-item p {
      text-align: left;
    }

    /* 响应式适配 */
    @media (max-width: 768px) {
      .section-item {
        width: 100%;
      }
      .content-container {
        padding-left: 20px;
        padding-right: 20px;
      }
      /* 移动端图片缩小 - 核心修改 */
      .section-item img {
        width: 70%; /* 移动端图片宽度，比桌面端小 */
        max-width: 200px; /* 限制最大宽度，避免在较大手机上过大 */
      }
    }
    a:hover{
        color: #000000;
    }
    
/* 其他样式保持不变 */
.col-lg-5.d-lg-block {
    position: relative;
    overflow: hidden;
}

/* 核心修改：桌面端固定图片尺寸，不随页面缩放变化 */
.col-lg-5.d-lg-block img {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    /* 固定宽度和高度，使用min-width确保不缩小 */
    width: 100% !important;
    min-width: 400px; /* 根据需要调整固定宽度 */
    height: auto !important;
    min-height: 500px; /* 保持最小高度 */
    object-fit: cover; /* 保持图片比例 */
}

@media (min-width: 992px) {
    .col-lg-7 {
        padding-left: 60px;
    }
    
    .col-lg-5.d-lg-block {
        height: 100%;
        /* 固定桌面端容器宽度 */
        min-width: 400px; /* 与图片min-width保持一致 */
        max-width: 400px;
    }
}

/* 移动端和平板端样式保持不变 */
@media (max-width: 991px) {
    h1.display-5 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 0.3rem !important;
    }
    
    .col-lg-7 {
        padding: 0 15px;
    }
    
    .text-body.fst-italic {
        font-size: 1rem;
        margin-bottom: 1rem !important;
    }
    
    p.mb-4 {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .mb-4 {
        margin-bottom: 1rem !important;
    }
    
    div[style="margin-top:50px"] {
        margin-top: 30px !important;
    }
    
    div[style="margin-top:40px"] {
        margin-top: 30px !important;
    }
    
    /* 确保移动端不应用固定尺寸 */
    .col-lg-5.d-lg-block img {
        min-width: auto;
        max-width: 100%;
        min-height: auto;
    }
}

@media (max-width: 575px) {
    h1.display-5 {
        font-size: 1.5rem;
    }
    
    .d-block.d-lg-none.mb-4 {
        min-height: 200px !important;
    }
}