:root {
    --primary-color: #1a2b4a;
    --secondary-color: #5a6c7d;
    --accent-color: #2d5a87;
    --accent-light: #4a7ab0;
    --light-bg: #f5f7f9;
    --dark-bg: #0f1923;
    --border-color: #e2e6ea;
    --text-muted: #7a8a9a;
    --white: #ffffff;
    --black: #0f1923;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --border-radius: 0;
    --border-radius-lg: 0;
    --box-shadow-sm: 0 0.125rem 0.25rem rgba(26, 43, 74, 0.08);
    --box-shadow: 0 0.5rem 1rem rgba(26, 43, 74, 0.1);
    --box-shadow-lg: 0 1rem 3rem rgba(26, 43, 74, 0.12);
    --font-family-base: 'Segoe UI', system-ui, -apple-system, 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    height: 100%;
}

body {
    font-family: var(--font-family-base);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--white);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

body * {
    margin: 0;
    padding: 0;
}

/* 分页数字条样式保持原有风格 */
.pagination .page-num {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    color: var(--primary-color);
    background-color: #fff;
    border: 1px solid #dee2e6;
    text-decoration: none;
}

.pagination .page-num:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.pagination .page-num-current {
    z-index: 3;
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: bold;
    /* 禁止当前页的超链接和mouseover效果 */
    pointer-events: none;
    cursor: default;
    text-decoration: none;
}

.main-navbar {
    box-shadow: var(--box-shadow-sm);
    padding: 0;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000;
    background-color: #fff;
}

.hero-section {
    height: calc(100vh - 96px);
    min-height: calc(100vh - 96px);
    background-color: #f5f7f9;
    margin: 0;
    padding: 0;
}

.hero-section > .carousel {
    height: 100%;
    margin: 0;
    padding: 0;
}

.hero-section .carousel-inner {
    height: 100%;
    margin: 0;
    padding: 0;
}

.hero-section .carousel-inner .carousel-item {
    height: 100%;
    margin: 0;
    padding: 0;
}

