/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.5;
    color: #222;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

ul {
    list-style: none;
}

/* Variables - Pure Flat */
:root {
    --primary: #005bb7;
    --dark: #111111;
    --gray-light: #f9f9f9;
    --gray-border: #eeeeee;
    --white: #ffffff;
    --nav-height: 90px;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header */
header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: var(--gray-light);
    color: #666;
    font-size: 14px;
    padding: 12px 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--gray-border);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
}

.contact-info span {
    margin-right: 25px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-height);
    border-bottom: 1px solid var(--gray-border);
}

.logo h1 {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.2px;
}

.nav-links {
    display: flex;
    height: 100%;
}

.nav-links li {
    display: flex;
    align-items: center;
    position: relative;
}

.nav-links li a {
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #444;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links li a:hover {
    color: var(--dark);
}

.nav-links li a:hover::after {
    transform: scaleX(1);
}

.nav-links li a.active {
    color: var(--primary);
}

.nav-links li a.active::after {
    transform: scaleX(1);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    padding: 0; /* Remove padding */
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--white);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s ease 0.3s;
}

.hero-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s ease 0.5s;
}

.hero-content .btn-flat {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s ease 0.7s;
}

.slide.active .hero-content h2,
.slide.active .hero-content p,
.slide.active .hero-content .btn-flat {
    transform: translateY(0);
    opacity: 1;
}

/* Slider Controls */
.slider-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    font-size: 24px;
    padding: 20px 15px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.slider-nav button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.slider-nav .prev { left: 30px; }
.slider-nav .next { right: 30px; }

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--white);
    width: 30px; /* Flat style indicator */
}

.btn-flat {
    background: var(--primary);
    color: var(--white);
    padding: 16px 48px;
    display: inline-block;
    font-weight: 600;
    font-size: 16px;
}

.btn-flat:hover {
    background: #004a96;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 60px;
    text-align: center;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: var(--primary);
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: #444;
    font-size: 16px;
}

.about-stats-flat {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--gray-border);
    border: 1px solid var(--gray-border);
}

.stat-box {
    background: var(--white);
    padding: 40px 20px;
    text-align: center;
}

.stat-box h4 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 10px;
}

/* Products - Enhanced Card Style */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    background: transparent;
    border: none;
}

.product-card {
    background: var(--white);
    padding: 0;
    border: 1px solid var(--gray-border);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.product-image {
    width: 100%;
    height: 270px;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 700;
}

.product-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-more {
    margin-top: auto;
    padding: 12px 0;
    text-align: center;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.product-card:hover .btn-more {
    background: var(--primary);
    color: var(--white);
}

/* Partners */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--gray-border);
    border: 1px solid var(--gray-border);
}

