/*
 * Dongcai Steel Website Main Stylesheet
 * 100%复刻自 https://dongcaisteel.com
 */

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
    background-color: #000 !important;
    border-bottom: none !important;
    padding: 12px 0 !important;
    display: block !important;
    width: 100% !important;
    min-height: 45px !important;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left .company-name {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}

.top-bar-right .top-menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

.top-bar-right .top-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.top-bar-right .top-menu li a:hover {
    color: #2563eb;
}

/* ============================================
   Header & Main Navigation
   ============================================ */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: all 0.3s ease;
}

.header.sticky {
    padding: 8px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    transition: padding 0.3s ease;
}

.logo img {
    max-height: 50px;
    width: auto;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

.main-nav ul li {
    position: relative;
}

.main-nav ul li a {
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2563eb;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li.current-menu-item a::after {
    width: 100%;
}

.main-nav ul li a:hover,
.main-nav ul li.current-menu-item a {
    color: #2563eb;
}

/* Dropdown Menu */
.main-nav ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 250px;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
}

.main-nav ul li:hover ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav ul li ul li {
    border-bottom: 1px solid #f0f0f0;
}

.main-nav ul li ul li:last-child {
    border-bottom: none;
}

.main-nav ul li.menu-item-search {
    padding: 8px 0;
}

.main-nav ul li.menu-item-search a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 34px;
    border: none;
    border-radius: 0;
    margin-left: 8px;
    padding: 0;
}

.main-nav ul li.menu-item-search a i {
    font-size: 18px;
    line-height: 1;
}

.main-nav ul li.menu-item-search a:hover {
    color: #2563eb;
}

.main-nav ul li.menu-item-language {
    padding: 8px 0;
}

.main-nav ul li.menu-item-language select {
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    padding: 7px 30px 7px 15px;
    margin-left: 8px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.main-nav ul li.menu-item-language select:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.main-nav ul li ul li a {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 400;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: #333;
    transition: all 0.3s;
}

/* ============================================
   Hero Banner
   ============================================ */
.hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner-item {
    width: 100%;
    /* height: 500px; */
    transition: opacity 0.5s ease;
}

.banner-item img {
    width: 100%;
    /* height: 500px; */
    /* object-fit: cover; */
    display: block;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #fff;
    z-index: 10;
}

.banner-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
}

.banner-carousel .owl-nav .owl-prev,
.banner-carousel .owl-nav .owl-next {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: rgba(255,255,255,0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.banner-carousel .owl-nav .owl-prev:hover,
.banner-carousel .owl-nav .owl-next:hover {
    background-color: #fff;
}

.banner-carousel .owl-nav .owl-prev {
    left: 20px;
}

.banner-carousel .owl-nav .owl-next {
    right: 20px;
}

.banner-carousel .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.banner-carousel .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
}

.banner-carousel .owl-dots .owl-dot.active {
    background-color: #fff;
}

/* Banner Carousel Controls */
.banner-carousel {
    position: relative;
}

.banner-carousel .carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.banner-carousel .carousel-btn {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.8);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: #333;
}

.banner-carousel .carousel-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

