/*
Theme Name: Huami Tech
Theme URI: http://www.huamisz.cn/
Author: SOLO
Author URI: https://solo.ai
Description: 深圳市桦米科技有限公司官网主题 - 专业塑胶模具设计公司WordPress主题。仿照原站设计，包含Hero轮播、服务优势、关于我们、设计案例展示、CTA横幅等模块，支持响应式布局和移动端适配。
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: huami-tech
Tags: one-column, custom-menu, featured-images, threaded-comments, translation-ready, blog, custom-logo
*/

/* ========== Reset & Base ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background: #f5f5f5;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ========== Header ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0066cc, #0099ff);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}
.logo-icon::after {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
}
.logo-text {
    font-size: 18px;
    font-weight: bold;
    color: #222;
}
.custom-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}
.custom-logo-link img {
    height: 50px;
    width: auto;
}
.nav-menu {
    display: flex;
    gap: 5px;
}
.nav-menu li a {
    display: block;
    padding: 10px 18px;
    font-size: 15px;
    color: #333;
    border-radius: 4px;
    transition: all 0.3s;
    white-space: nowrap;
}
.nav-menu li a:hover,
.nav-menu li.current-menu-item a,
.nav-menu li.current_page_item a {
    background: #0066cc;
    color: #fff;
}
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
}

/* ========== Hero Slider ========== */
.hero {
    position: relative;
    width: 100%;
    height: 600px;
    margin-top: 74px;
    overflow: hidden;
}
.hero-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}
.hero-slide {
    width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-slide:nth-child(1):not(.has-background-image) {
    background: linear-gradient(135deg, #003366 0%, #0066cc 40%, #0099ff 100%);
}
.hero-slide:nth-child(2):not(.has-background-image) {
    background: linear-gradient(135deg, #004080 0%, #0077cc 40%, #00aaff 100%);
}
.hero-slide:nth-child(3):not(.has-background-image) {
    background: linear-gradient(135deg, #002244 0%, #005599 40%, #0088dd 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    color: #fff;
}
.hero-watermark {
    font-size: 80px;
    font-weight: bold;
    color: rgba(255,255,255,0.06);
    letter-spacing: 15px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.hero-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-tagline {
    display: inline-block;
    background: rgba(0,102,204,0.9);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 16px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.hero-desc {
    font-size: 15px;
    max-width: 700px;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
}
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.4);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.hero-nav:hover { background: rgba(255,255,255,0.4); }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }
.hero-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}
.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}
.hero-dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* ========== Section Common ========== */
.section {
    padding: 30px 20px;
}
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-title {
    font-size: 30px;
    font-weight: bold;
    color: #222;
    margin-bottom: 8px;
}
.section-subtitle {
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 3px;
}
.section-divider {
    width: 60px;
    height: 3px;
    background: #0066cc;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ========== Service Features ========== */
.services {
    background: #fff;
    position: relative;
    overflow: hidden;
}
.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="none" width="1200" height="600"/><g opacity="0.03"><rect x="100" y="50" width="300" height="500" rx="5" fill="#0066cc"/><rect x="450" y="100" width="250" height="400" rx="5" fill="#0066cc"/><rect x="750" y="30" width="350" height="540" rx="5" fill="#0066cc"/></g></svg>') center/cover no-repeat;
    z-index: 0;
}
.services .section-inner {
    position: relative;
    z-index: 1;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.service-card {
    text-align: center;
    padding: 40px 25px;
    border-radius: 12px;
    transition: all 0.4s ease;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #0099ff);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 40px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}
.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}
.service-icon.green { background: linear-gradient(135deg, #43a047, #66bb6a); color: #fff; box-shadow: 0 5px 15px rgba(67, 160, 71, 0.3); }
.service-icon.orange { background: linear-gradient(135deg, #fb8c00, #ffa726); color: #fff; box-shadow: 0 5px 15px rgba(251, 140, 0, 0.3); }
.service-icon.blue { background: linear-gradient(135deg, #1e88e5, #42a5f5); color: #fff; box-shadow: 0 5px 15px rgba(30, 136, 229, 0.3); }
.service-card h3 {
    font-size: 20px;
    color: #222;
    margin-bottom: 20px;
    font-weight: 600;
    transition: color 0.3s ease;
}
.service-card:hover h3 {
    color: #0066cc;
}
.service-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    transition: color 0.3s ease;
}
.service-card:hover p {
    color: #444;
}

/* ========== About Us ========== */
.about {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}
.about:not([style*="background-image"])::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="none" width="1200" height="600"/><g opacity="0.03"><rect x="100" y="50" width="300" height="500" rx="5" fill="#0066cc"/><rect x="450" y="100" width="250" height="400" rx="5" fill="#0066cc"/><rect x="750" y="30" width="350" height="540" rx="5" fill="#0066cc"/></g></svg>') center/cover no-repeat;
    z-index: 0;
}
.about[style*="background-image"] .section-inner {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
    max-width: 100%;
}
.about[style*="background-image"] .section-header h2,
.about[style*="background-image"] .section-header p {
    color: #333;
}
.about[style*="background-image"] .about-content p {
    color: #444;
}
.about .section-inner {
    position: relative;
    z-index: 1;
}
.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}
.about-content p {
    font-size: 16px;
    color: #555;
    line-height: 2.2;
    margin-bottom: 40px;
    text-align: justify;
    text-justify: inter-character;
}
.btn-primary {
    display: inline-block;
    padding: 14px 45px;
    background: linear-gradient(135deg, #0066cc, #0099ff);
    color: #fff;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,102,204,0.3);
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}
.btn-primary:hover::before {
    left: 100%;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #0052a3, #0077cc);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,102,204,0.4);
}

/* ========== Cases ========== */
.cases {
    background: #fff;
    position: relative;
    overflow: hidden;
}
/* .cases::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="none" width="1200" height="600"/><g opacity="0.03"><rect x="100" y="50" width="300" height="500" rx="5" fill="#0066cc"/><rect x="450" y="100" width="250" height="400" rx="5" fill="#0066cc"/><rect x="750" y="30" width="350" height="540" rx="5" fill="#0066cc"/></g></svg>') center/cover no-repeat;
    z-index: 0;
} */
.cases .section-inner {
    position: relative;
    z-index: 1;
}
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.case-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #e9ecef;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid #f0f0f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.case-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: #0066cc;
}
.case-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.case-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.case-card:hover .case-thumb img {
    transform: scale(1.1);
}
.case-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 30px 20px 15px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.case-card:hover .case-label {
    background: linear-gradient(transparent, rgba(0,102,204,0.9));
}
.case-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0,102,204,0.9), rgba(0,153,255,0.8));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: all 0.4s ease;
    padding: 30px;
    text-align: center;
    transform: translateY(20px);
}
.case-card:hover .case-overlay {
    opacity: 1;
    transform: translateY(0);
}
.case-overlay p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.9;
    max-height: 80px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.case-overlay span {
    display: inline-block;
    padding: 8px 25px;
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.case-overlay span:hover {
    background: rgba(255,255,255,0.2);
    border-color: #fff;
}

/* ========== CTA Banner ========== */
.cta-banner {
    padding: 80px 20px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-banner h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: relative;
    display: inline-block;
}
.cta-banner h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
}
.cta-banner p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}
.cta-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}
.cta-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 35px 30px;
    max-width: 350px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}
