/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* ===== Font Awesome polish ===== */
.top-info span i { margin-right: 6px; }
.logo-icon i { color: #0288d1; }
.feature-icon i { color: #0288d1; }
.footer-logo i { color: #4fc3f7; margin-right: 6px; }
.footer-contact li i { color: #4fc3f7; margin-right: 8px; width: 16px; text-align: center; }
.case-meta span i,
.article-meta span > i,
.article-meta span strong i { color: #0288d1; margin-right: 5px; }
.product-meta-tags span i { margin-right: 5px; }
.contact-item-icon i,
.contact-social a i { font-size: 18px; }
.map-section i { color: #0288d1; }
body {
    font-family: 'Segoe UI', 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}
.btn-primary {
    background: linear-gradient(135deg, #0288d1, #01579b);
    color: #fff;
    box-shadow: 0 6px 20px rgba(2, 136, 209, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(2, 136, 209, 0.4);
}
.btn-outline {
    border-color: #fff;
    color: #fff;
}
.btn-outline:hover {
    background: #fff;
    color: #01579b;
}
.btn-light {
    background: #fff;
    color: #01579b;
}
.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ===== Top Bar ===== */
.top-bar {
    background: #01579b;
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-info span { margin-right: 25px; }
.top-lang a {
    color: #fff;
    margin: 0 5px;
    transition: opacity 0.3s;
}
.top-lang a:hover { opacity: 0.7; }

/* ===== Header ===== */
.header {
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
}
.logo a {
    display: inline-flex;
    align-items: center;
}
.logo img {
    height: 40px;
    width: auto;
    max-width: 180px;
    display: block;
    object-fit: contain;
}
@media (max-width: 768px) {
    .logo img { height: 32px; max-width: 140px; }
}

/* ===== Navigation ===== */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 26px;
}
.nav-item {
    position: relative;
}
.nav-item > a {
    display: inline-block;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    position: relative;
}
.nav-item > a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 2px;
    background: #0288d1;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}
.nav-item:hover > a,
.nav-item.active > a {
    color: #0288d1;
}
.nav-item:hover > a::after,
.nav-item.active > a::after {
    transform: scaleX(1);
}

/* Dropdown */
.nav-item.has-dropdown > a .nav-arrow {
    font-size: 10px;
    margin-left: 6px;
    display: inline-block;
    transition: transform 0.3s ease;
    vertical-align: middle;
}
.nav-item.has-dropdown:hover > a .nav-arrow { transform: rotate(180deg); }

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    min-width: 220px;
    padding: 8px 0;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(1, 87, 155, 0.18);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 1001;
    pointer-events: none;
}
.dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0; right: 0;
    height: 12px;
}
.dropdown::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: #fff;
    filter: drop-shadow(0 -2px 2px rgba(1,87,155,0.08));
}
.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.dropdown li {
    position: relative;
}
.dropdown li a {
    display: block;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    transition: all 0.25s;
    white-space: nowrap;
}
.dropdown li a:hover {
    background: #f5fafd;
    color: #0288d1;
    padding-left: 30px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: #01579b;
    border-radius: 3px;
    transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    height: 600px;
    background: url('../images/banner/hero.webp') center/cover no-repeat, linear-gradient(135deg, #01579b 0%, #0288d1 50%, #4fc3f7 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(1,87,155,0.7) 0%, rgba(2,136,209,0.55) 50%, rgba(79,195,247,0.3) 100%);
}
.hero-slide {
    position: relative;
    z-index: 2;
    width: 100%;
}
.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: #fff;
}
.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 18px;
    opacity: 0.9;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.hero-title {
    font-size: 60px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.hero-desc {
    font-size: 18px;
    max-width: 550px;
    margin-bottom: 35px;
    opacity: 0.95;
}
.hero-btns { display: flex; gap: 15px; flex-wrap: wrap; }

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C300,80 600,0 900,40 C1200,80 1440,20 1440,20 L1440,80 L0,80 Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat center bottom;
    background-size: cover;
}

/* ===== Features ===== */
.features {
    padding: 70px 0;
    background: #fff;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.feature-card {
    text-align: center;
    padding: 35px 25px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    transition: all 0.4s;
    border: 1px solid #f0f5fa;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(2, 136, 209, 0.15);
    border-color: #0288d1;
}
.feature-icon {
    font-size: 52px;
    margin-bottom: 18px;
}
.feature-card h3 {
    font-size: 19px;
    margin-bottom: 10px;
    color: #01579b;
}
.feature-card p {
    color: #666;
    font-size: 14px;
}

/* ===== Section Heads ===== */
.section-head {
    text-align: center;
    margin-bottom: 50px;
}
.section-subtitle {
    color: #0288d1;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-title {
    font-size: 38px;
    color: #01579b;
    font-weight: 700;
    line-height: 1.3;
}

/* ===== About Section ===== */
.about-section {
    padding: 90px 0;
    background: #f5fafd;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-img {
    position: relative;
}
.about-img-box {
    height: 0;
    padding-top: 62.64%;
    border-radius: 15px;
    background: url('../images/banner/about.webp') center/112% auto no-repeat;
    background-color: #fff;
    box-shadow: 0 20px 50px rgba(2, 136, 209, 0.25);
    position: relative;
    overflow: hidden;
}
.about-img-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    text-align: center;
}
.about-img-badge strong {
    display: block;
    font-size: 42px;
    color: #0288d1;
    line-height: 1;
}
.about-img-badge span {
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.about-content .section-subtitle { text-align: left; }
.about-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}
.about-content p {
    color: #555;
    margin-bottom: 25px;
}
.about-list {
    margin-bottom: 30px;
}
.about-list li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: #444;
}
.about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0288d1;
    font-weight: bold;
    font-size: 18px;
}

/* ===== Products Section ===== */
.products-section { padding: 90px 0; background: #fff; }
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    transition: all 0.4s;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(2, 136, 209, 0.18);
}
.product-img {
    height: 220px;
    position: relative;
    background-size: cover !important;
    background-position: center !important;
}
.product-info {
    padding: 22px 20px;
}
.product-info h3 {
    font-size: 18px;
    color: #01579b;
    margin-bottom: 6px;
}
.product-info p {
    color: #777;
    font-size: 14px;
    margin-bottom: 14px;
}
.product-link {
    color: #0288d1;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}
.product-link:hover { letter-spacing: 1px; }
.section-more { text-align: center; margin-top: 45px; }
.section-more .btn-outline {
    border-color: #0288d1;
    color: #0288d1;
}
.section-more .btn-outline:hover {
    background: #0288d1;
    color: #fff;
}

/* ===== Stats ===== */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #0288d1, #01579b);
    color: #fff;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-item strong {
    display: block;
    font-size: 50px;
    font-weight: 800;
    margin-bottom: 5px;
}
.stat-item span {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
}

/* ===== News ===== */
.news-section { padding: 90px 0; background: #f5fafd; }
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    transition: all 0.4s;
}
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}
.news-img {
    height: 220px;
    position: relative;
    background-size: cover !important;
    background-position: center !important;
}
.news-info { padding: 25px; }
.news-date {
    color: #0288d1;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.news-info h3 {
    font-size: 18px;
    color: #01579b;
    margin: 10px 0;
}
.news-info p {
    color: #777;
    font-size: 14px;
    margin-bottom: 12px;
}

/* ===== CTA ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #01579b, #0277bd);
    color: #fff;
    text-align: center;
}
.cta-section h2 {
    font-size: 36px;
    margin-bottom: 12px;
}
.cta-section p {
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* ===== Footer ===== */
.footer {
    background: #022f56;
    color: #b3cfe5;
    padding: 70px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
    margin-bottom: 50px;
}
.footer-logo {
    font-size: 24px;
    color: #fff;
    font-weight: 300;
    margin-bottom: 18px;
}
.footer-logo strong { color: #4fc3f7; font-weight: 700; }
.footer-col p { font-size: 14px; line-height: 1.8; }
.footer-col h4 {
    color: #fff;
    font-size: 17px;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: #4fc3f7;
}
.footer-col ul li {
    padding: 7px 0;
    font-size: 14px;
}
.footer-col ul li a { transition: all 0.3s; }
.footer-col ul li a:hover {
    color: #4fc3f7;
    padding-left: 5px;
}
.footer-contact li { line-height: 1.8; }
.footer-bottom {
    padding: 22px 0;
    border-top: 1px solid #0a4178;
    text-align: center;
    font-size: 13px;
}

/* ===== Inner Page Banner ===== */
.page-banner {
    height: 320px;
    background: url('../images/banner/page-banner.webp') center/cover no-repeat, linear-gradient(135deg, #01579b 0%, #0288d1 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(1,87,155,0.7) 0%, rgba(2,136,209,0.6) 100%);
}
.page-banner-content {
    position: relative;
    z-index: 2;
}
.page-banner h1 {
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.breadcrumb {
    font-size: 14px;
    letter-spacing: 1px;
}
.breadcrumb a { color: #fff; opacity: 0.85; transition: opacity 0.3s; }
.breadcrumb a:hover { opacity: 1; }
.breadcrumb span { margin: 0 10px; opacity: 0.6; }
.page-banner-wave {
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C300,60 600,0 900,30 C1200,60 1440,15 1440,15 L1440,60 L0,60 Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat center bottom;
    background-size: cover;
    z-index: 3;
}

/* ===== Generic Page Section ===== */
.page-section { padding: 90px 0; }
.page-section.bg-light { background: #f5fafd; }

/* ===== Products Page ===== */
.product-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}
.filter-btn {
    padding: 10px 26px;
    border: 2px solid #e0e8ef;
    background: #fff;
    color: #555;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.filter-btn:hover, .filter-btn.active {
    background: #0288d1;
    border-color: #0288d1;
    color: #fff;
    box-shadow: 0 8px 20px rgba(2,136,209,0.25);
}
.products-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}
.pagination a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e8ef;
    border-radius: 6px;
    color: #555;
    font-size: 14px;
    transition: all 0.3s;
}
.pagination a:hover, .pagination a.active {
    background: #0288d1;
    color: #fff;
    border-color: #0288d1;
}

/* ===== About Page ===== */
.timeline {
    position: relative;
    padding: 40px 0;
    max-width: 900px;
    margin: 0 auto;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #0288d1, #01579b);
    transform: translateX(-50%);
}
.timeline-item {
    position: relative;
    width: 50%;
    padding: 25px 50px;
}
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item::before {
    content: '';
    position: absolute;
    top: 35px;
    width: 18px;
    height: 18px;
    background: #fff;
    border: 4px solid #0288d1;
    border-radius: 50%;
    z-index: 2;
}
.timeline-item:nth-child(odd)::before { right: -9px; }
.timeline-item:nth-child(even)::before { left: -9px; }
.timeline-year {
    display: inline-block;
    background: #0288d1;
    color: #fff;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}
.timeline-item h3 { color: #01579b; font-size: 19px; margin-bottom: 6px; }
.timeline-item p { color: #666; font-size: 14px; }

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.value-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    transition: all 0.3s;
    border-top: 4px solid #0288d1;
}
.value-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(2,136,209,0.15); }
.value-icon {
    width: 80px; height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #0288d1, #01579b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
}
.value-card h3 { color: #01579b; margin-bottom: 12px; }
.value-card p { color: #666; font-size: 14px; }

.cert-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.cert-item {
    background: #fff;
    padding: 25px 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    transition: all 0.3s;
}
.cert-item:hover { transform: translateY(-5px); }
.cert-item strong {
    display: block;
    color: #01579b;
    font-size: 22px;
    margin-bottom: 4px;
}
.cert-item span { font-size: 12px; color: #888; }

/* ===== Contact Page ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
}
.contact-info-card {
    background: linear-gradient(135deg, #0288d1, #01579b);
    color: #fff;
    padding: 45px 35px;
    border-radius: 15px;
}
.contact-info-card h3 {
    font-size: 26px;
    margin-bottom: 12px;
}
.contact-info-card > p {
    opacity: 0.9;
    margin-bottom: 35px;
    line-height: 1.7;
}
.contact-item {
    display: flex;
    gap: 18px;
    margin-bottom: 25px;
    align-items: flex-start;
}
.contact-item-icon {
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.contact-item-text strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.contact-item-text span {
    opacity: 0.9;
    font-size: 14px;
    line-height: 1.6;
}
.contact-social {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.contact-social a {
    display: inline-flex;
    width: 42px; height: 42px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    transition: all 0.3s;
}
.contact-social a:hover { background: #fff; color: #0288d1; }

.contact-form {
    background: #fff;
    padding: 45px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}
.contact-form h3 {
    color: #01579b;
    font-size: 26px;
    margin-bottom: 8px;
}
.contact-form > p {
    color: #777;
    margin-bottom: 30px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 7px;
    letter-spacing: 0.5px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid #e6eef5;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s;
    background: #f9fbfd;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #0288d1;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(2,136,209,0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.btn-submit {
    background: linear-gradient(135deg, #0288d1, #01579b);
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}
.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(2,136,209,0.35);
}

.map-section {
    height: 400px;
    background: #e8eef3;
    background-image: linear-gradient(135deg, #c4d8e5, #a3c1d4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #01579b;
    font-size: 18px;
    text-align: center;
}

/* ===== News / Blog Page ===== */
.news-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ===== Case Page ===== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.case-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    transition: all 0.4s;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
}
.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(2,136,209,0.15);
}
.case-img {
    min-height: 240px;
    position: relative;
    background-size: cover !important;
    background-position: center !important;
}
.case-info { padding: 30px 28px; }
.case-tag {
    display: inline-block;
    background: #e3f2fd;
    color: #0288d1;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}
.case-info h3 {
    color: #01579b;
    font-size: 20px;
    margin-bottom: 10px;
}
.case-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.7;
}
.case-meta {
    display: flex;
    gap: 18px;
    color: #999;
    font-size: 13px;
}

/* ===== Factory Page ===== */
.factory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ===== Services Page ===== */
.services-hero {
    height: 360px;
    background-image: url(/images/services/services-banner.jpg);
    background-size: cover;
    background-position: center;
}
.services-showcase {
    background: #fff;
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 65px;
}
.services-head {
    margin-bottom: 47px;
}
.services-head .section-title {
    font-size: 26px;
    line-height: 1.1;
    font-weight: 600;
}
.services-head::after {
    content: '';
    display: block;
    width: 38px;
    height: 2px;
    margin: 18px auto 0;
    background: #0288d1;
}
.services-stage {
    width: 100%;
    margin: 0 auto;
}
.services-ladder {
    position: relative;
    width: min(1260px, calc(100% - 56px));
    max-width: none;
    margin: 0 auto;
    display: grid;
    gap: 36px;
}
.service-panel {
    position: relative;
    min-height: 310px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.42fr;
    background: #f4f4f4;
    overflow: hidden;
}
.service-panel-right,
.service-panel-left {
    margin: 0;
}
.service-panel-left {
    grid-template-columns: 1.42fr 1fr;
}
.service-image {
    position: relative;
    height: 100%;
    min-height: 310px;
    background-size: cover;
    background-position: center;
}
.service-panel-left .service-image {
    grid-column: 2;
    grid-row: 1;
}
.service-copy {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 92px 92px 70px;
    background: #f4f4f4;
    color: #222;
}
.service-copy h3 {
    color: #111;
    font-size: 27px;
    line-height: 1.28;
    margin-bottom: 26px;
    font-weight: 700;
}
.service-copy p {
    color: #a0a0a0;
    font-size: 14px;
    line-height: 1.9;
    font-weight: 600;
}

/* ===== FAQ Page ===== */
.faq-hero {
    height: 360px;
    background-image: url(/images/faq/faq-banner.jpg);
    background-size: cover;
    background-position: center;
}
.faq-page {
    background: #fff;
}
.faq-section {
    width: min(1120px, calc(100% - 56px));
    margin: 0 auto;
    padding: 82px 0 76px;
}
.faq-heading {
    text-align: center;
    margin-bottom: 62px;
}
.faq-heading h1,
.faq-heading h2 {
    color: #052643;
    font-size: 52px;
    line-height: 1.15;
    font-weight: 700;
}
.faq-heading span {
    display: block;
    width: 38px;
    height: 2px;
    margin: 18px auto 0;
    background: #052643;
}
.faq-list {
    display: grid;
    gap: 0;
}
.faq-row {
    display: grid;
    grid-template-columns: 36% 1fr;
    gap: 70px;
    align-items: start;
    padding: 34px 0;
    border-bottom: 1px solid #eceff2;
}
.faq-row:first-child {
    border-top: 1px solid #eceff2;
}
.faq-question {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 18px;
}
.faq-question span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #052643;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}
.faq-question h2 {
    color: #333;
    font-size: 17px;
    line-height: 1.55;
    font-weight: 700;
}
.faq-row p {
    color: #777;
    font-size: 15px;
    line-height: 1.85;
}
.faq-consult {
    display: grid;
    grid-template-columns: 0.92fr 1fr;
    gap: 70px;
    align-items: center;
    padding: 88px max(56px, calc((100vw - 1120px) / 2)) 92px;
    background: #f4f8fb;
}
.faq-heading-left {
    text-align: left;
    margin-bottom: 28px;
}
.faq-heading-left h2 {
    max-width: 520px;
}
.faq-heading-left span {
    margin-left: 0;
}
.faq-consult-copy p {
    max-width: 520px;
    color: #777;
    font-size: 15px;
    line-height: 1.9;
}
.faq-form {
    display: grid;
    gap: 16px;
}
.faq-form label {
    position: relative;
    display: block;
}
.faq-form label span {
    position: absolute;
    top: 17px;
    left: 18px;
    color: #d72323;
    font-size: 16px;
    line-height: 1;
}
.faq-form input,
.faq-form textarea {
    width: 100%;
    border: 0;
    background: #fff;
    color: #333;
    font: inherit;
    font-size: 14px;
    padding: 15px 18px 15px 36px;
    outline: none;
}
.faq-form textarea {
    min-height: 132px;
    resize: vertical;
}
.faq-form button {
    width: 140px;
    height: 46px;
    border: 0;
    background: #052643;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}
.faq-form button:hover {
    background: #0288d1;
    transform: translateY(-2px);
}
.factory-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all 0.4s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
.factory-item:hover { transform: scale(1.03); box-shadow: 0 15px 40px rgba(2,136,209,0.2); }
.factory-item-img {
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}
.factory-item:hover .factory-item-img { transform: scale(1.1); }
.factory-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(1,87,155,0.92) 0%, rgba(1,87,155,0.3) 50%, transparent 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    color: #fff;
    opacity: 1;
    transition: background 0.4s;
}
.factory-item:hover .factory-item-overlay { background: linear-gradient(to top, rgba(1,87,155,0.95) 0%, rgba(1,87,155,0.5) 70%, rgba(0,0,0,0.2) 100%); }
.factory-item-overlay h3 { font-size: 19px; margin-bottom: 6px; }
.factory-item-overlay p { font-size: 13px; opacity: 0.9; }
.factory-item.large { grid-row: span 2; grid-column: span 2; }

/* Featured product big card */
.product-detail-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    transition: all 0.4s;
}
.product-detail-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(2,136,209,0.15);
}

/* ===== Product Detail Page ===== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 70px;
}
.product-gallery .main-img {
    height: 480px;
    border-radius: 14px;
    background-size: cover;
    background-position: center;
    position: relative;
    box-shadow: 0 15px 40px rgba(2, 136, 209, 0.18);
    margin-bottom: 18px;
    overflow: hidden;
    transition: opacity 0.3s;
}
.thumb-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.thumb-list .thumb {
    height: 90px;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.thumb-list .thumb.active { border-color: #0288d1; }
.thumb-list .thumb:hover { transform: translateY(-3px); }

.product-info-detail h1 {
    color: #01579b;
    font-size: 34px;
    margin-bottom: 12px;
}
.product-meta-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.product-meta-tags span {
    background: #e3f2fd;
    color: #0288d1;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}
.product-info-detail > p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 28px;
}
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 28px;
    background: #f9fbfd;
    border-radius: 10px;
    overflow: hidden;
}
.spec-table th, .spec-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid #e6eef5;
    font-size: 14px;
}
.spec-table th {
    background: #e3f2fd;
    color: #01579b;
    font-weight: 600;
    width: 35%;
}
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }
.product-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Tabs */
.detail-tabs {
    margin-bottom: 70px;
}
.tab-nav {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid #e6eef5;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.tab-nav button {
    padding: 14px 28px;
    background: transparent;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #777;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}
.tab-nav button::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0; right: 0;
    height: 3px;
    background: #0288d1;
    transform: scaleX(0);
    transition: transform 0.3s;
}
.tab-nav button.active,
.tab-nav button:hover { color: #0288d1; }
.tab-nav button.active::after { transform: scaleX(1); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.tab-content h3 {
    color: #01579b;
    font-size: 22px;
    margin-bottom: 14px;
    margin-top: 22px;
}
.tab-content h3:first-child { margin-top: 0; }
.tab-content p {
    color: #555;
    margin-bottom: 14px;
    line-height: 1.8;
}
.tab-content ul {
    padding-left: 20px;
    margin-bottom: 16px;
}
.tab-content ul li {
    list-style: disc;
    color: #555;
    margin-bottom: 8px;
    line-height: 1.7;
}

/* ===== News / Case Detail Page ===== */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
}
.article-main {
    background: #fff;
    border-radius: 14px;
    padding: 0;
}
.article-hero {
    height: 380px;
    border-radius: 14px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.article-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: #888;
    font-size: 13px;
    margin-bottom: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eef3f7;
}
.article-meta span strong { color: #0288d1; margin-right: 5px; }
.article-main h1 {
    color: #01579b;
    font-size: 34px;
    line-height: 1.3;
    margin-bottom: 18px;
}
.article-body {
    color: #444;
    font-size: 15px;
    line-height: 1.9;
}
.article-body p { margin-bottom: 18px; }
.article-body h2 {
    color: #01579b;
    font-size: 24px;
    margin: 35px 0 15px;
}
.article-body h3 {
    color: #01579b;
    font-size: 19px;
    margin: 28px 0 12px;
}
.article-body blockquote {
    border-left: 4px solid #0288d1;
    background: #f5fafd;
    padding: 18px 22px;
    margin: 24px 0;
    color: #444;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}
.article-body ul, .article-body ol {
    padding-left: 22px;
    margin-bottom: 18px;
}
.article-body li {
    margin-bottom: 8px;
    list-style: disc;
}
.article-body img,
.article-body .inline-img {
    width: 100%;
    height: 280px;
    border-radius: 10px;
    margin: 20px 0;
    background: linear-gradient(135deg, #4fc3f7, #01579b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    font-size: 90px;
}
.article-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 25px 0;
    border-top: 1px solid #eef3f7;
    margin-top: 30px;
}
.article-tags a {
    background: #f5fafd;
    color: #0288d1;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
}
.article-tags a:hover { background: #0288d1; color: #fff; }

.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 25px 0;
    border-top: 1px solid #eef3f7;
}
.article-nav a {
    flex: 1;
    color: #555;
    font-size: 14px;
    transition: color 0.3s;
}
.article-nav a:hover { color: #0288d1; }
.article-nav a span {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.article-nav a.next { text-align: right; }

/* Sidebar */
.sidebar { position: sticky; top: 100px; }
.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.sidebar-widget h4 {
    color: #01579b;
    font-size: 18px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e6eef5;
    position: relative;
}
.sidebar-widget h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #0288d1;
}
.sidebar-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #eef3f7;
}
.sidebar-list li:last-child { border-bottom: 0; }
.sidebar-list a {
    color: #444;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.3s;
}
.sidebar-list a:hover { color: #0288d1; }
.sidebar-list .post-date {
    display: block;
    color: #999;
    font-size: 12px;
    margin-top: 4px;
}
.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.sidebar-tags a {
    background: #f5fafd;
    color: #555;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.3s;
}
.sidebar-tags a:hover { background: #0288d1; color: #fff; }

/* Case detail specifics */
.case-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #f5fafd, #e3f2fd);
    border-radius: 12px;
    border-left: 4px solid #0288d1;
}
.case-summary-item strong {
    display: block;
    color: #999;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.case-summary-item span {
    color: #01579b;
    font-size: 16px;
    font-weight: 600;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .features-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 44px; }
    .section-title { font-size: 30px; }
    .services-ladder::before { display: none; }
    .services-ladder { transform: none; }
    .service-panel { width: 100%; grid-template-columns: 1fr; }
    .service-panel-right,
    .service-panel-left { margin: 0; }
    .service-panel:nth-child(3) { margin-right: 0; }
    .faq-row { grid-template-columns: 1fr; gap: 18px; }
    .faq-consult { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 992px) and (min-width: 769px) {
    .products-grid-full, .news-grid-full, .factory-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
    .cert-grid { grid-template-columns: repeat(3, 1fr); }
    .cases-grid, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .top-bar .container { flex-direction: column; gap: 5px; }
    .page-banner { height: 240px; }
    .page-banner h1 { font-size: 32px; }
    .products-grid-full, .news-grid-full, .factory-grid, .values-grid,
    .cases-grid, .contact-grid, .cert-grid { grid-template-columns: 1fr; }
    .cert-grid { grid-template-columns: repeat(2, 1fr); }
    .case-card { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .timeline::before { left: 20px; }
    .timeline-item { width: 100%; left: 0 !important; padding-left: 50px; padding-right: 15px; text-align: left !important; }
    .timeline-item::before { left: 11px !important; right: auto !important; }
    .factory-item.large { grid-row: span 1; grid-column: span 1; }
    .contact-form { padding: 30px 22px; }
    .product-detail, .article-layout { grid-template-columns: 1fr; gap: 35px; }
    .product-gallery .main-img { height: 340px; }
    .product-gallery .main-img::after { font-size: 120px; }
    .case-summary { grid-template-columns: repeat(2, 1fr); }
    .services-ladder { gap: 30px; }
    .faq-hero { height: 240px; }
    .faq-section {
        width: min(100% - 36px, 1120px);
        padding: 54px 0 50px;
    }
    .faq-heading { margin-bottom: 38px; }
    .faq-heading h1,
    .faq-heading h2 { font-size: 34px; }
    .faq-row { padding: 26px 0; }
    .faq-question {
        grid-template-columns: 42px 1fr;
        gap: 14px;
    }
    .faq-question span {
        width: 42px;
        height: 42px;
        font-size: 12px;
    }
    .faq-question h2 { font-size: 16px; }
    .faq-consult {
        padding: 54px 18px 58px;
    }
    .service-panel,
    .service-panel-left {
        min-height: 0;
        grid-template-columns: 1fr;
        margin-left: 0;
        overflow: visible;
    }
    .service-panel-left .service-image,
    .service-panel-left .service-copy {
        grid-column: 1;
    }
    .service-panel-left .service-copy { grid-row: 2; }
    .service-image {
        position: relative;
        min-height: 240px;
    }
    .service-copy {
        position: relative;
        top: auto;
        left: auto;
        width: auto;
        margin: 0 !important;
        padding: 24px;
        transform: none;
    }
    .service-copy h3 { font-size: 21px; }
    .sidebar { position: static; }
    .article-main h1 { font-size: 26px; }
    .nav {
        position: fixed;
        top: 0; right: -100%;
        width: 280px; height: 100vh;
        background: #fff;
        box-shadow: -5px 0 30px rgba(0,0,0,0.15);
        padding: 80px 20px 30px;
        transition: 0.4s;
        z-index: 999;
    }
    .nav.active { right: 0; }
    .nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-item > a { padding: 14px 10px; border-bottom: 1px solid #f0f0f0; }
    .nav-item.has-dropdown > a .nav-arrow { float: right; margin-top: 6px; }
    .dropdown {
        position: static; opacity: 1; visibility: visible;
        transform: none; box-shadow: none; background: #f9f9f9;
        display: none; border-top: 0; border-radius: 0;
        padding: 0; pointer-events: auto;
    }
    .dropdown::before, .dropdown::after { display: none; }
    .nav-item.has-dropdown:hover .dropdown,
    .nav-item.has-dropdown.open .dropdown { display: block; transform: none; }
    .dropdown li a { padding: 12px 30px; }
    .mobile-toggle { display: flex; }
    .hero { height: 500px; }
    .hero-title { font-size: 32px; }
    .stats-grid, .features-grid, .products-grid, .news-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .stat-item strong { font-size: 38px; }
}