.banner-carousel .carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-carousel .carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.banner-carousel .carousel-dot.active {
    background: #fff;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .banner-item {
        height: 300px;
    }
    .banner-carousel .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ============================================
   Section Styles
   ============================================ */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h4 {
    font-size: 24px;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title p {
    color: #666;
    font-size: 15px;
    margin-top: 15px;
}

/* ============================================
   Product Categories - Woodmart Style (5 columns)
   ============================================ */
.product-categories-section {
    padding: 80px 0;
    background-color: #fff;
}

.product-categories-section .section-title-centered {
    text-align: center;
    margin-bottom: 50px;
}

.product-categories-section .woodmart-title-container {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.wd-cats-element {
    margin-bottom: 40px;
}

/* Product Categories Grid - 5 Columns */
.product-categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.category-grid-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    background: #fff;
}

.category-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.wrapp-category {
    position: relative;
    display: block;
}

.category-image-wrapp {
    position: relative;
    overflow: hidden;
    padding-top: 70%;
    background: #f5f5f5;
}

.category-image-link {
    display: block;
}

.category-image-wrapp img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-grid-item:hover .category-image-wrapp img {
    transform: scale(1.08);
}

/* Category Title - Below Image */
.category-title-wrapper {
    padding: 15px 12px;
    text-align: center;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.category-title-wrapper .wd-entities-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.category-grid-item:hover .category-title-wrapper .wd-entities-title {
    color: #2563eb;
}

/* Fill Link Area */
.category-link.wd-fill {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    text-indent: -9999px;
}

/* Read More Button - Woodmart Style */
.read-more-button-wrapper {
    text-align: center;
    margin-top: 40px;
}

.read-more-button-wrapper .elementor-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 38px;
    background-color: #2563eb;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.read-more-button-wrapper .elementor-button:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.read-more-button-wrapper .elementor-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.read-more-button-wrapper .elementor-button-icon i {
    font-size: 14px;
    font-weight: 900;
}

.read-more-button-wrapper .elementor-button-text {
    display: inline-block;
}

/* Responsive Styles for Product Categories */
@media (max-width: 1200px) {
    .product-categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .product-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-categories-section {
        padding: 50px 0;
    }

    .product-categories-section .woodmart-title-container {
        font-size: 24px;
    }

    .hover-mask {
        padding: 15px 12px;
    }

    .hover-mask .wd-entities-title {
        font-size: 12px;
    }

    .read-more-button-wrapper .elementor-button {
        padding: 12px 30px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .product-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .category-grid-item:hover {
        transform: translateY(-3px);
    }
}

/* ============================================
   Why Choose Us / Info Boxes
   ============================================ */
.why-choose-us {
    background-color: #f8f9fa;
}

.info-boxes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.info-box {
    background-color: #fff;
    padding: 30px 25px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background-color: #2563eb;
    color: #fff;
}

.info-box .info-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #2563eb;
}

.info-box:hover .info-icon img {
    filter: brightness(0) invert(1);
}

.info-box h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.info-box p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}

.info-box:hover p {
    color: rgba(255,255,255,0.9);
}

