:root {
    --primary: #662e91;
    --primary-light: #8b5cb8;
    --accent: #e63946;
    --accent-hover: #c1121f;
    --dark: #0f172a;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gold: #d4a843;
}

/* ===== Page Banner (Shared) ===== */
.page-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}

.page-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}

.page-banner-content {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.page-banner p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin: 0;
    font-weight: 300;
}

/* ===== Breadcrumb (Shared) ===== */
.breadcrumb-wrapper {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    padding: 12px 0;
}

.breadcrumb {
    font-size: 0.88rem;
}

.breadcrumb-item a {
    color: var(--gray-500);
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-item a .bi {
    margin-right: 4px;
}

.breadcrumb-item.active {
    color: var(--primary);
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '›';
    color: var(--gray-400);
    font-weight: 600;
}

/* ===== Section Header Center (Shared) ===== */
.section-header-center {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.section-header-center h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.section-header-center p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== Cert Item (Shared) ===== */
.cert-item {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 28px 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.cert-item:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(102, 46, 145, 0.1);
    transform: translateY(-4px);
}

.cert-icon {
    margin-bottom: 14px;
}

.cert-icon .bi {
    font-size: 2.2rem;
    color: var(--primary);
}

.cert-item h6 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.cert-item span {
    font-size: 0.78rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* ===== Page Banner Responsive (Shared) ===== */
@media (max-width: 991.98px) {
    .page-banner { padding: 60px 0 40px; }
    .page-banner h1 { font-size: 2rem; }
}

@media (max-width: 767.98px) {
    .page-banner h1 { font-size: 1.6rem; }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { color: var(--primary); font-weight: 700; }

a { text-decoration: none; transition: all 0.3s ease; }

.section-padding { padding: 90px 0; }

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    position: relative;
}

.section-subtitle {
    color: var(--gray-500);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.section-label {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

/* ===== Buttons ===== */
.btn-accent {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.35);
}

.btn-outline-light {
    border-width: 2px;
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 4px;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

.btn-primary-custom {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background: var(--primary-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 36, 99, 0.35);
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--primary);
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar a { color: rgba(255,255,255,0.85); }

.top-bar a:hover { color: #fff; }

.top-bar .bi { margin-right: 5px; }

.top-bar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    margin-left: 6px;
    font-size: 0.8rem;
}

.top-bar-social a:hover { background: var(--accent); }

/* ===== Navbar ===== */
.main-navbar {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: all 0.3s ease;
}

.main-navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--primary) !important;
    padding: 15px 0;
}

.navbar-brand span { color: var(--accent); }

.navbar-brand .site-name {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary);
    white-space: nowrap;
    letter-spacing: -0.02em;
}

.navbar-brand .site-name span { color: var(--accent); }

.main-navbar .nav-link {
    color: var(--gray-700) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 28px 18px !important;
    position: relative;
    transition: color 0.3s ease;
}

.main-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--primary) !important;
}

.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after {
    transform: scaleX(1);
}

/* ===== Get A Quote Button ===== */
.nav-inquiry-btn {
    background: linear-gradient(135deg, var(--accent) 0%, #ff6b6b 100%);
    color: #fff !important;
    border-radius: 50px;
    padding: 10px 10px !important;
    margin: 18px 0 18px 15px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.nav-inquiry-btn::after { display: none !important; }

/* ===== Dropdown Menu ===== */
.main-navbar .dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(102, 46, 145, 0.12);
    padding: 12px 0;
    min-width: 240px;
    background: #fff;
    animation: dropdownFadeIn 0.25s ease;
    margin-top: 0;
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.main-navbar .dropdown-item {
    padding: 10px 24px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: all 0.2s ease;
    position: relative;
}

.main-navbar .dropdown-item:hover,
.main-navbar .dropdown-item:focus {
    background: var(--gray-50);
    color: var(--primary);
    padding-left: 30px;
}

.main-navbar .dropdown-item.dropdown-toggle::after {
    content: '\F285';
    font-family: 'bootstrap-icons';
    border: none;
    font-size: 0.7rem;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    transition: color 0.2s ease;
}

.main-navbar .dropdown-item.dropdown-toggle:hover::after {
    color: var(--primary);
}

.main-navbar .dropdown-divider {
    margin: 8px 20px;
    border-color: var(--gray-200);
}

.main-navbar .dropdown-toggle.nav-link::after {
    content: '';
    display: none;
}

.main-navbar .dropdown .nav-link .caret-icon {
    font-size: 0.55rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

.main-navbar .dropdown.show .nav-link .caret-icon {
    transform: rotate(180deg);
}

/* ===== Submenu (Level 2+) ===== */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: -12px;
    left: 100%;
    margin-left: 2px;
    min-width: 260px;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > .dropdown-item::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 20px;
}

/* ===== Desktop Hover ===== */
@media (min-width: 992px) {
    .main-navbar .dropdown:hover > .dropdown-menu {
        display: block;
    }

    .main-navbar .dropdown .nav-link {
        cursor: pointer;
    }

    .dropdown-submenu > .dropdown-menu {
        display: none;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
        animation: dropdownFadeIn 0.25s ease;
    }
}

/* ===== Mobile Dropdown ===== */
@media (max-width: 991.98px) {
    .main-navbar .dropdown-menu {
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        background: var(--gray-50);
        margin: 0;
        animation: none;
    }

    .main-navbar .dropdown-item {
        padding: 10px 24px 10px 36px;
        font-size: 0.9rem;
    }

    .main-navbar .dropdown-item:hover {
        padding-left: 42px;
    }

    .dropdown-submenu > .dropdown-menu {
        position: static;
        min-width: 100%;
        margin: 0;
        padding: 0;
        background: var(--gray-100);
    }

    .dropdown-submenu > .dropdown-item.dropdown-toggle::after {
        content: '\F282';
    }

    .dropdown-submenu.open > .dropdown-item.dropdown-toggle::after {
        content: '\F286';
    }

    .dropdown-submenu > .dropdown-menu {
        display: none;
    }

    .dropdown-submenu.open > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > .dropdown-menu .dropdown-item {
        padding-left: 50px;
        font-size: 0.85rem;
    }

    .dropdown-submenu > .dropdown-menu .dropdown-item:hover {
        padding-left: 56px;
    }
}

.nav-inquiry-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.5s ease;
}

.nav-inquiry-btn:hover::before {
    left: 100%;
}

.nav-inquiry-btn:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(230, 57, 70, 0.45);
}

