/* Associated Enterprises Page Styles - Independent Stylesheet */

/* ==================== CSS Variables ==================== */
:root {
    --primary-color: #1a365d;
    --secondary-color: #2c5282;
    --accent-color: #3182ce;
    --text-dark: #1a202c;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --transition: all 0.3s ease;
}

/* ==================== Reset & Base ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Saira', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1720px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== Header & Navigation ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.has-dropdown {
    position: relative;
}

.has-dropdown i {
    font-size: 10px;
    margin-left: 4px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.phone-link:hover {
    color: var(--primary-color);
}

.phone-link i {
    font-size: 14px;
}

.search-btn,
.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-dark);
    transition: var(--transition);
    padding: 8px;
}

.search-btn:hover,
.lang-btn:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-dark);
}

/* ==================== Hero Section ==================== */
.hero-section {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
}

.hero-content .container {
    width: 100%;
    text-align: center;
}

.hero-title {
    font-size: 80px;
    font-weight: 700;
    color: white;
    line-height: 1.4;
    margin-bottom: 0;
    max-width: none;
    text-align: center;
}

.discover-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: white;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition);
}

.discover-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.discover-btn i {
    font-size: 12px;
}

/* ==================== Family Business Section ==================== */
.family-business-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.family-business-layout {
    display: flex;
    gap: 80px;
    padding: 0;
    border: none;
}

.family-business-left {
    flex: 0 0 35%;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

.family-business-right {
    flex: 1;
    padding-top: 160px;
}

/* ==================== Enterprise Accordion ==================== */
.enterprise-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    background-color: var(--bg-white);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    font-size: 13px;
    color: var(--text-light);
    transition: var(--transition);
}

.accordion-item:hover .accordion-header,
.accordion-item.active .accordion-header {
    color: var(--text-dark);
}

.accordion-number {
    font-weight: 500;
    min-width: 24px;
}

.accordion-title {
    flex: 1;
    font-weight: 500;
}

.accordion-icon {
    font-size: 12px;
    transition: var(--transition);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

/* ==================== Enterprise Details Section ==================== */
.enterprise-details-section {
    padding: 0 0 80px;
    background-color: var(--bg-white);
}

.enterprise-detail {
    margin-bottom: 60px;
}

.enterprise-detail:last-child {
    margin-bottom: 0;
}

.enterprise-detail-layout {
    display: flex;
    gap: 0;
    min-height: 350px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.enterprise-detail-layout.reverse {
    flex-direction: row-reverse;
}

.enterprise-image {
    flex: 0 0 53%;
    overflow: hidden;
    background-color: #f8f9fa;
}

.enterprise-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.enterprise-content {
    flex: 0 0 47%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--bg-white);
}

.enterprise-title-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.enterprise-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    flex-shrink: 0;
}

.enterprise-name {
    font-size: 26px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

.enterprise-desc {
    margin-bottom: 30px;
}

.enterprise-desc p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.enterprise-desc p:last-child {
    margin-bottom: 0;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--primary-color);
}

.contact-link i {
    font-size: 12px;
}