.cta-card:hover::before {
    left: 100%;
}
.cta-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.cta-card p {
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* ========== Footer ========== */
.footer {
    background: #0a192f;
    color: #e6f1ff;
    padding: 40px 20px;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #0066cc;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-about .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-about .footer-logo-icon {
    width: 40px;
    height: 40px;
    background: #0066cc;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}
.footer-about .footer-logo-text {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}
.footer-about p {
    font-size: 13px;
    line-height: 1.6;
    color: #a8b2d1;
    margin: 0;
}
.footer h4 {
    font-size: 14px;
    color: #fff;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
    font-weight: 600;
}
.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #0066cc;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links li a {
    font-size: 13px;
    color: #a8b2d1;
    transition: color 0.3s ease;
    display: block;
}
.footer-links li a:hover {
    color: #0099ff;
}
.footer-contact li {
    margin-bottom: 8px;
    font-size: 13px;
    color: #a8b2d1;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-contact li .icon {
    flex-shrink: 0;
    width: 16px;
    text-align: center;
    color: #0066cc;
}
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #8892b0;
}
.footer-register {
    display: flex;
    align-items: center;
    gap: 20px;
}
.footer-register a:not(.register-btn) {
    color: #8892b0;
    transition: color 0.3s ease;
}
.footer-register a:not(.register-btn):hover {
    color: #0099ff;
}
.register-btn {
    display: inline-block;
    padding: 6px 16px;
    background: #0066cc;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    transition: background 0.3s ease;
}
.register-btn:hover {
    background: #0052a3;
    color: #fff;
}
.register-btn::after {
    display: none;
}