.nav-inquiry-btn i {
    margin-right: 4px;
    font-size: 0.85rem;
}

/* ===== Hero Carousel ===== */
.hero-carousel .carousel-item {
    height: 85vh;
    min-height: 550px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-carousel .carousel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,36,99,0.85) 0%, rgba(10,36,99,0.4) 60%, transparent 100%);
}

.hero-carousel .carousel-caption {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    text-align: left;
    padding: 0 12%;
    bottom: auto;
}

.hero-carousel .carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    max-width: 700px;
}

.hero-carousel .carousel-caption p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    max-width: 550px;
    font-weight: 300;
}

.hero-carousel .carousel-caption .btn-group { display: flex; gap: 15px; flex-wrap: wrap; }

.hero-carousel .carousel-indicators [data-bs-target] {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.4);
    border: none;
}

.hero-carousel .carousel-indicators .active {
    background: var(--accent);
    width: 60px;
}

.hero-carousel-control {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    opacity: 0;
    transition: all 0.3s ease;
}

.hero-carousel:hover .hero-carousel-control {
    opacity: 1;
}

.carousel-control-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    font-size: 1.4rem;
    color: #fff;
    transition: all 0.3s ease;
}

.carousel-control-icon:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

/* ===== Quick Stats Bar ===== */
.stats-bar {
    background: var(--primary);
    margin-top: -60px;
    position: relative;
    z-index: 10;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(10,36,99,0.3);
}

.stat-item {
    padding: 35px 20px;
    text-align: center;
    color: #fff;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-item:last-child { border-right: none; }

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-number span { color: var(--accent); }

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ===== Why Choose Us ===== */
.why-choose { background: var(--gray-50); }

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid var(--gray-200);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(10,36,99,0.1);
    border-color: transparent;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: #fff;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    transform: scale(1.1);
}

.feature-card h5 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-card p {
    color: var(--gray-500);
    font-size: 0.92rem;
    margin: 0;
}

/* ===== Hot Products ===== */
.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid var(--gray-200);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(10,36,99,0.1);
    border-color: transparent;
}

.product-img {
    position: relative;
    overflow: hidden;
    height: 260px;
    background: var(--gray-100);
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-img img { transform: scale(1.08); }

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent);
    color: #fff;
    padding: 4px 14px;
    border-radius: 3px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-body { padding: 25px; }

.product-body h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.product-body h5 a { color: var(--primary); }

.product-body h5 a:hover { color: var(--accent); }

.product-body p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.product-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.product-link:hover { color: var(--accent-hover); gap: 10px; }

/* ===== About Us ===== */
.about-section { background: #fff; }

.about-img-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.about-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.about-experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--accent);
    color: #fff;
    padding: 25px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(230,57,70,0.4);
}

.about-experience-badge .number {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
}

.about-experience-badge .text {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content h2 { margin-bottom: 1rem; }

.about-content p { color: var(--gray-600); margin-bottom: 1.2rem; }

.about-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.about-list li {
    padding: 8px 0;
    color: var(--gray-700);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-list li .bi {
    color: var(--accent);
    font-size: 1.2rem;
}

/* ===== News ===== */
.news-section { background: var(--gray-50); }

.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid var(--gray-200);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(10,36,99,0.08);
}

.news-img {
    height: 220px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img img { transform: scale(1.05); }

.news-body { padding: 25px; }

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.82rem;
    color: var(--gray-400);
}

.news-meta .bi { margin-right: 4px; color: var(--accent); }

.news-body h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-body h5 a { color: var(--primary); }
.news-body h5 a:hover { color: var(--accent); }

.news-body p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===== CTA Banner ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}

.cta-section h2 { color: #fff; font-size: 2.5rem; font-weight: 800; }

.cta-section p { color: rgba(255,255,255,0.8); font-size: 1.15rem; }

.cta-section .btn-accent {
    padding: 16px 40px;
    font-size: 1rem;
    border-radius: 50px;
}

/* ===== Partners ===== */
.partners-section { background: #fff; }

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    padding: 15px;
    filter: grayscale(100%) opacity(0.4);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%) opacity(1);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding-top: 80px;
}

.footer-widget h5 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-widget h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-about p {
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    margin-right: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover { color: var(--accent); padding-left: 5px; }

.footer-links a .bi { font-size: 0.7rem; color: var(--accent); }

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.92rem;
}

.footer-contact li .bi {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-newsletter .input-group {
    margin-top: 15px;
}

.footer-newsletter .form-control {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 12px 16px;
    border-radius: 4px 0 0 4px;
    font-size: 0.9rem;
}

.footer-newsletter .form-control::placeholder { color: rgba(255,255,255,0.4); }

.footer-newsletter .form-control:focus {
    background: rgba(255,255,255,0.12);
    border-color: var(--accent);
    box-shadow: none;
}

.footer-newsletter .btn {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-weight: 600;
    border-radius: 0 4px 4px 0;
}

.footer-newsletter .btn:hover { background: var(--accent-hover); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 25px 0;
    margin-top: 50px;
    font-size: 0.85rem;
}

.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--accent); }

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 20px rgba(230,57,70,0.4);
    z-index: 999;
    transition: all 0.3s ease;
    cursor: pointer;
}

