/* Reset & Base */
:root {
    --primary-color: #003366;
    --accent-color: #007bff;
    --text-color: #333333;
    --light-bg: #f8f9fa;
    --warning-color: #d9534f;
    --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Microsoft YaHei", sans-serif; line-height: 1.6; color: var(--text-color); background-color: var(--white); }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
.container { width: 1200px; max-width: 95%; margin: 0 auto; }

/* Header */
.top-bar { background: #001f3f; color: rgba(255,255,255,0.8); font-size: 13px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-info span, .top-social span { margin-right: 20px; }
.top-info i, .top-social i { color: #ffc107; margin-right: 5px; }

.header { background: var(--white); box-shadow: 0 5px 20px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; transition: 0.3s; }
.nav-bar { display: flex; justify-content: space-between; align-items: center; height: 90px; } /* Increased height */
.logo { font-size: 26px; font-weight: 800; color: var(--primary-color); display: flex; align-items: center; gap: 10px; }
.logo-icon { color: #ffc107; font-size: 28px; }
.nav-links { display: flex; gap: 40px; }
.nav-links a { font-weight: 600; color: var(--text-color); position: relative; padding: 10px 0; }
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #ffc107;
    transition: 0.3s;
    border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary-color); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.header .btn-cta { 
    background: linear-gradient(135deg, #ffc107 0%, #ffdb4d 100%);
    color: #002244; 
    padding: 12px 30px; 
    border-radius: 50px; 
    font-weight: 800; 
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
    transition: 0.3s;
}
.header .btn-cta:hover { 
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.4);
}

/* Hero (Homepage) */
.hero { 
    position: relative; 
    height: 700px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: var(--white); 
    overflow: hidden;
    background: #001f3f; /* Fallback */
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg .swiper-slide {
    background-size: cover;
    background-position: center;
}

/* Swiper Pagination Customization */
.hero-pagination {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.hero-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #fff;
    opacity: 0.4;
    transition: all 0.3s;
    display: inline-block;
    margin: 0 5px;
}

.hero-pagination .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 5px;
    background: var(--secondary-color);
    opacity: 1;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,31,63,0.6) 0%, rgba(0,51,102,0.8) 100%);
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
}
.hero-badge {
    display: inline-block;
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 193, 7, 0.4);
    backdrop-filter: blur(5px);
}
.hero h1 { 
    font-size: 56px; 
    margin-bottom: 25px; 
    font-weight: 800; 
    line-height: 1.2;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.hero h1 .text-highlight {
    color: #ffc107;
    position: relative;
    display: inline-block;
}
.hero h1 .text-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(255, 193, 7, 0.3);
    z-index: -1;
    border-radius: 4px;
}
.hero p { 
    font-size: 22px; 
    opacity: 0.9; 
    margin-bottom: 50px; 
    line-height: 1.6;
    font-weight: 300;
}
.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}
.hero-btn {
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.hero-btn.primary {
    background: #ffc107;
    color: #002244;
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.3);
}
.hero-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 193, 7, 0.4);
    background: #ffdb4d;
}
.hero-btn.outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}
.hero-btn.outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 40px;
}
.stat-item {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}
.stat-item i {
    color: #ffc107;
    font-size: 20px;
}

@media (max-width: 768px) {
    .hero { height: auto; padding: 120px 0 80px; }
    .hero h1 { font-size: 36px; }
    .hero p { font-size: 16px; }
    .hero-btns { flex-direction: column; gap: 15px; }
    .hero-stats { flex-direction: column; gap: 20px; align-items: center; }
}