/* ========== Back to Top ========== */
.back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: #0066cc;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0,102,204,0.4);
    transition: all 0.3s;
}
.back-top:hover { background: #0052a3; transform: translateY(-3px); }
.back-top.show { display: flex; }

/* ========== WordPress Content Styles ========== */
.site-content {
    /* margin-top: 74px; */
    min-height: 60vh;
}
.content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.page-title,
.entry-title {
    font-size: 30px;
    font-weight: bold;
    color: #222;
    margin-bottom: 20px;
    text-align: center;
}
.entry-content {
    font-size: 15px;
    line-height: 2;
    color: #555;
}
.entry-content p {
    margin-bottom: 20px;
}
.entry-content img {
    border-radius: 8px;
    margin: 20px 0;
}

/* ========== 404 Page ========== */
.error-404 {
    text-align: center;
    padding: 100px 20px;
}
.error-404 h1 {
    font-size: 120px;
    color: #0066cc;
    margin-bottom: 10px;
}
.error-404 h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}
.error-404 p {
    color: #666;
    margin-bottom: 30px;
}

/* ========== Responsive ========== */
@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #e8f4fd, #d0e8f7);
        flex-direction: column;
        padding: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    .nav-menu.open { display: flex; }
    .nav-menu li a { padding: 12px 20px; }
    .mobile-toggle { display: block; }
    .hero { height: 450px; margin-top: 74px; }
    .hero-title { font-size: 24px; }
    .hero-watermark { font-size: 40px; }
    .hero-tagline { font-size: 13px; padding: 8px 20px; }
    .services-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .case-overlay p { 
        font-size: 12px;
        max-height: 70px;
        -webkit-line-clamp: 3;
    }
    .case-overlay span { 
        padding: 6px 18px;
        font-size: 12px;
    }
    .case-overlay { 
        padding: 20px;
    }
    .footer-inner { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .footer-register {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .cta-cards { flex-direction: column; align-items: center; }
    .section { padding: 50px 15px; }
    .section-title { font-size: 24px; }
}

/* ========== Cases Archive Page ========== */
.cases-banner {
    padding: 100px 20px 80px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cases-banner-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.cases-banner h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: relative;
    display: inline-block;
}
.cases-banner h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
}
.cases-banner p {
    font-size: 18px;
    opacity: 0.9;
    margin-top: 20px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}
