/* Main Content Styles */
main {
    margin-top: 102px;
}

/* Video Section Styles */
.video-section {
    text-align: center;
    padding: 5rem 0;
    background: linear-gradient(
        to bottom,
        white 0%,
        white 50%,
        #eee 50%,
        #eee 100%
    );
}

.video-section h1 {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 0.5rem;
    padding: 0 5rem;
    font-size: 2rem;
    color: #000;
}

.video-section h2 {
    width: 100%;
    max-width: 1400px;
    margin: 1rem auto 2rem;
    padding: 0 5rem;
    font-size: 3rem;
}

.video-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5rem;
    aspect-ratio: 5/2;
}

.video-container iframe {
    width: 100%;
    height: 100%;
}

/* DXN Company Background Section */
.company-bg-section {
    padding: 5rem 0 0;
    background-color: #fff;
}

.company-bg-section h2 {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 2rem;
    padding: 0 5rem;
    text-align: left;
    color: #333;
    font-size: 2.5rem;
    font-weight: bold;
}

.company-bg-container {
    padding: 2.5rem 0;
    background-color: #fff4f0;
}

.bg-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 2rem;
    padding: 0 5rem;
    display: flex;
    gap: 5rem;
    align-items: flex-start;
}

.bg-content .text-content {
    flex: 3;
    text-align: justify;
}

.bg-content .text-content p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.bg-content .image-content {
    flex: 2;
    position: relative;
    margin-top: -5rem;
}

.bg-content .image-content img {
    width: 100%;
}

.bg-content .image-content::before {
    content: '';
    position: absolute;
    left: -3.5rem;
    bottom: -6.5rem;
    background-color: rgba(231, 76, 60, 0.25);
    width: calc(75% + 3rem);
    height: calc(50% + 3rem);
}

.bg-content .image-content::after {
    content: '';
    position: absolute;
    left: -2rem;
    bottom: -5rem;
    background: url('https://www.dxn2u.com/about/images/about-cyber-396x294.jpg') center/cover;
    width: 75%;
    height: 50%;
}

/* DXN Concept Section */
.concept-section {
    padding: 5rem 0 2.5rem;
    text-align: center;
    background-color: #f9f9f9;
}

.concept-section h2 {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 3rem;
    padding: 0 5rem;
    color: #00BFB3;
    font-size: 2.5rem;
}

