/*
Theme Name: Industrial Company
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: Professional industrial company WordPress theme with custom post types for products, applications, cases, and services.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: industrial-company
*/

/* ========================================
   Table of Contents
   ========================================
   1. Reset and Base Styles
   2. Media Bar
   3. Navigation
   4. Hero Slider
   5. Sections
   6. Components
   7. Footer
   8. Responsive Design
   ======================================== */

/* 1. Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a:-webkit-any-link {
    
    cursor: pointer;
    text-decoration: none;
}
:root {
    --primary-color: #0066cc;
    --secondary-color: #004499;
    --accent-color: #ff6600;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 2. Media Bar */
.media-bar {
    background: #1a1a1a;
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.media-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.email-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.email-info i {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: var(--white);
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-color);
}

/* 3. Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    margin: 0;
    padding: 0;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-transform: uppercase;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
}

.main-menu {
    display: flex;
    gap: 30px;
}

.main-menu > li {
    position: relative;
}

.main-menu > li > a {
    color: var(--text-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.main-menu > li > a:hover,
.main-menu > li > a.current-menu-item {
    color: var(--primary-color);
}

.main-menu > li > a i {
    font-size: 10px;
}

/* Dropdown Menu */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    padding:0;
}

.sub-menu li {
    position: relative;
}

.sub-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.sub-menu a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.sub-menu .sub-menu {
    left: 100%;
    top: 0;
}

/* 4. Hero Slider */
.hero-slider {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.slider-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.slider-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.slider-slide.background-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 20px;
    margin: 0 auto;
}

.slide-content h1 {
    font-size: 48px;
    margin: 0 0 20px 0;
    animation: fadeInUp 0.8s ease;
}

.slide-content p {
    font-size: 20px;
    margin: 0 0 30px 0;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

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

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent-color);
    color: var(--white);
    font-weight: 600;
    animation: fadeInUp 0.8s ease 0.4s backwards;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #ff5500;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 102, 0, 0.3);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 30px;
    z-index: 10;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* 5. Sections */
section:not(.hero-slider) {
    padding-top: 80px;
    padding-bottom: 80px;
}

.hero-slider {
    padding: 0 !important;
    margin: 0 !important;
}

.hero-slider section {
    padding: 0 !important;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto;
}

/* About Section */
.about-section {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    box-shadow: var(--shadow);
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

/* Products Section */
.products-section {
    background: var(--bg-light);
}

/* Products Page Section */
.products-page-section {
    background: var(--white);
    padding: 60px 0;
}

.products-page-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

.products-main-content {
    width: 100%;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--white);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
    color:#333333
}