.cases-filter-section {
    background: #fff;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 74px;
    z-index: 100;
}
.cases-filter {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}
.filter-item {
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 14px;
    color: #666;
    background: #f5f5f5;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.filter-item:hover {
    color: #0066cc;
    background: #e8f4fd;
}
.filter-item.active {
    color: #fff;
    background: linear-gradient(135deg, #0066cc, #0099ff);
    box-shadow: 0 4px 10px rgba(0,102,204,0.3);
}
.cases-archive {
    background: #f8f9fa;
    min-height: 400px;
}
.cases-archive .section-inner {
    max-width: 1200px;
}
.cases-archive .cases-grid {
    margin-top: 40px;
}
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    gap: 10px;
}
.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}
.pagination a:hover {
    color: #fff;
    background: #0066cc;
    border-color: #0066cc;
}
.pagination .current {
    color: #fff;
    background: #0066cc;
    border-color: #0066cc;
}
.pagination-arrow {
    font-size: 12px;
}
.empty-state {
    text-align: center;
    padding: 80px 20px;
}
.empty-icon {
    font-size: 60px;
    margin-bottom: 20px;
    opacity: 0.5;
}
.empty-state p {
    font-size: 16px;
    color: #999;
}

/* ========== Responsive for Cases Archive ========== */
@media (max-width: 768px) {
    .cases-banner { padding: 20px 20px 40px; margin-top: 74px; }
    .cases-banner h1 { font-size: 28px; }
    .cases-banner p { font-size: 14px; }
    .cases-filter-section { padding: 15px; }
    .filter-item { padding: 8px 15px; font-size: 13px; }
    .cases-archive { padding: 0px 8px; }
}

/* ========== About Page ========== */
.about-banner {
    padding: 100px 20px 80px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.about-banner-content {
    max-width: 800px;
    margin: 0px auto;
    position: relative;
    z-index: 1;
}
.about-banner h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: relative;
    display: inline-block;
}
.about-banner h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
}
.about-banner p {
    font-size: 18px;
    opacity: 0.9;
    margin-top: 20px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}