.concept-cards {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.concept-card {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.concept-card:hover {
    transform: translateY(-5px);
}

.concept-card h3 {
    color: #FF4B2B;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.concept-card p {
    color: #555;
    line-height: 1.6;
}

/* DXN Philosophy Section */
.philosophy-section {
    padding: 2.5rem 0 5rem;
    background-color: #f9f9f9;
}

.philosophy-section h2 {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 3rem;
    padding: 0 5rem;
    color: #00BFB3;
    font-size: 2.5rem;
    text-align: center;
}

.philosophy-card {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5rem;
}

.philosophy-content {
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.philosophy-content h3 {
    color: #FF4B2B;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
}

.philosophy-content p {
    color: #555;
    line-height: 1.8;
    text-align: justify;
}

/* DXN Logo Section */
.logo-section {
    padding: 5rem 0;
    background-color: white;
    text-align: center;
}

.logo-section h2 {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 2rem;
    padding: 0 5rem;
    font-size: 2.5rem;
    color: #000;
    position: relative;
}

.logo-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #0066B3;
}

.logo-section h3 {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 3rem;
    padding: 0 5rem;
    font-size: 1.8rem;
    font-style: italic;
    color: #6B7B93;
}

.logo-display {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 4rem;
    padding: 0 5rem;
}

.main-logo {
    max-width: 100%;
    height: auto;
}

.logo-meanings {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.meaning-card {
    flex: 1;
    padding: 2rem;
    border-radius: 10px;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.meaning-card:hover {
    transform: translateY(-5px);
}

.meaning-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-style: normal;
}

.meaning-card.red h3 {
    color: #FF4B2B;
}

.meaning-card.green h3 {
    color: #00A651;
}

.meaning-card.blue h3 {
    color: #0066B3;
}

.meaning-content {
    text-align: left;
}

.meaning-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #555;
}

.highlight {
    font-weight: bold;
}

.meaning-card.red .highlight {
    color: #FF4B2B;
}

.meaning-card.green .highlight {
    color: #00A651;
}

.meaning-card.blue .highlight {
    color: #0066B3;
}

/* Corporate Highlights Section */
.highlights-section {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.highlights-section h2 {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 4rem;
    padding: 0 5rem;
    text-align: center;
    color: #000;
    font-size: 2.5rem;
    position: relative;
}

.highlights-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #0066B3;
}

.timeline-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 5rem 0;
}

.timeline-navigation {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.timeline-navigation .nav-btn {
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 1;
}

.timeline-navigation .nav-btn:disabled {
    cursor: not-allowed;
} 

.timeline-navigation .nav-btn:hover {
    background-color: #0066B3;
    color: white;
}

.timeline {
    flex: 1;
    position: relative;
    height: 4px;
    background-color: #ddd;
}

.timeline-track {
    position: relative;
    display: flex;
    justify-content: space-between;
}

.timeline-point {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-point .point {
    width: 16px;
    height: 16px;
    background-color: white;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin-top: -6px;
    transition: all 0.3s ease;
}

.timeline-point:hover .point, .timeline-point.active .point {
    background-color: #0066B3;
    border-color: #0066B3;
}

.timeline-point .year {
    position: absolute;
    top: -30px;
    color: #666;
    font-weight: bold;
}

.timeline-point:hover .year, .timeline-point.active .year {
    color: #0066B3;
}

/* Timeline Content Styles */
.timeline-content {
    margin-top: 3rem;
    min-height: 200px;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.timeline-content .content-wrapper {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 1rem;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: absolute;
    width: 100%;
    max-width: 100%;
    opacity: 0;
    visibility: hidden;
    box-sizing: border-box;
    left: 0;
    right: 0;
    transition: all 0.5s ease;
}

.timeline-content .content-wrapper.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.highlight-logo {
    min-width: 0;
    text-align: center;
}

.highlight-logo img {
    width: calc(50% - 3px);
    height: auto;
    max-width: 100%;
    border: 2px solid #fff;
    border-radius: 8px;
}

.highlight-text {
    min-width: 0;
}

.highlight-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.highlight-text p {
    color: #555;
    line-height: 1.6;
}

/* Business Activities Section */
.business-section {
    padding: 5rem 0;
    background-color: white;
}

.business-section h2 {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 4rem;
    padding: 0 5rem;
    text-align: center;
    color: #000;
    font-size: 2.5rem;
    position: relative;
}

.business-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #0066B3;
}

.business-activities {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5rem;
    display: flex;
    gap: 2rem;
}

.activities-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.activity-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.activity-header {
    display: flex;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    position: relative;
    background: white;
    transition: background-color 0.3s ease;
}

.activity-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #FF4B2B;
}

.plus-icon {
    width: 24px;
    height: 24px;
    background: #333;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.activity-item.active .plus-icon {
    transform: rotate(45deg);
}

.activity-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1rem 0 3.2rem;
    background-color: #f9f9f9;
}

.activity-item.active .activity-content {
    max-height: 250px;
    padding-top: 1rem;
    padding-bottom: 1rem;
    overflow-y: scroll;
}

.activity-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.activity-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Ganoderma Section */
.ganoderma-section {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.ganoderma-section h2 {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 4rem;
    padding: 0 5rem;
    text-align: center;
    color: #000;
    font-size: 2.5rem;
    position: relative;
}

.ganoderma-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #0066B3;
}

.ganoderma-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5rem;
    display: flex;
    gap: 3rem;
}

.ganoderma-menu {
    flex-basis: 340px;
}

.ganoderma-menu ul {
    list-style: none;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ganoderma-menu li {
    padding: 1rem 1rem 1rem 1.5rem;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #555;
    position: relative;
    font-weight: bold;
}

.ganoderma-menu li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0px;
    background-color: #0066B3;
    transition: all 0.3s ease;
}

.ganoderma-menu li:last-child {
    border-bottom: none;
}

.ganoderma-menu li.active, .ganoderma-menu li:hover:not(.active) {
    color: #0066B3;
    padding-left: 2.5rem;
}