/* Homepage Sections */
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 36px; color: var(--text-color); margin-bottom: 15px; font-weight: 700; }
.section-title p { font-size: 18px; color: #666; }

/* Homepage - Pain Points */
.pain-points { padding: 100px 0; background: #fff; position: relative; }
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.pain-card { 
    background: #fff; 
    padding: 40px 30px; 
    border-radius: 12px; 
    transition: all 0.4s ease; 
    border: 1px solid #f0f0f0; 
    position: relative; 
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}
.pain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #ddd;
    transition: 0.3s;
}
.pain-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.1); /* Reddish shadow for warning */
}
.pain-card:hover::before {
    background: #dc3545; /* Warning Red */
}
.pain-icon {
    font-size: 30px;
    color: #dc3545;
    margin-bottom: 20px;
    background: rgba(220, 53, 69, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}
.pain-card:hover .pain-icon {
    background: #dc3545;
    color: #fff;
}
.pain-card h3 { font-size: 20px; color: #333; margin-bottom: 15px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.pain-card h3 .num { color: #ccc; font-weight: 400; font-size: 16px; }
.pain-card p { font-size: 15px; color: #666; line-height: 1.6; }

/* Homepage - Core Services */
.services-section { padding: 100px 0; background: #f8f9fa; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.service-item { 
    background: #fff; 
    padding: 40px 30px; 
    text-align: center; 
    border-radius: 12px; 
    transition: all 0.4s ease; 
    border: 1px solid #eee;
    position: relative;
    z-index: 1;
}
.service-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--primary-color);
    transition: 0.4s;
    z-index: -1;
    border-radius: 0 0 12px 12px;
    opacity: 0.03;
}
.service-item:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.1); 
    border-color: var(--primary-color);
}
.service-item:hover::after {
    height: 100%;
}
.service-icon { 
    width: 80px; 
    height: 80px; 
    margin: 0 auto 25px; 
    background: #f0f7ff; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: var(--primary-color); 
    font-size: 32px; 
    transition: 0.4s; 
}
.service-item:hover .service-icon {
    background: var(--primary-color);
    color: #fff;
    transform: rotateY(180deg);
}
.service-item h3 { font-size: 22px; margin-bottom: 15px; font-weight: 700; color: #333; }
.service-item p { font-size: 15px; color: #666; margin-bottom: 25px; line-height: 1.6; }
.service-link { 
    color: var(--primary-color); 
    font-weight: 600; 
    font-size: 14px; 
    display: inline-flex; 
    align-items: center; 
    gap: 5px; 
}
.service-link i { transition: 0.3s; }
.service-link:hover i { transform: translateX(5px); }

/* Homepage - Why Us */
.why-us { 
    padding: 80px 0; 
    /* Gradient overlay + Background Image */
    background: linear-gradient(135deg, rgba(0,31,63,0.85) 0%, rgba(0,51,102,0.9) 100%), url('../images/why_bg.jpg'), #001f3f;
    background-size: cover; 
    background-position: center; 
    background-attachment: fixed; /* Parallax effect */
    color: var(--white); 
    text-align: center; 
}
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-top: 50px; }
.why-item { 
    border: 1px solid rgba(255,255,255,0.1); 
    padding: 50px 30px; 
    border-radius: 12px; 
    transition: all 0.4s ease; 
    background: rgba(255,255,255,0.03); 
    position: relative;
    overflow: hidden;
}
.why-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: 0.3s;
}
.why-item:hover { 
    background: rgba(255,255,255,0.08); 
    transform: translateY(-10px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.3);
}
.why-item:hover::before {
    background: #ffc107;
}
.why-item h3 { 
    font-size: 42px; 
    font-weight: 800; 
    margin-bottom: 15px; 
    color: #ffc107; /* Changed from blue to Gold */
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    font-family: Arial, sans-serif; /* Use a strong font for numbers */
}
.why-item p { 
    font-size: 18px; 
    opacity: 0.9; 
    letter-spacing: 1px;
    font-weight: 300;
}

/* Homepage - Cases Section (Redesigned) */
.cases-section { 
    padding: 100px 0; 
    background: #f8f9fa; 
    position: relative; 
    overflow: hidden;
}
.case-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 200px;
    font-weight: 900;
    color: rgba(0,0,0,0.03);
    pointer-events: none;
    user-select: none;
    z-index: 0;
    font-family: Arial, sans-serif;
}
.cases-section .container { position: relative; z-index: 1; }
.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }

