/* Overview Page Styles */

/* Vision Section */
#page-overview .vision-desc {
    font-size: var(--primary-fontSize16);
    color: #25272E;
}

/* Strategy Pillars - Accordion Style */
#page-overview .strategy-section {
    position: relative;
    padding: 0;
    width: 100%;
    margin-top: 90px !important;
}
#page-overview .strategy-pillars-container {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
}
#page-overview .strategy-section .green-bar {
    position: absolute;
    top: -40px;
    left: 100px;
    z-index: 4;
    font-weight: var(--primary-font-weight600);
    font-size: var(--primary-fontSize28);
    color: #FFFFFF;
}
/* 毛玻璃背景层 */
#page-overview .strategy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    background-size: cover !important;
    background-position: center !important;
    filter: blur(20px);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* 毛玻璃遮罩层 */
#page-overview .strategy-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 2;
    pointer-events: none;
}

/* ==================== 
   Strategy Pillars - Accordion Style (Horizontal)
   ==================== */
#page-overview .strategy-pillars {
    position: relative;
    z-index: 3;
    margin: 30px 0;
    color: var(--bg-white);
}


#page-overview .pillars-container {
    display: flex;
    height: 540px;
    border-radius: 0;
    overflow: hidden;
    background: var(--bg-white);
}

#page-overview .pillar-item {
    flex: 0 0 150px;
    min-width: 80px;
    position: relative;
    cursor: pointer;
    transition: flex 0.5s ease;
    overflow: hidden;
}
#page-overview .pillar-item + .pillar-item {
    margin-left: 1px;
}
#page-overview .pillar-item.active {
    flex: 4;
}

#page-overview .pillar-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

.pillar-item .pillar-bg01 {
    background: url('../../images/esg/overview/pillar_overlay_bg01.png') no-repeat;
}
.pillar-item.active .pillar-bg01 {
    background: url('../../images/esg/overview/pillar_bg01.png') no-repeat;
}
.pillar-item .pillar-bg02 {
    background: url('../../images/esg/overview/pillar_overlay_bg02.png') no-repeat;
}
.pillar-item.active .pillar-bg02 {
    background: url('../../images/esg/overview/pillar_bg02.png') no-repeat;
}
.pillar-item .pillar-bg03 {
    background: url('../../images/esg/overview/pillar_overlay_bg03.png') no-repeat;
}
.pillar-item.active .pillar-bg03 {
    background: url('../../images/esg/overview/pillar_bg03.png') no-repeat;
}
.pillar-item .pillar-bg04 {
    background: url('../../images/esg/overview/pillar_overlay_bg04.png') no-repeat;
}
.pillar-item.active .pillar-bg04 {
    background: url('../../images/esg/overview/pillar_bg04.png') no-repeat;
}

.pillar-item:not(.active):hover .pillar-bg01 {
    background: url('../../images/esg/overview/pillar_overlay_active_bg01.png') no-repeat;
}
.pillar-item:not(.active):hover .pillar-bg02 {
    background: url('../../images/esg/overview/pillar_overlay_active_bg02.png') no-repeat;
}
.pillar-item:not(.active):hover .pillar-bg03 {
    background: url('../../images/esg/overview/pillar_overlay_active_bg03.png') no-repeat;
}
.pillar-item:not(.active):hover .pillar-bg04 {
    background: url('../../images/esg/overview/pillar_overlay_active_bg04.png') no-repeat;
}

.pillar-item .pillar-bg01,
.pillar-item.active .pillar-bg01, 
.pillar-item .pillar-bg02,
.pillar-item.active .pillar-bg02, 
.pillar-item .pillar-bg03,
.pillar-item.active .pillar-bg03, 
.pillar-item .pillar-bg04,
.pillar-item.active .pillar-bg04,
.pillar-item:not(.active):hover .pillar-bg01,
.pillar-item:not(.active):hover .pillar-bg02,
.pillar-item:not(.active):hover .pillar-bg03,
.pillar-item:not(.active):hover .pillar-bg04
{
    background-size: 100% 100%;
}

.pillar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    transition: background 0.3s;
}
.pillar-overlay-header {
    display: flex;
    flex-direction: column;
}