.back-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
}

.back-to-top.show { display: flex; }

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 5px 25px rgba(37,211,102,0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}

/* ===== Animations ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Company Overview ===== */
.overview-img-wrapper { position: relative; }

.overview-main-img { width: 100%; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.1); }

.overview-experience-badge { position: absolute; bottom: -20px; right: -20px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; padding: 20px 24px; border-radius: 12px; text-align: center; box-shadow: 0 10px 30px rgba(102, 46, 145, 0.3); }

.exp-number { display: block; font-size: 2.5rem; font-weight: 900; line-height: 1; }

.exp-text { display: block; font-size: 0.78rem; font-weight: 500; opacity: 0.9; line-height: 1.3; margin-top: 4px; }

.overview-content .section-label { margin-bottom: 8px; }

.overview-content h2 { font-size: 1.75rem; font-weight: 900; margin-bottom: 18px; line-height: 1.3; }

.overview-content p { color: var(--gray-600); font-size: 0.92rem; line-height: 1.75; margin-bottom: 14px; }

.overview-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0 28px; }

.overview-feature { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; font-weight: 600; color: var(--gray-700); }

.overview-feature .bi { color: var(--primary); font-size: 1rem; flex-shrink: 0; }

/* ===== Stats Counter ===== */
.stats-counter-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); padding: 60px 0; position: relative; overflow: hidden; }

.stats-counter-section::before { content: ''; position: absolute; top: -50%; right: -5%; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,0.04); }

.stat-item { text-align: center; color: #fff; position: relative; z-index: 2; }

.stat-icon { margin-bottom: 12px; }

.stat-icon .bi { font-size: 2rem; opacity: 0.7; }

.stat-number { font-size: 2.8rem; font-weight: 900; line-height: 1; display: inline; }

.stat-suffix { font-size: 2rem; font-weight: 900; display: inline; }

.stat-label { display: block; font-size: 0.88rem; font-weight: 500; opacity: 0.8; margin-top: 6px; }

/* ===== Factory Tour ===== */
.factory-card { background: #fff; border: 1px solid var(--gray-200); border-radius: 10px; overflow: hidden; transition: all 0.3s ease; }

.factory-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,0.08); transform: translateY(-4px); }

.factory-img { position: relative; overflow: hidden; }

.factory-img img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.3s ease; }

.factory-card:hover .factory-img img { transform: scale(1.05); }

.factory-overlay { position: absolute; inset: 0; background: rgba(102, 46, 145, 0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }

.factory-card:hover .factory-overlay { opacity: 1; }

.factory-overlay .bi { color: #fff; font-size: 1.6rem; }

.factory-body { padding: 18px 20px; }

.factory-body h5 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }

.factory-body p { font-size: 0.84rem; color: var(--gray-500); margin: 0; line-height: 1.6; }

/* ===== Certifications ===== */
.cert-item { background: #fff; border: 1px solid var(--gray-200); border-radius: 12px; padding: 24px 16px; text-align: center; transition: all 0.3s ease; height: 100%; }

.cert-item:hover { border-color: var(--primary); box-shadow: 0 8px 25px rgba(102, 46, 145, 0.1); transform: translateY(-4px); }

.cert-icon { margin-bottom: 12px; }

.cert-icon .bi { font-size: 2rem; color: var(--primary); }

.cert-item h6 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }

.cert-item span { font-size: 0.76rem; color: var(--gray-500); }

/* ===== Why Choose Us ===== */
.why-card { background: #fff; border: 1px solid var(--gray-200); border-radius: 12px; padding: 30px 24px; text-align: center; transition: all 0.3s ease; height: 100%; }

.why-card:hover { border-color: var(--primary); box-shadow: 0 12px 30px rgba(102, 46, 145, 0.1); transform: translateY(-4px); }

.why-icon { width: 70px; height: 70px; background: rgba(102, 46, 145, 0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; transition: all 0.3s ease; }

.why-card:hover .why-icon { background: var(--primary); }

.why-icon .bi { font-size: 1.6rem; color: var(--primary); transition: color 0.3s ease; }

.why-card:hover .why-icon .bi { color: #fff; }

.why-card h5 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }

.why-card p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.65; margin: 0; }

/* ===== Industries ===== */

.industry-card { background: #fff; border: 1px solid var(--gray-200); border-radius: 12px; padding: 24px 20px; text-align: center; transition: all 0.3s ease; height: 100%; }

.industry-card:hover { border-color: var(--primary); box-shadow: 0 8px 25px rgba(102, 46, 145, 0.1); transform: translateY(-4px); }

.industry-icon { width: 60px; height: 60px; background: rgba(102, 46, 145, 0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; transition: all 0.3s ease; }

.industry-card:hover .industry-icon { background: var(--primary); }

.industry-icon .bi { font-size: 1.4rem; color: var(--primary); transition: color 0.3s ease; }

.industry-card:hover .industry-icon .bi { color: #fff; }

.industry-card h6 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }

.industry-card span { font-size: 0.78rem; color: var(--gray-500); line-height: 1.5; display: block; }

/* ===== CTA Section ===== */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); position: relative; overflow: hidden; }

.cta-section::before { content: ''; position: absolute; top: -50%; right: -5%; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,0.04); }

.cta-section h2 { color: #fff; font-size: 1.75rem; font-weight: 800; margin-bottom: 8px; }

.cta-section p { color: rgba(255,255,255,0.8); font-size: 0.95rem; margin: 0; }

/* ===== Article Detail ===== */
.article-header { margin-bottom: 28px; }

.article-meta-top { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }

.article-category-tag { background: var(--primary); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.5px; }

.article-date, .article-views { font-size: 0.82rem; color: var(--gray-400); display: flex; align-items: center; gap: 4px; }

.article-header h1 { font-size: 1.85rem; font-weight: 800; line-height: 1.35; margin-bottom: 18px; }

.article-author { display: flex; align-items: center; gap: 10px; }

.article-author-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--gray-100); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.3rem; }