.partner-box {
    background: var(--white);
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.partner-box img {
    max-width: 80%;
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-box:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Footer */
footer {
    background: var(--dark);
    color: #999;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

footer h3, footer h4 {
    color: var(--white);
    margin-bottom: 25px;
}

.footer-contact p {
    margin-bottom: 15px;
}

.footer-bottom {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid #333;
    text-align: center;
    font-size: 13px;
}

/* News Section - Refined Premium Style */
.news-grid-flat {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-item {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--gray-border);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.news-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.news-date-box {
    padding: 20px 25px;
    background: var(--gray-light);
    display: flex;
    align-items: baseline;
    gap: 8px;
    border-bottom: 1px solid var(--gray-border);
    transition: all 0.3s ease;
}

.news-item:hover .news-date-box {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.news-date-box .day {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.news-date-box .month-year {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

.news-item:hover .news-date-box .month-year {
    opacity: 1;
}

.news-content {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.5;
    color: var(--dark);
    transition: color 0.3s ease;
}

.news-item:hover h3 {
    color: var(--primary);
}

.news-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-btn {
    margin-top: auto;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.news-item:hover .read-more-btn {
    gap: 15px;
}

/* Inner Page Banner */
.page-banner {
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}

.breadcrumb {
    font-size: 14px;
    opacity: 0.8;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.inner-page-content {
    padding: 80px 0;
}

/* About Page Specific */
.about-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-detail-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--dark);
}

.about-detail-text p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

/* Contact Page Specific */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-list {
    margin-top: 30px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-item .icon-box {
    width: 50px;
    height: 50px;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 800;
    font-size: 20px;
}

.contact-info-item .text-box h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--dark);
}

.contact-info-item .text-box p {
    font-size: 14px;
    color: #666;
}

.contact-form {
    background: var(--gray-light);
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-border);
    background: var(--white);
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

textarea.form-control {
    height: 120px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #004a96;
}

/* Article Detail Page Styles */
.article-detail-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--gray-border);
}

.article-detail-header h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 14px;
    color: #888;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-body {
    font-size: 16px;
    line-height: 2;
    color: #444;
    margin-bottom: 60px;
}

.article-body p {
    margin-bottom: 25px;
}

.article-body img {
    max-width: 100% !important;
    height: auto !important;
    margin: 30px 0;
    border: 1px solid var(--gray-border);
}

.article-footer {
    padding-top: 30px;
    border-top: 1px solid var(--gray-border);
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.article-footer a {
    color: var(--dark);
    transition: color 0.3s;
}

.article-footer a:hover {
    color: var(--primary);
}

.article-footer span {
    color: #999;
}
.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.product-detail-gallery {
    position: sticky;
    top: 120px;
}

.main-image {
    border: 1px solid var(--gray-border);
    margin-bottom: 20px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.main-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.product-detail-info h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark);
    line-height: 1.2;
}

.product-meta {
    padding: 20px 0;
    border-top: 1px solid var(--gray-border);
    border-bottom: 1px solid var(--gray-border);
    margin-bottom: 30px;
}

.product-meta p {
    font-size: 15px;
    color: #666;
    margin-bottom: 10px;
}

.product-meta span {
    color: var(--dark);
    font-weight: 600;
    margin-right: 10px;
}

.product-summary {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

.product-actions {
    display: flex;
    gap: 20px;
}

.btn-contact-now {
    background: var(--primary);
    color: var(--white);
    padding: 15px 40px;
    font-weight: 700;
    font-size: 16px;
    transition: background 0.3s;
}

.btn-contact-now:hover {
    background: #004a96;
}

/* Tabbed Content */
.product-tabs {
    margin-top: 60px;
    border-top: 1px solid var(--gray-border);
}

.tabs-header {
    display: flex;
    gap: 40px;
    border-bottom: 1px solid var(--gray-border);
}

.tab-item {
    padding: 20px 0;
    font-size: 16px;
    font-weight: 700;
    color: #999;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.tab-item.active {
    color: var(--primary);
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.tabs-content {
    padding: 40px 0;
    line-height: 2;
    color: #444;
}

.tabs-content img {
    max-width: 100% !important;
    height: auto !important;
}
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-border);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.page-link:hover, .page-link.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    border: 1px solid var(--gray-border);
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: var(--gray-light);
    border-color: var(--dark);
}

.menu-toggle span {
    width: 20px;
    height: 1.5px;
    background: var(--dark);
    margin: 2.5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        border-top: 1px solid var(--gray-border);
        border-bottom: 2px solid var(--dark);
        padding: 20px 0;
        flex-direction: column;
        height: auto;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        width: 100%;
        justify-content: center;
    }
    .nav-links li a {
        padding: 15px 0;
        width: 100%;
        justify-content: center;
        height: auto;
    }
    .nav-links li a::after {
        bottom: 10px;
        left: 30%;
        right: 30%;
    }
    .about-grid, .footer-grid, .product-grid, .partners-grid {
        grid-template-columns: 1fr;
    }
    .hero h2 { font-size: 32px; }
}