.pillar-item:not(.pillar-item ~ .pillar-item).active .pillar-overlay {
    background: transparent;
    padding: 20px 100px;
}
.pillar-item ~ .pillar-item.active .pillar-overlay {
    background: transparent;
    padding: 20px;
}

.pillar-num {
    font-weight: 300;
    font-size: 60px;
}
.pillar-item .pillar-num {
    text-align: center;
}
.pillar-item.active .pillar-num {
    text-align: left;
}
.pillar-title {
    font-weight: 300;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    transition: all 0.3s;
    text-align: center;
    line-height: 34px;
    margin-top: -10px;
}

.pillar-item:not(.active):hover .pillar-num, .pillar-item.active .pillar-num, .pillar-item:not(.active):hover .pillar-title, .pillar-item.active .pillar-title {
    font-weight: var(--primary-font-weight600);
}

.pillar-item.active .pillar-title {
    text-align: left;
    writing-mode: horizontal-tb;
    font-size: 36px;
}

.pillar-divider {
    width: 30px;
    height: 4px;
    background: var(--bg-white);
    margin: 20px 0;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 4px;
}

.pillar-item.active .pillar-divider {
    opacity: 1;
}

.pillar-content {
    display: none;
    color: var(--bg-white);
    font-weight: 400;
    font-size: var(--primary-fontSize16);
    letter-spacing: 2px;
}

.pillar-item.active .pillar-content {
    display: block;
}