@media (max-width: 992px) {
    .info-boxes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .info-boxes-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Project Case Gallery (5 columns)
   ============================================ */
.project-case-section {
    padding: 80px 0;
    background-color: #fff;
}

.project-case-section .section-title-centered {
    text-align: center;
    margin-bottom: 50px;
}

.project-case-section .woodmart-title-container {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.project-case-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.project-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    padding-top: 75%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.project-gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37,99,235,0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-gallery-item::after {
    content: '\f002';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: #fff;
    font-size: 30px;
    z-index: 2;
    transition: transform 0.3s ease;
}

.project-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.project-gallery-item:hover::before {
    opacity: 1;
}

.project-gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.project-gallery-item:hover img {
    transform: scale(1.1);
}

@media (max-width: 1200px) {
    .project-case-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .project-case-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .project-case-section {
        padding: 50px 0;
    }

    .project-case-section .woodmart-title-container {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .project-case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    background-color: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.about-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #2563eb;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #1d4ed8;
}

.btn.btn-primary,
.contact-section .btn {
    background-color: #000;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn.btn-primary:hover,
.contact-section .btn:hover {
    background-color: #333;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ============================================
   Latest Projects
   ============================================ */
.projects-section {
    background-color: #fff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.project-item:hover {
    transform: translateY(-5px);
}

.project-image {
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s;
}

.project-item:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.project-info h3 a {
    color: #333;
    text-decoration: none;
}

.project-info h3 a:hover {
    color: #2563eb;
}

.project-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-section .section-title {
    text-align: left;
    margin-bottom: 30px;
}

.contact-section .section-title h4 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
}

.contact-section .section-title p {
    text-align: left;
    max-width: 600px;
    color: #666;
    font-size: 16px;
}

.contact-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    transition: all 0.3s;
    background: #fff;
    color: #333;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: #1a1a1a;
    color: #999;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-col p {
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #2563eb;
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.contact-info li span {
    color: #999;
    font-size: 14px;
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ============================================
   Products Page
   ============================================ */
.page-header {
    background-color: #f8f9fa;
    padding: 40px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.breadcrumb {
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}

/* Page Header Banner */
.page-header-banner {
    background-color: #0a0a0a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.page-header-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
}

.page-header-banner .container {
    position: relative;
    z-index: 1;
}

.page-header-banner h1 {
    color: #fff;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.page-header-banner .breadcrumb {
    color: rgba(255,255,255,0.9);
    font-size: 15px;
}

.page-header-banner .breadcrumb a {
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    transition: color 0.3s;
}

.page-header-banner .breadcrumb a:hover {
    color: #fff;
}

/* Shop Loop Header */
.shop-loop-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    background: #fff;
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
}

.wd-shop-tools {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.wd-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.wd-breadcrumbs a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.wd-breadcrumbs a:hover {
    color: #2563eb;
}

.wd-breadcrumbs .wd-last {
    color: #2563eb;
    font-weight: 500;
}

.wd-delimiter {
    color: #ccc;
}

.result-count {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.result-count span {
    font-weight: 600;
    color: #333;
}

/* Show Sidebar Button */
.wd-show-sidebar-btn {
    display: flex;
    align-items: center;
}

.show-sidebar-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.show-sidebar-btn:hover {
    color: #2563eb;
}

.burger-icon {
    width: 18px;
    height: 12px;
    position: relative;
    display: inline-block;
}

.burger-icon::before,
.burger-icon::after,
.burger-icon span {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    left: 0;
}

.burger-icon::before {
    top: 0;
}

.burger-icon span {
    top: 50%;
    transform: translateY(-50%);
}

.burger-icon::after {
    bottom: 0;
}

/* Products Per Page */
.wd-products-per-page {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.wd-label {
    color: #666;
    font-weight: 500;
}

.per-page-variation {
    display: inline-block;
    padding: 4px 8px;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border-radius: 4px;
}

.per-page-variation:hover,
.per-page-variation.current-variation {
    color: #2563eb;
    background-color: rgba(37, 99, 235, 0.1);
}

.per-page-border {
    width: 1px;
    height: 16px;
    background-color: #ddd;
}

/* Shop View Grid */
.wd-products-shop-view {
    display: flex;
    align-items: center;
    gap: 4px;
}

.shop-view {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background-color: #e0e0e0;
    position: relative;
    transition: all 0.3s;
}

.shop-view:hover,
.shop-view.current-variation {
    background-color: #2563eb;
}

.shop-view.per-row-2::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 6px;
    height: 14px;
    background-color: #fff;
    box-shadow: 8px 0 0 #fff;
}

.shop-view.per-row-3::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 4px;
    width: 4px;
    height: 14px;
    background-color: #fff;
    box-shadow: 6px 0 0 #fff, 12px 0 0 #fff;
}

.shop-view.per-row-4::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 3px;
    width: 3px;
    height: 14px;
    background-color: #fff;
    box-shadow: 5px 0 0 #fff, 10px 0 0 #fff, 15px 0 0 #fff;
}

/* Ordering */
.woocommerce-ordering select {
    padding: 8px 35px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: border-color 0.3s;
}

.woocommerce-ordering select:hover {
    border-color: #2563eb;
}

.woocommerce-ordering select:focus {
    outline: none;
    border-color: #2563eb;
}

/* Sidebar Hidden Toggle */
.sidebar-hidden {
    display: none;
}

.product-list-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.product-sidebar {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.wd-sidebar {
    min-width: 280px;
}

.wd-content-area {
    flex: 1;
    min-width: 0;
}

.category-sidebar {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.category-sidebar h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #2563eb;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-sidebar ul {
    list-style: none;
    width: 260px;
}

.category-sidebar ul li {
    margin-bottom: 5px;
}

.category-sidebar ul li a {
    display: block;
    padding: 12px 15px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s;
    border-radius: 6px;
    font-weight: 500;
    font-size: 15px;
}

.category-sidebar ul li a:hover,
.category-sidebar ul li a.active {
    background-color: #2563eb;
    color: #fff;
    padding-left: 20px;
}

.product-list-content {
    margin-top: 30px;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.product-image {
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
    padding: 15px;
}

.product-image {
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
    padding: 15px;
}

.product-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: all 0.4s ease;
    border-radius: 12px;
}

.product-main-img {
    position: relative;
    z-index: 2;
    opacity: 1;
}

.product-hover-img {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    z-index: 1;
    opacity: 0;
}

/* 只有有悬停图的产品才触发图片切换效果 */
.product-card.has-hover-img:hover .product-main-img {
    opacity: 0;
    transform: scale(1.03);
}

.product-card.has-hover-img:hover .product-hover-img {
    opacity: 1;
    transform: scale(1.03);
}

.product-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-info h3 a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.3s;
}

.product-info h3 a:hover {
    color: #2563eb;
}

.product-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.product-info .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    background: transparent;
    border: 2px solid #2563eb;
    color: #2563eb;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
    text-transform: capitalize;
    font-size: 15px;
    margin-top: auto;
}

.product-info .btn:hover {
    background: #2563eb;
    color: #fff;
}

@media (max-width: 992px) {
    .product-sidebar {
        flex-direction: column;
    }

    .wd-sidebar {
        min-width: 100%;
    }

    .product-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .product-list {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Product Detail Page
   ============================================ */
.product-detail {
    padding: 60px 0;
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.product-detail-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.product-detail-info h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.product-detail-info .description {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.product-detail-content {
    margin-top: 40px;
    line-height: 1.8;
}

.product-detail-content p {
    margin-bottom: 15px;
    color: #666;
}

/* Shop Loop Responsive */
@media (max-width: 992px) {
    .shop-loop-head {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .wd-shop-tools {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .shop-loop-head {
        padding: 15px;
    }

    .wd-shop-tools {
        flex-wrap: wrap;
        gap: 15px;
    }

    .wd-products-per-page,
    .wd-products-shop-view {
        display: none;
    }

    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ============================================
   News/Blog Page
   ============================================ */
.blog-section {
    padding: 60px 0;
}

.blog-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.blog-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.blog-card-image {
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-content {
    padding: 25px;
}

.blog-card-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}

.blog-card-title {
    font-size: 20px;
    margin-bottom: 15px;
}

.blog-card-title a {
    color: #333;
    text-decoration: none;
}

.blog-card-title a:hover {
    color: #2563eb;
}

.blog-card-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .blog-list {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Contact Page
   ============================================ */
.contact-page-section {
    padding: 60px 0;
}

contact-page-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-box {
    margin-bottom: 30px;
}

.contact-info-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.contact-info-box p {
    color: #666;
    line-height: 1.8;
}

.contact-map {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 350px;
    border: none;
}

/* ============================================
   Scroll to Top
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #2563eb;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 99;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: #1d4ed8;
}

/* ============================================
   Responsive Navigation
   ============================================ */
@media (max-width: 992px) {
    .main-nav ul {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-inner {
        padding: 10px 0;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .section-title h4 {
        font-size: 20px;
    }
}

/* ============================================
   Owl Carousel override
   ============================================ */
.owl-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.owl-carousel .owl-item {
    display: flex;
    height: 100%;
}

/* ============================================
   Projects Page Styles
   ============================================ */
.projects-filter-section {
    padding: 40px 0 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.project-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid #e0e0e0;
    background: #fff;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.filter-btn.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.projects-grid-section {
    padding: 60px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.project-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.project-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image-wrapper img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 99, 235, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-view-btn {
    padding: 12px 30px;
    background: #fff;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.project-card:hover .project-view-btn {
    transform: translateY(0);
}

.project-content {
    padding: 25px;
}

.project-category {
    display: inline-block;
    padding: 4px 12px;
    background: #eff3ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
    line-height: 1.3;
}

.project-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.project-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #888;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.meta-icon {
    font-size: 14px;
}

.project-stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* ============================================
   Solutions Page Styles
   ============================================ */
.solutions-intro-section {
    padding: 60px 0 30px;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header.text-center {
    text-align: center;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

.solution-cards-section {
    padding: 30px 0 60px;
}

.solution-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.solution-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-color: #2563eb;
}

.solution-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.solution-icon svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

.solution-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.solution-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.solution-features {
    list-style: none;
    margin-bottom: 20px;
}

.solution-features li {
    padding: 6px 0;
    font-size: 14px;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.solution-features li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

.solution-link {
    display: inline-block;
    color: #2563eb;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.solution-link:hover {
    transform: translateX(5px);
}

.why-choose-section {
    padding: 70px 0;
    background: #f8f9fa;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.why-choose-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.why-choose-content .lead {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.why-choose-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.why-icon {
    width: 36px;
    height: 36px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    flex-shrink: 0;
}

.why-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.why-item p {
    color: #666;
    font-size: 14px;
}

.why-choose-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.process-section {
    padding: 70px 0;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    position: relative;
}

.process-timeline:before {
    content: '';
    position: absolute;
    top: 35px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: linear-gradient(90deg, #2563eb 0%, #2563eb 100%);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.process-step h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.cta-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.cta-content {
    text-align: center;
    color: #fff;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.btn-light {
    display: inline-block;
    padding: 14px 40px;
    background: #fff;
    color: #2563eb;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ============================================
   Responsive Styles for Projects & Solutions
   ============================================ */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solution-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-timeline {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-timeline:before {
        display: none;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .solution-cards-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .section-header h2,
    .why-choose-content h2,
    .cta-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 36px;
    }
}

/* ============================================
   Gallery Lightbox
   ============================================ */
.gallery-item {
    cursor: pointer;
}

/* ============================================
   Lightbox Modal Styles
   ============================================ */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox-modal img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.lightbox-close:hover {
    opacity: 0.7;
}


/* ============================================
   News Section
   ============================================ */
.news-section {
    background-color: #fff;
}

.news-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.news-tab {
    padding: 12px 32px;
    border: 2px solid #e0e0e0;
    background: #fff;
    color: #666;
    font-size: 15px;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-tab:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.news-tab.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.news-card:hover {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.news-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 60px;
    padding: 10px;
    background: #2563eb;
    color: #fff;
    border-radius: 6px;
    text-align: center;
}

.date-day {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    font-size: 12px;
    margin-top: 5px;
    opacity: 0.9;
}

.news-content {
    flex: 1;
}

.news-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-content h3 a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-content h3 a:hover {
    color: #2563eb;
}

.news-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: #2563eb;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more:hover {
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-tabs {
        gap: 10px;
    }

    .news-tab {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 15px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert i {
    margin-right: 8px;
}

/* ============================================
   Solution Detail Page
   ============================================ */
.solution-detail-section {
    padding: 60px 0;
}

.solution-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.solution-detail-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.solution-detail-content h2 {
    color: #1a3a5c;
    margin-bottom: 20px;
    font-size: 32px;
}

.solution-detail-content .lead {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.7;
}

.solution-detail-content .solution-features h3 {
    color: #1a3a5c;
    font-size: 20px;
    margin-bottom: 15px;
}

.solution-detail-content .solution-features ul {
    list-style: none;
    padding: 0;
}

.solution-detail-content .solution-features li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: #555;
}

.solution-detail-content .solution-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

.solution-body {
    margin: 30px 0;
    color: #555;
    line-height: 1.8;
}

.solution-body h3 {
    color: #1a3a5c;
    font-size: 20px;
    margin: 25px 0 15px;
}

.solution-body ul,
.solution-body ol {
    margin: 15px 0;
    padding-left: 20px;
}

.solution-body li {
    margin: 8px 0;
}

.solution-cta {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.other-solutions-section {
    padding: 40px 0 60px;
    background: #f8f9fa;
}

@media (max-width: 768px) {
    .solution-detail-wrapper {
        grid-template-columns: 1fr;
    }
}