.hero-section .container {
    height: 100%;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.hero-section .row {
    height: 100%;
    align-items: center;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.hero-slide {
    position: relative;
    height: 100%;
    min-height: auto !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0 !important;
    margin: 0;
}

.hero-slide .container {
    padding-top: 0;
    padding-bottom: 0;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

.container-fluid {
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-right: auto;
    margin-left: auto;
}

.row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-top: var(--bs-gutter-y);
}

.col-auto {
    flex: 0 0 auto;
    width: auto;
}

.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

@media (min-width: 576px) {
    .col-sm-auto { flex: 0 0 auto; width: auto; }
    .col-sm-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
    .col-sm-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .col-sm-3 { flex: 0 0 25%; max-width: 25%; }
    .col-sm-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-sm-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
    .col-sm-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .col-sm-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .col-sm-9 { flex: 0 0 75%; max-width: 75%; }
    .col-sm-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
    .col-sm-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
    .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 768px) {
    .col-md-auto { flex: 0 0 auto; width: auto; }
    .col-md-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
    .col-md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .col-md-3 { flex: 0 0 25%; max-width: 25%; }
    .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .col-md-9 { flex: 0 0 75%; max-width: 75%; }
    .col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
    .col-md-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
    .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 992px) {
    .col-lg-auto { flex: 0 0 auto; width: auto; }
    .col-lg-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
    .col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
    .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
    .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
    .col-lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
    .col-lg-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
    .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 1200px) {
    .col-xl-auto { flex: 0 0 auto; width: auto; }
    .col-xl-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
    .col-xl-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
    .col-xl-3 { flex: 0 0 25%; max-width: 25%; }
    .col-xl-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-xl-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-xl-6 { flex: 0 0 50%; max-width: 50%; }
    .col-xl-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .col-xl-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    .col-xl-9 { flex: 0 0 75%; max-width: 75%; }
    .col-xl-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
    .col-xl-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
    .col-xl-12 { flex: 0 0 100%; max-width: 100%; }
}

.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-inline-block { display: inline-block !important; }

.d-sm-none { display: none !important; }
.d-sm-block { display: block !important; }
.d-sm-flex { display: flex !important; }

@media (min-width: 768px) {
    .d-md-none { display: none !important; }
    .d-md-block { display: block !important; }
    .d-md-flex { display: flex !important; }
    .d-md-inline-block { display: inline-block !important; }
}

@media (min-width: 992px) {
    .d-lg-none { display: none !important; }
    .d-lg-block { display: block !important; }
    .d-lg-flex { display: flex !important; }
    .d-lg-inline-block { display: inline-block !important; }
}

@media (min-width: 1200px) {
    .d-xl-none { display: none !important; }
    .d-xl-block { display: block !important; }
    .d-xl-flex { display: flex !important; }
    .d-xl-inline-block { display: inline-block !important; }
}

.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }
.flex-fill { flex: 1 1 auto !important; }
.flex-grow-0 { flex-grow: 0 !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.flex-shrink-1 { flex-shrink: 1 !important; }

.flex-column { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.flex-reverse { flex-direction: row-reverse !important; }

.justify-content-start { justify-content: flex-start !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-around { justify-content: space-around !important; }
.justify-content-evenly { justify-content: space-evenly !important; }

.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.align-items-center { align-items: center !important; }
.align-items-baseline { align-items: baseline !important; }
.align-items-stretch { align-items: stretch !important; }

.align-self-start { align-self: flex-start !important; }
.align-self-end { align-self: flex-end !important; }
.align-self-center { align-self: center !important; }
.align-self-baseline { align-self: baseline !important; }
.align-self-stretch { align-self: stretch !important; }

.order-first { order: -1 !important; }
.order-0 { order: 0 !important; }
.order-1 { order: 1 !important; }
.order-2 { order: 2 !important; }
.order-3 { order: 3 !important; }
.order-4 { order: 4 !important; }
.order-5 { order: 5 !important; }
.order-last { order: 6 !important; }

.offset-1 { margin-left: 8.333333% !important; }
.offset-2 { margin-left: 16.666667% !important; }
.offset-3 { margin-left: 25% !important; }
.offset-4 { margin-left: 33.333333% !important; }
.offset-5 { margin-left: 41.666667% !important; }
.offset-6 { margin-left: 50% !important; }
.offset-7 { margin-left: 58.333333% !important; }
.offset-8 { margin-left: 66.666667% !important; }
.offset-9 { margin-left: 75% !important; }
.offset-10 { margin-left: 83.333333% !important; }
.offset-11 { margin-left: 91.666667% !important; }

.m-0 { margin: 0 !important; }
.m-1 { margin: 0.25rem !important; }
.m-2 { margin: 0.5rem !important; }
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.m-5 { margin: 3rem !important; }
.m-auto { margin: auto !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mt-auto { margin-top: auto !important; }

.me-0 { margin-right: 0 !important; }
.me-1 { margin-right: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.me-4 { margin-right: 1.5rem !important; }
.me-5 { margin-right: 3rem !important; }
.me-auto { margin-right: auto !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mb-auto { margin-bottom: auto !important; }

.ms-0 { margin-left: 0 !important; }
.ms-1 { margin-left: 0.25rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-3 { margin-left: 1rem !important; }
.ms-4 { margin-left: 1.5rem !important; }
.ms-5 { margin-left: 3rem !important; }
.ms-auto { margin-left: auto !important; }

.mx-0 { margin-right: 0 !important; margin-left: 0 !important; }
.mx-1 { margin-right: 0.25rem !important; margin-left: 0.25rem !important; }
.mx-2 { margin-right: 0.5rem !important; margin-left: 0.5rem !important; }
.mx-3 { margin-right: 1rem !important; margin-left: 1rem !important; }
.mx-4 { margin-right: 1.5rem !important; margin-left: 1.5rem !important; }
.mx-5 { margin-right: 3rem !important; margin-left: 3rem !important; }
.mx-auto { margin-right: auto !important; margin-left: auto !important; }

.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.my-1 { margin-top: 0.25rem !important; margin-bottom: 0.25rem !important; }
.my-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; }
.my-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }
.my-auto { margin-top: auto !important; margin-bottom: auto !important; }

.p-0 { padding: 0 !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }

.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: 0.25rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pt-5 { padding-top: 3rem !important; }

.pe-0 { padding-right: 0 !important; }
.pe-1 { padding-right: 0.25rem !important; }
.pe-2 { padding-right: 0.5rem !important; }
.pe-3 { padding-right: 1rem !important; }
.pe-4 { padding-right: 1.5rem !important; }
.pe-5 { padding-right: 3rem !important; }

.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: 0.25rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.pb-5 { padding-bottom: 3rem !important; }

.ps-0 { padding-left: 0 !important; }
.ps-1 { padding-left: 0.25rem !important; }
.ps-2 { padding-left: 0.5rem !important; }
.ps-3 { padding-left: 1rem !important; }
.ps-4 { padding-left: 1.5rem !important; }
.ps-5 { padding-left: 3rem !important; }

.px-0 { padding-right: 0 !important; padding-left: 0 !important; }
.px-1 { padding-right: 0.25rem !important; padding-left: 0.25rem !important; }
.px-2 { padding-right: 0.5rem !important; padding-left: 0.5rem !important; }
.px-3 { padding-right: 1rem !important; padding-left: 1rem !important; }
.px-4 { padding-right: 1.5rem !important; padding-left: 1.5rem !important; }
.px-5 { padding-right: 3rem !important; padding-left: 3rem !important; }

.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

.gap-0 { gap: 0 !important; }
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.gap-5 { gap: 3rem !important; }

.text-start { text-align: left !important; }
.text-end { text-align: right !important; }
.text-center { text-align: center !important; }

@media (min-width: 576px) {
    .text-sm-start { text-align: left !important; }
    .text-sm-end { text-align: right !important; }
    .text-sm-center { text-align: center !important; }
}

@media (min-width: 768px) {
    .text-md-start { text-align: left !important; }
    .text-md-end { text-align: right !important; }
    .text-md-center { text-align: center !important; }
}

@media (min-width: 992px) {
    .text-lg-start { text-align: left !important; }
    .text-lg-end { text-align: right !important; }
    .text-lg-center { text-align: center !important; }
}

@media (min-width: 1200px) {
    .text-xl-start { text-align: left !important; }
    .text-xl-end { text-align: right !important; }
    .text-xl-center { text-align: center !important; }
}

.text-decoration-none { text-decoration: none !important; }
.text-decoration-underline { text-decoration: underline !important; }
.text-decoration-line-through { text-decoration: line-through !important; }

.text-wrap { white-space: normal !important; }
.text-nowrap { white-space: nowrap !important; }

.text-lowercase { text-transform: lowercase !important; }
.text-uppercase { text-transform: uppercase !important; }
.text-capitalize { text-transform: capitalize !important; }

.fs-1 { font-size: 2.5rem !important; }
.fs-2 { font-size: 2rem !important; }
.fs-3 { font-size: 1.75rem !important; }
.fs-4 { font-size: 1.5rem !important; }
.fs-5 { font-size: 1.25rem !important; }
.fs-6 { font-size: 1rem !important; }
.fs-base { font-size: 1rem !important; }
.fs-sm { font-size: 0.875rem !important; }
.fs-lg { font-size: 1.125rem !important; }

.fw-light { font-weight: 300 !important; }
.fw-lighter { font-weight: 100 !important; }
.fw-normal { font-weight: 400 !important; }
.fw-bold { font-weight: 700 !important; }
.fw-bolder { font-weight: 800 !important; }

 fst-normal { font-style: normal !important; }
.fst-italic { font-style: italic !important; }

.lh-1 { line-height: 1 !important; }
.lh-sm { line-height: 1.25 !important; }
.lh-base { line-height: 1.6 !important; }
.lh-lg { line-height: 2 !important; }

.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-light { background-color: var(--light-bg) !important; }
.bg-dark { background-color: var(--dark-bg) !important; }
.bg-white { background-color: var(--white) !important; }
.bg-transparent { background-color: transparent !important; }

.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-light { color: var(--light-bg) !important; }
.text-dark { color: var(--dark-bg) !important; }
.text-white { color: var(--white) !important; }
.text-white-50 { color: rgba(255, 255, 255, 0.5) !important; }
.text-black-50 { color: rgba(0, 0, 0, 0.5) !important; }

.border { border: 1px solid var(--border-color) !important; }
.border-0 { border: 0 !important; }
.border-top { border-top: 1px solid var(--border-color) !important; }
.border-end { border-right: 1px solid var(--border-color) !important; }
.border-bottom { border-bottom: 1px solid var(--border-color) !important; }
.border-start { border-left: 1px solid var(--border-color) !important; }

.rounded { border-radius: var(--border-radius) !important; }
.rounded-0 { border-radius: 0 !important; }
.rounded-1 { border-radius: var(--border-radius) !important; }
.rounded-2 { border-radius: var(--border-radius) !important; }
.rounded-3 { border-radius: var(--border-radius-lg) !important; }
.rounded-circle { border-radius: 50% !important; }
.rounded-pill { border-radius: 50rem !important; }

.overflow-hidden { overflow: hidden !important; }
.overflow-visible { overflow: visible !important; }
.overflow-auto { overflow: auto !important; }

.position-static { position: static !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed { position: fixed !important; }
.position-sticky { position: sticky !important; }

.top-0 { top: 0 !important; }
.top-50 { top: 50% !important; }
.top-100 { top: 100% !important; }
.bottom-0 { bottom: 0 !important; }
.bottom-50 { bottom: 50% !important; }
.bottom-100 { bottom: 100% !important; }
.start-0 { left: 0 !important; }
.start-50 { left: 50% !important; }
.start-100 { left: 100% !important; }
.end-0 { right: 0 !important; }
.end-50 { right: 50% !important; }
.end-100 { right: 100% !important; }

.translate-middle { transform: translate(-50%, -50%) !important; }
.translate-middle-x { transform: translateX(-50%) !important; }
.translate-middle-y { transform: translateY(-50%) !important; }

.w-25 { width: 25% !important; }
.w-50 { width: 50% !important; }
.w-75 { width: 75% !important; }
.w-100 { width: 100% !important; }
.w-auto { width: auto !important; }

.h-25 { height: 25% !important; }
.h-50 { height: 50% !important; }
.h-75 { height: 75% !important; }
.h-100 { height: 100% !important; }
.h-auto { height: auto !important; }

.min-vw-100 { min-width: 100vw !important; }
.min-vh-100 { min-width: 100vh !important; }
.vw-100 { width: 100vw !important; }
.vh-100 { height: 100vh !important; }

.shadow { box-shadow: var(--box-shadow) !important; }
.shadow-sm { box-shadow: var(--box-shadow-sm) !important; }
.shadow-lg { box-shadow: var(--box-shadow-lg) !important; }
.shadow-none { box-shadow: none !important; }

.list-unstyled { list-style: none; padding-left: 0; margin-bottom: 0; }

.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

.top-navbar {
    background-color: #fff;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e6ea;
    position: relative;
    z-index: 1001;
}

.international-site {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.top-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: color var(--transition-base);
}

.top-links a::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.top-links a:hover {
    color: var(--primary-color);
}

.top-links a:hover::after {
    width: 100%;
}

.top-dropdown {
    margin: 0;
    padding: 0;
}

.top-dropdown .dropdown-toggle {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: color var(--transition-base);
    cursor: pointer;
}

.top-dropdown .dropdown-toggle::after {
    display: none;
}

.top-dropdown .dropdown-toggle::before {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.top-dropdown .dropdown-toggle:hover {
    color: var(--primary-color);
}

.top-dropdown .dropdown-toggle:hover::before {
    width: 100%;
}

.top-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0.5rem 0 0 0;
    background-color: #fff;
    border: 1px solid #e2e6ea;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    border-radius: 0;
    z-index: 1002;
    display: none;
}

.top-dropdown:hover .top-dropdown-menu,
.top-dropdown:focus-within .top-dropdown-menu {
    display: block;
}

.top-dropdown-menu .dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    color: var(--secondary-color);
    transition: all 0.2s ease;
}

.top-dropdown-menu .dropdown-item:hover,
.top-dropdown-menu .dropdown-item:focus {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

.main-navbar {
    box-shadow: var(--box-shadow-sm);
    padding: 0;
    position: relative;
    z-index: 1000;
    background-color: #fff;
}

.main-navbar .navbar-brand {
    padding: 0;
}

.main-navbar .navbar-brand svg {
    display: block;
}

.main-navbar .nav-item.dropdown {
    position: static;
}

.main-navbar .nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.046875rem;
    color: var(--primary-color);
    padding: 1rem 0.75rem !important;
    padding-bottom: 1rem !important;
    position: relative;
    transition: color var(--transition-base);
}

.main-navbar .nav-link:focus {
    outline: none;
    box-shadow: none;
}

.main-navbar .nav-link:active {
    outline: none;
    box-shadow: none;
}

.main-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.main-navbar .nav-link.dropdown-toggle {
    position: relative;
}

.main-navbar .nav-link.dropdown-toggle::before {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.main-navbar .nav-link.dropdown-toggle::after {
    border: none;
    vertical-align: 0;
    content: "";
}

.main-navbar .nav-link.dropdown-toggle:not(:last-child)::after {
    display: none;
}

.main-navbar .nav-link.dropdown-toggle:hover::before,
.main-navbar .nav-item.dropdown:hover .nav-link.dropdown-toggle::before {
    width: 100%;
}

.main-navbar .nav-link:hover::after {
    width: 100%;
}

.main-navbar .nav-link:hover::after {
    width: 100%;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-item.dropdown:hover .nav-link {
    color: var(--accent-color);
}

.main-navbar .nav-item.dropdown:hover > .dropdown-menu {
    display: flex;
}

.main-navbar .nav-item.dropdown > .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%; /* 恢复正常位置 */
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    max-width: 100%;
    padding: 1.5rem 2rem;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    margin-top: 0;
}

.dropdown-menu {
    border: 0;
    box-shadow: var(--box-shadow);
    border-radius: 0;
    padding: 0.5rem 0;
    margin: 0;
    background-color: var(--white);
    min-width: 16rem;
}

.main-navbar .dropdown-menu.custom-dropdown-menu {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    min-width: auto;
    width: 100%;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    background-color: transparent;
}

.main-navbar .dropdown-menu.products-menu {
    min-width: auto;
    width: 100%;
}

/* 统一控制下拉菜单的显示/隐藏，移除CSS hover规则以避免与JavaScript冲突 */
.main-navbar .nav-item.dropdown > .dropdown-menu {
    display: flex;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* 只使用JavaScript添加的show类来控制显示 */
.main-navbar .nav-item.dropdown > .dropdown-menu.show {
    display: flex;
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.dropdown-menu.products-menu {
    min-width: 60rem;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: var(--primary-color);
    transition: all var(--transition-base);
    border-radius: var(--border-radius);
    position: relative;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: transparent;
    color: var(--accent-color);
}

.custom-dropdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    min-width: 8rem;
    text-align: center;
    background-color: transparent !important;
}

.custom-dropdown-item:hover,
.custom-dropdown-item:focus {
    background-color: transparent !important;
    color: var(--accent-color);
}

.custom-dropdown-item svg {
    flex-shrink: 0;
}

.custom-dropdown-item span {
    font-weight: 500;
    font-size: 0.8rem;
    position: relative;
    transition: color var(--transition-base);
}

.custom-dropdown-item span::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.custom-dropdown-item:hover span {
    color: var(--accent-color);
}

.custom-dropdown-item:hover span::after {
    width: 100%;
}

.search-box {
    width: 12rem;
}

.search-box .form-control {
    border: none;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
}

.search-box .form-control:focus {
    box-shadow: none;
    border-bottom-color: var(--accent-color);
}

.search-box .btn {
    border: none;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    background: var(--white);
    color: var(--secondary-color);
}

.search-box .btn:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-right: auto;
    margin-left: auto;
}

.hero-content {
    max-width: 30rem;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.hero-section .btn-outline-light {
    border: 2px solid #fff;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.hero-section .btn-outline-light:hover,
.hero-section .btn-outline-light:focus {
    background-color: #fff;
    color: var(--primary-color);
    border-color: #fff;
}

.carousel {
    position: relative;
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-item {
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    backface-visibility: hidden;
    transition: transform 0.6s ease-in-out;
}

.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
    display: block;
}

.carousel-item-end {
    transform: translateX(100%);
}

.carousel-item-start {
    transform: translateX(-100%);
}

.carousel-fade .carousel-item {
    opacity: 0;
    transform: none;
    transition: opacity 0.5s ease;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active {
    transform: none;
}

.carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 15%;
    margin-left: 15%;
    list-style: none;
}

.carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 2rem;
    height: 0.25rem;
    padding: 0;
    margin-right: 0.25rem;
    margin-left: 0.25rem;
    text-indent: -999px;
    cursor: pointer;
    background-color: var(--white);
    background-clip: padding-box;
    border: 0;
    border-top: 0;
    border-bottom: 0;
    border-radius: 0;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.carousel-indicators .active {
    opacity: 1;
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15%;
    padding: 0;
    color: var(--white);
    text-align: center;
    background: none;
    border: 0;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-prev:focus,
.carousel-control-next:hover,
.carousel-control-next:focus {
    color: var(--white);
    text-decoration: none;
    outline: 0;
    opacity: 1;
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100% 100%;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.btn {
    display: inline-block;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.btn-primary {
    color: var(--white);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    border-radius: var(--border-radius);
}

.btn-outline-secondary {
    color: var(--secondary-color);
    border-color: var(--border-color);
}

.btn-outline-secondary:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

.btn-laufen {
    color: var(--white);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
}

.btn-laufen:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
}

.btn-laufen-outline {
    color: var(--primary-color);
    background-color: transparent;
    border: 1px solid var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
}

.btn-laufen-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--secondary-color);
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
}

.about-section {
    padding: 4rem 0;
}

.news-section {
    padding: 4rem 0;
}

/* Product Card Styles */
.product-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.product-card .product-image {
    position: relative;
    overflow: hidden;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .product-svg {
    width: 100%;
    height: 100%;
    min-height: 180px;
}

.product-card .product-content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card .product-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.product-card .product-description {
    font-size: 0.875rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.product-card .product-code {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.product-card .product-dimensions {
    font-size: 0.75rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.product-card .product-colors {
    display: flex;
    gap: 4px;
    margin-bottom: 0.75rem;
}

.product-card .color-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: transform var(--transition-base);
}

.product-card .color-swatch:hover {
    transform: scale(1.1);
}

.product-card .product-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.75rem 0;
}

.product-card .product-link {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-color);
    padding: 0.5rem 0;
    transition: color var(--transition-base);
}

.product-card .product-link:hover {
    color: var(--accent-color);
}

.product-card.list-view {
    flex-direction: row;
    align-items: center;
}

.product-card.list-view .product-image {
    width: 200px;
    flex-shrink: 0;
    aspect-ratio: auto;
    height: 150px;
}

.product-card.list-view .product-info {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 1rem;
    text-align: left;
}

.product-card.list-view .product-category {
    width: 150px;
    flex-shrink: 0;
}

.product-card.list-view .product-title {
    width: 200px;
    flex-shrink: 0;
}

.product-card.list-view .product-price {
    width: 100px;
    flex-shrink: 0;
}

.product-card.list-view .product-rating {
    width: 120px;
    flex-shrink: 0;
}

.product-card.list-view .btn {
    width: 100px;
    flex-shrink: 0;
}

.product-badge {
    font-size: 0.7rem;
    font-weight: 600;
}

.news-card.list-view {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.news-card.list-view .news-image {
    width: 200px;
    flex-shrink: 0;
    height: 120px;
}

.news-card.list-view .news-content {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 1rem;
    text-align: left;
}

.news-card.list-view .news-date {
    width: 120px;
    flex-shrink: 0;
    margin-bottom: 0;
}

.news-card.list-view .news-title {
    width: 250px;
    flex-shrink: 0;
    margin-bottom: 0;
}

.news-card.list-view .news-excerpt {
    flex: 1;
    margin-bottom: 0;
}

.news-card.list-view .news-read-more {
    width: 100px;
    flex-shrink: 0;
    text-align: center;
}

.product-image {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: #f8f8f8;
    position: relative;
    overflow: hidden;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transform: none;
    transition: none;
}

.product-img-default {
    display: block;
}

.product-img-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1rem;
    object-fit: contain;
    opacity: 0;
    box-sizing: border-box;
}

.product-image.active .product-img-hover {
    opacity: 1;
}

.product-image.active .product-img-default {
    opacity: 0;
}

.product-content {
    padding: 1.25rem;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.product-description {
    font-size: 0.875rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.product-code {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    font-family: monospace;
}

.product-dimensions {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.product-colors {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.color-swatch {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all var(--transition-base);
}

.color-swatch:hover {
    box-shadow: 0 0 0 2px rgba(201, 168, 108, 0.3);
}

.product-link {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.5rem 0;
    border: none;
    transition: all var(--transition-base);
    position: relative;
}

.product-link::after {
    content: '';
    position: absolute;
    bottom: 0.4rem;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width var(--transition-base);
}

.product-link:hover {
    color: var(--accent-color);
}

.product-link:hover::after {
    width: 100%;
}

.product-divider {
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--border-color);
    margin: 0.5rem 0;
}

/* News Card Styles */
.news-card {
    background: var(--white);
    border-radius: 0;
    box-shadow: var(--box-shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.news-card .news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-card .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 1.25rem;
}

.news-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.news-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.news-content p {
    font-size: 0.875rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-read-more {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-base);
    position: relative;
}

.news-read-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width var(--transition-base);
}

.news-read-more:hover {
    color: var(--accent-color);
}

.news-read-more:hover::after {
    width: 100%;
}

.btn-custom-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all var(--transition-base);
}

.btn-custom-outline:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
}

.products-section {
    padding: 4rem 0;
}

.product-tabs {
    border-bottom: 0;
    margin-bottom: 2rem;
}

.product-tabs .nav-link {
    border: 1px solid var(--border-color);
    border-bottom: 0;
    background: var(--light-bg);
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.75rem 1.5rem;
    margin-right: -1px;
    transition: all var(--transition-base);
}

.product-tabs .nav-link:first-child {
    border-radius: var(--border-radius) 0 0 0;
}

.product-tabs .nav-link:last-child {
    border-radius: 0 var(--border-radius) 0 0;
}

.product-tabs .nav-link:hover {
    border-color: var(--border-color);
    color: var(--accent-color);
}

.product-tabs .nav-link.active {
    background: var(--white);
    border-color: var(--border-color);
    color: var(--accent-color);
}

.tab-content {
    padding: 0;
    text-align: left !important;
}

.tab-content h4 {
    text-align: left !important;
}

.tab-content p {
    text-align: left !important;
}

.product-features ul {
    text-align: left !important;
    padding-left: 0;
}

.product-features li {
    text-align: left !important;
}

.tab-content ul {
    text-align: left !important;
}

.tab-content li {
    text-align: left !important;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-card {
    background: var(--white);
    border-radius: 0;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.product-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: var(--box-shadow);
}

.product-info {
    padding: 1rem;
    text-align: center;
}

.product-name {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.product-category {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.features-section {
    padding: 4rem 0;
}

.feature-card {
    background: var(--white);
    border-radius: 0;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    margin-bottom: 1.5rem;
}

.feature-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--box-shadow);
}

.feature-icon {
    color: var(--accent-color);
}

.feature-title {
    color: var(--primary-color);
}

.feature-description {
    color: var(--secondary-color);
    line-height: 1.6;
}

.projects-section {
    padding: 4rem 0;
}

.project-card {
    background: var(--white);
    border-radius: 0;
    box-shadow: var(--box-shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.project-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--box-shadow);
}

.project-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    padding: 1.25rem;
}

.project-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.project-excerpt {
    font-size: 0.875rem;
    color: var(--secondary-color);
    line-height: 1.6;
}

.project-link {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.5rem 0;
    border: none;
    transition: all var(--transition-base);
    position: relative;
}

.project-link::after {
    content: '';
    position: absolute;
    bottom: 0.4rem;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width var(--transition-base);
}

.project-link:hover {
    color: var(--accent-color);
}

.project-link:hover::after {
    width: 100%;
}

.newsletter-section {
    padding: 4rem 0;
}

.newsletter-section .section-title {
    color: var(--white);
}

.newsletter-section .lead {
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
    max-width: 30rem;
    margin: 0 auto;
}

.newsletter-form .form-control {
    border: 0;
    border-radius: var(--border-radius);
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
}

.newsletter-form .form-control:focus {
    box-shadow: none;
    outline: none;
}

.newsletter-section .btn-light {
    color: var(--primary-color);
    background: var(--white);
    border: 0;
    font-weight: 600;
}

.newsletter-section .btn-light:hover {
    background: var(--light-bg);
}

.footer-section {
    padding: 4rem 0 2rem;
}

.footer-title {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links li a {
    display: inline-block;
    padding: 0.25rem 0;
    transition: color var(--transition-base), transform var(--transition-base);
}

.footer-links li a:hover {
    color: var(--white) !important;
    transform: translateX(0.25rem);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: background var(--transition-base), transform var(--transition-base);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-0.25rem);
}

.footer-legal a {
    transition: color var(--transition-base);
}

.footer-legal a:hover {
    color: var(--white) !important;
}

@media (max-width: 575.98px) {
    .top-navbar {
        display: none !important;
    }

    .hero-section {
        min-height: calc(100vh - 80px);
        height: calc(100vh - 80px);
    }

    .hero-slide {
        min-height: calc(100vh - 80px);
        height: calc(100vh - 80px);
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .product-tabs .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }

    .tab-content {
        padding: 1rem;
    }

    .row {
        --bs-gutter-y: 1rem;
    }

    .news-card,
    .feature-card,
    .project-card,
    .product-card {
        margin-bottom: 1rem;
    }

    .footer-section {
        padding: 3rem 0 1.5rem;
    }

    .newsletter-section .btn {
        width: 100%;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 1199.98px) {
    .main-navbar .collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        background: var(--white);
        box-shadow: var(--box-shadow);
        max-height: 80vh;
        overflow-y: auto;
    }

    .main-navbar .navbar-nav {
        padding: 1rem;
    }

    .main-navbar .nav-link {
        padding: 0.75rem 0 !important;
        border-bottom: 1px solid var(--border-color);
    }

    .main-navbar .nav-link::after {
        display: none;
    }

    .main-navbar .nav-item.dropdown:hover > .dropdown-menu {
        display: none !important;
    }

    .main-navbar .dropdown-menu {
        display: none !important;
    }

    .main-navbar .dropdown-menu.show {
        display: none !important;
    }

    .dropdown-menu.custom-dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        display: none !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        gap: 0 !important;
        padding: 0.5rem !important;
        margin: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
        background: var(--light-bg) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .dropdown-menu.products-menu {
        display: none !important;
        min-width: 100%;
    }

    .custom-dropdown-item {
        width: 100%;
        min-width: 100%;
    }

    .search-box {
        width: 100%;
        margin-top: 1rem;
    }

    .hero-section {
        min-height: 60vh;
    }

    .newsletter-section .btn {
        width: 100%;
    }

    .news-card,
    .feature-card,
    .project-card,
    .product-card {
        margin-bottom: 1.25rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .main-navbar .nav-link {
        padding: 1rem 0.5rem !important;
        font-size: 0.75rem;
    }

    .dropdown-menu.custom-dropdown-menu {
        min-width: 40rem;
    }

    .dropdown-menu.products-menu {
        min-width: 50rem;
    }

    .custom-dropdown-item {
        min-width: 10rem;
    }

    .custom-dropdown-item span {
        font-size: 0.7rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .news-card,
    .feature-card,
    .project-card,
    .product-card {
        margin-bottom: 1.25rem;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .dropdown-menu.custom-dropdown-menu {
        min-width: 45rem;
    }

    .dropdown-menu.products-menu {
        min-width: 55rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .news-card,
    .feature-card,
    .project-card,
    .product-card {
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 768px) {
    .d-md-inline-block {
        display: inline-block !important;
    }

    .flex-md-row {
        flex-direction: row !important;
    }

    .flex-md-nowrap {
        flex-wrap: nowrap !important;
    }

    .justify-content-md-between {
        justify-content: space-between !important;
    }

    .hero-slide {
        min-height: 60vh;
    }

    .news-image {
        aspect-ratio: 16/9;
    }

    .project-image {
        aspect-ratio: 16/9;
    }
}

@media (min-width: 992px) {
    .d-lg-block {
        display: block !important;
    }

    .d-lg-flex {
        display: flex !important;
    }

    .hero-slide {
        min-height: 70vh;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1200px) {
    .d-xl-block {
        display: block !important;
    }

    .d-xl-flex {
        display: flex !important;
    }

    .hero-slide {
        min-height: 80vh;
    }
}

@media print {
    .top-navbar,
    .main-navbar,
    .hero-section,
    .newsletter-section,
    .footer-section,
    .carousel,
    .carousel-indicators,
    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    a {
        text-decoration: none;
        color: #000;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (prefers-color-scheme: dark) {
    .top-navbar {
        background-color: var(--dark-bg);
    }

    .top-links a {
        color: #8a9aaa;
    }

    .top-links a:hover {
        color: var(--white);
    }

    .main-navbar {
        background-color: var(--dark-bg) !important;
    }

    .main-navbar .nav-link {
        color: #e8eaed;
    }

    .navbar-toggler {
        background: #1a2535;
        border-color: #3a4a5a;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .dropdown-menu {
        background-color: var(--dark-bg);
    }

    .dropdown-item {
        color: #e8eaed;
    }

    .dropdown-item:hover,
    .dropdown-item:focus {
        background-color: #1a2535;
        color: var(--accent-light);
    }

    .search-box .form-control {
        background-color: #1a2535;
        border-color: #3a4a5a;
        color: #e8eaed;
    }

    .search-box .btn {
        background-color: #1a2535;
        border-color: #3a4a5a;
        color: #8a9aaa;
    }

    .search-box .btn:hover {
        background-color: #243040;
        color: #e8eaed;
    }

    .product-image {
        background: var(--dark-bg);
    }

    .tab-content {
        background: var(--dark-bg);
        border-color: #3a4a5a;
    }

    .product-tabs .nav-link {
        background: var(--dark-bg);
        border-color: #3a4a5a;
        color: #e8eaed;
    }

    .product-tabs .nav-link:hover {
        border-color: #4a5a6a;
    }

    .product-tabs .nav-link.active {
        background: #1a2535;
        border-color: #3a4a5a;
    }

    .news-card,
    .feature-card,
    .project-card {
        background: var(--dark-bg);
    }

    .news-card:hover,
    .feature-card:hover,
    .project-card:hover {
        background: var(--primary-color);
    }

    .product-card {
        background: var(--dark-bg);
    }

    .footer-section {
        background-color: #111 !important;
    }
}

.custom-toggler {
    width: 44px;
    height: 44px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-toggler .hamburger-icon,
.custom-toggler .close-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.custom-toggler .hamburger-icon .line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.custom-toggler .close-icon {
    display: none;
    position: relative;
}

.custom-toggler .close-icon .line {
    position: absolute;
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary-color);
}

.custom-toggler .close-icon .line:first-child {
    transform: rotate(45deg);
}

.custom-toggler .close-icon .line:last-child {
    transform: rotate(-45deg);
}

.custom-toggler[aria-expanded="true"] .hamburger-icon {
    display: none;
}

.custom-toggler[aria-expanded="true"] .close-icon {
    display: flex;
}

.h-100 { height: 100% !important; }
.w-100 { width: 100% !important; }

.list-unstyled {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination {
    display: flex;
    padding: 0;
    list-style: none;
    border-radius: var(--border-radius);
}

.page-link {
    position: relative;
    display: block;
    padding: 0.625rem 1rem;
    margin-left: -1px;
    color: var(--primary-color);
    text-decoration: none;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    font-weight: 500;
}

.page-link:hover {
    z-index: 2;
    color: var(--accent-color);
    background-color: var(--light-bg);
    border-color: var(--accent-color);
}

.page-link:focus {
    z-index: 3;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(26, 43, 74, 0.15);
}

.page-item:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
}

.page-item:last-child .page-link {
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

.page-item.active .page-link {
    z-index: 3;
    color: var(--white);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-item.disabled .page-link {
    color: var(--text-muted);
    pointer-events: none;
    cursor: auto;
    background-color: var(--white);
    border-color: var(--border-color);
}

.product-share {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.social-share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    background-color: var(--light-bg);
    transition: all var(--transition-base);
}

.social-share-btn:hover {
    color: var(--white);
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.floating-buttons {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.floating-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 1.25rem;
    transition: all var(--transition-base);
    box-shadow: var(--box-shadow);
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--box-shadow-lg);
}

.whatsapp-btn {
    background-color: #25D366;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
}

.phone-btn {
    background-color: var(--primary-color);
}

.phone-btn:hover {
    background-color: var(--accent-color);
}

.floating-btn:hover i {
    color: var(--white) !important;
}