.pillar-sdgs {
    position: absolute;
    right: 20px;
    bottom: 30px;
    width: 88px;
    height: 88px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.pillar-item.active .pillar-sdgs {
    width: 270px;
    height: 270px;
    opacity: 1;
}
.pillar-item.active .pillar-sdgs02 {
    height: 130px;
}
.pillar-item.active .pillar-sdgs04 {
    height: 410px;
}

.pillar-item .pillar-sdgs01, .pillar-item .pillar-sdgs02, .pillar-item .pillar-sdgs03, .pillar-item .pillar-sdgs04 {
    opacity: 1;
    right: 35px;
}
.pillar-item .pillar-sdgs01 {
    background: url('../../images/esg/overview/pillar_overlayBg_icon01.png') no-repeat;
}
.pillar-item.active .pillar-sdgs01 {
    background: url('../../images/esg/overview/pillar_bg_icon01.png') no-repeat;
}

.pillar-item .pillar-sdgs02 {
    background: url('../../images/esg/overview/pillar_overlayBg_icon02.png') no-repeat;
}
.pillar-item.active .pillar-sdgs02 {
    background: url('../../images/esg/overview/pillar_bg_icon02.png') no-repeat;
}
.pillar-item .pillar-sdgs03 {
    background: url('../../images/esg/overview/pillar_overlayBg_icon03.png') no-repeat;
}
.pillar-item.active .pillar-sdgs03 {
    background: url('../../images/esg/overview/pillar_bg_icon03.png') no-repeat;
}
.pillar-item .pillar-sdgs04 {
    background: url('../../images/esg/overview/pillar_overlayBg_icon04.png') no-repeat;
}
.pillar-item.active .pillar-sdgs04 {
    background: url('../../images/esg/overview/pillar_bg_icon04.png') no-repeat;
}

.pillar-item .pillar-sdgs01, .pillar-item.active .pillar-sdgs01, .pillar-item .pillar-sdgs02, .pillar-item.active .pillar-sdgs02, .pillar-item .pillar-sdgs03, .pillar-item.active .pillar-sdgs03, .pillar-item .pillar-sdgs04, .pillar-item.active .pillar-sdgs04 {
    background-size: 100% 100%;
}

.sdg-item {
    width: 70px;
    height: 70px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 11px;
    text-align: center;
    padding: 5px;
}

.sdg-item .sdg-num {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 2px;
}

.sdg-orange { background: #ff6b35; }
.sdg-yellow { background: #fcc30b; }
.sdg-green { background: #4c9f38; }
.sdg-red { background: #c5192d; }
.sdg-blue { background: #00689d; }


/* Goals Grid */
.goals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.goal-card01 {
    background: url('../../images/esg/overview/goals_bg01.png') no-repeat;
}
.goal-card02 {
    background: url('../../images/esg/overview/goals_bg02.png') no-repeat;
}
.goal-card03 {
    background: url('../../images/esg/overview/goals_bg03.png') no-repeat;
}
.goal-card04 {
    background: url('../../images/esg/overview/goals_bg04.png') no-repeat;
}
.goal-card {
    position: relative;
    padding: 30px 20px 10px 20px;
    background-size: 100% 100%;
}
.goal-card h4 {
    margin-bottom: 23px;
    font-weight: var(--primary-font-weight600);
    font-size: 24px;
    color: #25272E;
}

.goal-card ul {
    list-style: none;
}

.goal-card li {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    font-weight: 400;
    font-size: var(--primary-fontSize16);
    color: #25272E;
}
.goal-card li .goals-dot {
    min-width: 11px;
    min-height: 11px;
    margin-right: 6px;
    border-radius: 50%;
    border: 2px solid var(--primary-green);
    margin-top: 4px;
}
.goal-card li .goals-desc {
    line-height: 22px;
}
/* Honors Section */
.honors-section {
    padding: 0 0 10px 0;
}

.honors-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
}
.honors-desc {
    font-weight: 400;
    font-size: 24px;
    color: #25272E;
}
.honors-title span {
    font-size: var(--primary-fontSize14);
    color: #999;
    font-weight: normal;
    margin-left: 10px;
}

.honors-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.honors-track {
    position: relative;
    display: flex;
    /* animation: marquee 10s linear infinite; */
    width: max-content;
    margin: 0 auto;
    will-change: transform;
}
.honor-item {
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.honors-marquee:hover .honors-track {
    animation-play-state: paused;
}

/* .honors-marquee:hover {
    overflow: auto;
    overflow-y: hidden;
} */

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.honor-item {
    flex-shrink: 0;
    width: 225px;
    text-align: center;
    cursor: pointer;
}
.honor-item + .honor-item {
    margin-left: 15px;
}
.honor-img {
    width: 100%;
    height: 225px;
    margin-bottom: 6px;
}

.honor-item p {
    font-weight: 400;
    font-size: var(--primary-fontSize16);
    color: #25272E;
    margin: 0 6px 6px;
}
.honor-item:hover {
    transform: translateY(-5px);
    box-shadow: 2px 2px 18px 0px rgba(151,151,151,0.22);
}

/* Communication Section */
.communication-section {
    display: flex;
    width: 100%;
    margin-top: 0 !important;
    margin-bottom: var(--primary-pHeight50);
    background: var(--primary-green);
}
.communication-section .comm-container {
    margin: 0 auto;
}

.comm-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center; /* Ensure vertical alignment */
}

.comm-left {
    color: var(--bg-white);
    background: var(--primary-green);
    padding-right: 70px!important;
}
.comm-left h3 {
    font-weight: var(--primary-font-weight600);
    font-size: var(--primary-fontSize48);
    margin-bottom: 16px;
    line-height: 50px;
}

.comm-left p {
    font-weight: 400;
    font-size: var(--primary-fontSize16);
    letter-spacing: 1px;
    line-height: 1.9;
}
.comm-left-lastContent {
    margin-top: 30px;
}
.comm-right {
    position: relative;
    overflow: hidden;
    aspect-ratio: 720 / 600; /* Proportional constraint to match image */
    width: 100%;
}

.comm-image {
    overflow: hidden;
    width: 100%;
    height: 100%;
    background: url('../../images/esg/overview/communication.png') no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

/* Paddle Navigation Styles */
.paddlenav {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
}

/* Hide native scrollbars for the shelf but keep functionality */
#honorsShelf {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE */
    overflow-x: auto;
    scroll-behavior: smooth;
}
#honorsShelf::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Paddle Arrows */
.paddlenav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d1d1d;
    opacity: 1; /* Hidden by default */
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover reveal */
/* .paddlenav:hover .paddlenav-arrow:not(:disabled) {
    opacity: 1;
    visibility: visible;
}

.paddlenav-arrow:disabled {
    opacity: 0;
    visibility: hidden;
    cursor: default;
    pointer-events: none;
} */

.paddlenav-arrow-left {
    left: 20px;
}

.paddlenav-arrow-right {
    right: 20px;
}

.paddlenav-arrow:not(:disabled):hover {
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: translateY(-50%) scale(1.05); /* Combine translate and scale */
}

.paddlenav-arrow svg {
    display: block;
}

/* Ensure honors-section has padding to prevent cutting off shadows */
.honors-section {
    padding-bottom: 30px; 
}

/* Communication Section Carousel */
#carouselComm {
    height: 100%;
    position: relative;
    overflow: hidden;
}

#carouselComm .carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

#carouselComm .carousel-slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
}

#carouselComm .comm-image {
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

#carouselComm .carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

#carouselComm .carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

#carouselComm .carousel-dot.active {
    width: 40px;
    height: 8px;
    border-radius: 4px;
    background: var(--primary-green);
}

/* History Section */
.history-section {
    padding-top: 60px;
}
.history-content-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    border-radius: 4px;
    padding: 30px;
    text-align: left;
    box-sizing: border-box;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 85%, rgba(42, 168, 57, 0.06) 100%), rgb(255, 255, 255);
    border: 1px solid rgba(70, 168, 76, 0.18);
}

