/* ========================================
   全家2026 AI永續創新大賞 - Custom Styles
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
    --color-primary: #00B894;
    --color-primary-dark: #00997A;
    --color-secondary: #0984E3;
    --color-accent: #ff8d1b;
    --color-accent-yellow: #FDCB6E;
    --color-dark: #333;
    --color-gray: #636E72;
    --color-light: #DFE6E9;
    --color-bg: #fffcec;
    --color-white: #FFFFFF;
    --font-family: 'Noto Sans TC', 'Inter', sans-serif;
    --nav-height: 7.3rem;
}

main {
    overflow: hidden;
}

/* ---------- Reset & Base ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 20px;
    font-size: clamp(10px, 1.3vw, 20px);
}

body {
    font-family: var(--font-family);
    color: var(--color-dark);
    background: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
}

.navbar.scrolled {
    /* background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08); */
}

.navbar__container {
    max-width: 1600px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.2rem;
}

.navbar__logo {
    z-index: 20;
}

.navbar__logo img {
    height: 2.2rem;
    width: auto;
}

.navbar__menu {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    list-style: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar__actions {
    display: flex;
    gap: 0.8rem;
}

.navbar__link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-dark);
    position: relative;
    padding: 0.3rem 0.75rem;
    border: 2px solid #cccccc;
    border-radius: 1.5rem;
    background: white;
    transition: all 0.3s ease;
}


.navbar__link:hover {
    background-color: #1d68f8;
    color: white;
    border-color: #05ead2;
}

.navbar__cta {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white) !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.navbar__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 184, 148, 0.4);
}

/* Mobile hamburger */
.navbar__hamburger {
    display: none;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    background: #363636;
    border: none;
    padding: 8px 20px;
    border-radius: 40px;
    transition: all 0.3s ease;
}

.hamburger__text {
    color: #F8F1E5;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.hamburger__text--close {
    display: none;
}

.hamburger__icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 26px;
}

.hamburger__icon span {
    display: block;
    width: 100%;
    height: 3px;
    background: #F8F1E5;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar__hamburger.active {
    background: transparent;
    padding: 8px 0;
}

.navbar__hamburger.active .hamburger__text--menu {
    display: none;
}

.navbar__hamburger.active .hamburger__text--close {
    display: block;
    color: #eeb103;
}

.navbar__hamburger.active .hamburger__icon span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: #eeb103;
}

.navbar__hamburger.active .hamburger__icon span:nth-child(2) {
    opacity: 0;
}

.navbar__hamburger.active .hamburger__icon span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: #eeb103;
}

/* ---------- Hero Section ---------- */
.hero {
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    align-items: center;
    display: flex;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 184, 148, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero__container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero__image img {
    display: block;
    width: 106%;
    max-width: 106%;
}

.hero__image img:last-child {
    transition-delay: .3s;
}

.hero__carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 1.1 / 1;
    cursor: pointer;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: scale(1)translate(20%, -27%);
    transition: opacity 1s ease, visibility 2s ease 2s, transform 2s cubic-bezier(0.2, 0.8, 0.2, 1) 2s;
}

.hero__slide.active {
    transform: translate(0, 0)scale(1);
    opacity: 1;
    visibility: visible;
    transition: opacity 2.5s ease, visibility 2.5s ease, transform 2.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.slide__main {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
}

/* Base animations */
@keyframes floatAnim {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-15px);
    }
}

@keyframes bobAnim {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(8px);
    }
}

@keyframes pulseAnim {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

@keyframes waveHandBase {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(2deg);
    }
}

@keyframes waveHandBase2 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-4deg);
    }
}

.anim-float {
    animation: floatAnim 2s ease-in-out infinite alternate;
}

.anim-float-delay {
    animation: floatAnim 2s ease-in-out infinite alternate 1s;
}

.anim-bob {
    animation: bobAnim 1.5s ease-in-out infinite alternate;
}

.anim-bob-fast {
    animation: bobAnim 1s ease-in-out infinite alternate 0.5s;
}

.anim-pulse {
    animation: pulseAnim 2s ease-in-out infinite alternate;
}

.anim-wave {
    transform-origin: bottom right;
    animation: waveHandBase 1s ease-in-out infinite alternate;
}

.anim-wave2 {
    transform-origin: bottom left;
    animation: waveHandBase2 2s ease-in-out infinite alternate;
}

.slide__people {
    position: absolute;
    width: 34%;
    object-fit: contain;
    z-index: 3;
    left: 37%;
    pointer-events: none;
    top: 19%;
}

.slide__people2 {
    width: 38%;
    object-fit: contain;
    z-index: 3;
    left: 29%;
    top: 19%;
}

.slide__people3 {
    width: 36%;
    object-fit: contain;
    z-index: 3;
    left: 23%;
    top: 23%;
}

/* 絕對定位圖層 */
.hero__slide img:not(.slide__main):not(.slide__people) {
    position: absolute;
    max-width: 60%;
    pointer-events: none;
    /* 防止點擊干擾 */
}

