* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --primary-blue: #0056b3;
    --dark-bg: #1a1a1a;
    --accent-orange: #ff6600;
    --light-gray: #f8f9fa;
    --border-gray: #e0e0e0;
}
body {
    font-family: 'Microsoft YaHei', 'SimHei', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}
html {
    scroll-behavior: smooth;
}
li {
  list-style: none;
}
.hk-logo {
    background: linear-gradient(135deg, #0066cc, #0099ff);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: bold;
}
.navbar-nav .nav-item {
    padding-right: 2rem;
}
.nav-link {
    color: #333 !important;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}
.nav-link:after {
    display: block;
    content: '';
    position: absolute;
    left: 0;
    bottom: -1.3em;
    margin: 0 auto -2px;
    height: 5px;
    width: 100%;
    background: #04549b;
    opacity: 0;
    transition: all .2s;
}
.nav-link:hover,.active .nav-link{
    color: #04549b !important;
}
.nav-item:hover .nav-link:after {
    opacity: 1;
}
.active .nav-link:after {
    opacity: 1;
}
.nav-item:last-child .nav-link:after {display: none;}
.dropdown{margin-top: 2px;outline: none;border: none;}
.dropdown:hover .dropdown-menu {
    display: block;
}
.dropdown-item:hover{background: #cacfd5e3;}
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}
.back-to-top:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.qr-code img{width:100%;}
.sitemaps{color:#fff;text-decoration:none;}
.swiper-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}
.swiper-wrapper{
    /*overflow: hidden;*/
}
.swiper-slide {
    text-align: center;
    font-size: 18px;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.swiper-button-next, .swiper-button-prev{color: gray;}
.swiper-button-prev{left: -5%;}
.swiper-button-next{right: -5%;}
.product-card-link{text-decoration: none;}
.hero-section {
    height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('../images/banner.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}
.service-section{background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
url('../images/s11.png') center/cover no-repeat;}
.product-section{background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
url('../images/s15.png') center/cover no-repeat;}
.about-section{background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
url('../images/a1.png') center/cover no-repeat;}
.article-section{background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
url('../images/n2.png') center/cover no-repeat;}
.carousel-caption{height: 100%;}
.contact-section{background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
url('../images/t1.png') center/cover no-repeat;}
.carousel-caption{height: 100%;}
.btn-red{
    background: #e54200;border-radius: unset;color: #fff;
}
.btn-red:hover{background: #e54200;color: #fff;}
.red-line {
    width: 60px;
    height: 4px;
    background: #d32f2f;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 500;
}

.red-divider {
    width: 60px;
    height: 4px;
    background: #d32f2f;
    margin: 1rem auto;
}
.red-divider-left {
    width: 60px;
    height: 4px;
    background: #d32f2f;
    margin: 1rem 0;
}

.red-divider-white {
    width: 60px;
    height: 4px;
    background: #d32f2f;
    margin: 1rem auto;
}
.display-7 {
    font-size: 1.7rem;color: gray!important;font-weight: bold;
}

.product-card {
    background: white;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    padding: 2rem;
    margin: 1px;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.product-img {
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img {
    transform: scale(1.1);
}

.product-text {
    text-align: center;
    margin-bottom: 2rem;
}

.product-text h5 {
    margin-bottom: 0.5rem;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.news-img {
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-img {
    transform: scale(1.1);
}

.news-text h5 {
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.news-text a {color: #333;}
.carousel-indicators button {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
}

.btn-danger {
    background: #d32f2f;
    border: none;
    transition: all 0.3s;
}

.btn-danger:hover {
    background: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

.form-control-sm::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.icon-box{margin-left: 1rem;}
.icon-box p{margin-bottom: 0;}
.color-transparent{color: transparent;}
form label {display: block;}
form input.form-control {background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: white;}
form textarea.form-control{background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: white;resize: none;}
form .form-control:focus{background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: white;}
.footer-contact-item {
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.footer-contact-item:hover {
    transform: translateX(8px);
}

.footer-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #333 0%, #444 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.footer-contact-item:hover .footer-icon {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-orange) 100%);
    transform: scale(1.1);
}

.footer-contact-label {
    color: #999;
    font-size: 0.85rem;
}

.footer-contact-value {
    font-size: 1rem;
    color: white;
    margin-top: 0.3rem;
}
@media (max-width: 1500px) {
    .swiper-button-prev{left: 0;}
    .swiper-button-next{right: 0;}
    .service-featured img {width: 15%;}
    .service-featured h3 {font-size: 1.5rem;}
}
@media (min-width: 1400px) {
    .breadcrumb-wrapper .container{max-width: 1300px;}
}
@media (max-width: 1400px) {
    .navbar-nav .nav-item{padding-right: 1rem;}
    .breadcrumb-wrapper{background: #f5f5f5;}
    .breadcrumb-wrapper .container{background: none;}
}
@media (max-width: 1200px) {
    .navbar-nav .nav-item{padding-right: 0;}
}
@media (max-width: 992px) {
    .nav-link:after{display:none;}
    .service-featured{padding: 2rem;}
}
@media (max-width: 768px) {
    .hero-section {
        height: 400px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .product-img {
        height: 200px;
    }

    .news-img {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 300px;
    }

    .hero-content {
        padding-left: 1rem;
    }

    .hero-title {
        font-size: 1.3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .display-5 {
        font-size: 2rem;
    }
}