.article-author-name { display: block; font-weight: 600; font-size: 0.9rem; color: var(--gray-700); }

.article-author-role { display: block; font-size: 0.78rem; color: var(--gray-400); }

.article-featured-img { border-radius: 12px; overflow: hidden; margin-bottom: 28px; }

.article-featured-img img { width: 100%; height: auto; display: block; }

.article-body { font-size: 0.95rem; line-height: 1.85; color: var(--gray-600); }

.article-body h2 { font-size: 1.3rem; font-weight: 700; color: var(--gray-800); margin-top: 32px; margin-bottom: 14px; }

.article-body p { margin-bottom: 16px; }

.article-body ul { padding-left: 0; margin-bottom: 16px; list-style: none; }

.article-body ul li { position: relative; padding-left: 22px; margin-bottom: 8px; }

.article-body ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }

.article-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }

.article-body a:hover { color: var(--primary-dark); }

.article-body blockquote { border-left: 4px solid var(--primary); background: rgba(102, 46, 145, 0.04); padding: 24px 28px; margin: 28px 0; border-radius: 0 8px 8px 0; }

.article-body blockquote p { font-size: 1rem; font-style: italic; color: var(--gray-700); margin-bottom: 10px; line-height: 1.7; }

.article-body blockquote cite { font-size: 0.85rem; color: var(--primary); font-style: normal; font-weight: 600; }

.article-image-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }

.article-image-item { border-radius: 8px; overflow: hidden; }

.article-image-item img { width: 100%; height: 200px; object-fit: cover; display: block; }

.article-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 24px; margin-top: 32px; border-top: 1px solid var(--gray-200); }

.article-tags, .article-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.article-tags-label, .article-share-label { font-size: 0.85rem; font-weight: 600; color: var(--gray-500); display: flex; align-items: center; gap: 4px; }

.article-tag { background: var(--gray-100); color: var(--gray-600); font-size: 0.78rem; font-weight: 500; padding: 4px 12px; border-radius: 4px; text-decoration: none; transition: all 0.3s ease; }

.article-tag:hover { background: var(--primary); color: #fff; }

.article-share-btn { width: 34px; height: 34px; border-radius: 50%; background: var(--gray-100); color: var(--gray-500); display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 0.9rem; transition: all 0.3s ease; }

.article-share-btn:hover { background: var(--primary); color: #fff; }

.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--gray-200); }

.article-nav-item { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--gray-200); border-radius: 10px; text-decoration: none; transition: all 0.3s ease; }

.article-nav-item:hover { border-color: var(--primary); box-shadow: 0 4px 16px rgba(102, 46, 145, 0.08); }

.article-nav-next { text-align: right; }

.article-nav-label { font-size: 0.78rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px; }

.article-nav-title { font-size: 0.88rem; font-weight: 600; color: var(--gray-700); line-height: 1.4; }

.article-nav-item:hover .article-nav-title { color: var(--primary); }

/* ===== Article Sidebar ===== */
.article-sidebar { position: sticky; top: 100px; }

.sidebar-widget { background: #fff; border: 1px solid var(--gray-200); border-radius: 10px; padding: 20px; margin-bottom: 20px; }

.sidebar-title { font-size: 0.92rem; font-weight: 700; color: var(--gray-800); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); display: inline-block; }

.sidebar-search { position: relative; }

.sidebar-search .form-control { padding-right: 44px; border-radius: 8px; font-size: 0.88rem; border-color: var(--gray-200); }

.sidebar-search .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(102, 46, 145, 0.08); }

.sidebar-search button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); background: var(--primary); color: #fff; border: none; width: 34px; height: 34px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; transition: background 0.3s ease; }

.sidebar-search button:hover { background: var(--primary-dark); }

.sidebar-categories { list-style: none; padding: 0; margin: 0; }

.sidebar-categories li { border-bottom: 1px solid var(--gray-100); }

.sidebar-categories li:last-child { border-bottom: none; }

.sidebar-categories li a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 0.88rem; color: var(--gray-600); text-decoration: none; transition: color 0.3s ease; }

.sidebar-categories li a:hover { color: var(--primary); }

.sidebar-count { background: var(--gray-100); font-size: 0.72rem; font-weight: 600; padding: 2px 8px; border-radius: 10px; color: var(--gray-500); }

.sidebar-categories li a:hover .sidebar-count { background: rgba(102, 46, 145, 0.1); color: var(--primary); }

.sidebar-recent { display: flex; flex-direction: column; gap: 14px; }

.sidebar-recent-item { display: flex; gap: 12px; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--gray-100); transition: all 0.3s ease; }

.sidebar-recent-item:last-child { border-bottom: none; }

.sidebar-recent-item:hover { transform: translateX(4px); }

.sidebar-recent-img { flex-shrink: 0; width: 70px; height: 56px; border-radius: 6px; overflow: hidden; }

.sidebar-recent-img img { width: 100%; height: 100%; object-fit: cover; }

.sidebar-recent-body h6 { font-size: 0.82rem; font-weight: 600; color: var(--gray-700); line-height: 1.4; margin-bottom: 4px; transition: color 0.3s ease; }

.sidebar-recent-item:hover .sidebar-recent-body h6 { color: var(--primary); }

.sidebar-recent-body span { font-size: 0.72rem; color: var(--gray-400); }