.case-item {
    background: transparent;
    transition: 0.3s;
}
.case-media {
    height: 260px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    position: relative;
}
.case-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}
.case-item:hover .case-media img {
    transform: scale(1.05);
}

.case-body {
    background: #fff;
    margin: -60px 20px 0; /* Overlap effect */
    padding: 30px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
    border-bottom: 3px solid transparent;
}
.case-item:hover .case-body {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-bottom-color: var(--primary-color);
}

.case-cat {
    font-size: 12px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}
.case-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}
.case-body h3 a { color: #333; transition: 0.3s; }
.case-item:hover h3 a { color: var(--primary-color); }

.case-body .desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
    height: 44px; /* Limit height for 2 lines */
    overflow: hidden;
}

.read-more-btn {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    position: relative;
    padding-bottom: 5px;
}
.read-more-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: 0.3s;
}
.case-item:hover .read-more-btn { color: var(--primary-color); }
.case-item:hover .read-more-btn::after { width: 100%; }

.more-cases { text-align: center; margin-top: 60px; }
.btn-more {
    display: inline-block;
    padding: 12px 40px;
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 50px;
    color: #666;
    font-weight: 600;
    transition: 0.3s;
}
.btn-more:hover {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* Homepage - CTA Section */
.cta-section { padding: 80px 0; background: linear-gradient(135deg, #002244 0%, #004488 100%); color: var(--white); text-align: center; }
.cta-section h2 { font-size: 36px; margin-bottom: 20px; font-weight: bold; }
.cta-section p { font-size: 18px; opacity: 0.9; margin-bottom: 40px; }
.btn-large { padding: 15px 40px; font-size: 18px; }
.cta-section .btn-cta {
    background: #ffc107;
    color: #002244;
    border: 2px solid #ffc107;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.cta-section .btn-cta:hover {
    background: transparent;
    color: #ffc107;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Inner Page Banner */
.page-banner { 
    padding: 140px 0 140px; 
    text-align: center; 
    color: var(--white); 
    background-color: #002244; 
    position: relative; 
    background-size: cover;
    /* background-position: center; */
    /* background-attachment: fixed; */
}
.page-banner::before { 
    content: ''; 
    position: absolute; 
    top:0; 
    left:0; 
    width:100%; 
    height:100%; 
    background: linear-gradient(135deg, rgba(0,34,68,0.7) 0%, rgba(0,64,128,0.4) 80%); 
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { 
    font-size: 48px; 
    margin-bottom: 15px; 
    font-weight: 800;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.page-banner p { 
    font-size: 20px; 
    opacity: 0.9; 
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* Page Content */
.page-content {
    padding: 80px 0;
}

/* About Page Styles */
.about-intro { padding: 100px 0; background: #fff; }
.about-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text-col h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 800;
    position: relative;
    display: inline-block;
}
.about-text-col h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: #ffc107;
    border-radius: 2px;
}
.about-text-col .lead { font-size: 20px; color: #333; font-weight: 500; margin-bottom: 20px; line-height: 1.6; }
.about-text-col p { font-size: 16px; color: #666; line-height: 1.8; margin-bottom: 20px; }

.about-img-col { position: relative; }
.about-img-col img { width: 100%; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.about-img-col::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-top: 4px solid #ffc107;
    border-left: 4px solid #ffc107;
    z-index: -1;
}
.about-img-col::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-bottom: 4px solid #ffc107;
    border-right: 4px solid #ffc107;
    z-index: -1;
}

/* About Stats Bar */
.about-stats-bar {
    background: var(--primary-color);
    padding: 60px 0;
    color: #fff;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}
.a-stat-item h3 { font-size: 48px; font-weight: 800; color: #ffc107; margin-bottom: 5px; font-family: Arial, sans-serif; }
.a-stat-item p { font-size: 18px; opacity: 0.9; }

/* Company Values */
.values-section { padding: 100px 0; background: #f8f9fa; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.value-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.value-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: #ffc107; }
.value-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 51, 102, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary-color);
    font-size: 28px;
    transition: 0.3s;
}
.value-card:hover .value-icon { background: var(--primary-color); color: #fff; }
.value-card h3 { font-size: 20px; margin-bottom: 15px; font-weight: 700; }
.value-card p { font-size: 15px; color: #666; line-height: 1.6; }

/* Certs Enhanced */
.cert-section { padding: 100px 0; background: #fff; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; margin-top: 50px; }
.cert-item { 
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
    transition: 0.3s;
    text-align: center;
}
.cert-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
    border-color: #ffc107;
}
.cert-img-box {
    height: 280px; /* Fixed height for consistency */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}
.cert-item img { 
    max-width: 100%; 
    max-height: 100%; 
    transition: 0.5s;
}
.cert-item:hover img { transform: scale(1.05); }
.cert-item p { font-weight: 600; color: #333; margin: 0; }

@media (max-width: 768px) {
    .about-intro-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-text-col h2 { font-size: 28px; }
    .about-text-col h2::after { left: 50%; transform: translateX(-50%); }
    .about-text-col { text-align: center; }
    .about-stats-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-img-col::before, .about-img-col::after { display: none; }
}

/* Service Detail List (Inner Page) */
.service-detail-list { max-width: 1100px; margin: 0 auto; padding: 50px 0; }
.service-detail-item { 
    display: flex; 
    align-items: center; 
    gap: 80px; 
    margin-bottom: 100px; 
}
.service-detail-item.reverse { flex-direction: row-reverse; }

.s-img { flex: 1; position: relative; }
.s-img img { 
    width: 100%; 
    border-radius: 12px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
    transition: 0.3s;
}
.service-detail-item:hover .s-img img { transform: translateY(-10px); }

.s-text { flex: 1; }
.s-text h2 { 
    font-size: 32px; 
    color: var(--primary-color); 
    margin-bottom: 20px; 
    font-weight: 800;
}
.s-desc { 
    font-size: 18px; 
    color: #555; 
    line-height: 1.8; 
    margin-bottom: 30px; 
}
.s-features { list-style: none; padding: 0; margin-bottom: 30px; }
.s-features li { 
    margin-bottom: 15px; 
    font-size: 16px; 
    color: #333; 
    display: flex; 
    align-items: center; 
}
.s-features li i { 
    color: #28a745; 
    margin-right: 12px; 
    font-size: 18px; 
}

.btn-outline {
    display: inline-block;
    padding: 12px 35px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}
.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,34,68,0.2);
}

/* Service Process Section */
.process-section { padding: 100px 0; background: #f8f9fa; text-align: center; }
.process-steps { 
    display: flex; 
    justify-content: space-between; 
    max-width: 1000px; 
    margin: 60px auto 0; 
    position: relative; 
}
.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}
.step-item { position: relative; z-index: 1; flex: 1; }
.step-num {
    width: 80px;
    height: 80px;
    background: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    line-height: 76px;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0 auto 20px;
    transition: 0.3s;
}
.step-item:hover .step-num { background: var(--primary-color); color: #fff; box-shadow: 0 0 0 10px rgba(0,34,68,0.1); }
.step-item h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-item p { font-size: 14px; color: #666; padding: 0 10px; }

@media (max-width: 768px) {
    .service-detail-item { flex-direction: column; gap: 40px; margin-bottom: 60px; }
    .service-detail-item.reverse { flex-direction: column; }
    .s-text { text-align: center; }
    .s-features li { justify-content: center; }
    .process-steps { flex-direction: column; gap: 40px; }
    .process-steps::before { width: 2px; height: 100%; left: 50%; top: 0; }
}

/* Case List Styles */
.case-filter {
    text-align: center;
    margin-bottom: 50px;
}
.case-filter a {
    display: inline-block;
    padding: 10px 25px;
    margin: 5px;
    border-radius: 30px;
    background: #f1f1f1;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}
.case-filter a:hover, .case-filter a.active {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 5px 15px rgba(0,34,68,0.2);
}

.case-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.case-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}
.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #ffc107;
}

.case-card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}
.case-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}
.case-card:hover .case-card-img img {
    transform: scale(1.1);
}
.case-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.case-card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.case-card-body h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.4;
}
.case-card-body h3 a {
    color: #333;
    text-decoration: none;
    transition: 0.3s;
}
.case-card-body h3 a:hover {
    color: var(--primary-color);
}
.case-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
}
.case-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}
.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: 0.3s;
}
.read-more:hover {
    color: #ffc107;
    transform: translateX(5px);
}

/* News Layout (Inner Page) */
.news-layout { display: grid; grid-template-columns: 3fr 1fr; gap: 40px; }

/* News List Item Styled */
.news-item { 
    display: flex; 
    gap: 30px; 
    padding-bottom: 30px; 
    margin-bottom: 30px; 
    border-bottom: 1px solid #eee; 
    transition: 0.3s;
}
.news-item:hover {
    transform: translateY(-5px);
}
.news-img {
    width: 260px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
}
.news-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: 0.5s;
}
.news-item:hover .news-img img {
    transform: scale(1.05);
}
.news-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-info h3 { 
    font-size: 20px; 
    margin-bottom: 10px; 
    font-weight: 700;
}
.news-info h3 a {
    color: #333;
    transition: 0.3s;
}
.news-item:hover h3 a {
    color: var(--primary-color);
}
.news-meta-row {
    display: flex;
    gap: 20px;
    color: #999;
    font-size: 13px;
    margin-bottom: 15px;
}
.news-meta-row span i {
    margin-right: 5px;
    color: var(--primary-color);
}
.news-info p { 
    font-size: 15px; 
    color: #666; 
    margin-bottom: 15px; 
    line-height: 1.6;
    flex-grow: 1; /* Push read-more to bottom if needed */
}

/* Sidebar Styles */
.news-sidebar .sidebar-box { background: #f8f9fa; padding: 30px; border-radius: 8px; margin-bottom: 30px; border: 1px solid #eee; }
.sidebar-box h4 { font-size: 18px; margin-bottom: 20px; border-left: 4px solid var(--primary-color); padding-left: 15px; font-weight: 700; }
.sidebar-box ul li { margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px dashed #ddd; font-size: 15px; position: relative; padding-left: 15px; }
.sidebar-box ul li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}
.sidebar-box ul li:last-child { border: none; margin-bottom: 0; }
.sidebar-box ul li a { color: #555; transition: 0.3s; }
.sidebar-box ul li a:hover { color: var(--primary-color); padding-left: 5px; }
.hotline { font-size: 28px; color: #d9534f; font-weight: 800; margin-top: 10px; font-family: Arial; }

/* Sidebar Search */
.search-form { display: flex; gap: 5px; }
.search-form input { flex: 1; padding: 8px; border: 1px solid #ddd; border-radius: 4px; }
.search-form button { background: var(--primary-color); color: #fff; border: none; padding: 0 15px; border-radius: 4px; cursor: pointer; }
.search-form button:hover { background: var(--accent-color); }

/* Pagination */
.pagination {
    text-align: center;
    margin-top: 60px;
}
.pagination a, .pagination span {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    transition: 0.3s;
}
.pagination a:hover, .pagination span.current {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Case Detail Styles */
.detail-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid #eee;
}
.detail-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}
.detail-header h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 800;
}
.article-meta {
    color: #888;
    font-size: 14px;
}
.article-meta span {
    margin: 0 10px;
}

.detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 50px;
}
.detail-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.detail-content p {
    margin-bottom: 20px;
}

.detail-nav {
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid #eee;
    gap: 30px;
}
.nav-item {
    flex: 1;
}
.nav-item.next { text-align: right; }
.nav-item span {
    display: block;
    font-size: 13px;
    color: #999;
    margin-bottom: 5px;
}
.nav-item a {
    color: #333;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nav-item a:hover {
    color: var(--primary-color);
}

.btn-container {
    text-align: center;
    width: 100%;
    clear: both;
}

.mt-50 { margin-top: 50px; }
.mt-30 { margin-top: 30px; }

@media (max-width: 768px) {
    .case-list-grid { grid-template-columns: 1fr; }
    .detail-container { padding: 20px; }
    .detail-header h1 { font-size: 24px; }
    .detail-nav { flex-direction: column; gap: 15px; }
    .nav-item.next { text-align: left; }
}

/* Footer (Redesigned) */
.footer {
    background: #001529; /* Darker navy blue */
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}
.footer-top {
    padding: 80px 0 50px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}
.footer-col {
    flex: 1;
    min-width: 200px;
}
.brand-col { flex: 1.5; } /* Make brand column wider */

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-logo i { color: #ffc107; }
.footer-desc {
    line-height: 1.8;
    margin-bottom: 25px;
    max-width: 300px;
}
.footer-social {
    display: flex;
    gap: 15px;
}
.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: 0.3s;
}
.social-icon:hover {
    background: #ffc107;
    color: #001529;
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: 0.3s;
}
.footer-links a:hover {
    color: #ffc107;
    padding-left: 5px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}
.contact-item i {
    font-size: 20px;
    color: #ffc107;
    margin-top: 5px;
}
.c-info span {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 2px;
}
.c-info strong {
    font-size: 18px;
    color: #fff;
    display: block;
}
.c-info p {
    margin: 0;
    line-height: 1.4;
}

.footer-bottom {
    padding: 25px 0;
    background: #000e1b;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.copyright p { margin: 0; }
.copyright a { color: rgba(255,255,255,0.7); }
.copyright a:hover { color: #fff; }
.footer-links-sm {
    display: flex;
    gap: 20px;
}
.footer-links-sm a {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}
.footer-links-sm a:hover { color: #fff; }

@media (max-width: 768px) {
    .footer-row { flex-direction: column; gap: 40px; }
    .footer-bottom .container { flex-direction: column; gap: 15px; text-align: center; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 80px; left: 0; width: 100%; background: #fff; flex-direction: column; gap: 0; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
    .nav-links a { display: block; padding: 15px 20px; border-bottom: 1px solid #eee; text-align: center; }
    .mobile-toggle { display: block; font-size: 24px; cursor: pointer; color: var(--primary-color); margin-right: 20px; }
    .hero h1 { font-size: 32px; }
    .about-section { flex-direction: column; }
    .service-detail-item { flex-direction: column !important; }
    .news-layout { grid-template-columns: 1fr; }
    .container { width: 100%; padding: 0 20px; }
    .btn-cta { display: none; } /* Hide CTA button on mobile header to save space, or move it */
    .top-bar { display: none; } /* Hide Top Bar on mobile */
    .why-us { background-attachment: scroll; }
}

/* 右侧悬浮二维码 */
.fixed-qr-side {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}
.fixed-qr-side:hover {
    transform: translateY(-55%);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.fixed-qr-side img {
    width: 120px;
    height: 120px;
    display: block;
    margin: 0 auto 8px;
    border-radius: 4px;
}
.fixed-qr-side p {
    font-size: 14px;
    color: #001f3f;
    margin: 0;
    font-weight: bold;
    line-height: 1.4;
}
@media (max-width: 768px) {
    .fixed-qr-side {
        right: 10px;
        padding: 8px;
        top: auto;
        bottom: 100px;
        transform: none;
    }
    .fixed-qr-side img {
        width: 80px;
        height: 80px;
    }
    .fixed-qr-side p {
        font-size: 12px;
    }
    .fixed-qr-side:hover {
        transform: none;
    }
}

.mobile-toggle { display: none; } /* Hidden on desktop */