/* Banner 01 */
.slide__cycle {
    top: 18%;
    left: 10%;
    width: 28%;
    z-index: 5;
}

.slide__bread {
    top: 60%;
    left: -1%;
    width: 18%;
    z-index: 2;
}

.slide__coffee {
    top: 67%;
    right: 7%;
    width: 28%;
    z-index: 5;
}

.slide__box {
    bottom: 3%;
    left: 23%;
    width: 38%;
    z-index: 5;
}

.slide__hand {
    top: 28%;
    left: 67%;
    width: 22%;
    z-index: 2;
}

.slide__handright {
    top: 43%;
    right: 52%;
    width: 45%;
    z-index: 2;
    transform-origin: bottom right;
}

.slide__nut {
    top: 11%;
    right: 20%;
    width: 13%;
    z-index: 5;
}

/* Banner 02 */
.slide__food1 {
    top: 14%;
    right: 8%;
    z-index: 4;
    width: 32%;
}

.slide__rice {
    top: 28%;
    left: 14%;
    width: 18%;
    z-index: 5;
}

.slide__bottle {
    bottom: 15%;
    right: 12%;
    width: 18%;
    z-index: 5;
}

.slide__light {
    bottom: 4%;
    left: 16%;
    width: 35%;
    z-index: 4;
}

.slide__hand2 {
    top: 41%;
    left: 36%;
    width: 18%;
    z-index: 5;
}

.slide__phone {
    top: 39%;
    right: 32%;
    width: 15%;
    z-index: 4;
}

/* Banner 03 */
.slide__b43 {
    top: 5%;
    right: 7%;
    width: 30%;
    z-index: 4;
}

/* Robot */
.slide__b58 {
    bottom: 14%;
    right: 17%;
    width: 21%;
    z-index: 5;
}

/* Bag */
.slide__b60 {
    bottom: 23%;
    right: 6%;
    width: 22%;
    z-index: 6;
}

/* Leaf */
.slide__bread3 {
    top: 4%;
    left: 44%;
    width: 14%;
    z-index: 5;
}

.slide__egg {
    top: 35%;
    left: 11%;
    width: 14%;
    z-index: 3;
}

.slide__hand01 {
    top: 36%;
    left: 53%;
    width: 14%;
    z-index: 2;
}

.slide__hand02 {
    top: 56%;
    left: 15%;
    width: 15%;
    z-index: 2;
    transform-origin: right top;
}

/* 右上角下一張預覽（模糊化） */
.hero__carousel-next {
    position: absolute;
    top: -50%;
    right: -38%;
    width: 50%;
    height: 50%;
    cursor: pointer;
    transition: transform .6s ease, box-shadow .6s ease;
    z-index: 15;
}

.hero__carousel-next img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* changed from cover to prevent character cutting */
    filter: blur(4px) brightness(0.85);
    transition: filter 0.4s ease, opacity .6s ease;
    transform: scale(1.1);
    /* 避免模糊邊緣出現白邊 */
}

.hero__carousel-next:hover {
    /* transform: scale(1.06);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35); */
}

.hero__carousel-next:hover img {
    /* filter: blur(1px) brightness(0.95); */
}

/* 分頁指示器 (dots) */
.hero__carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero__dot {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.hero__dot.active {
    background: var(--color-white);
    transform: scale(1.25);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}


/* ---------- Introduction Section ---------- */
.intro {
    padding: 2rem 0;

}

.intro__container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
}

.intro__highlights {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    margin-bottom: 1.6rem;
}

.intro__highlights li {
    display: inline-block;
}

.intro__highlight-text {
    display: inline;
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--color-dark);
    padding: 4px 8px;
    line-height: 1.6;
    position: relative;
}

.intro__highlight-text::after {
    content: '';
    background: linear-gradient(to right, #ffb71b 0%, #ff8d1b 100%);
    position: absolute;
    width: 100%;
    height: 50%;
    left: 0;
    z-index: -1;
    bottom: 0;
}

.intro__partnership {
    font-family: 'Arial Black', Arial, sans-serif;
    font-weight: 900;
    font-size: 4.8rem;
    color: var(--color-accent);
    letter-spacing: 2px;
    margin-top: 2.5rem;
    line-height: 1.2;
}

.intro__image img {
    /* border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1); */
}

/* Partner 圖片：雙圖交疊配置 + 橘色圓角邊框 */
.partner__image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.partner__image img {
    position: absolute;
    width: 86%;
    height: auto;
    /* border-radius: 30px; */
    /* border: 6px solid var(--color-accent); */
    /* box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12); */
    object-fit: cover;
}


.partner__image img:first-child {
    top: 0;
    right: 0;
    z-index: 2;
    animation: slowMove 3s ease-in-out infinite alternate;
}

.partner__image img:last-child {
    bottom: 0;
    left: 0;
    z-index: 2;
    width: 57%;
    animation: slowMove 3s ease-in-out infinite alternate .5s;
}


/* ---------- Intro2 Section (人物拼湊 + 揮手動畫) ---------- */
.intro2 {
    padding: 2rem 0;
}

.intro2__container {
    grid-template-columns: 1fr 1fr;
}

/* 圖片拼湊容器 */
.intro2__image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
}