.sidebar-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.sidebar-tag { background: var(--gray-100); color: var(--gray-600); font-size: 0.76rem; font-weight: 500; padding: 4px 10px; border-radius: 4px; text-decoration: none; transition: all 0.3s ease; }

.sidebar-tag:hover { background: var(--primary); color: #fff; }

.sidebar-cta-widget { border: none; padding: 0; background: transparent; }

.sidebar-cta { background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 10px; padding: 28px 20px; text-align: center; color: #fff; }

.sidebar-cta .bi { font-size: 2rem; margin-bottom: 10px; opacity: 0.8; }

.sidebar-cta h6 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }

.sidebar-cta p { font-size: 0.82rem; opacity: 0.8; margin-bottom: 16px; line-height: 1.5; }

.sidebar-cta .btn { background: #fff; color: var(--primary); font-weight: 700; border-radius: 50px; padding: 8px 24px; font-size: 0.82rem; transition: all 0.3s ease; }

.sidebar-cta .btn:hover { background: var(--accent); color: #fff; }

.related-news { background: var(--gray-50); }

/* ===== News Tabs ===== */
.news-tabs-wrapper { margin-bottom: 24px; }

.news-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

.news-tab { padding: 10px 24px; border: 2px solid var(--gray-200); border-radius: 50px; background: #fff; font-size: 0.88rem; font-weight: 600; color: var(--gray-600); cursor: pointer; transition: all 0.3s ease; white-space: nowrap; }

.news-tab:hover { border-color: var(--primary); color: var(--primary); }

.news-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(102, 46, 145, 0.25); }

.news-count-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--gray-200); }

.news-count-text { font-size: 0.88rem; color: var(--gray-500); }

.news-count-text strong { color: var(--gray-700); }

/* ===== Featured News ===== */
.news-featured { margin-bottom: 40px; background: #fff; border: 1px solid var(--gray-200); border-radius: 12px; overflow: hidden; transition: box-shadow 0.3s ease; }

.news-featured:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.06); }

.news-featured-img { position: relative; height: 100%; min-height: 300px; }

.news-featured-img img { width: 100%; height: 100%; object-fit: cover; }

.news-category-badge { position: absolute; top: 16px; left: 16px; background: var(--primary); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.5px; }

.news-featured-body { padding: 32px; display: flex; flex-direction: column; justify-content: center; height: 100%; }

.news-meta { display: flex; gap: 16px; margin-bottom: 12px; }

.news-meta span { font-size: 0.8rem; color: var(--gray-400); display: flex; align-items: center; gap: 4px; }

.news-meta .bi { font-size: 0.78rem; }

.news-featured-body h3 { font-size: 1.35rem; font-weight: 800; line-height: 1.4; margin-bottom: 14px; }

.news-featured-body h3 a { color: var(--gray-800, #1e293b); text-decoration: none; }
.news-featured-body h3 a:hover { color: var(--primary); }

.news-featured-body p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 20px; }

/* ===== News Card ===== */
.news-card { background: #fff; border: 1px solid var(--gray-200); border-radius: 12px; overflow: hidden; transition: all 0.3s ease; height: 100%; display: flex; flex-direction: column; }

.news-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); transform: translateY(-4px); }

.news-card-img { position: relative; overflow: hidden; }

.news-card-img img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.3s ease; }

.news-card:hover .news-card-img img { transform: scale(1.05); }

.news-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.news-card-body .news-meta { margin-bottom: 10px; }

.news-card-body h5 { font-size: 1rem; font-weight: 700; line-height: 1.45; margin-bottom: 10px; }

.news-card-body h5 a { color: var(--gray-800, #1e293b); text-decoration: none; }
.news-card-body h5 a:hover { color: var(--primary); }

.news-card-body p { font-size: 0.86rem; color: var(--gray-500); line-height: 1.65; margin-bottom: 14px; flex: 1; }

.news-read-more { font-size: 0.86rem; font-weight: 600; color: var(--primary); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; transition: gap 0.3s ease; }

.news-read-more:hover { gap: 8px; color: var(--primary); }

.news-read-more .bi { font-size: 0.8rem; transition: transform 0.3s ease; }

/* ===== News Pagination ===== */
.news-pagination { margin-top: 40px; }

.news-pagination .page-link { border: 1px solid var(--gray-200); color: var(--gray-600); font-weight: 600; font-size: 0.88rem; padding: 10px 16px; border-radius: 8px !important; margin: 0 3px; transition: all 0.3s ease; }

.news-pagination .page-link:hover { background: rgba(102, 46, 145, 0.06); border-color: var(--primary); color: var(--primary); }

.news-pagination .page-item.active .page-link { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(102, 46, 145, 0.25); }

.news-pagination .page-item.disabled .page-link { color: var(--gray-300); background: var(--gray-50); }

/* ===== Newsletter ===== */
.newsletter-section { background: var(--gray-50); }

.newsletter-inner { background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 16px; padding: 48px 40px; position: relative; overflow: hidden; }

.newsletter-inner::before { content: ''; position: absolute; top: -50%; right: -10%; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,0.05); }

.newsletter-inner::after { content: ''; position: absolute; bottom: -30%; left: 10%; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,0.03); }

.newsletter-content { position: relative; z-index: 2; }

.newsletter-content .section-label { color: rgba(255,255,255,0.7); }