.ganoderma-menu li.active::before, .ganoderma-menu li:hover:not(.active)::before {
    width: 1rem;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.ganoderma-contents {
    flex: 1;
    position: relative;
}

.ganoderma-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ganoderma-content.active {
    display: block;
    opacity: 1;
}

.ganoderma-types, .growing-stages, .cultivation-process, .production-technique {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.content-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.content-item {
    flex-basis: calc(33.3333% - 1.34rem);
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.content-item:hover {
    transform: translateY(-5px);
}

.content-item img {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.content-item h3 {
    color: #000;
    font-size: 1.1rem;
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1200px) {
    .video-section h1,
    .video-section h2,
    .video-container,
    .company-bg-section h2,
    .bg-content,
    .concept-section h2,
    .concept-cards,
    .philosophy-section h2,
    .philosophy-card,
    .logo-section h2,
    .logo-section h3,
    .logo-display,
    .logo-meanings,
    .highlights-section h2,
    .timeline-container,
    .business-section h2,
    .business-activities,
    .ganoderma-section h2,
    .ganoderma-container {
        padding: 0 3rem;
    }

    .bg-content .image-content {
        margin-top: 2rem;
    }

    .concept-cards {
        gap: 1.5rem;
    }

    .logo-meanings {
        gap: 1.5rem;
    }

    .ganoderma-container {
        gap: 2rem;
    }

    .ganoderma-menu {
        flex-basis: 320px;
    }

    .content-item {
        flex-basis: calc(50% - 1rem);
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 992px) {
    .bg-content {
        flex-direction: column;
        gap: 2rem;
    }

    .bg-content .text-content {
        order: 2;
    }

    .bg-content .image-content {
        order: 1;
        margin-top: 0;
    }

    .bg-content .image-content::before {
        left: calc(100% - 3.5rem);
        bottom: 0.5rem;
    }

    .bg-content .image-content::after {
        left: calc(100% - 2rem);
        bottom: 2rem;
    }

    .concept-cards, .logo-meanings {
        flex-wrap: wrap;
    }

    .concept-card, .meaning-card {
        flex-basis: calc(50% - 0.75rem);
    }

    .business-activities {
        flex-direction: column;
        gap: 1rem;
    }

    .ganoderma-container {
        flex-direction: column;
    }

    .ganoderma-menu {
        flex-basis: auto;
    }

    .content-row {
        gap: 1rem;
    }

    .content-item {
        flex-basis: calc(33.3333% - 1.34rem);
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 768px) {
    main {
        margin-top: 80px;
    }

    .video-section h1 {
        font-size: 1.5rem;
    }

    .video-section h2 {
        font-size: 2rem;
    }

    .company-bg-section h2,
    .concept-section h2,
    .philosophy-section h2,
    .logo-section h2,
    .highlights-section h2,
    .business-section h2,
    .ganoderma-section h2 {
        font-size: 2rem;
    }

    .video-section h1,
    .video-section h2,
    .video-container,
    .company-bg-section h2,
    .bg-content,
    .concept-section h2,
    .concept-cards,
    .philosophy-section h2,
    .philosophy-card,
    .logo-section h2,
    .logo-section h3,
    .logo-display,
    .logo-meanings,
    .highlights-section h2,
    .timeline-container,
    .business-section h2,
    .business-activities,
    .ganoderma-section h2,
    .ganoderma-container {
        padding: 0 2rem;
    }

    .bg-content .image-content::before, .bg-content .image-content::after {
        display: none;
    }

    .meaning-card {
        flex-basis: 100%;
    }

    .timeline-point .year {
        font-size: 0.8rem;
        transform: rotate(-45deg);
        top: -25px;
    }

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

    .highlight-logo {
        display: none;
    }

    .content-item {
        flex-basis: calc(50% - 1rem);
    }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 576px) {
    .video-section h1,
    .video-section h2,
    .video-container,
    .company-bg-section h2,
    .bg-content,
    .concept-section h2,
    .concept-cards,
    .philosophy-section h2,
    .philosophy-card,
    .logo-section h2,
    .logo-section h3,
    .logo-display,
    .logo-meanings,
    .highlights-section h2,
    .timeline-container,
    .business-section h2,
    .business-activities,
    .ganoderma-section h2,
    .ganoderma-container {
        padding: 0 1rem;
    }

    .concept-card {
        flex-basis: 100%;
    }

    .content-row {
        flex-direction: column;
    }

    .content-item {
        flex-basis: 100%;
    }

    .timeline-navigation {
        gap: 1rem;
    }

    .timeline-point .year {
        font-size: 0.7rem;
        transform: rotate(-45deg);
        top: -20px;
    }

    .highlight-text h3 {
        font-size: 1.3rem;
    }

    .meaning-card h3 {
        font-size: 1.5rem;
    }
}