/* 背景色塊 */
.intro2__blob {
    position: absolute;
    width: 100%;
    height: auto;
    top: 0%;
    left: 0%;
    z-index: 1;

}

/* 男性角色身體 */
.intro2__char-male {
    position: absolute;
    width: 38%;
    height: auto;
    bottom: 11%;
    left: 21%;
    z-index: 3;
}

/* 男性角色揮手手臂 */
.intro2__hand-wave {
    position: absolute;
    width: 28%;
    height: auto;
    top: 19.2%;
    left: 0%;
    z-index: 1;
    transform-origin: 85% 95%;
    animation: waveHand 2s ease-in-out infinite alternate;
}

.intro2__hand-wave2 {
    position: absolute;
    width: 12%;
    height: auto;
    top: 8%;
    left: 51%;
    z-index: 1;
    animation: waveHand3 2s ease-in-out infinite alternate;
}

/* 女性角色 */
.intro2__char-female {
    position: absolute;
    width: 36%;
    height: auto;
    bottom: 4%;
    left: 52%;
    z-index: 3;
}

/* 女性手指 */
.intro2__hand-point {
    position: absolute;
    width: 14%;
    height: auto;
    top: 43%;
    left: 71%;
    z-index: 4;
    animation: waveHand2 2s ease-in-out infinite alternate;
}

/* 揮手動畫 */
@keyframes waveHand {
    0% {
        transform: rotate(6deg);
    }

    100% {
        transform: rotate(-5deg);
    }
}

@keyframes waveHand2 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-10deg);
    }
}

@keyframes waveHand3 {
    0% {
        transform: rotate(-8deg);
    }

    100% {
        transform: rotate(2deg);
    }
}

/* 右側文字 */
.intro2__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 1.25rem;
}

.intro2__heading {
    font-family: 'Arial Black', 'Inter', sans-serif;
    font-weight: 900;
    font-size: 3.6rem;
    color: #03ccd2;
    letter-spacing: 4px;
    line-height: 1.15;
    margin-bottom: 2rem;
}

.intro2 .intro__highlight-text::after {
    background: linear-gradient(to right, #05ead2 0%, #03ccd2 100%);
}

.intro2__highlights {
    margin-bottom: 0;
}

/* ---------- Intro3 Section (人物拼湊 + 揮手動畫 黃色主題) ---------- */
.intro3 {
    padding: 2rem 0;
}

.intro3__container {
    grid-template-columns: 1fr 1fr;
}

/* 左側文字 */
.intro3__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    left: 27%;
    position: relative;
}

.intro3__heading {
    font-family: 'Arial Black', 'Inter', sans-serif;
    font-weight: 900;
    font-size: 3.6rem;
    color: #fce127;
    letter-spacing: 4px;
    line-height: 1.15;
    margin-bottom: 2rem;
}

.intro3 .intro__highlight-text::after {
    display: none;
}

.intro3__highlights {
    margin-bottom: 0;
}

/* 圖片拼湊容器 */
.intro3__image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
}

/* 背景黃色箭頭 */
.intro3__arrow {
    position: absolute;
    width: 100%;
    height: auto;
    top: 0%;
    right: 0%;
    z-index: 1;
}

/* 女性角色 */
.intro3__char-female {
    position: absolute;
    width: 40%;
    height: auto;
    bottom: 5%;
    left: 7%;
    z-index: 3;
}

/* JOIN US 橫幅 */
.intro3__banner {
    position: absolute;
    width: 38%;
    height: auto;
    bottom: 17%;
    left: 13%;
    z-index: 4;
    animation: slowMove2 1s ease-in-out infinite alternate 0.5s;
}

/* 男性角色 */
.intro3__char-male {
    position: absolute;
    width: 40%;
    height: auto;
    bottom: 26%;
    right: 23%;
    z-index: 3;
}

/* 左手揮手 */
.intro3__hand-left {
    position: absolute;
    width: 14%;
    height: auto;
    top: 9%;
    left: 29%;
    z-index: 2;
    transform-origin: 80% 100%;
    animation: waveHand 2s ease-in-out infinite alternate;
}

/* 右手揮手 */
.intro3__hand-right {
    position: absolute;
    width: 15%;
    height: auto;
    top: 9%;
    right: 11%;
    z-index: 2;
    transform-origin: 20% 100%;
    animation: waveHand3 2s ease-in-out infinite alternate;
}



/* ---------- Themes Section ---------- */
.themes {
    position: relative;
    background: var(--color-bg);
    overflow: hidden;
    padding: 5rem 0;
}

.themes__content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 5rem 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.2rem;
    align-items: center;
    overflow: hidden;
}

.themes__content .left {
    position: relative;
    left: 12%;
    z-index: 5;
    letter-spacing: 3%;
}

.themes__content+.themes__content {
    margin-top: 2rem;
}

.themes__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    border-radius: 2.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.themes__badge--ai {
    padding: 0;
    gap: 1.2rem;
    align-items: center;
    margin-bottom: 1.2rem;
}