.newsletter-content h3 { color: #fff; font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }

.newsletter-content p { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin: 0; line-height: 1.6; }

.newsletter-form { position: relative; z-index: 2; }

.newsletter-form .input-group { background: rgba(255,255,255,0.15); border-radius: 50px; padding: 4px; border: 1px solid rgba(255,255,255,0.2); }

.newsletter-form .form-control { background: transparent; border: none; color: #fff; font-size: 0.9rem; padding: 12px 20px; }

.newsletter-form .form-control::placeholder { color: rgba(255,255,255,0.5); }

.newsletter-form .form-control:focus { box-shadow: none; background: rgba(255,255,255,0.05); }

.newsletter-form .btn { background: #fff; color: var(--primary); font-weight: 700; font-size: 0.88rem; border-radius: 50px; padding: 10px 24px; border: none; white-space: nowrap; transition: all 0.3s ease; }

.newsletter-form .btn:hover { background: var(--accent); color: #fff; }

/* ===== Product Detail Gallery ===== */
.product-gallery { position: sticky; top: 100px; }

#productCarousel { border-radius: 12px; overflow: hidden; border: 1px solid var(--gray-200); background: #fff; }

#productCarousel .carousel-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

#productCarousel .carousel-control-prev,
#productCarousel .carousel-control-next { width: 40px; height: 40px; top: 50%; transform: translateY(-50%); bottom: auto; background: rgba(255,255,255,0.85); backdrop-filter: blur(6px); border-radius: 50%; opacity: 0; transition: all 0.3s ease; margin: 0 12px; }

#productCarousel:hover .carousel-control-prev,
#productCarousel:hover .carousel-control-next { opacity: 1; }

#productCarousel .carousel-control-prev { left: 10px; }
#productCarousel .carousel-control-next { right: 10px; }

#productCarousel .carousel-control-prev:hover,
#productCarousel .carousel-control-next:hover { background: var(--primary); }

#productCarousel .carousel-control-prev i,
#productCarousel .carousel-control-next i { color: var(--gray-700); font-size: 1rem; }

#productCarousel .carousel-control-prev:hover i,
#productCarousel .carousel-control-next:hover i { color: #fff; }

.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }

.gallery-thumb { flex: 1; cursor: pointer; border-radius: 8px; overflow: hidden; border: 2px solid var(--gray-200); transition: all 0.2s ease; opacity: 0.6; }

.gallery-thumb:hover { opacity: 0.9; border-color: var(--primary); }

.gallery-thumb.active { border-color: var(--primary); opacity: 1; box-shadow: 0 2px 8px rgba(102, 46, 145, 0.2); }

.gallery-thumb img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }

.product-gallery-placeholder { border-radius: 12px; overflow: hidden; border: 1px solid var(--gray-200); }
.product-gallery-placeholder img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ===== Product Detail Info ===== */
.product-info { padding-left: 10px; }

.product-category-tag { display: inline-block; font-size: 0.75rem; font-weight: 600; color: var(--primary); background: rgba(102, 46, 145, 0.08); padding: 4px 12px; border-radius: 4px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }

.product-title { font-size: 1.75rem; font-weight: 800; color: var(--gray-900, #0f172a); margin-bottom: 14px; line-height: 1.3; }

.product-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 18px; }

.product-meta span { font-size: 0.82rem; color: var(--gray-500); font-weight: 500; }

.product-meta span .bi { color: #22c55e; margin-right: 4px; }

.product-desc-brief { color: var(--gray-600); font-size: 0.92rem; line-height: 1.7; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--gray-100); }

.product-desc-brief p { margin: 0; }

.product-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 28px; }

.highlight-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--gray-50); border-radius: 8px; border: 1px solid var(--gray-100); }

.highlight-item .bi { font-size: 1.3rem; color: var(--primary); }

.highlight-item strong { display: block; font-size: 0.78rem; color: var(--gray-400); font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; }

.highlight-item span { font-size: 0.95rem; font-weight: 700; color: var(--gray-800); }

.product-actions-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }

.btn-inquiry { background: linear-gradient(135deg, var(--accent), #ff6b6b); color: #fff; border: none; border-radius: 50px; padding: 12px 28px; font-weight: 700; font-size: 0.95rem; box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3); transition: all 0.3s ease; position: relative; overflow: hidden; }

.btn-inquiry:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4); color: #fff; }

.btn-inquiry .bi { margin-right: 6px; }

.btn-whatsapp { background: #25d366; color: #fff; border: none; border-radius: 50px; padding: 12px 24px; font-weight: 600; font-size: 0.92rem; transition: all 0.3s ease; }

.btn-whatsapp:hover { background: #1fb855; color: #fff; transform: translateY(-2px); }

.btn-whatsapp .bi { margin-right: 5px; }

.btn-download { background: var(--gray-100); color: var(--gray-600); border: 1px solid var(--gray-200); border-radius: 50px; padding: 12px 22px; font-weight: 600; font-size: 0.92rem; transition: all 0.3s ease; }

.btn-download:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.btn-download .bi { margin-right: 5px; }

.product-trust { display: flex; gap: 20px; padding-top: 20px; border-top: 1px solid var(--gray-100); }

.trust-item { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--gray-500); font-weight: 500; }

.trust-item .bi { color: var(--primary); font-size: 1rem; }

/* ===== Product Content Tabs ===== */
.product-content-section { padding-bottom: 60px; }

.content-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--gray-100); margin-bottom: 32px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }

.content-tabs::-webkit-scrollbar { display: none; }

.content-tab { flex-shrink: 0; padding: 14px 24px; background: none; border: none; border-bottom: 3px solid transparent; margin-bottom: -2px; font-size: 0.92rem; font-weight: 600; color: var(--gray-500); cursor: pointer; transition: all 0.2s ease; white-space: nowrap; font-family: inherit; }

.content-tab:hover { color: var(--primary); }

.content-tab.active { color: var(--primary); border-bottom-color: var(--primary); }

.content-panel { display: none; }

.content-panel.active { display: block; animation: fadeInPanel 0.3s ease; }

@keyframes fadeInPanel { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.content-block h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 16px; }