/* ==================== Footer ==================== */
.footer {
    background-image: url('https://www.conbyth.com/images/footer-bg.webp');
    color: var(--text-dark);
    padding: 50px 0 15px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('https://www.conbyth.com/images/world-map.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    opacity: 0.15;
    pointer-events: none;
}

.footer-content {
    display: flex;
    gap: 60px;
    margin-bottom: 0px;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Logo Section */
.footer-section.logo-section {
    display: flex;
    flex-direction: column;
    flex: 5;
}

.footer-section.nav-section {
    flex: 2;
}

.footer-section.products-section {
    flex: 2;
}

/* 合并后的 Quick Links + Products 区域 */
.footer-section.nav-products-section {
    flex: 4;
}

.nav-products-row {
    display: flex;
    gap: 30px;
}

.quick-links-col {
    flex: 1;
}

.products-col {
    flex: 1;
}

.footer-section.contact-section {
    flex: 2.5;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-brand h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.company-intro {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.8;
}

.company-intro strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Nav Section */
.footer-nav-columns {
    display: flex;
    gap: 20px;
}

.footer-section.nav-section h4,
.footer-section.products-section h4,
.footer-section.contact-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.footer-nav-list,
.footer-products-list {
    list-style: none;
}

.footer-nav-list li,
.footer-products-list li {
    margin-bottom: 8px;
}

.footer-nav-list a,
.footer-products-list a {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav-list a:hover,
.footer-products-list a:hover {
    color: var(--primary-color);
}

/* Contact Section */
.contact-section .contact-list {
    list-style: none;
    margin-bottom: 15px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-list li i {
    color: var(--text-light);
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-list li span {
    flex: 1;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--text-light);
    text-decoration: none;
    background-color: transparent;
}

.social-links a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.social-links a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Footer Bottom */
.footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-bottom .container {
    border-top: 1px solid #cfd5dd;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 13px;
    color: var(--text-light);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.footer-bottom-left {
    padding: 15px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-bottom-left p {
    margin: 0;
}

/* ==================== Responsive ==================== */
@media (max-width: 1200px) {
    .family-business-layout {
        flex-direction: column;
        gap: 40px;
    }

    .family-business-left {
        flex: 1;
    }

    .enterprise-content {
        padding: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 28px;
    }

    .enterprise-detail-layout,
    .enterprise-detail-layout.reverse {
        flex-direction: column;
    }

    .enterprise-image,
    .enterprise-content {
        flex: 1;
    }

    .enterprise-image {
        height: 300px;
    }

    .links-section {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}



@media (max-width: 768px) {
    .hero-section {
        height: 400px;
    }

    .hero-title {
        font-size: 36px;
    }

    .family-business-section {
        padding: 60px 0;
    }

    .family-business-layout {
        padding: 24px;
    }

    .section-title {
        font-size: 22px;
    }

    .enterprise-content {
        padding: 30px;
    }

    .enterprise-name {
        font-size: 20px;
    }

    .footer {
        padding: 30px 0 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        padding: 0 16px;
        margin-bottom: 30px;
    }

    .footer-section.logo-section,
    .footer-section.nav-section,
    .footer-section.products-section,
    .footer-section.contact-section,
    .footer-section.nav-products-section {
        flex: none;
    }

    .nav-products-row {
        gap: 20px;
    }

    .quick-links-col,
    .products-col {
        flex: 1;
        min-width: 0;
    }

    .quick-links-col h4,
    .products-col h4 {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .links-section {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .phone-link span {
        display: none;
    }

    .accordion-header {
        font-size: 12px;
    }

    .enterprise-content {
        padding: 24px;
    }
}

/* 大屏手机适配 (576px) */
@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }

    .navbar {
        padding: 15px 0;
    }

    .logo img {
        height: 34px;
    }

    .hero-section {
        height: 350px;
        margin-top: 70px;
    }

    .hero-title {
        font-size: 42px;
    }

    .family-business-section {
        padding: 50px 0;
    }

    .family-business-layout {
        gap: 40px;
        padding: 0;
    }

    .family-business-right {
        padding-top: 0;
    }

    .section-title {
        font-size: 24px;
    }

    .section-desc {
        font-size: 13px;
    }

    .accordion-header {
        padding: 14px 16px;
        font-size: 13px;
    }

    .enterprise-details-section {
        padding: 0 0 60px;
    }

    .enterprise-detail {
        margin-bottom: 40px;
    }

    .enterprise-detail-layout,
    .enterprise-detail-layout.reverse {
        flex-direction: column;
    }

    .enterprise-image {
        flex: 1;
        height: 250px;
    }

    .enterprise-content {
        padding: 30px;
    }

    .enterprise-logo {
        width: 60px;
        height: 60px;
    }

    .enterprise-name {
        font-size: 20px;
    }

    .enterprise-desc p {
        font-size: 13px;
    }

    .footer {
        padding: 40px 0 12px;
    }

    .footer-content {
        flex-direction: column;
        gap: 28px;
        padding: 0 16px;
    }

    .footer-section.logo-section,
    .footer-section.nav-section,
    .footer-section.products-section,
    .footer-section.contact-section {
        flex: none;
    }

    .footer-logo img {
        height: 34px;
    }

    .company-intro {
        font-size: 13px;
    }

    .footer-nav-columns {
        gap: 35px;
    }

    .footer-section.nav-section h4,
    .footer-section.products-section h4,
    .footer-section.contact-section h4 {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .contact-list li {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .social-links a {
        width: 30px;
        height: 30px;
    }

    .footer-bottom .container {
        padding: 0 16px;
    }

    .footer-bottom-left {
        padding: 14px 0;
        font-size: 13px;
    }
}

/* 中屏手机适配 (430px) */
@media (max-width: 430px) {
    .container {
        padding: 0 16px;
    }

    .navbar {
        padding: 15px 0;
    }

    .logo img {
        height: 32px;
    }

    .hero-section {
        height: 320px;
        margin-top: 65px;
    }

    .hero-title {
        font-size: 36px;
    }

    .family-business-section {
        padding: 40px 0;
    }

    .family-business-layout {
        gap: 30px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .section-desc {
        font-size: 12px;
    }

    .accordion-header {
        padding: 12px 16px;
        font-size: 12px;
    }

    .enterprise-details-section {
        padding: 0 0 50px;
    }

    .enterprise-detail {
        margin-bottom: 30px;
    }

    .enterprise-image {
        height: 220px;
    }

    .enterprise-content {
        padding: 24px;
    }

    .enterprise-title-wrapper {
        gap: 12px;
        margin-bottom: 16px;
    }

    .enterprise-logo {
        width: 50px;
        height: 50px;
    }

    .enterprise-name {
        font-size: 18px;
    }

    .enterprise-desc {
        margin-bottom: 20px;
    }

    .enterprise-desc p {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .contact-link {
        font-size: 13px;
    }

    .footer {
        padding: 35px 0 10px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        padding: 0 16px;
    }

    .footer-section.logo-section,
    .footer-section.nav-section,
    .footer-section.products-section,
    .footer-section.contact-section {
        flex: none;
    }

    .footer-logo img {
        height: 32px;
    }

    .company-intro {
        font-size: 12px;
        line-height: 1.7;
    }

    .footer-nav-columns {
        gap: 30px;
    }

    .footer-section.nav-section h4,
    .footer-section.products-section h4,
    .footer-section.contact-section h4 {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .contact-list li {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .social-links a {
        width: 28px;
        height: 28px;
    }

    .footer-bottom .container {
        padding: 0 16px;
    }

    .footer-bottom-left {
        padding: 12px 0;
        font-size: 12px;
    }
}

/* 小屏手机适配 (375px) */
@media (max-width: 375px) {
    .hero-section {
        height: 300px;
    }

    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 20px;
    }

    .enterprise-image {
        height: 200px;
    }

    .enterprise-content {
        padding: 20px;
    }

    .enterprise-logo {
        width: 45px;
        height: 45px;
    }

    .enterprise-name {
        font-size: 16px;
    }
}

/* 超小屏手机适配 (320px) */
@media (max-width: 320px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 18px;
    }

    .accordion-header {
        padding: 10px 14px;
        font-size: 11px;
    }

    .enterprise-image {
        height: 180px;
    }

    .enterprise-content {
        padding: 16px;
    }

    .enterprise-logo {
        width: 40px;
        height: 40px;
    }

    .enterprise-name {
        font-size: 15px;
    }

    .enterprise-desc p {
        font-size: 11px;
    }
}

/* ==================== Mega Menu ==================== */
.has-megamenu {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%);
    background: #f0f0f0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 1001;
    margin-top: 10px;
}

.has-megamenu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

.level1-link {
    display: block;
    padding: 12px 24px;
    color: #333333 !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.level1-link:hover {
    background: #e0e0e0;
    color: var(--primary-color) !important;
}

@media (max-width: 1024px) {
    .mega-menu {
        display: none;
    }
}

@media (max-width: 430px) {
    .container {
        padding: 0 16px !important;
    }
}