.themes__badge--ai .name {
    font-size: 8rem;
    color: #333333;
    line-height: 1;
}

.themes__badge--ai .target {
    background: #175ff2;
    color: white;
    padding: 0.15rem 1.4rem;
    border-radius: 2.5rem;
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: 2px;
    box-shadow: 0.3rem 0.3rem 0 0 #05ead2;
}

.themes__badge--esg {
    padding: 0;
    gap: 1.2rem;
    align-items: center;
    margin-bottom: 1.2rem;
    background: transparent;
}

.themes__badge--esg .name {
    font-size: 8rem;
    color: #333333;
    line-height: 1;
}

.themes__badge--esg .target {
    background: #11ab1c;
    color: white;
    padding: 0.15rem 1.4rem;
    border-radius: 2.5rem;
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: 2px;
    box-shadow: 0.3rem 0.3rem 0 0 #f6b900;
}

.themes__heading {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.themes__heading--ai {
    color: var(--color-secondary);
}

.themes__heading-target {
    color: var(--color-dark);
}

.themes__heading--esg {
    color: var(--color-primary);
}

.themes__desc {
    font-size: 2rem;
    color: #333;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.themes__list {
    list-style: none;
    padding: 0;
}

.themes__list li {
    padding: 0.5rem 0;
    padding-left: 1.4rem;
    position: relative;
    font-size: 1rem;
    color: var(--color-dark);
}

.themes__list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-size: 0.85rem;
}

/* Green Color Helper */
.themes__color-green {
    color: #11ab1c !important;
}

/* Sub-heading (顧客體驗便利優化) */
.themes__sub-heading {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 6px;
    margin-bottom: 0.8rem;
}

/* CTA Button (看具體主題) */
.themes__cta-btn {
    display: inline-block;
    padding: 0.35rem 1.6rem;
    background: #e91e8c;
    color: var(--color-white);
    border-radius: 1rem;
    font-weight: 900;
    font-size: 2rem;
    margin-top: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.themes__cta-btn--blue {
    background: #175ff2;
}


.themes__cta-btn:hover {
    transform: translateY(-2px);
    color: #175ff2;
    background: #05ead2;
}

.themes__cta-btn--blue:hover {
    color: #333333;
    background: #ffc21e;
}

/* Circular gray background for theme images */
.themes__image--circle {
    display: flex;
    align-items: center;
    justify-content: center;
}

.themes__circle-bg {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f2f2f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.size-big {
    font-size: 4rem;
}

.size-middle {
    color: #175ff2;
    font-size: 3.25rem;
}

/* t1 images composited inside circle */
.themes__t1-pc {
    position: absolute;
    width: 44%;
    height: auto;
    z-index: 2;
    left: 10%;
    top: 18%;
}

.themes__t1-msg {
    position: absolute;
    width: 50%;
    height: auto;
    top: 7%;
    right: 14%;
    z-index: 3;
}

/* t2 specific styles */
.themes__heading-t2 {
    color: #175ff2;
    font-size: 3.25rem;
    letter-spacing: 6px;
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.themes__t2-man {
    position: absolute;
    width: 58%;
    height: auto;
    left: 1%;
    bottom: 1%;
    z-index: 3;
    animation: slowMove 3s ease-in-out infinite alternate;
}

.themes__t2-robot {
    position: absolute;
    width: 55%;
    height: auto;
    top: -10%;
    right: -2%;
    z-index: 2;
    animation: slowMove 2s ease-in-out infinite alternate;
}

.themes__t1-hand {
    position: absolute;
    width: 46%;
    height: auto;
    bottom: 3%;
    right: 10%;
    z-index: 3;
}

.themes__image img {
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.themes__image--circle .themes__circle-bg img {
    border-radius: 0;
    box-shadow: none;
}

/* ---------- Evaluation Section ---------- */
.evaluation {
    padding: 0rem 0 10rem;
    background: var(--color-bg);
}

.eval__container {
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.eval__main-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 2.5rem;
    letter-spacing: 4px;
}

.eval-cloud01 {
    position: absolute;
    top: -22%;
    right: -18%;
    z-index: -1;
    animation: slowMoveX 2s ease-in-out infinite alternate;
}

.eval-cloud02 {
    position: absolute;
    bottom: -4%;
    left: -15%;
    width: 37%;
    animation: slowMoveX 2s ease-in-out infinite alternate .8s;
}

.eval__table-wrapper {
    background: #fff;
    /* optional subtle shadow: box-shadow: 0 10px 40px rgba(0,0,0,0.08); */
    border: none;
}

.eval__table {
    width: 100%;
    border-collapse: collapse;
}

.eval__table th,
.eval__table td {
    text-align: center;
    padding: 0.7rem 0.8rem;
    border-right: 1px solid #fff;
    vertical-align: middle;
}

.eval__table th:last-child,
.eval__table td:last-child {
    border-right: none;
}

.eval__table thead th {
    background: #175ff2;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.eval__table tbody tr {
    background: #fff;
}

.eval__table tbody tr.row-bg {
    background: #cccccc;
}

.eval__table td {
    color: #666666;
    font-weight: 700;
    font-size: 1.1rem;
    border-bottom: 2px solid #fff;
}

.eval__table .col-item {
    width: 30%;
}

.eval__table .col-ratio {
    width: 15%;
    font-size: 1.4rem;
    letter-spacing: 2px;
}

.eval__table .col-desc {
    width: 55%;
}

.eval__footer-box {
    background: #175ff2;
    color: #fff;
    text-align: center;
    padding: 2rem 1.2rem;
}

.eval__footer-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    letter-spacing: 2px;
}

.eval__footer-text,
.eval__footer-highlight {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    letter-spacing: 1px;
}

.eval__footer-note {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    font-weight: bold;
    color: white;
}

.eval__footer-logo {
    display: block;
    margin: 0 auto;
    height: 2rem;
    width: auto;
}


/* ---------- Timeline Section (Swiper) ---------- */
.timeline {
    padding: 0rem 0 10rem 0;
    /* background: #fffdf7; */
}

.timeline__container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0;
}

.timeline__main-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 3rem;
    letter-spacing: 4px;
}

.timeline__swiper {
    padding-bottom: 60px;
}

.timeline__swiper .swiper-slide {
    width: 20rem;
    max-width: 100%;
}

.timeline__item {
    text-align: center;
    padding: 20px 0 0 0;
    transition: all 0.3s ease;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* cursor: pointer; */
}

.timeline__content {

    height: 15rem;
}

/* Base styles (Inactive state - faint colors) */
.timeline__item-title {
    font-size: 1.6rem;
    color: #d1d1d1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.timeline__item-date {
    font-size: 1.4rem;
    color: #d1d1d1;
    font-weight: 500;
    transition: all 0.3s;
}

.timeline__item-desc {
    font-size: 1.4rem;
    color: #d1d1d1;
    line-height: 1.6;
    font-weight: 500;
    transition: all 0.3s;
}

/* Active current slide state (Dark text, Blue title) */
.swiper-slide-active .timeline__item-title {
    color: #175ff2;
    font-size: 1.6rem;
}

.swiper-slide-active .timeline__item-date {
    color: #333333;
}

.swiper-slide-active .timeline__item-desc {
    color: #333333;
    opacity: 1;
}

/* Custom inline pagination dot wrapper */
.timeline__point-wrapper {
    position: relative;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
}

.timeline__line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #dbdbdb;
    z-index: 1;
    transform: translateY(-50%);
}