.content-block h4 { font-size: 1.1rem; font-weight: 700; margin: 24px 0 12px; }

.content-block p { color: var(--gray-600); line-height: 1.75; font-size: 0.92rem; }

.feature-list { list-style: none; padding: 0; margin: 0; }

.feature-list li { padding: 8px 0; font-size: 0.92rem; color: var(--gray-700); display: flex; align-items: flex-start; gap: 10px; }

.feature-list li .bi { color: var(--primary); margin-top: 3px; flex-shrink: 0; }

.working-flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 16px; padding: 20px; background: var(--gray-50); border-radius: 10px; }

.flow-step { text-align: center; }

.flow-num { width: 36px; height: 36px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.88rem; margin: 0 auto 6px; }

.flow-step span { font-size: 0.78rem; font-weight: 600; color: var(--gray-600); white-space: nowrap; }

.flow-arrow { color: var(--gray-300); font-size: 1.1rem; }

.content-sidebar-card { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 10px; padding: 20px; position: sticky; top: 100px; }

.content-sidebar-card h5 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--gray-200); }

.content-sidebar-card h5 .bi { color: var(--primary); margin-right: 6px; }

.quick-details { width: 100%; font-size: 0.85rem; }

.quick-details td { padding: 8px 0; border-bottom: 1px solid var(--gray-200); }

.quick-details td:first-child { color: var(--gray-500); font-weight: 500; width: 40%; }

.quick-details td:last-child { color: var(--gray-800); font-weight: 600; }

.quick-details tr:last-child td { border-bottom: none; }

.app-card { background: #fff; border: 1px solid var(--gray-200); border-radius: 10px; overflow: hidden; transition: all 0.3s ease; }

.app-card:hover { box-shadow: 0 8px 25px rgba(0,0,0,0.08); transform: translateY(-4px); }

.app-card img { width: 100%; height: 180px; object-fit: cover; }

.app-card h5 { font-size: 1rem; font-weight: 700; padding: 16px 16px 6px; margin: 0; }

.app-card p { padding: 0 16px 16px; font-size: 0.85rem; color: var(--gray-500); margin: 0; line-height: 1.6; }

/* ===== Spec Table ===== */
.spec-table-wrapper { overflow-x: auto; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }

.spec-table thead th { background: var(--primary); color: #fff; padding: 14px 20px; font-weight: 600; text-align: left; }

.spec-table thead th:first-child { border-radius: 8px 0 0 0; }
.spec-table thead th:last-child { border-radius: 0 8px 0 0; }

.spec-table tbody td { padding: 12px 20px; border-bottom: 1px solid var(--gray-100); }

.spec-table tbody td:first-child { font-weight: 600; color: var(--gray-700); width: 40%; background: var(--gray-50); }

.spec-table tbody td:last-child { color: var(--gray-600); }

.spec-table tbody tr:hover td { background: rgba(102, 46, 145, 0.03); }

.spec-table tbody tr:hover td:first-child { background: rgba(102, 46, 145, 0.06); }

/* ===== Q&A ===== */
.qa-list { margin-top: 8px; }

.qa-item { border: 1px solid var(--gray-200); border-radius: 8px; margin-bottom: 10px; overflow: hidden; transition: all 0.2s ease; }

.qa-item:hover { border-color: var(--gray-300); }

.qa-item.open { border-color: var(--primary); box-shadow: 0 2px 10px rgba(102, 46, 145, 0.08); }

.qa-question { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; cursor: pointer; font-weight: 600; font-size: 0.92rem; color: var(--gray-700); transition: all 0.2s ease; }

.qa-question:hover { color: var(--primary); }

.qa-item.open .qa-question { color: var(--primary); background: rgba(102, 46, 145, 0.03); }

.qa-arrow { font-size: 0.7rem; transition: transform 0.3s ease; color: var(--gray-400); flex-shrink: 0; margin-left: 12px; }

.qa-item.open .qa-arrow { transform: rotate(180deg); color: var(--primary); }

.qa-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }

.qa-item.open .qa-answer { max-height: 300px; }

.qa-answer p { padding: 0 20px 16px; margin: 0; font-size: 0.88rem; color: var(--gray-600); line-height: 1.7; }

/* ===== Machine Photos ===== */
.photo-item { position: relative; border-radius: 8px; overflow: hidden; cursor: pointer; }

.photo-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.3s ease; }

.photo-item:hover img { transform: scale(1.05); }

.photo-overlay { position: absolute; inset: 0; background: rgba(102, 46, 145, 0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }

.photo-item:hover .photo-overlay { opacity: 1; }

.photo-overlay .bi { color: #fff; font-size: 1.8rem; }

/* ===== Inquiry Modal ===== */
.inquiry-modal-content { border: none; border-radius: 16px; overflow: hidden; }

.inquiry-modal-content .modal-header { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; border: none; padding: 24px 28px; }

.inquiry-modal-content .modal-title { font-weight: 800; font-size: 1.3rem; color: #fff; }

.modal-subtitle { font-size: 0.88rem; opacity: 0.85; margin: 4px 0 0; }

.inquiry-modal-content .btn-close { filter: brightness(0) invert(1); opacity: 0.7; }
.inquiry-modal-content .btn-close:hover { opacity: 1; }

.inquiry-modal-content .modal-body { padding: 24px 28px; }

.inquiry-modal-content .modal-footer { border-top: 1px solid var(--gray-100); padding: 16px 28px; }

.inquiry-product-info { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--gray-50); border-radius: 8px; margin-bottom: 20px; }

.inquiry-product-info img { width: 60px; height: 45px; object-fit: cover; border-radius: 6px; }

.inquiry-product-info strong { display: block; font-size: 0.92rem; color: var(--gray-800); }

.inquiry-product-info span { font-size: 0.78rem; color: var(--primary); font-weight: 600; }

.inquiry-modal-content .form-label { font-size: 0.85rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }

.inquiry-modal-content .form-control,
.inquiry-modal-content .form-select { border-color: var(--gray-200); border-radius: 8px; padding: 10px 14px; font-size: 0.9rem; }

.inquiry-modal-content .form-control:focus,
.inquiry-modal-content .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 0.15rem rgba(102, 46, 145, 0.12); }

.inquiry-modal-content .btn-inquiry { padding: 10px 28px; }

/* ===== Photo Modal ===== */
.photo-modal-content { background: transparent; border: none; }

.photo-modal-close { position: absolute; top: -40px; right: 0; filter: brightness(0) invert(1); opacity: 0.8; z-index: 10; }
.photo-modal-close:hover { opacity: 1; }

.photo-modal-content .modal-body img { border-radius: 8px; width: 100%; }

/* ===== Related Products ===== */
.related-products-section { background: var(--gray-50); }

.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }

