/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Navigation Bar */
.top-nav {
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sign-in-btn {
    color: #ff6600;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 15px;
    transition: color 0.3s;
}

.sign-in-btn:hover {
    color: #ff8533;
}

.alibaba-logo .logo-text {
    color: #ff6600;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}

/* Main Header */
.main-header {
    background-color: #fff;
    padding: 30px 0;
    border-bottom: 1px solid #e5e5e5;
}

.company-info {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.company-logo {
    flex-shrink: 0;
}

.company-logo img {
    display: block;
    width: 120px;
    height: 120px;
}

.logo-placeholder {
    width: 120px;
    height: 120px;
    background-color: #f0f0f0;
    border: 2px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #999;
    border-radius: 4px;
}

.company-details {
    flex: 1;
}

.company-name {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.company-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.member-since {
    position: relative;
    padding-right: 15px;
}

.member-since::after {
    content: '•';
    position: absolute;
    right: 5px;
    color: #ccc;
}

.main-categories {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.category-label {
    font-weight: 500;
    margin-right: 5px;
}

.categories {
    color: #333;
}

.contact-btn {
    background-color: #ff6600;
    color: #fff;
    border: none;
    padding: 10px 30px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-btn:hover {
    background-color: #ff8533;
}

/* Main Navigation */
.main-nav {
    background-color: #fff;
    border-bottom: 2px solid #ff6600;
    padding: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 15px 25px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: background-color 0.3s;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    background-color: #fff5f0;
    color: #ff6600;
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 5px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    list-style: none;
    min-width: 200px;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    border-bottom: 1px solid #f5f5f5;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s;
}

.dropdown-menu a:hover {
    background-color: #fff5f0;
    color: #ff6600;
}

/* Banner Section */
.banner-section {
    width: 100%;
    background-color: #f5f5f5;
    overflow: hidden;
}

.banner-container {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
}

.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
    z-index: 1;
}

.banner-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
}

.banner-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Banner Navigation Arrows */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.banner-arrow:hover {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.banner-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.banner-arrow-prev {
    left: 20px;
}

.banner-arrow-next {
    right: 20px;
}

.banner-arrow span {
    line-height: 1;
    font-weight: bold;
}

/* Banner Dots Indicator */
.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background-color: #ff6600;
    border-color: #ff6600;
    width: 30px;
    border-radius: 6px;
}

.banner-text {
    opacity: 0.9;
}

/* Language Switcher */
.language-switcher {
    background-color: #fafafa;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 0;
}

.language-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lang-link {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    padding: 5px 10px;
    border-radius: 3px;
    transition: all 0.3s;
}

.lang-link:hover {
    background-color: #fff;
    color: #ff6600;
    border: 1px solid #e5e5e5;
}

/* Main Content */
.main-content {
    padding: 0;
    min-height: 500px;
}

/* Content Modules with Background Images */
.content-module {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.content-module::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.module-content {
    position: relative;
    z-index: 2;
    width: 1200px;
    margin: 0 auto;
}

.module-title {
    font-size: 36px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.module-description {
    font-size: 18px;
    color: #fff;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 800px;
}

/* Module 1 - bg1 */
.module-1 {
    height: 1271px;
    background-image: url('../images/bg1.jpg');
}

/* Module 2 - bg2 */
.module-2 {
    height: 1270px;
    background-image: url('../images/bg2.jpg');
}

/* Module 3 - bg3 */
.module-3 {
    height: 1587px;
    background-image: url('../images/bg3.jpg');
}

/* Module 4 - bg4 */
.module-4 {
    height: 1293px;
    background-image: url('../images/bg4.jpg');
}

.content-section {
    background-color: #fff;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.content-section h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

.content-section p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.product-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.category-card {
    background-color: #f9f9f9;
    padding: 30px 20px;
    text-align: center;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
    transition: all 0.3s;
    cursor: pointer;
}

.category-card:hover {
    border-color: #ff6600;
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.2);
    transform: translateY(-2px);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    margin-top: 40px;
}

.footer p {
    font-size: 14px;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .company-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .company-name {
        font-size: 20px;
    }

    .nav-menu {
        flex-direction: column;
    }

    .nav-menu > li > a {
        padding: 12px 20px;
    }

    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        background-color: #f9f9f9;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .product-categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .language-links {
        justify-content: center;
    }

    .banner-slider {
        height: 300px;
    }

    .banner-arrow {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .banner-arrow-prev {
        left: 10px;
    }

    .banner-arrow-next {
        right: 10px;
    }

    .banner-dots {
        bottom: 15px;
        gap: 8px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .dot.active {
        width: 24px;
    }

    .content-module {
        min-height: 400px;
        padding: 60px 0;
    }

    .module-title {
        font-size: 28px;
    }

    .module-description {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo-placeholder {
        width: 100px;
        height: 100px;
    }

    .company-name {
        font-size: 18px;
    }

    .product-categories-grid {
        grid-template-columns: 1fr;
    }

    .banner-slider {
        height: 250px;
    }

    .banner-arrow {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .banner-dots {
        bottom: 10px;
        gap: 6px;
    }

    .content-module {
        min-height: 300px;
        padding: 40px 0;
    }

    .module-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .module-description {
        font-size: 14px;
    }
}