.product-info p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.product-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.product-link i {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.product-link:hover i {
    transform: translateX(5px);
}

/* Statistics Section */
.statistics-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    font-size: 40px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* Section CTA Buttons */
.section-cta {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

/* Case Studies Section */
.case-studies-section {
    background: var(--white);
    padding: 60px 0;
}

.case-studies-page {
    padding: 60px 0;
}

/* Case Studies Sidebar */
.case-studies-sidebar {
    position: sticky;
    top: 100px;
}

.case-studies-sidebar .sidebar-title {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.case-studies-sidebar .sidebar-title i {
    color: var(--primary-color);
}

/* Case Categories Navigation */
.case-categories {
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
}

.case-categories .category-item {
    margin-bottom: 5px;
}

.case-categories .category-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    border-radius: 5px;
}

.case-categories .category-item a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.case-categories .category-item a.active {
    background: var(--primary-color);
    color: var(--white);
}
.case-categories .category-item a span.category-name{
    color: var(--white);
}

.case-categories .count-badge {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
    border-radius: 10px;
}

.case-categories .category-item a:hover .count-badge {
    background: var(--white);
}

.case-categories .category-item a.active .count-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.case-studies-filter {
    padding: 0 20px;
    margin-bottom: 40px;
}

.case-studies-list {
    padding: 0 20px;
    margin: 0 -20px;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 20px;
    margin: 0 -20px;
}

.case-card {
    background: var(--white);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-info {
    padding: 20px;
}

.case-category {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 12px;
    font-size: 12px;
    margin-bottom: 10px;
}

.case-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.case-info p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.case-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.case-link:hover {
    color: var(--secondary-color);
}

.case-link i {
    margin-left: 5px;
    font-size: 12px;
}

/* News Section */
.news-section {
    background: var(--bg-light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--white);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    text-align: center;
}

.news-date .day {
    display: block;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
}

.news-date .month {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
}

.news-info {
    padding: 20px;
}

.news-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.news-info p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.news-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: var(--secondary-color);
}

.news-link i {
    margin-left: 5px;
    font-size: 12px;
}

/* Pagination */
.pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.pagination ul,
.pagination ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 5px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.pagination a:hover,
.pagination span.current {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination .prev,
.pagination .next {
    padding: 0 15px;
}

/* Contact Section */
.contact-section {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    background: var(--bg-light);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    background: var(--white);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    border-radius: 30px;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 15px;
}

.contact-details h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-details p {
    color: var(--text-light);
}

/* Inquiry Form Section */
.inquiry-section {
    background: var(--bg-light);
}

.inquiry-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.inquiry-form {
    background: var(--white);
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.3);
}

/* 6. Footer */
.footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-menu h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-menu ul li {
    margin-bottom: 10px;
}

.footer-menu ul li a {
    color: #b0b0b0;
    transition: all 0.3s ease;
}

.footer-menu ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #b0b0b0;
}

.footer-contact-item i {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links a {
    color: #b0b0b0;
    margin-left: 20px;
    transition: color 0.3s ease;
}

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

/* Floating Sidebar */
.floating-sidebar {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.floating-btn {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.floating-btn:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.scroll-top {
    background: var(--secondary-color);
}

.scroll-top:hover {
    background: var(--primary-color);
}

/* Comments Section */
.comments-area {
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
}

.comments-title {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 30px;
}

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

.comment-list li {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.comment-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.comment-body {
    display: flex;
    gap: 20px;
}

.comment-avatar {
    flex-shrink: 0;
}

.comment-avatar img {
    width: 50px;
    height: 50px;
}

.comment-content {
    flex: 1;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.comment-author {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 16px;
}

.comment-author a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.comment-author a:hover {
    color: var(--primary-color);
}

.comment-metadata {
    font-size: 13px;
    color: var(--text-light);
}

.comment-metadata a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.comment-metadata a:hover {
    color: var(--primary-color);
}

.comment-content p {
    margin-bottom: 15px;
    color: var(--text-dark);
    line-height: 1.6;
}

.reply {
    margin-top: 15px;
}

.comment-reply-link {
    display: inline-block;
    padding: 8px 20px;
    background: var(--bg-light);
    color: var(--text-dark);
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.comment-reply-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

.no-comments {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
    font-size: 16px;
}

/* Comment Form */
.comment-reply-title {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 30px;
    margin-top: 40px;
}

.comment-form-wrapper {
    background: var(--bg-light);
    padding: 30px;
}

.comment-form {
    margin: 0;
}

.comment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 14px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    font-size: 14px;
    margin-bottom: 20px;
    background: var(--white);
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-submit {
    margin-top: 10px;
}

.form-submit input[type="submit"] {
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit input[type="submit"]:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.3);
}

/* Comment Navigation */
.comments-pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-previous {
    text-align: left;
}

.nav-next {
    text-align: right;
}

.nav-previous a,
.nav-next a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    color: var(--secondary-color);
}

/* Blog Post Section */
.blog-post-section {
    background: var(--white);
}

.blog-post-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.blog-post-main {
    width: 100%;
}

.blog-post-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.blog-sidebar .widget {
    background: var(--bg-light);
    padding: 25px;
    margin-bottom: 30px;
}

.blog-sidebar .widget:last-child {
    margin-bottom: 0;
}

.blog-sidebar .widget h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

/* Hot News Widget */
.hot-news-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hot-news-list li {
    margin-bottom: 20px;
}

.hot-news-list li:last-child {
    margin-bottom: 0;
}

.hot-news-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.hot-news-item:hover {
    color: var(--primary-color);
}

.hot-news-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    overflow: hidden;
}

.hot-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hot-news-item:hover .hot-news-image img {
    transform: scale(1.1);
}

.hot-news-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hot-news-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hot-news-date {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Hot Products Widget */
.hot-products-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hot-products-list li {
    margin-bottom: 20px;
}

.hot-products-list li:last-child {
    margin-bottom: 0;
}

.hot-product-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.hot-product-item:hover {
    color: var(--primary-color);
}

.hot-product-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    overflow: hidden;
    background: var(--white);
    padding: 10px;
}

.hot-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.hot-product-item:hover .hot-product-image img {
    transform: scale(1.1);
}

.hot-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hot-product-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hot-product-price {
    font-size: 12px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.blog-post {
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.blog-post-header {
    text-align: center;
    margin-bottom: 40px;
}

.blog-categories {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.blog-category-tag {
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    font-size: 13px;
    transition: var(--transition);
}

.blog-category-tag:hover {
    background: var(--secondary-color);
}

.blog-post-header h1 {
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    color: var(--text-light);
    font-size: 14px;
}

.blog-post-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-post-thumbnail {
    margin-bottom: 40px;
}

.blog-post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-post-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.blog-post-body h2,
.blog-post-body h3,
.blog-post-body h4,
.blog-post-body h5,
.blog-post-body h6 {
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
}

.blog-post-body h2 {
    font-size: 28px;
}

.blog-post-body h3 {
    font-size: 24px;
}

.blog-post-body p {
    margin-bottom: 20px;
}

.blog-post-body a {
    color: var(--primary-color);
}

.blog-post-body a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.blog-post-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.blog-post-tags i {
    color: var(--text-light);
    font-size: 14px;
}

.blog-tag {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    font-size: 13px;
    transition: var(--transition);
}

.blog-tag:hover {
    background: var(--primary-color);
    color: var(--white);
}

.blog-post-footer {
    margin-top: 40px;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.nav-prev,
.nav-next {
    flex: 1;
}

.nav-prev a,
.nav-next a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: var(--bg-light);
    color: var(--text-dark);
    transition: var(--transition);
    text-decoration: none;
}

.nav-prev a:hover,
.nav-next a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.nav-prev a {
    justify-content: flex-start;
}

.nav-next a {
    justify-content: flex-end;
    text-align: right;
}

.nav-prev a i {
    order: -1;
}

.nav-next a i {
    order: 1;
}

/* Product Detail Page */
.product-detail-section {
    background: var(--white);
}

.product-detail-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: start;
}

.product-detail-gallery {
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column; /* 改为垂直排列 */
    background-color: var(--bg-light);
    min-width: 300px; /* 设置最小宽度 */
    max-width: 400px; /* 设置最大宽度 */
    width: 100%; /* 确保容器宽度自适应 */
    border-radius: 8px; /* 添加圆角 */
}

.product-image-container {
    width: 100%;
    aspect-ratio: 4/3; /* 固定宽高比为4:3 */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    background: linear-gradient(to bottom, var(--white), var(--bg-light)); /* 添加渐变背景 */
}

.product-detail-gallery img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 保持图片比例，完整显示 */
    display: block;
}

/* ElevateZoom compatibility */
.product-image-zoom {
    cursor: crosshair;
    transition: transform 0.3s ease;
}

.zoomContainer {
    z-index: 1000;
}

/* Mobile touch zoom */
@media (max-width: 767px) {
    .product-image-zoom {
        cursor: pointer;
        transform-origin: center center;
    }
    
    .product-image-container {
        transition: overflow 0.3s ease;
    }
    
    .product-image-zoom.zooming {
        position: relative;
        z-index: 1001;
        transform: scale(1.8);
    }
    
    .product-image-container:has(.product-image-zoom.zooming) {
        overflow: visible;
    }
}

/* 产品分类目录样式 - 在 product-detail-gallery 内部 */
.product-categories-sidebar {
    padding: 20px;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    flex-shrink: 0; /* 防止内容收缩 */
}

/* 产品分类目录样式 - 已迁移到Bootstrap 5 */

/* 产品分类目录样式 - 使用Bootstrap 5 */

/* Bootstrap 产品类目增强样式 */
.product-categories-sidebar .card {
    border: 1px solid rgba(0, 0, 0, 0.125);
    transition: all 0.3s ease;
}

.product-categories-sidebar .card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    border-color: var(--primary-color);
}

.product-categories-sidebar .card-header {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.product-categories-sidebar .card-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.product-categories-sidebar .list-group-item {
    border-color: rgba(0, 0, 0, 0.075);
    transition: all 0.2s ease;
}

.product-categories-sidebar .list-group-item:hover {
    background-color: rgba(0, 102, 204, 0.05);
    transform: translateX(2px);
}

.product-categories-sidebar .list-group-item-primary {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 102, 204, 0.15));
    border-left: 3px solid var(--primary-color);
}

.product-categories-sidebar .list-group-item.list-group-item-primary .badge {
    background: linear-gradient(135deg, var(--primary-color), #0078d7) !important;
    box-shadow: 0 2px 4px rgba(0, 102, 204, 0.3);
}

.product-categories-sidebar .accordion-toggle {
    cursor: pointer;
    user-select: none;
}

.product-categories-sidebar .accordion-toggle[aria-expanded="true"] i.fa-chevron-down {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.product-categories-sidebar .accordion-toggle[aria-expanded="true"] .fa-folder-open {
    color: var(--primary-color);
}

.product-categories-sidebar .accordion-toggle:hover {
    background-color: rgba(0, 102, 204, 0.08);
}

.product-categories-sidebar .collapse {
    border-left: 2px solid rgba(0, 102, 204, 0.2);
    margin-left: 1rem;
    background: rgba(0, 0, 0, 0.02);
}

.product-categories-sidebar .list-group-item.bg-primary-subtle {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.12), rgba(0, 102, 204, 0.18));
    border-left: 2px solid var(--primary-color);
}

.product-categories-sidebar .list-group-item.bg-primary-subtle .badge {
    background: linear-gradient(135deg, var(--primary-color), #0078d7) !important;
    color: white !important;
}

.product-categories-sidebar .stretched-link:hover {
    text-decoration: underline;
}

.product-categories-sidebar .card-footer {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 250, 0.9));
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.product-categories-sidebar .badge {
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 2rem;
    text-align: center;
    transition: all 0.2s ease;
}

.product-categories-sidebar .list-group-item:hover .badge {
    transform: scale(1.05);
}

/* Bootstrap 响应式适配 */
@media (max-width: 768px) {
    .product-categories-sidebar .card {
        margin-bottom: 1.5rem;
    }
    
    .product-categories-sidebar .card-header {
        padding: 0.75rem 1rem;
    }
    
    .product-categories-sidebar .list-group-item {
        padding: 0.75rem 1rem;
    }
    
    .product-categories-sidebar .collapse {
        margin-left: 0.5rem;
    }
    
    .product-categories-sidebar .card-footer {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* 与现有主题颜色的集成 */
.product-categories-sidebar .text-primary {
    color: var(--primary-color) !important;
}

.product-categories-sidebar .bg-primary {
    background-color: var(--primary-color) !important;
}

.product-categories-sidebar .border-primary {
    border-color: var(--primary-color) !important;
}

/* 热门产品侧边栏样式 - 在 product-detail-gallery 内部 */
.popular-products-sidebar {
    padding: 20px;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    flex: 1; /* 占据剩余空间 */
    display: flex;
    flex-direction: column;
    min-height: 0; /* 允许内容滚动 */
}

.popular-products-title {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

.popular-products-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-product-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border-radius: 6px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.popular-product-item:hover {
    background: rgba(0, 102, 204, 0.05);
    border-color: rgba(0, 102, 204, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.popular-product-image {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.popular-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.popular-product-item:hover .popular-product-image img {
    transform: scale(1.05);
}

.popular-product-info {
    flex: 1;
    min-width: 0; /* 防止文本溢出 */
}

.popular-product-title {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-product-link {
    font-size: 13px;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.popular-product-link::after {
    content: "→";
    font-size: 12px;
    transition: transform 0.2s ease;
}

.popular-product-item:hover .popular-product-link::after {
    transform: translateX(3px);
}

.no-products-message {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 6px;
}

.product-detail-info h1 {
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.product-detail-info .product-categories {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.product-detail-info .product-categories a {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    font-size: 13px;
    transition: var(--transition);
}

.product-detail-info .product-categories a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.product-detail-info .product-categories strong {
    font-size: 14px;
    color: var(--text-dark);
}

.product-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Product description table styles */
.product-description table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 0;
    overflow: hidden;
}

.product-description table thead {
    background-color: var(--primary-color);
    color: var(--white);
}

.product-description table thead th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-description table tbody tr:nth-child(even) {
    background-color: var(--bg-light);
}

.product-description table tbody tr:nth-child(odd) {
    background-color: var(--white);
}

.product-description table tbody tr:hover {
    background-color: rgba(var(--primary-rgb), 0.05);
}

.product-description table tbody td {
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.5;
}

.product-description table tbody td:first-child {
    font-weight: 600;
    color: var(--primary-color);
    background-color: rgba(var(--primary-rgb), 0.03);
}

.product-description table caption {
    caption-side: bottom;
    text-align: left;
    font-style: italic;
    color: var(--text-light);
    padding: 10px 0;
    font-size: 14px;
    margin-top: 5px;
}

.product-description table tfoot {
    background-color: rgba(var(--primary-rgb), 0.08);
    font-weight: 600;
}

.product-description table tfoot td {
    padding: 15px 20px;
    border-top: 2px solid var(--primary-color);
}

/* Responsive table styles for product detail page */
@media (max-width: 768px) {
    .product-description table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border: 1px solid var(--border-color);
        margin: 20px 0;
        font-size: 14px;
    }
    
    .product-description table thead {
        display: table-header-group;
    }
    
    .product-description table tbody {
        display: table-row-group;
    }
    
    .product-description table thead th,
    .product-description table tbody td {
        padding: 12px 10px;
        font-size: 13px;
        white-space: nowrap;
        border: 1px solid var(--border-color);
    }
    
    .product-description table thead th {
        background-color: var(--primary-color);
        color: var(--white);
        font-weight: 600;
        text-transform: uppercase;
    }
    
    .product-description table tbody tr:nth-child(even) {
        background-color: rgba(0, 0, 0, 0.02);
    }
}

@media (max-width: 480px) {
    .product-description table {
        font-size: 12px;
        margin: 15px 0;
    }
    
    .product-description table thead th,
    .product-description table tbody td {
        padding: 8px 6px;
        font-size: 11px;
        min-width: 80px;
    }
    
    .product-description table thead th {
        font-size: 12px;
        padding: 10px 6px;
    }
}

.product-specs {
    background: var(--bg-light);
    padding: 25px;
    margin-bottom: 30px;
}

.product-specs h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.product-specs ul {
    list-style: none;
}

.product-specs li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
}

.product-specs li:last-child {
    border-bottom: none;
}

.product-specs li strong {
    color: var(--text-dark);
    min-width: 150px;
}

.product-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.product-actions .btn-primary,
.product-actions .btn-secondary {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

/* Product Category Page */
.product-category-page-section {
    background: var(--white);
    padding: 60px 0;
}

/* Page Header Section */
.page-header-section {
    margin-bottom: 30px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.page-header-background {
    background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?w=1920');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 300px;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.85) 0%, rgba(0, 68, 153, 0.9) 100%);
}

.page-header-content {
    position: relative;
    z-index: 1;
    padding: 80px 0;
    color: var(--white);
    text-align: center;
}

.page-header-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-header-content p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* Breadcrumb Section */
.breadcrumb-section {
    padding: 20px 0;
    background: var(--bg-light);
}

.breadcrumb-section + section {
    padding-top: 80px !important;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
   
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

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

.breadcrumb span {
    color: var(--border-color);
}

.category-header {
    text-align: center;
    margin-bottom: 50px;
}

.category-header h1 {
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.category-description {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 16px;
}

.product-category-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

/* Products Sidebar */
.products-sidebar {
    position: sticky;
    top: 100px;
}

.widget {
    background: var(--bg-light);
    padding: 25px;
    margin-bottom: 30px;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

/* Product Categories Widget (Archive Page) */
.product-categories-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-categories-widget li {
    margin-bottom: 5px;
}

.product-categories-widget a {
    display: block;
    padding: 10px 15px;
    color: var(--text-dark);
    transition: var(--transition);
    text-decoration: none;
}

.product-categories-widget a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.product-categories-widget a.active {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.product-categories-widget ul ul {
    margin-left: 20px;
    margin-top: 5px;
}

/* Product Categories Widget (Category Page) */
.category-tree {
    list-style: none;
}

.category-item {
    margin-bottom: 5px;
}

.category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    color: var(--text-dark);
    transition: var(--transition);
    text-decoration: none;
}

.category-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

.category-link.active {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.category-name {
    flex: 1;
    min-width: 0; /* Allow text truncation if needed */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: wrap;
    padding-right: 10px;
}

.category-count {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
    white-space: nowrap;
    border-radius: 2px;
}

.category-link:hover .category-count,
.category-link.active .category-count {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}
.category-link:hover .category-name, .category-link.active .category-name {
    
    color: var(--white);
}
/* Sub-category styles */
.sub-category-item .category-link {
    padding-left: 30px;
    background-color: rgba(0, 0, 0, 0.02);
    font-size: 13px;
}

.sub-category-item .category-link:hover {
    background: var(--primary-color);
}

.sub-category-item .category-count {
    font-size: 11px;
    padding: 1px 6px;
}

.category-toggle {
    margin-left: 10px;
    font-size: 12px;
    transition: var(--transition);
}

.category-item.expanded .category-toggle i {
    transform: rotate(180deg);
}

.sub-categories {
    list-style: none;
    margin-top: 5px;
    padding-left: 20px;
    display: none;
}

.category-item.expanded > .sub-categories {
    display: block;
}

.sub-category-item .category-link {
    font-size: 14px;
    padding: 10px 15px;
}

/* Featured Products Widget */
.featured-products-list {
    list-style: none;
}

.featured-products-list li {
    margin-bottom: 15px;
}

.featured-product-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
}

.featured-product-item:hover {
    color: var(--primary-color);
}

.featured-product-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.featured-product-title {
    font-size: 14px;
    flex: 1;
}

/* Products Sorting */
.products-sorting {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-light);
}

.results-count {
    font-size: 14px;
    color: var(--text-light);
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-options label {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
}

.sort-select {
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    font-size: 14px;
    cursor: pointer;
    outline: none;
    background: var(--white);
}

.sort-select:focus {
    border-color: var(--primary-color);
}

/* Category Products Grid */
.category-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Product Badge */
.product-image {
    position: relative;
    overflow: hidden;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    z-index: 2;
}

.badge-new {
    background: var(--accent-color);
}

.badge-featured {
    background: var(--primary-color);
}

/* Product Categories Tags */
.product-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.product-cat-tag {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    padding: 3px 10px;
    font-size: 12px;
    transition: var(--transition);
}

.product-cat-tag:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Pagination Wrapper */
.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.pagination-info {
    font-size: 14px;
    color: var(--text-light);
}

.pagination .page-numbers {
    display: flex;
    list-style: none;
    gap: 5px;
}

.pagination .page-numbers li {
    display: inline-block;
}

.pagination .page-numbers a,
.pagination .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.pagination .page-numbers a:hover,
.pagination .page-numbers span.current {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination .page-numbers .prev,
.pagination .page-numbers .next {
    padding: 0 15px;
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.no-products p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* 8. Responsive Design */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .category-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .products-page-layout,
    .product-category-layout {
        grid-template-columns: 240px 1fr;
        gap: 30px;
    }

    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-detail-gallery {
        max-width: 500px;
        min-width: 250px; /* 调整中等屏幕的最小宽度 */
        margin: 0 auto;
    }
    
    .product-image-container {
        aspect-ratio: 3/2; /* 在中等屏幕上使用3:2比例 */
    }

    .blog-post-layout {
        grid-template-columns: 1fr 280px;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* Container adjustments for mobile */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Product detail container adjustments */
    .product-detail-section .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .media-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .blog-post-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }

    .blog-post-header h1 {
        font-size: 32px;
    }

    .blog-post-meta {
        flex-direction: column;
        gap: 10px;
    }

    .post-navigation {
        flex-direction: column;
    }

    .comment-body {
        flex-direction: column;
        gap: 15px;
    }

    .comments-pagination {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .nav-previous,
    .nav-next {
        text-align: center;
    }

    .comment-form-wrapper {
        padding: 20px;
    }

    .menu-toggle {
        display: block;
    }
    
    .main-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow);
        display: none;
    }
    
    .main-menu.active {
        display: flex;
    }
    
    .main-menu > li {
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        display: none;
    }
    
    .menu-item-has-children.active > .sub-menu {
        display: block;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .slide-content h1 {
        font-size: 32px;
    }
    
    .slide-content p {
        font-size: 16px;
    }

    .page-header-background {
        min-height: 200px;
    }

    .page-header-content {
        padding: 50px 0;
    }

    .page-header-content h1 {
        font-size: 32px;
    }

    .page-header-content p {
        font-size: 14px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .statistics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-links a {
        margin: 0 10px;
    }

    .products-page-layout,
    .product-category-layout {
        grid-template-columns: 1fr;
    }

    .products-sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .category-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-sorting {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-detail-gallery {
        max-width: 100%;
        min-width: 0; /* 在移动端移除最小宽度限制 */
    }
    
    .product-image-container {
        aspect-ratio: 1/1; /* 在手机上使用正方形比例 */
    }
    
    /* 移动端产品分类目录样式 */
    .product-categories-sidebar {
        padding: 20px;
        background: var(--white);
        border-top: 1px solid var(--border-color);
    }
    
    .categories-title {
        font-size: 18px;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    
    .category-item {
        padding: 10px;
        text-decoration: none !important;
        color: var(--text-dark) !important;
        cursor: pointer;
    }
    
    .category-item:hover {
        text-decoration: none !important;
        color: var(--white) !important;
    }
    
    .category-name {
        font-size: 15px;
        color: var(--text-dark) !important;
    }
    a.active span.category-name{
        color: var(--white);
    }

    .category-count {
        padding: 3px 8px;
        font-size: 11px;
        min-width: 35px;
    }
    
    /* 移动端热门产品列表样式 */
    .popular-products-sidebar {
        padding: 20px;
        background: var(--white);
        border-top: 1px solid var(--border-color);
    }
    
    .popular-products-title {
        font-size: 18px;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    
    .popular-products-list {
        gap: 12px;
    }
    
    .popular-product-item {
        padding: 10px;
        gap: 12px;
    }
    
    .popular-product-image {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }
    
    .popular-product-title {
        font-size: 14px;
    }
    
    .popular-product-link {
        font-size: 12px;
    }

    .product-detail-info h1 {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .product-detail-info .product-categories {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 20px;
    }

    .product-detail-info .product-categories strong {
        font-size: 15px;
    }

    .product-detail-info .product-categories a {
        font-size: 13px;
        padding: 6px 12px;
    }

    .product-description {
        font-size: 15px;
        line-height: 1.7;
    }

    .product-specs {
        padding: 20px;
    }

    .product-specs h3 {
        font-size: 20px;
    }

    .product-specs li {
        flex-wrap: wrap;
        gap: 8px;
    }

    .product-specs li strong {
        min-width: 120px;
    }

    .product-actions {
        flex-direction: column;
        gap: 12px;
    }

    .product-actions .btn-primary,
    .product-actions .btn-secondary {
        width: 100%;
    }

    .pagination-wrapper {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    /* Embedded content in product description for tablet */
    .product-description iframe,
    .product-description video,
    .product-description .wp-video {
        max-width: 100% !important;
        height: auto !important;
    }

    .product-description img {
        max-width: 100% !important;
        height: auto !important;
    }

    .product-description .alignleft,
    .product-description .alignright {
        float: none !important;
        margin: 15px auto !important;
    }

    .product-description .wp-caption {
        max-width: 100% !important;
    }
}

@media (max-width: 480px) {
    /* Container adjustments for small mobile */
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    /* Product detail container adjustments */
    .product-detail-section .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .category-header h1 {
        font-size: 32px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .category-products-grid {
        grid-template-columns: 1fr;
    }

    .statistics-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 36px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .inquiry-form {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .product-detail-info h1 {
        font-size: 28px;
    }

    .product-specs {
        padding: 20px;
    }

    .product-specs li {
        flex-direction: column;
        gap: 5px;
    }

    .product-specs li strong {
        min-width: auto;
    }

    /* Enhanced mobile styling for product detail page */
    .breadcrumb-section {
        padding: 10px 0;
        font-size: 12px;
    }

    .breadcrumb {
        flex-wrap: wrap;
        gap: 5px;
    }

    .product-detail-content {
        gap: 20px;
    }

    .product-detail-gallery {
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
        margin-bottom: 15px;
    }
    
    /* 超小屏幕产品分类目录样式 */
    .product-categories-sidebar {
        padding: 15px;
        border-top: 1px solid var(--border-color);
    }
    
    .categories-title {
        font-size: 16px;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }
    
    .category-item {
        padding: 8px;
        text-decoration: none !important;
        color: var(--text-dark) !important;
        cursor: pointer;
    }
    
    .category-item:hover {
        text-decoration: none !important;
        color: var(--text-dark) !important;
    }
    
    .category-name {
        font-size: 14px;
        color: var(--text-dark) !important;
    }
    
    .category-count {
        padding: 2px 6px;
        font-size: 10px;
        min-width: 30px;
    }
    
    /* 超小屏幕热门产品列表样式 */
    .popular-products-sidebar {
        padding: 15px;
        border-top: 1px solid var(--border-color);
    }
    
    .popular-products-title {
        font-size: 16px;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }
    
    .popular-products-list {
        gap: 10px;
    }
    
    .popular-product-item {
        padding: 8px;
        gap: 10px;
    }
    
    .popular-product-image {
        width: 45px;
        height: 45px;
        min-width: 45px;
    }
    
    .popular-product-title {
        font-size: 13px;
        -webkit-line-clamp: 1; /* 在小屏幕上只显示一行 */
    }
    
    .popular-product-link {
        font-size: 11px;
    }

    .product-detail-info h1 {
        font-size: 26px;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .product-detail-info .product-categories {
        margin-bottom: 15px;
    }

    .product-detail-info .product-categories strong {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .product-detail-info .product-categories a {
        font-size: 12px;
        padding: 5px 10px;
        margin-right: 5px;
        margin-bottom: 5px;
    }

    .product-description {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .product-description p {
        margin-bottom: 12px;
    }

    .product-description h2, 
    .product-description h3, 
    .product-description h4 {
        font-size: 18px;
        margin-top: 20px;
        margin-bottom: 12px;
    }

    .product-specs {
        padding: 15px;
        margin-bottom: 20px;
    }

    .product-specs h3 {
        font-size: 18px;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .product-specs li {
        padding: 8px 0;
        font-size: 13px;
    }

    .product-specs li strong {
        font-size: 13px;
    }

    .product-actions {
        gap: 10px;
        margin-top: 15px;
    }

    .product-actions .btn-primary,
    .product-actions .btn-secondary {
        padding: 12px 16px;
        font-size: 15px;
        border-radius: 0;
    }

    /* Product detail table mobile optimization */
    .product-description table {
        font-size: 12px;
        margin: 15px 0;
    }

    .product-description table thead th {
        padding: 8px 6px;
        font-size: 12px;
    }

    .product-description table tbody td {
        padding: 8px 6px;
        font-size: 11px;
    }

    .product-description table tbody td:first-child {
        font-weight: 600;
    }

    /* Product detail image container */
    .product-image-container {
        aspect-ratio: 3/4; /* 在小手机上使用更适合的比例 */
    }

    /* Embedded content in product description */
    .product-description iframe,
    .product-description video,
    .product-description .wp-video {
        max-width: 100% !important;
        height: auto !important;
    }

    .product-description img {
        max-width: 100% !important;
        height: auto !important;
        display: block;
        margin: 10px auto;
    }

    .product-description .alignleft,
    .product-description .alignright {
        float: none !important;
        margin: 10px auto !important;
        display: block;
        text-align: center;
    }

    .product-description .wp-caption {
        max-width: 100% !important;
    }

    .product-description .wp-caption-text {
        font-size: 12px;
        padding: 5px;
        text-align: center;
    }
}

/* ===== Resources Page Styles ===== */

/* Resources Page */
.resources-page {
    padding-top: 0;
}

.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-hero .page-title {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-hero .page-subtitle {
    font-size: 18px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Resources Content */
.resources-content {
    padding: 60px 0;
}

/* Resources Content - 使用Bootstrap网格，避免覆盖.row类 */
.resources-content {
    padding: 60px 0;
}

.resources-content .col-lg-3 {
    padding-right: 40px;
}

.resources-content .col-lg-9 {
    padding-left: 0;
}

/* Resources Sidebar */
.resources-sidebar {
    position: sticky;
    top: 100px;
}

.resources-sidebar .sidebar-title {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.resource-categories {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
}

.resource-categories li {
    margin-bottom: 5px;
}

.resource-categories a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    border-radius: 5px;
}

.resource-categories a:hover,
.resource-categories a.active {
    background: var(--primary-color);
    color: var(--white);
}

.resource-categories .count {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.resource-categories a:hover .count,
.resource-categories a.active .count {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.category-description {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
}

.category-description h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.category-description p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Resources Grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.resource-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.resource-image {
    height: 180px;
    overflow: hidden;
    background: var(--bg-light);
}

.resource-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
     
    transition: transform 0.4s ease;
}

.resource-card:hover .resource-image img {
    transform: scale(1.1);
}

.resource-content {
    padding: 15px 20px;
}

.resource-content .resource-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.resource-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
    line-height: 1.4;
}

.resource-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.resource-card:hover .resource-title a {
    color: var(--primary-color);
}

.resource-excerpt {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.resource-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.resource-meta .file-type,
.resource-meta .resource-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
}

.resource-meta .file-type i {
    color: var(--primary-color);
}

.resource-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.resource-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
    color: var(--white);
}

/* No Resources */
.no-resources {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-light);
    border-radius: 0;
}

.no-resources i {
    font-size: 64px;
    color: var(--border-color);
    margin-bottom: 20px;
}

.no-resources h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.no-resources p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Resources CTA Section */
.resources-cta,
.case-studies-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    margin-top: 60px;
}

.resources-cta h2,
.case-studies-cta h2 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
}

.resources-cta p,
.case-studies-cta p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-light {
    display: inline-block;
    padding: 15px 40px;
    background: var(--white);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 0;
    text-decoration: none;
    transition: var(--transition);
}

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

/* Single Resource Page */
.single-resource-page {
    padding-top: 0;
}

.resource-hero {
    padding: 60px 0;
    color: var(--white);
    position: relative;
}

.resource-hero .breadcrumb {
    justify-content: center;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 0;
    display: inline-flex;
}

.resource-hero .breadcrumb a,
.resource-hero .breadcrumb span {
    color: var(--white);
}

.resource-hero .breadcrumb .current {
    opacity: 0.9;
}

.resource-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 0;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.resource-hero .resource-title {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

.resource-hero .resource-meta {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.resource-hero .resource-meta .date,
.resource-hero .resource-meta .size {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.resource-content {
    padding: 30px 20px;
}

.resource-details {
    margin-bottom: 40px;
}

.featured-image {
    margin-bottom: 40px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.resource-description h2 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.download-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 40px;
    border-radius: 0;
    text-align: center;
    margin: 40px 0;
    color: var(--white);
}

.download-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: var(--white);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    border-radius: 0;
    text-decoration: none;
    transition: var(--transition);
}

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

.resource-specs {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 0;
    margin-top: 40px;
}

.resource-specs h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

/* Resource Sidebar */
.resource-sidebar {
    position: sticky;
    top: 100px;
}

.info-card,
.related-resources,
.need-help-card {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 0;
    margin-bottom: 30px;
}

.info-card h3,
.related-resources h3,
.need-help-card h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

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

.info-list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list .label {
    font-weight: 500;
    color: var(--text-dark);
}

.info-list .value {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.related-item {
    margin-bottom: 15px;
}

.related-item a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    padding: 10px;
    border-radius: 8px;
}

.related-item a:hover {
    background: var(--white);
    color: var(--primary-color);
}

.related-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.related-title {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.need-help-card p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    border-radius: 0;
    text-decoration: none;
    transition: var(--transition);
    width: 100%;
    text-align: center;
}

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

.btn-block {
    width: 100%;
    text-align: center;
}

/* Share Section */
.share-section {
    background: var(--bg-light);
    padding: 40px 0;
    text-align: center;
    margin-top: 40px;
}

.share-section h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.share-buttons .btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.btn-facebook {
    background: #1877f2;
}

.btn-facebook:hover {
    background: #0d65d9;
    transform: translateY(-3px);
}

.btn-twitter {
    background: #1da1f2;
}

.btn-twitter:hover {
    background: #0c85d0;
    transform: translateY(-3px);
}

.btn-linkedin {
    background: #0077b5;
}

.btn-linkedin:hover {
    background: #006394;
    transform: translateY(-3px);
}

.btn-email {
    background: #ea4335;
}

.btn-email:hover {
    background: #d93323;
    transform: translateY(-3px);
}

/* Resource Navigation */
.resource-navigation {
    background: var(--bg-light);
    padding: 40px 0;
    margin-top: 40px;
}

.resource-navigation .nav-link {
    display: block;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.resource-navigation .nav-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.resource-navigation .nav-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    opacity: 0.8;
}

.resource-navigation .nav-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.resource-navigation .next-link {
    text-align: right;
}

.resource-navigation .next-link .nav-link {
    text-align: right;
}

.resource-navigation .next-link .nav-link i {
    margin-left: 10px;
}

.resource-navigation .prev-link .nav-link i {
    margin-right: 10px;
}

/* Responsive Design for Resources */
@media (max-width: 1024px) {
    .resources-content .col-lg-3 {
        padding-right: 30px;
    }

    .resources-content .col-lg-9 {
        padding-left: 0;
    }

    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .resources-content .col-lg-3 {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .resources-content .col-lg-9 {
        padding-left: 0;
    }

    .resources-sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .page-hero .page-title {
        font-size: 32px;
    }

    .resource-hero {
        padding: 40px 0;
    }

    .resource-hero .resource-title {
        font-size: 32px;
    }

    .resource-content {
        padding: 20px 15px;
    }

    .resource-sidebar {
        position: static;
        margin-top: 40px;
    }

    .resource-hero .resource-meta {
        flex-direction: column;
        gap: 15px;
    }

    .share-buttons {
        flex-wrap: wrap;
    }

    .resource-navigation .col-6 {
        margin-bottom: 15px;
    }

    .resources-cta h2,
    .case-studies-cta h2 {
        font-size: 28px;
    }

    .resources-cta p,
    .case-studies-cta p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .page-hero .page-title {
        font-size: 28px;
    }

    .resource-card {
        margin: 0;
    }

    .download-section {
        padding: 30px 20px;
    }

    .download-btn {
        width: 100%;
        text-align: center;
    }
}

/* ===== Resources Main Page Styles ===== */

/* Resources Search Section */
.resources-search {
    background: var(--bg-light);
    padding: 40px 0;
}

.search-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.resources-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    padding: 10px;
    border-radius: 0;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.resources-search-form:focus-within {
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.2);
}

.search-input {
    flex: 1;
    border: none;
    padding: 15px 20px;
    font-size: 16px;
    outline: none;
    color: var(--text-dark);
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--primary-color);
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* Resources Categories Section */
.resources-categories-section {
    padding: 80px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.section-title {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
    padding: 0 20px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.resources-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 20px;
    margin: 0 -20px;
}

.category-card {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.category-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    height: 100%;
    padding: 30px;
    transition: var(--transition);
}

.category-icon {
    width: 70px;
    height: 70px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.category-icon i {
    font-size: 28px;
    color: var(--white);
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-info {
    flex: 1;
}

.category-name {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.category-card:hover .category-name {
    color: var(--primary-color);
}

.category-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.category-count-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.count-badge {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.count-text {
    font-size: 13px;
    color: var(--text-light);
}

.no-categories {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

/* Latest Resources Section */
.latest-resources-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.latest-resources-section .section-header {
    padding: 0 20px;
}

.latest-resources-section .resources-grid {
    padding: 0 20px;
    margin: 0 -20px;
}

.view-all-wrapper {
    text-align: center;
    margin-top: 40px;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 16px;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: var(--white);
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
}

/* Enhanced Resource Card for Main Page */
.latest-resources-section .resource-card {
    box-shadow: var(--shadow);
}

.latest-resources-section .resource-content {
    padding: 20px;
}

/* Resources Archive - Category Navigation */
.category-nav {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 0;
}

.category-nav .resource-categories {
    padding: 0;
    background: transparent;
}

.category-nav .resource-categories a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    margin-bottom: 5px;
    border-radius: 6px;
    transition: var(--transition);
}

.category-nav .resource-categories a:hover,
.category-nav .resource-categories a.active {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(5px);
}

.cat-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
}

.category-nav .resource-categories a:hover .cat-icon,
.category-nav .resource-categories a.active .cat-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.cat-name {
    flex: 1;
    font-weight: 500;
}

/* Category Badge in Hero */
.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 0;
    backdrop-filter: blur(10px);
    font-size: 14px;
    margin-bottom: 15px;
}

/* Category Description Box */
.category-description-box {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 0;
    margin-top: 20px;
}

.category-description-box h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.category-description-box p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    border-radius: 0;
    text-decoration: none;
    transition: var(--transition);
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
}

/* Responsive Design for Main Resources Page */
@media (max-width: 1024px) {
    .resources-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .resources-search {
        padding: 30px 0;
    }

    .search-wrapper {
        padding: 0 15px;
    }

    .resources-categories-section,
    .latest-resources-section {
        padding: 60px 0;
    }

    .section-header {
        padding: 0 15px;
    }

    .resources-categories-grid,
    .latest-resources-section .resources-grid {
        padding: 0 15px;
        margin: 0 -15px;
    }

    .resources-categories-grid {
        grid-template-columns: 1fr;
    }

    .resources-search-form {
        flex-direction: column;
        padding: 15px;
    }

    .search-input {
        width: 100%;
        padding: 12px 15px;
    }

    .search-btn {
        width: 100%;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn-light,
    .cta-buttons .btn-outline-light {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .category-card {
        padding: 20px;
    }

    .category-icon {
        width: 60px;
        height: 60px;
    }

    .category-icon i {
        font-size: 24px;
    }

    .category-name {
        font-size: 18px;
    }

    .category-desc {
        font-size: 13px;
    }

    .section-title {
        font-size: 24px;
    }
}

/* Case Studies Content */
.case-studies-content {
    padding: 60px 0;
}

/* Case Studies Content - 使用Bootstrap网格 */
.case-studies-content .col-lg-3 {
    padding-right: 40px;
}

.case-studies-content .col-lg-9 {
    padding-left: 0;
}

/* Case Studies Page Layout */
.case-studies-page-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

/* Case Studies Grid */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Case Card */
.case-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.case-image {
    position: relative;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-info {
    padding: 20px;
}

.case-category {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.case-card h3 {
    margin: 0 0 12px 0;
    font-size: 18px;
    line-height: 1.4;
}

.case-card h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.case-card:hover h3 a {
    color: var(--primary-color);
}

.case-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.case-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.case-link:hover {
    gap: 12px;
}

.case-study-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition);
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.case-study-card .card-image {
    position: relative;
    overflow: hidden;
}

.case-study-card .card-image img {
    transition: transform 0.3s ease;
}

.case-study-card:hover .card-image img {
    transform: scale(1.1);
}

/* Responsive Design for Case Studies */
@media (max-width: 1024px) {
    .case-studies-content .col-lg-3 {
        padding-right: 30px;
    }

    .case-studies-content .col-lg-9 {
        padding-left: 0;
    }

    .case-studies-page-layout {
        grid-template-columns: 240px 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .case-studies-content .col-lg-3 {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .case-studies-content .col-lg-9 {
        padding-left: 0;
    }

    .case-studies-page-layout {
        grid-template-columns: 1fr;
    }

    .case-studies-sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .case-studies-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
        margin: 0 -15px;
    }

    .cases-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
        margin: 0 -15px;
    }
}

/* Applications Page */
.applications-page {
    padding-top: 0;
}

.applications-content {
    padding: 60px 0;
}

/* 使用Bootstrap的网格系统，避免覆盖.row类 */
.applications-content .row {
    margin-left: 0;
    margin-right: 0;
}

.applications-content .col-lg-3 {
    padding-right: 40px;
}

.applications-content .col-lg-9 {
    padding-left: 0;
}

.applications-sidebar {
    position: sticky;
    top: 100px;
}

.applications-sidebar .sidebar-title {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.application-industries {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
}

.application-industries li {
    margin-bottom: 5px;
}

.application-industries a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    border-radius: 5px;
}

.application-industries a:hover,
.application-industries a.active {
    background: var(--primary-color);
    color: var(--white);
}

.application-industries .cat-icon {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.application-industries .count-badge {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.application-industries a:hover .count-badge,
.application-industries a.active .count-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.category-description-box {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
}

.category-description-box h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.category-description-box p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Grid System - 与Bootstrap兼容 */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.application-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition);
}

.application-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.application-image {
    height: 180px;
    overflow: hidden;
    background: var(--bg-light);
}

.application-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.application-content {
    padding: 25px;
}

.application-industry {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.application-title {
    font-size: 18px;
    margin: 0 0 12px 0;
}

.application-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.application-title a:hover {
    color: var(--primary-color);
}

.application-excerpt {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.application-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--text-light);
}

.application-meta span {
    display: flex;
    align-items: center;
}

.application-meta i {
    margin-right: 5px;
}

.application-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.application-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.application-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.application-btn:hover i {
    transform: translateX(3px);
}

.no-applications {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.no-applications i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.no-applications h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.applications-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.applications-cta h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.applications-cta p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.applications-cta .btn {
    padding: 15px 40px;
    font-size: 16px;
}

/* Responsive Design for Applications */
@media (max-width: 1024px) {
    .applications-content .col-lg-3 {
        padding-right: 30px;
    }
    
    .applications-content .col-lg-9 {
        padding-left: 0;
    }

    .applications-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .application-card {
        max-width: 100%;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .applications-content .col-lg-3 {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .applications-content .col-lg-9 {
        padding-left: 0;
    }

    .applications-sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .applications-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .application-image {
        height: 160px;
    }
    
    .application-content {
        padding: 20px;
    }
    
    .application-title {
        font-size: 16px;
    }
    
    .application-excerpt {
        font-size: 13px;
    }
    
    .application-meta {
        font-size: 12px;
        gap: 10px;
    }
    
    .application-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .application-image {
        height: 140px;
    }
    
    .applications-content {
        padding: 30px 0;
    }
    
    .applications-cta {
        padding: 50px 0;
    }
    
    .applications-cta h2 {
        font-size: 28px;
    }
    
    .applications-cta p {
        font-size: 16px;
    }
}