.section-header h2 { font-size: 1.6rem; font-weight: 800; margin: 0; }

.section-link { font-size: 0.9rem; font-weight: 600; color: var(--primary); transition: all 0.2s ease; display: inline-flex; align-items: center; gap: 4px; }

.section-link:hover { color: var(--primary); gap: 8px; }

.section-link .bi { transition: transform 0.2s ease; }

.section-link:hover .bi { transform: translateX(4px); }

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    .hero-carousel .carousel-item { height: 65vh; min-height: 450px; }
    .hero-carousel .carousel-caption h1 { font-size: 2.2rem; }
    .hero-carousel .carousel-caption p { font-size: 1rem; }
    .section-title { font-size: 2rem; }
    .main-navbar .nav-link { padding: 10px 0 !important; }
    .main-navbar .nav-link::after { display: none; }
    .nav-inquiry-btn { margin: 10px 0; display: inline-block; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .stat-item:last-child { border-bottom: none; }
    .about-experience-badge { right: 10px; bottom: 15px; padding: 15px 20px; }
    .about-experience-badge .number { font-size: 2rem; }
    .hero-carousel-control { display: none; }
    .product-gallery { position: static; margin-bottom: 30px; }
    .product-info { padding-left: 0; }
    .product-title { font-size: 1.4rem; }
    .product-highlights { grid-template-columns: 1fr 1fr; }
    .content-sidebar-card { position: static; }
    .news-featured-body { padding: 24px; }
    .news-featured-body h3 { font-size: 1.15rem; }
    .newsletter-inner { padding: 36px 28px; }
    .article-sidebar { position: static; margin-top: 32px; }
    .article-header h1 { font-size: 1.5rem; }
    .overview-experience-badge { bottom: -10px; right: -10px; padding: 14px 18px; }
    .exp-number { font-size: 2rem; }
    .overview-content h2 { font-size: 1.5rem; }
    .overview-features { grid-template-columns: 1fr; }
    .section-header-center h2 { font-size: 1.6rem; }
    .cta-section h2 { font-size: 1.4rem; }
}

@media (max-width: 767.98px) {
    .hero-carousel .carousel-item { height: 55vh; min-height: 380px; }
    .hero-carousel .carousel-caption { padding: 0 6%; }
    .hero-carousel .carousel-caption h1 { font-size: 1.8rem; }
    .section-padding { padding: 60px 0; }
    .section-title { font-size: 1.7rem; }
    .cta-section h2 { font-size: 1.8rem; }
    .stat-number { font-size: 2rem; }
    .top-bar .d-flex { flex-direction: column; gap: 5px; text-align: center; }
    .product-title { font-size: 1.25rem; }
    .product-highlights { grid-template-columns: 1fr; }
    .product-trust { flex-wrap: wrap; gap: 12px; }
    .content-tab { padding: 12px 16px; font-size: 0.84rem; }
    .working-flow { flex-direction: column; align-items: stretch; }
    .flow-arrow { transform: rotate(90deg); text-align: center; }
    .flow-step { display: flex; align-items: center; gap: 10px; text-align: left; }
    .flow-num { margin: 0; }
    .news-tabs { gap: 6px; }
    .news-tab { padding: 8px 16px; font-size: 0.82rem; }
    .news-featured-img { min-height: 220px; }
    .news-featured-body { padding: 20px; }
    .news-featured-body h3 { font-size: 1.05rem; }
    .newsletter-inner { padding: 28px 20px; }
    .newsletter-content h3 { font-size: 1.2rem; }
    .article-header h1 { font-size: 1.25rem; }
    .article-footer { flex-direction: column; align-items: flex-start; }
    .article-nav { grid-template-columns: 1fr; }
    .article-image-grid { grid-template-columns: 1fr; }
    .article-body h2 { font-size: 1.15rem; }
    .stat-number { font-size: 2.2rem; }
    .stat-suffix { font-size: 1.5rem; }
}


/* ===== Pagination ===== */
.pager {
    margin-top: 36px;
    display: flex;
    justify-content: center;
}

.pager .page-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pager .page-numbers li {
    margin: 0;
    padding: 0;
}

.pager .page-numbers a,
.pager .page-numbers span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: #fff;
    color: var(--gray-600);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pager .page-numbers a:hover {
    background: var(--gray-50);
    color: var(--primary);
    border-color: var(--primary);
}

/* 当前页 */
.pager .page-numbers .current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(102, 46, 145, 0.3);
}

/* 省略号 */
.pager .page-numbers .dots {
    border: none;
    background: transparent;
    color: var(--gray-400);
    cursor: default;
}

/* 上一页/下一页 */
.pager .page-numbers .prev,
.pager .page-numbers .next {
    font-size: 18px;
    font-weight: 700;
}