/* 底部三角指示器 */
.history-content-box::before {
    content: '';
    position: absolute;
    bottom: -11px;
    left: var(--arrow-left, 50%);
    transform: translateX(-50%);
    border-width: 11px 11px 0;
    border-style: solid;
    border-color: rgba(70,168,76,0.18) transparent transparent transparent;
    z-index: 1;
}

.history-content-box::after {
    content: '';
    position: absolute;
    bottom: -9px;
    left: var(--arrow-left, 50%);
    transform: translateX(-50%);
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: rgba(255,255,255,0.65) transparent transparent transparent;
    z-index: 2;
}
.history-content-box .history-content-title, .history-content-box .history-content-desc {
    width: 100%;
}
.history-content-title {
    font-size: 20px;
    color: var(--primary-green);
    margin-bottom: 5px;
    font-weight: 600;
}
.history-content-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.history-timeline-container {
    position: relative;
    width: 100%;
    /* Hide scrollbar but keep it scrollable for mobile */
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE */
    scroll-behavior: smooth;
}
.history-timeline-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.history-timeline-track {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px 20px 0;
    min-width: 800px;
    margin: 0 auto;
}
.timeline-line {
    position: absolute;
    top: 53px; /* 40px padding + 13px (half of 26px dot total height) */
    left: 0;
    width: 100%;
    height: 1px;
    /* Use primary green for the line to match image */
    /* background: #46A84C;  */
    border: 1px solid;
    border-image: linear-gradient(180deg, rgba(200, 200, 200, 0), rgba(200, 200, 200, 1), rgba(151, 151, 151, 0)) 1 1;
    z-index: 1;
    transform: translateY(-50%);
}
.timeline-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    width: 80px;
}
.timeline-dot {
    box-sizing: content-box;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #46A84C;
    margin-top: 0;
    margin-bottom: 10px;
    position: relative;
    transition: all 0.3s ease;
}
.timeline-year {
    font-size: 24px;
    color: #666;
    transition: all 0.3s ease;
}

/* Hover and Active states (Consistent rules) */
.timeline-item:hover .timeline-dot,
.timeline-item.active .timeline-dot {
    background: #fff;
    border: 2px solid #46A84C;
}

.timeline-item:hover .timeline-dot::after,
.timeline-item.active .timeline-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #46A84C;
    border-radius: 50%;
}

.timeline-item:hover .timeline-year,
.timeline-item.active .timeline-year {
    color: #46A84C;
    font-weight: 600;
    font-size: 48px;
    margin-top: -5px;
}

/* Video Section */
.video-wrapper {
    width: 100%;
    margin: 0 auto;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
}
.sustainable-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.video-caption {
    text-align: left;
    font-size: 13px;
    color: #25272E;
    margin-top: 12px;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