/* Break the line at the ends */
.swiper-slide:first-child .timeline__line {
    left: 50%;
}

.swiper-slide:last-child .timeline__line {
    right: 50%;
}

.timeline__dot {
    position: relative;
    width: 1.4rem;
    height: 1.4rem;
    background: #cccccc;
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Active Slide Dot */
.swiper-slide-active .timeline__dot {
    background: #175ff2;
    transform: scale(1.3);
}

/* Hide native pagination */
.timeline__swiper .swiper-pagination {
    display: none !important;
}

/* Timeline Actions (Buttons & Notes) */
.timeline__actions {
    text-align: center;
    margin-top: 0;
    padding-bottom: 2rem;
}

.timeline__btn-group {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.timeline__action-btn {
    display: inline-block;
    padding: 0.7rem 2rem;
    background: #cccccc;
    color: #333333;
    font-size: 1.6rem;
    font-weight: 800;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    letter-spacing: 2px;
}

.timeline__action-btn:nth-child(2) {
    font-size: 1.6rem;
}

.timeline__action-btn:hover {
    background: #175ff2;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(23, 95, 242, 0.4);
}

.timeline__notice {
    font-size: 1.1rem;
    color: #444444;
    line-height: 1.8;
    font-weight: 600;
}


/* ---------- FAQ Section ---------- */
.faq {
    padding: 5rem 0;
    background: var(--color-bg);
    /* matches #fffdf7 */
}

.faq__container {
    max-width: 42rem;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.section-header__title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 3rem;
    letter-spacing: 4px;
}

.faq__chat-block {
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.faq__q-bubble {
    width: 100%;
    max-width: 100%;
    background-image: url('../images/qa.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    padding: 1.85rem 1rem 3rem 1rem;
    color: #ffffff;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 10rem;
    justify-content: center;
    font-weight: 500;
    text-align: center;
}

.faq__q-bubble p {
    margin: 0;
}

.faq__a-bubble-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq__a-bubble {
    width: 100%;
    max-width: 100%;
    background-image: url('../images/qas.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    padding: 1.85rem 2.75rem 3rem 2.75rem;
    color: #333333;
    font-size: 1.4rem;
    min-height: 10.8rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
}

.faq__a-bubble p {
    margin: 0;
}


/* ---------- Footer ---------- */
.footer {
    padding: 5rem 0 0;
    color: #333333;
}

.footer__container {
    margin: 0 auto;
    padding: 0 0;
}

.footer__title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    color: #333333;
    margin-bottom: 3rem;
    letter-spacing: 4px;
}

.partners__section {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.partners__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: white;
    margin-bottom: 5px;
    padding: 2rem 0;
    /* border-bottom: 2px solid #f6f6f6; */
}

.partners__row:last-child {
    margin-bottom: 0;
}

.partners__row_container {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 0 4.2rem;
}

.partners__row:first-of-type {
    /* border-top: 2px solid #f6f6f6; */
}

.partners__label {
    flex: 0 0 160px;
    font-size: 1.6rem;
    width: 100%;
    font-weight: bold;
    color: #333333;
    margin-bottom: 1.75rem;
}

.partners__logos {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
}

.partners__logos img {
    height: auto;
    max-height: 70px;
    width: auto;
    object-fit: contain;
}

.partners__row:first-child .partners__logos img {
    /* max-height: 60px; */
    /* mainlogo is slightly larger */
}

/* 
.partners__logos img[src*="to01"],
.partners__logos img[src*="to02"] {
    max-height: 45px;
} */

/* Full Width Copyright Section */
.footer__copyright {
    background-color: #1d68f8;
    width: 100%;
    padding: 30px 0;
    color: #ffffff;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer__copyright-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer__copyright a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
    border-bottom: 1px solid white;
    padding-bottom: 3px;
}

.footer__copyright a:hover {
    opacity: 0.8;
}

.footer__copyright p {
    margin: 0;
    font-weight: 500;
}

/* t3 specific styles */
.themes__t3-family {
    position: absolute;
    width: 65%;
    height: auto;
    left: 6%;
    bottom: 10%;
    z-index: 2;
}

.themes__t3-battery {
    position: absolute;
    width: 51%;
    height: auto;
    top: 5%;
    right: 8%;
    z-index: 3;
    animation: batteryCharge 3s ease-in-out infinite;
    transform-origin: center;
}

/* t4 specific styles */
.themes__t4-recycle {
    position: absolute;
    width: 85%;
    height: auto;
    left: 9%;
    top: 8%;
    z-index: 1;
}

.themes__t4-building {
    position: absolute;
    width: 31%;
    height: auto;
    top: 12%;
    right: 12%;
    z-index: 2;
    animation: slowMoveSmall 3s ease-in-out infinite alternate 0.5s;
}

.themes__t4-coffee {
    position: absolute;
    width: 27%;
    height: auto;
    left: 10%;
    top: 26%;
    z-index: 3;
    animation: slowMoveSmall 2.5s ease-in-out infinite alternate 1s;
}

.themes__t4-sign {
    position: absolute;
    width: 23%;
    height: auto;
    bottom: 8%;
    left: 39%;
    transform: translateX(-50%);
    z-index: 4;
    animation: slowMoveSmall 2.5s ease-in-out infinite alternate 1s;
}

/* ---------- Utility Classes ---------- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

@keyframes slowMove {
    from {
        transform: translateY(-1.5vw);
    }

    to {
        transform: translateY(1.5vw);
    }
}

@keyframes slowMoveSmall {
    from {
        transform: translateY(-.5vw);
    }

    to {
        transform: translateY(.5vw);
    }
}

@keyframes batteryCharge {
    0% {
        transform: translateY(0) scale(1);
        filter: brightness(1);
    }

    50% {
        transform: translateY(-10px) scale(1.02);
        filter: brightness(1.2);
    }

    100% {
        transform: translateY(0) scale(1);
        filter: brightness(1);
    }
}

@keyframes slowMoveX {
    from {
        transform: translateX(0.3vw);
    }

    to {
        transform: translateX(-.5vw);
    }
}

@keyframes slowMove2 {
    from {
        transform: translateY(0vw);
    }

    to {
        transform: translateY(-.5vw);
    }
}

/* ---------- Navbar Action Buttons ---------- */
.navbar__action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    /* adjusted slightly for navbar */
    background-color: #333333;
    padding: 0.75rem 0.75rem;
    /* match height */
    text-decoration: none;
    border-radius: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-size: 0.7rem;
    /* matched navbar */
    font-weight: 600;
    transform: translateY(0px);
}

.navbar__action-btn:hover {
    background-color: #444444;
    transform: translateY(-2px);
}

.navbar__action-btn .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
}

.navbar__action-btn .btn-icon svg {
    width: 100%;
    height: 100%;
}

/* Button 1: Cyan */
/* .btn-cyan {
    color: #05ead2;
} */

.normal-btn {
    color: white;
    transition: color 0.3s ease;
    font-size: .6em;
}

.normal-btn:hover {
    color: #05ead2;
}

.normal-btn svg {}

.normal-btn .cls-1 {
    fill: #d2d2d2;
    transition: fill 0.3s ease;
}

.normal-btn .cls-2 {
    fill: #fff;
    transition: fill 0.3s ease;
}

.normal-btn .cls-3 {
    fill: #696969;
    transition: fill 0.3s ease;
}

.normal-btn:hover .cls-1 {
    fill: #617679;
}

.normal-btn:hover .cls-2 {
    fill: #05ead2;
}

.normal-btn:hover .cls-3 {
    fill: #fff;
}

/* Button 2: White paper plane */
.btn-white {
    --icon-color: #ffffff;
    color: #ffffff;
    overflow: hidden;
}

.btn-white .btn-icon svg {
    stroke: var(--icon-color);
    transition: stroke 0.2s ease;
    transform: translate(0, 0);
    opacity: 1;
}

.btn-white:hover .btn-icon svg {
    animation: flyOutInWithColor 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes flyOutInWithColor {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }

    40% {
        transform: translate(24px, -24px);
        opacity: 0;
    }

    41% {
        transform: translate(-24px, 24px);
        opacity: 0;
    }

    100% {
        transform: translate(0, 0);
        opacity: 1;
    }
}

/* 避免 GSAP 動畫載入前閃爍 (FOUC) */
[data-slide-left],
[data-slide-right] {
    opacity: 0;
}

.mobileOnly {
    display: none;
}

.PConly {
    display: inline-block;
}


@media (max-width: 1400px) {
    .partners__logos img {
        height: 4vw;
    }


    .navbar__link {
        font-size: 1rem;
    }

    .navbar__action-btn {
        font-size: 12px;
    }

    .eval-cloud01 {
        width: 38%;
    }
}

@media (max-width: 1000px) {

    .mobileOnly {
        display: block;
    }

    .PConly {
        display: none;
    }

    .navbar__hamburger {
        display: flex;
        z-index: 20;
    }

    .navbar__action-btn {
        justify-content: center;
        font-size: 2em;
        border-radius: 1.5rem;
    }

    .navbar__link {
        font-size: 2rem;
        display: block;
        border-radius: 1.5rem;
        padding: .5rem .5rem;
    }

    .navbar__menu {
        position: fixed;
        padding-top: var(--nav-height);
        top: 0;
        left: 0;
        width: 100%;
        flex-direction: column;
        justify-content: flex-start;
        background: #fffcecf0;
        padding: 1.2rem;
        gap: 1.2rem;
        transform: translateY(-120%);
        transition: transform 0.8s ease;
    }

    .navbar__action-btn .btn-icon {
        width: 3rem;
        height: 3rem;
        margin-right: .5rem;
    }

    .navbar__menu.open {
        transform: translateY(0);
        height: 100%;
        padding: 17vw 3rem 18vw;
    }

    .navbar__links {
        position: static;
        transform: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 12px;
    }

    .navbar__links li {
        width: 100%;
    }

    .navbar__actions {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 12px;
    }

    html {
        font-size: 3vw;
    }

    .navbar {
        height: 15vw;
    }
}

@media (max-width: 1000px) {
    .hero__image img {
        width: 104%;
        max-width: 104%;
        left: -2%;
        position: relative;
    }

    .hero__container {
        gap: 0;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column-reverse;
        padding: 0 2rem;
    }

    .hero__carousel {
        aspect-ratio: 1.1 / 1;
    }

    .hero__slide {
        transform: scale(.5) translate(0%, -0%);
    }

    .hero__carousel-next {
        display: none;
    }

    .hero {
        padding-bottom: 2.4rem;
        padding-top: 15vw;
        min-height: 100vw;
    }

    .intro__container,
    .intro2__container {
        grid-template-columns: 1fr;
        gap: 1.6rem;
        position: relative;
    }

    .intro__container [data-slide-left] {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .intro__container [data-slide-right] {
        position: absolute;
        width: 86vw;
        left: 7vw;
        bottom: 4rem;
    }

    .intro2__container,
    .intro3__container {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .intro2__container [data-slide-left],
    .intro3__container [data-slide-left] {
        position: relative;
        max-width: 100%;
        order: 2;
    }

    .intro3__container [data-slide-left] {
        order: 1;
        left: 0;
        margin-bottom: 1rem;
    }

    .intro__highlights {
        gap: 2.4rem;
    }

    .intro2__container [data-slide-right],
    .intro3__container [data-slide-right] {
        position: relative;
        left: 0;
        bottom: auto;
        order: 1;
    }

    .intro3__container [data-slide-right] {
        max-width: 100vw;
        width: 100vw;
        order: 2;
    }

    .intro2__heading {}

    #intro2-title,
    #intro3-title {
        display: none;
    }

    .intro__partnership {
        font-size: 2.8rem;
        margin-top: 92vw;
    }

    .intro__highlight-text {
        font-size: 1.9rem;
    }

    .intro__title {
        font-size: 1.6rem;
    }

    .intro {
        padding: 3rem 0;
    }

    .intro2 {
        padding: 3rem 0;
    }

    /* .intro2__container {
        grid-template-columns: 1fr;
    } */

    .intro2__image-wrapper {
        aspect-ratio: 4 / 3;
        max-width: 25rem;
        margin: 0 auto;
    }

    .intro2__heading,
    .intro3__heading {
        font-size: 3rem;
        letter-spacing: .3rem;
        margin-bottom: 0;
        order: 3;
        margin-top: 2rem;
    }

    .intro3 {
        padding: 3rem 0 6rem;
    }


    .intro3__image-wrapper {
        aspect-ratio: 4 / 3;
        max-width: 25rem;
        margin: 0 auto;
    }

    .themes__circle-bg {
        width: 75%;
    }

    .themes__image--circle {
        flex-wrap: wrap;
        order: 2;
    }

    .themes__content--t4 .themes__image--circle {
        order: 0;
        display: block;
        position: relative;
        width: 100%;
    }

    .themes__desc {
        font-size: 1.5rem;
        text-align: center;
        margin-top: 2rem;
    }

    .themes__content .left {
        left: 0;
        text-align: center;
    }

    .themes__badge--ai .target,
    .themes__badge--esg .target {
        font-size: 1.8rem;
    }

    .size-middle,
    .themes__heading,
    .footer__title,
    .section-header__title {
        font-size: 2.4rem;
    }

    .themes__badge--ai .name,
    .themes__badge--esg .name {
        font-size: 6rem;
    }

    .themes__content {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 3rem 6rem;
        text-align: center;
        gap: 1rem;
    }

    .themes__cta-btn {
        font-size: 1.6rem;
    }

    .themes {
        padding: 0rem 0 3rem;
    }

    .eval__main-title,
    .timeline__main-title {
        font-size: 2.4rem;
        margin-bottom: 1.5rem;
        z-index: 2;
        position: relative;
    }

    .eval__table th,
    .eval__table td {
        padding: 0.6rem 0.4rem;
        font-size: 1rem;
    }

    .eval-cloud02 {
        width: 27%;
    }

    .eval-cloud01 {
        width: 26%;
        top: -11%;
        right: -9%;
    }

    .eval__table .col-ratio,
    .eval__table thead th {
        font-size: 1.2rem;
    }

    .eval__footer-title {
        font-size: 1.3rem;
    }

    .eval__footer-text,
    .eval__footer-highlight {
        font-size: 1rem;
    }

    .timeline__btn-group {
        flex-direction: column;
        align-items: center;
        padding: 0 1.2rem;
    }

    .timeline__action-btn {
        width: 100%;
        max-width: 23rem;
        font-size: 2rem;
        padding: 0.6rem 1.2rem;
    }

    .timeline__action-btn:nth-child(2) {
        font-size: 2rem;
    }

    .timeline__actions {
        margin-top: 2rem;
    }

    .timeline__notice {
        font-size: 1.4rem;
        padding: 0 2rem;
    }

    .timeline {
        padding: 0rem 0 5rem 0;
    }

    /* .timeline__main-title {
        font-size: 2.5rem;
    } */

    .timeline__swiper .swiper-slide {
        width: 20rem;
    }

    .swiper-slide-active .timeline__item-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .timeline__content {
        height: 16rem;
    }

    .timeline__item-title {
        font-size: 1.8rem;
        letter-spacing: 0;
        margin-bottom: 0;
    }

    .timeline__item-desc,
    .timeline__item-date {
        font-size: 1.5rem;
    }

    .faq__chat-block {
        gap: 0.6rem;
    }


    .faq__q-bubble {
        font-size: 1.3rem;
        padding: 1.85rem 2rem 3rem 2rem;
        min-height: 8rem;
    }

    .faq__a-bubble {
        font-size: 1.1rem;
        min-height: 8rem;
    }

    .partners__row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem 0;
    }

    .partners__row_container {
        padding: 0 1.2rem;
    }

    .partners__label {
        flex: auto;
        margin-bottom: 0.5rem;
        font-size: 1.4rem;
    }

    .partners__logos {
        gap: 1rem;
    }

    .partners__logos img {
        height: 50px;
        margin-bottom: 12px;
        margin-right: 16px;
    }

    .partners__row:first-child .partners__logos img {
        /* max-height: 2.25rem; */
    }

    .footer {
        padding: 3rem 0 0;
    }
}

/* ========================================
   Lightbox Modal
   ======================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.lightbox__content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 900px;
    padding: 5rem 5rem;
    border-radius: 0px;
    z-index: 10000;
    text-align: center;
    max-height: 90vh;
    overflow-y: auto;
}

.lightbox__close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: #444;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s;
}

.lightbox__close:hover {
    background: #000;
}

.lightbox__close svg {
    width: 40px;
    height: 40px;
}

.lightbox__title {
    color: #175ff2;
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    margin-bottom: 3rem;
    line-height: 1.3;
    font-size: 1.6rem;
}

.lightbox__body {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.4;
}

.lightbox__body div {
    margin-bottom: 1.5rem;
}

.lightbox__body div:last-child {
    margin-bottom: 0;
}


@media (max-width: 1000px) {
    .lightbox__content {
        padding: 3rem 2rem;
    }

    .lightbox__body {
        font-size: 1.2rem;
    }
}

@media (max-width: 600px) {
    .lightbox__content {}

    .lightbox__title {
        font-size: 2rem;
    }

    .lightbox__body {
        font-size: 1.4rem;
    }


    .lightbox__close {
        transform: scale(.8);
        right: 6px;
        top: 6px;
    }

}