.about-page-content {
    background: #fff;
    padding: 60px 20px;
}
.about-description {
    max-width: 1200px;
    margin: 0 auto;
}
.about-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    text-align: left;
}
.about-content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}
.about-text {
    flex: 1;
    text-align: left;
}
.about-text p {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 0;
    text-align: left;
    text-indent: 2em;
}
.about-image {
    flex: 1;
    max-width: 550px;
}
.about-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
}
.about-description .entry-content {
    text-align: left;
    width: 100%;
}
.about-description .entry-content p {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 0;
    text-indent: 2em;
}
.about-description .entry-content img {
    display: none;
}
.about-features {
    background: #f8f9fa;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.feature-card {
    text-align: center;
    padding: 40px 25px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.feature-icon {
    font-size: 50px;
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 20px;
    color: #222;
    margin-bottom: 15px;
    font-weight: 600;
}
.feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}
.about-contact {
    background: #fff;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    border-radius: 12px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}
.contact-item:hover {
    background: #e8f4fd;
}
.contact-icon {
    font-size: 36px;
    flex-shrink: 0;
}
.contact-info h4 {
    font-size: 16px;
    color: #222;
    margin-bottom: 8px;
    font-weight: 600;
}
.contact-info p {
    font-size: 14px;
    color: #666;
}

/* ========== Responsive for About Page ========== */
@media (max-width: 992px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .about-banner { padding: 20px 20px 40px; margin-top: 74px; }
    .about-banner h1 { font-size: 28px; }
    .about-banner p { font-size: 14px; }
    .about-page-content {
        padding: 40px 15px;
    }
    .about-content-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .about-image {
        max-width: 100%;
    }
    .about-title {
        font-size: 20px;
        text-align: center;
    }
    .about-text p {
        text-align: justify;
    }
    .features-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-item { padding: 20px; }
}

/* ========== Contact Page ========== */
.contact-banner {
    padding: 100px 20px 80px;
    text-align: left;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.contact-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.contact-banner-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.contact-banner-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.contact-banner-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #fff;
}

.contact-content {
    background: #fff;
    padding: 60px 20px;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.contact-image {
    grid-column: 1;
}
.contact-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
}

.contact-intro-section {
    grid-column: 2;
    background: #fff;
    padding: 30px;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.contact-intro-header {
    background: #003366;
    color: #fff;
    padding: 8px 20px;
    margin: 0 0 20px 0;
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
}
.contact-intro-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}
.contact-intro-text {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

.contact-info-section {
    grid-column: 3;
    background: #fff;
    padding: 30px;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.contact-info-header {
    background: #003366;
    color: #fff;
    padding: 8px 20px;
    margin: 0 0 20px 0;
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
}
.contact-info-item {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin: 0 0 10px 0;
}
.contact-info-item:last-child {
    margin-bottom: 0;
}

/* ========== Responsive for Contact Page ========== */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "image image"
            "intro info";
    }
    .contact-image {
        grid-area: image;
    }
    .contact-intro-section {
        grid-area: intro;
    }
    .contact-info-section {
        grid-area: info;
    }
}

@media (max-width: 768px) {
    .contact-banner {
        padding: 20px 20px 40px;
        margin-top: 74px;
    }
    .contact-banner-subtitle {
        font-size: 20px;
    }
    .contact-banner-title {
        font-size: 18px;
    }
    .contact-content {
        padding: 40px 15px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "image"
            "intro"
            "info";
    }
    .contact-intro-section,
    .contact-info-section {
        padding: 20px;
    }
    .contact-intro-header,
    .contact-info-header {
        margin: 0 0 15px 0;
    }
}

/* ========== Case Detail Page ========== */
.case-banner {
    padding: 100px 20px 80px;
    text-align: center;
    background: linear-gradient(135deg, #003366, #0066cc);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.case-banner-content {
    max-width: 800px;
    margin: 20px auto;
    position: relative;
    z-index: 1;
}
.case-banner-subtitle {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
}
.case-banner-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.case-banner-divider {
    width: 80px;
    height: 3px;
    background: rgba(255,255,255,0.8);
    margin: 0 auto;
    border-radius: 2px;
}

.case-breadcrumb-section {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}
.case-breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}
.case-breadcrumb-link {
    color: #0066cc;
    transition: color 0.3s ease;
}
.case-breadcrumb-link:hover {
    color: #003366;
}
.case-breadcrumb-separator {
    color: #999;
}
.case-breadcrumb-current {
    color: #333;
    font-weight: 500;
}

.case-featured-image {
    margin: 40px auto;
    max-width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.case-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.case-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}
.case-content {
    font-size: 16px;
    line-height: 2;
    color: #555;
}
.case-content p {
    margin-bottom: 25px;
}
.case-content img {
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.case-content h2,
.case-content h3 {
    color: #222;
    margin: 40px 0 20px 0;
    font-weight: 600;
}
.case-content h2 {
    font-size: 28px;
}
.case-content h3 {
    font-size: 22px;
}
.case-content ul,
.case-content ol {
    margin-bottom: 25px;
    padding-left: 30px;
}
.case-content li {
    margin-bottom: 10px;
}

.case-back-button {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

/* ========== Responsive for Case Detail Page ========== */
@media (max-width: 992px) {
    .case-featured-image {
        margin: 30px 20px;
    }
    .case-content-wrapper {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .case-banner {
        padding: 0px 20px 40px;
        margin-top: 74px;
    }
    .case-banner-subtitle {
        font-size: 18px;
    }
    .case-banner-title {
        font-size: 28px;
    }
    .case-featured-image {
        margin: 20px;
        border-radius: 8px;
    }
    .case-content {
        font-size: 15px;
        line-height: 1.8;
    }
    .case-content h2 {
        font-size: 24px;
    }
    .case-content h3 {
        font-size: 20px;
    }
    .case-back-button {
        margin-top: 40px;
        padding-top: 30px;
    }
}

.wp-block-video video {
    width: 50% !important;
}

@media (max-width: 768px) {
    .wp-block-video video {
        width: 100% !important;
    }
}
