@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@400;700&family=Inter:wght@300;400;500&display=swap');

:root {
    --color-primary: #8B4513;
    /* SaddleBrown */
    --color-secondary: #D4AF37;
    /* Gold */
    --color-bg: #F9F7F2;
    /* Off-white / Rice Paper */
    --color-text: #333333;
    --color-text-light: #666666;
    --color-white: #FFFFFF;

    --font-serif: 'Noto Serif TC', serif;
    --font-sans: 'Inter', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    --container-width: 1200px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-serif);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    /* max-width: 1200px; */
    margin: 0 auto;

    overflow-x: hidden;
    font-size: 18px;

}

@media screen and (max-width: 1199px) {
    body {
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

section {
    margin: 0 auto;
}

.section {
    padding: 6rem 0;
}

.text-left {
    text-align: left !important;
}

.text-center {
    text-align: center !important;
}

.btn {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 2px;
    font-family: var(--font-serif);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #6d360f;
}

.btn-outline {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
    transition: transform 0.3s ease;
}

.header.hidden {
    transform: translateY(-100%);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-link {
    font-family: var(--font-serif);
    color: var(--color-text);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Desktop Dropdown Styles */
@media (min-width: 769px) {
    .has-submenu {
        position: relative;
    }

    .has-submenu:hover .sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Submenu Desktop */
    .sub-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        background-color: #fff;
        min-width: 200px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-radius: 4px;
        padding: 10px 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        border-top: 3px solid var(--color-primary);
        text-align: left;
    }

    .sub-menu li {
        margin: 0;
        display: block;
    }

    .sub-menu .nav-link {
        padding: 10px 20px;
        color: var(--color-text);
        display: block;
        font-size: 0.95rem;
        transition: background 0.2s;
        white-space: nowrap;
    }

    .sub-menu .nav-link::after {
        display: none;
        /* No underline for submenu items */
    }

    .sub-menu .nav-link:hover {
        background-color: rgba(139, 69, 19, 0.05);
        color: var(--color-primary);
    }
}

/* Hero Video Section with YouTube Background */
.hero-video-section {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    /* 16:9 ratio */
    min-height: 100%;
    min-width: 177.78vh;
    /* 16:9 ratio */
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: #fff;
    width: 90%;
    max-width: 900px;
}

.hero-video-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 3px;
    line-height: 1.4;
}

.hero-video-subtitle {
    font-size: 1.6rem;
    color: #DBB879;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

/* Hero Video RWD */
@media (max-width: 1024px) {
    .hero-video-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .hero-video-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .hero-video-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .hero-video-subtitle {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 575px) {
    .hero-video-title {
        font-size: 1.2rem;
    }

    .hero-video-subtitle {
        font-size: 0.95rem;
    }
}


/* Section Styling */
.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.section-title-h3 {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: #dbb879;
}

@media (max-width: 575px) {
    .section-title {
        font-size: 1.4rem !important;
    }

    .section-title-h3 {
        font-size: 1.2rem !important;
    }
}

/* Title with Slanted Line Decoration */
.title-with-slant {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.title-with-slant .section-title {
    margin-bottom: 0;
}

.slant-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.3) 10%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0.3) 90%,
            transparent 100%);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .slant-line {
        width: 110%;
    }
}

.section-subtitle {
    text-align: left;
    font-size: 1rem;
    /* max-width: 800px;
    margin: 0 auto; */
    color: var(--color-text-light);
}

.section-subtitle span {
    font-weight: bold;
    color: var(--color-primary);
}


.padding-2rem {
    padding: 2rem !important;
}


.road p {
    font-size: 20px;
}

/* About / Story Section */
#about p {
    line-height: 2rem;
    color: var(--color-text-light);
}

.about-content p span {
    font-weight: bold;
    color: #2C2C2C;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    align-items: center;
    margin-bottom: 2rem;

    max-width: 90%;
    margin: 0 auto;
}

.story-content h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.story-content .list {
    padding-left: 20px;
    margin-top: 10px;
}

.story-content .list li {
    list-style-type: disc;
    margin-bottom: 0.5rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

.story-image {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Donation Cards Style */
.donation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Default 3 columns */
    gap: var(--spacing-md);

    overflow: hidden;

    padding-top: 20px;
    padding-bottom: 20px;
}

.donation-card {
    background: var(--color-white);
    border: 1px solid rgba(139, 69, 19, 0.1);
    border-radius: 4px;
    padding: var(--spacing-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;

    width: 340px;
    margin: 0 auto;

    background-repeat: no-repeat;
    background-size: contain;

    overflow: hidden;
}

.donation-card::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 424px;
    height: 518px;
    background: url('/assets/images/donate-left.png') no-repeat;
    z-index: 1;

    transform: scale(.3);
    transform-origin: bottom left;
}

.donation-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 490px;
    height: 329px;
    background: url('/assets/images/donate-right.png') no-repeat;
    z-index: 1;

    transform: scale(.25);
    transform-origin: bottom right;
}

@media (max-width: 1200px) {
    .donation-card {
        background-size: cover !important;
    }
}


.donation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(139, 69, 19, 0.05);
    border-color: var(--color-secondary);
}

.card-header {
    text-align: center;
    margin-bottom: 5px;
    padding-bottom: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);

    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.card-title {
    font-size: 1.4rem;
    color: #FFF;
    position: relative;
    margin-bottom: 0;
}

.card-title span {
    font-size: 1.1rem;
    margin-left: 5px;
    color: #FFF;
}

.card-title::before {
    content: "|";
    position: absolute;
    left: -15px;
    top: -2px;
}

.donate-icon {
    height: 26px;
}

.donation-type {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.donation-type img {
    height: 16px;
}

.card-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-top: var(--spacing-xs);
}

.card-body {
    flex-grow: 1;
    margin-bottom: var(--spacing-md);
}

.card-body ul {
    list-style: none;
    padding: 0;
    margin-bottom: 4px;
}

.card-body li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #dbb879;
    font-size: 13px;
}

.card-body li::before {
    content: '•';
    color: var(--color-secondary);
}

.donation-card p {
    color: #bebeb7;
}

.card-body-title {
    font-size: 15px;
    color: #dbb879;
    margin-bottom: 2px;
}

.donation-sign {
    color: #fff !important;
    font-size: 12px;
    text-align: center;
    margin-bottom: 5px;
}

.donation-description {
    font-size: 11px;
    text-align: center;
    margin-bottom: 1rem;
}

.pt266 {
    padding-top: 266px;
}

.pt250 {
    padding-top: 250px;
}

.pt220 {
    padding-top: 220px;
}

.pt135 {
    padding-top: 135px;
}


.donation-btn {
    width: 120px;
    text-align: center;
    background: #DBB879;
    background: linear-gradient(90deg, rgba(219, 184, 121, 1) 0%, rgba(254, 231, 167, 1) 100%);
    margin: 0 auto;
    padding: 5px;
    border-radius: 20px;
    color: #3a2d22;
}


/* Counter Ring Styles */
.counter-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 20px;

    background: #3d190b;
    position: relative;

    border-radius: 0 0 20px 20px;
}

.counter-container::before {
    content: '';
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 300px;
    height: 149px;
    background: url('/assets/images/counter-bg-left.png') no-repeat bottom left;
}

.counter-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 145px;
    background: url('/assets/images/right02.png') no-repeat top right;

    opacity: .5;

}

.counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;

}

.counter-ring {
    width: 180px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 20px;

    transform: scale(.8);
}

.counter-ring-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.counter-number {
    font-size: 24px;
    font-weight: bold;
    color: #FDD074;
    text-shadow: 0 0 5px rgba(253, 208, 116, 0.5);
    font-family: 'Courier New', Courier, monospace;
    text-align: center;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.counter-label {
    font-size: 20px;
    color: #E0C38C;
    font-family: var(--font-serif);
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
}

.counter-icon {
    width: 60px;
    height: auto;
}

.counter-icon img {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .counter-container {
        gap: 25px;
        padding: 30px 10px;
    }

    .counter-item {
        width: 140px;
    }

    .counter-ring {
        width: 120px;
        height: 120px;
        margin-bottom: 15px;
    }

    .counter-ring {
        width: 140px;
        height: 140px;
    }

    .counter-number {
        font-size: 18px;
    }

    .counter-label {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .counter-icon {
        width: 45px;
    }
}

/* Counter RWD - 極小螢幕垂直排列，label 在左邊 */
@media (max-width: 495px) {
    .counter-container {
        flex-direction: column;
        gap: 30px;
    }

    .counter-item {
        width: 100%;
        flex-direction: row-reverse;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .counter-label {
        min-width: 80px;
        text-align: center;
    }

}


/* Footer */
.site-footer {
    background-color: #E6E6E6;
    width: 100%;
    position: relative;
}

/* 頂部的漸層咖啡色邊條 */
.footer-top-bar {
    height: 12px;
    background: linear-gradient(90deg, #8B4513 0%, #A0522D 50%, #CD853F 100%);
    width: 100%;
}

/* 內容容器 */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* 左側區塊 (Logo + 文字) */
.footer-left-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* 圖片 Logo 容器 */
.logo-imgs {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-imgs img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* 垂直分隔線 */
.vertical-divider {
    width: 1px;
    height: 50px;
    background-color: #666;
    margin: 0 15px;
}

/* 中間文字資訊區塊 */
.org-info {
    color: #4A3728;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.org-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    letter-spacing: 2px;
    font-weight: 600;
}

.org-info p {
    font-size: 1.1rem;
    letter-spacing: 1px;
    font-family: "Times New Roman", serif;
    margin-bottom: 0;
}

/* 右側區塊 (社群 Icon) */
.footer-social {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 50px;
    height: 50px;
    background-color: #4A3728;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 24px;
    font-weight: bold;
    transition: background-color 0.3s;
}

/* 模擬 LINE Icon 字樣 */
.line-text {
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 900;
}

.social-btn:hover {
    background-color: #6b503b;
}

/* --- Footer RWD 手機版設定 (小於 768px) --- */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 25px;
    }

    .footer-left-group {
        flex-direction: column;
        gap: 20px;
    }

    .logo-imgs {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo-imgs img {
        height: 40px;
    }

    /* 手機版垂直分隔線改為水平分隔線 */
    .vertical-divider {
        width: 50px;
        height: 1px;
        background-color: #ccc;
        margin: 10px auto;
    }

    .org-info {
        align-items: center;
    }

    .footer-social {
        margin-top: 10px;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }

    .donation-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Hide nav on mobile for now */
    }

    .mobile-menu-btn {
        display: block;
    }

    .story-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .donation-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    width: 80px;
    height: 80px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: pulse 2s infinite ease-in-out;
}

.loader-logo span {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-primary);
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.7;
    }
}

/* Swiper Customization */
.swiper-button-next,
.swiper-button-prev {
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.donation-grid .swiper-button-next,
.donation-grid .swiper-button-prev {
    color: var(--color-primary);
    text-shadow: none;
}

.swiper-pagination-bullet-active {
    background: var(--color-primary) !important;
}

/* Hero Swiper Container */
.hero-swiper {
    width: 100%;
    aspect-ratio: 1920 / 1080;
}

.hero-slide {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    box-sizing: border-box;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Hero Image Carousel Styles */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    padding-top: 15vh;
}

/* Donation List View (Horizontal) */
.donation-list-section {
    background-color: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.donation-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
    transition: background-color 0.3s ease;
}

.donation-row:last-child {
    border-bottom: none;
}

.donation-row:hover {
    background-color: rgba(212, 175, 55, 0.05);
    /* Light Gold tint */
}

.row-header {
    flex: 1;
    min-width: 200px;
}

.row-title {
    font-size: 1.25rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 5px;
}

.row-price {
    font-size: 1.1rem;
    color: var(--color-secondary);
    font-weight: 600;
}

.row-content {
    flex: 2;
    padding: 0 var(--spacing-md);
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.row-action {
    flex: 0 0 auto;
}

.btn-small {
    padding: 8px 20px;
    font-size: 1rem;
}

.mb-1 {
    margin-bottom: 0.5rem !important;
}

.mb-2 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 2rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mt-4 {
    margin-top: 2rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.pt-1rem {
    padding-top: 1rem !important;
}

.pt-2rem {
    padding-top: 2rem !important;
}

.pt-3rem {
    padding-top: 3rem !important;
}

.pt-4rem {
    padding-top: 4rem !important;
}

.pt-5rem {
    padding-top: 5rem !important;
}

.pb-1rem {
    padding-bottom: 1rem !important;
}

.pb-2rem {
    padding-bottom: 2rem !important;
}

.pb-3rem {
    padding-bottom: 3rem !important;
}

.pb-4rem {
    padding-bottom: 4rem !important;
}

.pb-5rem {
    padding-bottom: 5rem !important;
}

@media (max-width: 768px) {
    .donation-row {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: var(--spacing-sm);
    }

    .row-content {
        padding: 0;
    }

    .row-action {
        width: 100%;
        text-align: right;
    }
}

/* Time Line Styles - New Design */
:root {
    --timeline-gold: #c5a065;
    --timeline-brown: #4a2c21;
    --timeline-dot-red: #782f25;
}

.time-line {
    max-width: 900px;
    margin: 50px auto 0;
    padding: 0px 0 60px 0;
    position: relative;

    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

.timeline-title {
    padding: 5px 15px;
    margin-bottom: 100px;

    background: #DAB778;
    background: linear-gradient(90deg, rgba(218, 183, 120, 1) 0%, rgba(218, 183, 120, 1) 44%, rgba(217, 183, 119, 0.41) 100%);
}

.timeline-title h2 {
    margin-bottom: 0;
    color: #FFF;
    text-align: center;
    letter-spacing: .5rem;
    /* font-size: 2rem; */
}

.timeline-body {
    padding: 0px 100px;
}

@media (max-width: 768px) {
    .timeline-body {
        padding: 0px 30px;
    }
}

@media (max-width: 500px) {
    .timeline-title h2 {
        font-size: 1.3rem;
    }
}


.time-line-item {
    display: flex;
    align-items: center;
    margin-bottom: 35px;
    position: relative;
    height: 40px;
}

/* Red Dot */
.time-line-item::before {
    content: '';
    width: 16px;
    height: 16px;
    background-color: var(--timeline-dot-red);
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(120, 47, 37, 0.15);
    z-index: 2;
}

/* Content wrapper */
.time-line-content {
    display: flex;
    align-items: center;
    flex-grow: 1;
    flex-wrap: wrap;
}

.time-line-year {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--timeline-brown);
    font-size: 1rem;
    white-space: nowrap;
}

.time-line-desc {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--timeline-brown);
    font-size: 1rem;
    margin-left: 5px;
    white-space: nowrap;
}

/* Connector Line (for items with images) */
.time-line-connector {
    flex-grow: 1;
    height: 1px;
    background-color: var(--timeline-brown);
    margin: 0 15px;
    opacity: 0.5;
    display: none;
}

/* Image wrapper - positioned absolutely */
.time-line-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 180px;
    border-radius: 50%;
    overflow: hidden;
    display: none;
    flex-shrink: 0;
}

.time-line-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Items with images */
.time-line-item.has-image .time-line-connector {
    display: block;
    margin-right: 140px;
}

.time-line-item.has-image .time-line-image {
    display: block;
}


/* Fade-in Animation */
.time-line-item.fade-in {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.time-line-item.fade-in.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered delays */
.time-line-item.fade-in:nth-child(1) {
    transition-delay: 0s;
}

.time-line-item.fade-in:nth-child(2) {
    transition-delay: 0.1s;
}

.time-line-item.fade-in:nth-child(3) {
    transition-delay: 0.15s;
}

.time-line-item.fade-in:nth-child(4) {
    transition-delay: 0.2s;
}

.time-line-item.fade-in:nth-child(5) {
    transition-delay: 0.25s;
}

.time-line-item.fade-in:nth-child(6) {
    transition-delay: 0.3s;
}

.time-line-item.fade-in:nth-child(7) {
    transition-delay: 0.35s;
}

.time-line-item.fade-in:nth-child(8) {
    transition-delay: 0.4s;
}

.time-line-item.fade-in:nth-child(9) {
    transition-delay: 0.45s;
}

.time-line-item.fade-in:nth-child(10) {
    transition-delay: 0.5s;
}

.time-line-item.fade-in:nth-child(11) {
    transition-delay: 0.55s;
}

/* Responsive */
@media (max-width: 768px) {
    .time-line-item {
        flex-wrap: wrap;
        height: auto;
        min-height: 60px;
        margin-bottom: 5px;
    }

    .time-line-year,
    .time-line-desc {
        font-size: 1rem;
        white-space: normal;
    }

    .time-line-content {
        width: calc(100% - 40px);
    }

    .time-line-connector {
        display: none !important;
    }

    .time-line-image {
        position: static;
        transform: none;
        width: 120px;
        margin-top: 10px;
        margin-left: 36px;
    }

    .time-line-item.has-image .time-line-image {
        display: block;
    }

    /* .highlight.time-line-item::before {
        margin-top: 6px;
    } */
}

/* Testimonial Carousel Styles */
.talk {
    margin-top: 30px;
    margin-bottom: 30px;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 30px 0 0 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-item {
    flex-shrink: 0;
    padding: 0 15px;
    width: 100%;
}

@media (min-width: 992px) {
    .carousel-item {
        width: 50%;
    }
}

.testimonial-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 50px 30px 30px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    margin-top: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-badge {
    position: absolute;
    top: -25px;
    left: -10px;
    background-color: #4a2c21;
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-family: var(--font-serif);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.testimonial-text {
    color: var(--color-text);
    font-size: 1.1rem;
    line-height: 1.9;
    text-align: justify;
    font-weight: 500;
}

.testimonial-text span {
    color: #782f25;
    font-weight: bold;
}

/* Carousel Navigation Buttons */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(calc(-50% - 22px));
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #c5a065;
    color: #4a2c21;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.carousel-nav-btn:hover {
    background: #c5a065;
    color: white;
}

.carousel-prev-btn {
    left: 0px;
}

.carousel-next-btn {
    right: 0px;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 55px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-dot.active {
    background-color: #4a2c21;
}

@media (max-width: 768px) {
    .carousel-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .testimonial-text {
        font-size: 1rem;
        line-height: 1.8;
    }

    .testimonial-badge {
        width: 60px;
        height: 60px;
        font-size: 0.85rem;
        top: -20px;
    }

    .testimonial-card {
        padding: 45px 20px 25px 20px;
    }
}

/* Card Slider - 5 Cards with Center Active */
.card-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 40px auto;
    padding: 30px 0;
    overflow: hidden;
}

.card-slider-track {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
}

.card-slider-item {
    flex-shrink: 0;
    width: 180px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    opacity: 0.5;
    transform: scale(0.85);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    user-select: none;
}

.card-slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
}

.card-slider-item.active {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.card-slider-item.adjacent {
    opacity: 0.7;
    transform: scale(0.95);
}

/* Card Slider Navigation */
.card-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #c5a065;
    color: #4a2c21;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.card-slider-btn:hover {
    background: #c5a065;
    color: white;
}

.card-slider-prev {
    left: 10px;
}

.card-slider-next {
    right: 10px;
}

/* Card Slider Pagination Dots */
.card-slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.card-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    /* border: 2px solid transparent; */
}

.card-slider-dot:hover {
    background-color: #c5a065;
}

.card-slider-dot.active {
    background-color: #c5a065;
    border-color: #4a2c21;
    transform: scale(1.2);
}

/* Card Slider Content/Text */
.card-slider-content {
    text-align: center;
    margin-top: 30px;
    min-height: 100px;
    position: relative;
}

.card-slider-text {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-slider-text.active {
    display: block;
    opacity: 1;
}

.card-slider-text h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: #c5a065;
    margin-bottom: 10px;
}

.card-slider-text p {
    /* font-size: 1rem; */
    color: var(--color-text);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .card-slider {
        padding: 20px 0;
    }

    .card-slider-item {
        width: 120px;
        height: auto;
    }

    .card-slider-item.active {
        transform: scale(1.1);
    }

    .card-slider-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .card-slider-prev {
        left: 5px;
    }

    .card-slider-next {
        right: 5px;
    }

    .card-slider-text h3 {
        font-size: 1.2rem;
    }

    .card-slider-text p {
        /* font-size: 1rem; */
    }
}

.dark-theme {
    background-color: #4A403A;
    /* Softer Warm Earth Tone (was #2c1810) */
    color: #F0EBE0;
    /* Soft White */
}

.dark-theme .section-title {
    color: #F0EBE0;
    /* Match text for cleaner look, less aggressive gold */
}

.dark-theme .section-subtitle {
    color: rgba(240, 235, 224, 0.8);
}

.plan-grid {
    display: flex;
    justify-content: center;
    overflow: hidden;

    padding-top: 20px;
    padding-bottom: 20px;
}

@media (max-width: 768px) {
    .plan-grid {
        flex-direction: column;
        gap: 50px;
    }
}

.plan-card {
    background: #f6f0e8;
    /* Very subtle fill */
    border: 1px solid #D4AF37;
    /* Softer border (was Gold) */
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 350px;
    min-height: 500px;

    margin: 0 auto;

    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;

}

.plan-card::after {
    content: "";
    position: absolute;

    bottom: 0;
    width: 350px;
    height: 120px;
    background: url('/assets/images/plan-card-bg.png') no-repeat;
    z-index: 1;
    border-radius: 0 0 20px 20px;
}

.plan-card:hover {
    transform: translateY(-5px);
    /* Gold only on hover */
}

.plan-card .card-title {
    color: #D4AF37;
    /* Gold accent kept for titles */
}

.plan-card .card-price {
    color: #fff;
}

.plan-card .card-body li::before {
    color: #D4AF37;
}

.plan-card .btn-outline {
    border-color: #D4AF37;
    color: #D4AF37;
}

.plan-card .btn-outline:hover {
    background-color: #D4AF37;
    color: #2c1810;
}

.plan-card-header {
    text-align: center;
    padding: 10px 0;
    color: #FFF;
    background: #dbb879;
}

.plan-card-header h3 {
    color: #FFF;
    margin-bottom: 0;

    font-weight: bold;
}

.plan-card-header p {
    font-weight: bold;
}

.plan-card-body {
    padding: 20px;
    color: #543c1d;
}

.plan-card-body ul {
    padding-left: 20px;
    font-size: 16px;
}

.plan-card-body-title {
    color: #543c1d;
    font-weight: bold;
    margin-bottom: 5px;
}

.plan-card-footer {
    position: absolute;
    bottom: 30px;
    width: 100%;
    z-index: 999;

    text-align: center;
}

.plan-description {
    padding-top: 10px;
    padding-bottom: 20px;

    font-size: 12px;

    color: #af894b;

    display: inline-block;

    /* 設定上下邊框 */
    border-top: 1px solid #af894b;
    border-bottom: 1px solid #af894b;

    /* 調整線條與文字的間距 */
    padding: 5px 0;

    /* 確保在父容器中置中（如果需要的話） */
    margin: 10px auto 15px auto;
}

.plan-btn {
    width: 120px;
    text-align: center;
    background: #6b1917;
    margin: 0 auto;
    padding: 5px 15px;
    border-radius: 20px;
    color: #FFF;

    display: block;
}

.plan-btn:hover {
    background-color: #872221;
}


/* FAQ Accordion */
.accordion-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid rgba(139, 69, 19, 0.15);
    margin-bottom: var(--spacing-xs);
}

.accordion-header {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-sm);
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.15rem;
    font-family: var(--font-serif);
    color: var(--color-primary);
    font-weight: 700;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: rgba(139, 69, 19, 0.02);
}

.accordion-header.active {
    color: var(--color-secondary);
}

.accordion-icon {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 var(--spacing-sm);
}

.accordion-body {
    padding-bottom: var(--spacing-md);
    color: var(--color-text-light);
    line-height: 1.8;
}

/* Mobile Sidebar & Submenus - Simple Restoration */
.menu-overlay {
    /* Kept for potential future use but hidden for simple mode if not needed, 
       or use it as a simple backdrop */
    display: none;
}

.mobile-close-btn {
    display: none;
}

/* Hide toggle on desktop */
.submenu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Hidden by default */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #FDFBF7;
        padding: 20px;
        flex-direction: column;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links.active {
        display: flex;
        /* Show when active */
    }

    .nav-links li {
        margin-bottom: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 15px 0;
        width: 100%;
        font-size: 1.1rem;
        text-align: center;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Mobile Level 2 Menu */
    .has-submenu {
        position: relative;
    }

    .nav-link-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .submenu-toggle {
        display: block;
        /* Show on mobile */
        padding: 15px;
        cursor: pointer;
        font-size: 0.8rem;
        transition: transform 0.3s ease;
        color: var(--color-primary);
        min-width: 44px;
        text-align: center;
    }

    .has-submenu.open .submenu-toggle {
        transform: rotate(180deg);
    }

    .sub-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        background-color: rgba(139, 69, 19, 0.05);
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
        display: block;
        opacity: 0;
    }

    .has-submenu.open .sub-menu {
        opacity: 1;
        /* max-height handled by JS */
    }

    .sub-menu li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }

    .sub-menu .nav-link {
        font-size: 0.95rem;
        padding-left: 0;
        color: var(--color-text-light);
        background: transparent;
    }
}

/* Go Top Button - High Visibility */
.go-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 99999;
    pointer-events: auto;
    user-select: none;
}

.go-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.go-top-btn:hover {
    background-color: #6d360f;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.swiper-slide {
    padding-top: 10px;
}

/* ========== S1 Section Styles ========== */
.s1 {
    max-width: 1180px;
    margin: 0 auto;
    padding-top: 50px;
}

.s1-hero {
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
}

.s1-hero-bg {
    position: relative;
    width: 100%;

    overflow: hidden;
}

.s1-hero-bg::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('/assets/images/right01.png') no-repeat;
    /* background-color: #6b1917; */


    top: 20%;
    left: -20%;
    transform: scale(0.8);
}

.s1-hero-bg::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 242px;
    background: url('/assets/images/right01.png') no-repeat;
    /* background-color: #2C2C2C; */


    top: -10%;
    right: 0%;
    transform: scale(0.8);
}

@media (max-width: 575px) {
    .s1-hero-bg::before {
        transform: scale(0.4);

        top: 10%;
        left: -40%;
    }

    .s1-hero-bg::after {
        transform: scale(0.4);

        top: -50%;
        right: -50%;
    }
}

.s1-hero-bg img {
    width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* S1 Card Base Styles */
.s1-card {
    position: absolute;
    max-width: 300px;

    padding: 15px 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.s1-right-bg {
    background: #8B4612;
    background: linear-gradient(90deg, rgba(139, 70, 18, 1) 0%, rgba(139, 70, 18, 0.46) 100%);
}

.s1-left-bg {
    background: #8B4612;
    background: linear-gradient(90deg, rgba(139, 70, 18, 0.46) 0%, rgba(139, 70, 18, 1) 100%);
}

.s1-card-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 10px;
}

.s1-card-text {
    font-size: 0.85rem;
    line-height: 1.7;
    color: #fff;
}

/* Left Card (稻盛和夫) - Bottom Left */
.s1-card-left {
    left: 5%;
    bottom: 10%;
}

/* Right Card (李察乎爾) - Top Right */
.s1-card-right {
    right: 1%;
    top: 20%;
}

/* Text Wrapper */
.text-wrapper {
    padding: 1.5rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.m-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 780px) {
    .text-wrapper {
        max-width: 90% !important;
    }
}

.text-wrapper p {
    margin-bottom: .5rem;
    color: var(--color-text);
}

.text-wrapper p:last-child {
    margin-bottom: 0;
}

/* S1 RWD - Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .s1-card {
        max-width: 220px;
        padding: 12px 14px;
    }

    .s1-card-title {
        font-size: 1rem;
    }

    .s1-card-text {
        font-size: 0.8rem;
    }
}

/* S1 RWD - Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .s1-card {
        max-width: 180px;
        padding: 10px 12px;
    }

    .s1-card-title {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .s1-card-text {
        font-size: 0.75rem;
        line-height: 1.5;
    }

    .s1-card-left {
        left: 2%;
        bottom: 5%;
    }

    .s1-card-right {
        right: 2%;
        top: 10%;
    }
}

/* S1 RWD - Small Mobile (max-width: 575px) */
@media (max-width: 575px) {
    .s1-hero {
        margin-bottom: 1rem;
    }

    .s1-card {
        position: relative;
        max-width: 100%;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        margin: 0 auto 1rem;
    }

    .s1-card-left,
    .s1-card-right {
        position: relative;
    }

    .s1-hero-bg {
        margin-bottom: 1rem;
    }

    .s1-text-wrapper {
        padding: 1rem 0;
    }

    .s1-text-wrapper p {
        font-size: 0.95rem;
    }
}

.s2 {
    position: relative;
    overflow: hidden;
}

.s2 .pyramid-img {
    width: 600px;
    margin: 0 auto 2rem auto;
    position: relative;
}

.s2 .pyramid::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 242px;
    background: url('/assets/images/right01.png') no-repeat;
    background-position: right;

    top: 16%;
    right: -5%;

    transform: scale(0.8);
}


.s2::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('/assets/images/wave.png') no-repeat center;

    top: 12%;
    left: 0;

    opacity: .5;
}

@media (max-width: 1680px) {
    .s2::before {
        background-size: contain;
    }


}

@media (max-width: 1024px) {
    .s2 .pyramid-img {
        max-width: 70%;
    }
}

@media (max-width: 780px) {
    .s2 .pyramid::before {
        transform: scale(0.6);

        top: 5%;
        right: -20%;
    }

    .s2::before {
        top: 5%;
        left: 0;
    }
}

@media (max-width: 575px) {
    .pyramid-img {
        width: 90% !important;
    }

    .s2 .pyramid::before {
        transform: scale(0.4);

        top: -12%;
        right: -60%;
    }

    .s2::before {
        top: 0;
        left: 0;
    }
}

@media (max-width: 500px) {
    .s2::before {
        top: -11%;
        left: 0;
    }
}

@media (max-width: 400px) {
    .s2::before {
        top: -14%;
        left: 0;
    }
}

.s4 {
    top: -10px;
    position: relative;
    overflow: hidden;

    background: #f9f7f3;
    background: url('/assets/images/bg-brown.png') repeat;

    padding-top: 200px;
    padding-bottom: 50px;

    color: #f9f7f4;
    border: 0;

    border: none;

}


.s4::after {
    content: "";
    position: absolute;
    width: 120%;
    height: 120px;

    background: #f9f7f3;

    top: -60px;
    left: -20px;

    transform: rotate(-3deg);
}

.s4::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('/assets/images/star-link.png') no-repeat top;

    top: -50px;
    left: 0;

    opacity: .5;

}


.s4 h2 {
    color: #f9f7f4;
}

/* ========== How Section Styles ========== */
.how {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

/* Brain Image Container */
.how-brain {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.how-brain-ring {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;

    /* 金色邊框效果 */
    background:
        linear-gradient(#3d2214, #3d2214) padding-box,
        linear-gradient(135deg, #BF953F 0%, #FCF6BA 50%, #B38728 100%) border-box;
    border: 6px solid transparent;

    /* 發光效果 */
    box-shadow:
        0 0 30px rgba(191, 149, 63, 0.3),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.how-brain-ring img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

/* Icons Container */
.how-icons {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}

.how-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.how-icon-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5efe3 0%, #e8ddc8 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-icon-circle:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.how-icon-circle img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.how-icon-label {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: #d7b173;
    letter-spacing: 2px;
    font-weight: bold;
}

/* How Text */
.how-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.how-text p {
    color: #FFF;
    line-height: 1.9;
    font-size: 1rem;
}

/* How RWD - Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .how-brain-ring {
        width: 280px;
        height: 280px;
    }

    .how-icons {
        gap: 40px;
    }

    .how-icon-circle {
        width: 80px;
        height: 80px;
    }

    .how-icon-circle img {
        width: 48px;
        height: 48px;
    }
}

/* How RWD - Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .how {
        padding: 30px 15px;
    }

    .how-brain {
        margin-bottom: 40px;
    }

    .how-brain-ring {
        width: 220px;
        height: 220px;
        border-width: 4px;
    }

    .how-icons {
        gap: 25px;
        margin-bottom: 30px;
    }

    .how-icon-circle {
        width: 70px;
        height: 70px;
    }

    .how-icon-circle img {
        width: 40px;
        height: 40px;
    }

    .how-icon-label {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    .how-text p {
        /* font-size: 0.9rem; */
    }
}

/* How RWD - Small Mobile (max-width: 575px) */
@media (max-width: 575px) {
    .how {
        padding: 25px 10px;
    }

    .how-brain {
        margin-bottom: 30px;
    }

    .how-brain-ring {
        width: 180px;
        height: 180px;
        border-width: 3px;
    }

    .how-icons {
        gap: 15px;
        margin-bottom: 25px;
    }

    .how-icon-circle {
        width: 60px;
        height: 60px;
    }

    .how-icon-circle img {
        width: 35px;
        height: 35px;
    }

    .how-icon-label {
        font-size: 0.75rem;
    }

    .how-text {
        padding: 0 10px;
    }

    .how-text p {
        /* font-size: 0.85rem; */
        line-height: 1.7;
    }
}

/* ========== Research Section Styles ========== */
.how-research {
    max-width: 900px;
    margin: 60px auto 40px;
    padding: 0 20px;
    position: relative;
}

.research-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Person Section */
.research-person {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;

    position: relative;
}


.research-avatar {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.research-avatar img {
    width: 360px;
    height: 360px;
    object-fit: cover;
}

.research-info {
    text-align: left;
    padding-left: 15px;

    position: absolute;
    bottom: 20px;
    left: 0;
}

.research-line::before {
    content: '';
    position: absolute;
    top: 7px;
    left: 5px;
    width: 100%;
    height: 42px;
    border-left: 2px solid #FFF;
}

.research-name-zh {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: #FFF;
    font-weight: bold;
}

.research-name-en {
    font-family: 'Times New Roman', serif;
    font-size: 1rem;
    color: #FFF;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.research-title {
    font-size: 0.8rem;
    color: #FFF;
    line-height: 1.6;
}

/* Quote Section */
.research-quote {
    flex: 1;
    position: relative;
    padding-top: 20px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.research-quote-mark {
    position: absolute;
    top: -20px;
    left: 75%;
    z-index: 10;
}

.research-quote-mark img {
    width: 30px;
    height: auto;
}

.research-quote-text {
    padding-right: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;

    position: relative;
}

.research-quote-text::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 242px;
    background: url('/assets/images/right01.png') no-repeat;

    top: -150px;
    left: -250px;
    transform: scale(.7);
    z-index: 9;
}

.research-quote-label {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: #FFF;
    font-weight: bold;
    margin-bottom: 10px;
}

.research-quote-text p {
    color: #FFF;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Research Text Below */
.how-research-text {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: left;
}

.how-research-text p {
    color: #FFF;
    line-height: 1.9;
    /* font-size: 1rem; */
    margin-bottom: 1rem;
}

.how-research-text p:last-child {
    margin-bottom: 0;
}

/* Research RWD - Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .research-content {
        gap: 30px;
    }

    .research-quote-text::after {
        display: none;
    }

    .research-quote-mark img {
        width: 40px;
    }

    .research-dot-decoration {
        right: -30px;
        width: 80px;
        height: 80px;
    }
}

/* Research RWD - Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .how-research {
        margin: 40px auto 30px;
    }

    .research-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .research-person {
        gap: 20px;
    }

    .research-info {
        flex: 1;
    }

    .research-quote {
        max-width: 70%;
        padding-top: 0;
    }

    .research-quote-mark {
        top: -5px;
        left: 88%;
        width: 40px;

    }

    .research-quote-mark img {
        width: 40px;
    }

    .research-quote-text {
        padding-right: 0;
    }

    .research-dot-decoration {
        display: none;
    }

    .how-research-text {
        padding: 30px 15px;
    }

    .how-research-text p {
        /* font-size: 0.9rem; */
    }
}

/* Research RWD - Small Mobile (max-width: 575px) */
@media (max-width: 575px) {
    .how-research {
        padding: 0 15px;
    }

    .research-person {
        flex-direction: column;
        text-align: center;
    }


    .research-info {
        border-left: none;
        padding-left: 0;
        text-align: center;
    }

    .research-line {
        text-align: left;
        padding-left: 15px;
    }

    .research-name-zh {
        font-size: 1rem;
    }

    .research-name-en {
        font-size: 0.9rem;
    }

    .research-title {
        font-size: 0.75rem;
        text-align: left;
    }

    .research-quote-mark {
        text-align: center;
        margin-bottom: 10px;
        top: 0;
        ;
    }

    .research-quote-mark img {
        width: 25px;
    }

    .research-quote-text {
        padding-right: 0;
        text-align: center;
    }

    .research-quote-text p {
        font-size: 0.85rem;
    }

    .how-research-text {
        padding: 20px 10px;
    }

    .how-research-text p {
        /* font-size: 0.85rem; */
        line-height: 1.7;
    }
}

.know-box {
    max-width: 900px;
    margin: 0 auto;

    border: 1px solid #bb8a5d;
    border-radius: 20px;

}

.know-text {
    max-width: 900px;
    margin: 4rem auto;

}

@media (max-width: 780px) {

    .how-research,
    .know-text {
        max-width: 80%;
    }
}

.know-text p {
    color: #fff;
    margin-bottom: .5rem;

}

@media (max-width: 1280px) {
    .know-box {
        max-width: 80%;
    }
}

.know-img {
    border-radius: 20px 20px 0 0;
}

/* ========== Ecology Section Styles ========== */
.ecology {
    overflow: hidden;
}

.ecology-section {
    max-width: 900px;
    margin: 40px auto 50px auto;
    padding: 0 20px;
}

.ecology-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Ecology Person */
.ecology-person {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    position: relative;
}

.ecology-avatar {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.ecology-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ecology-info {
    text-align: left;
    padding-left: 15px;
    width: 200px;
    position: absolute;
    bottom: -10px;
    right: -90px;
    /* transform: translateX(-50%); */
    /* background: rgba(255, 255, 255, 0.9); */
    /* padding: 15px 20px; */
    border-radius: 8px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
}

.ecology-line {
    border-left: 1px solid #c5a065;
    padding-left: 8px;
    margin-bottom: 8px;
    margin-left: 20px;
}

.ecology-name {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: #fff;
    font-weight: bold;
    padding: 5px 15px;
    position: relative;
    display: inline-block;
    margin-bottom: 8px;
}

.ecology-name::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #8B4612;
    background: linear-gradient(90deg, rgba(139, 70, 18, 1) 0%, rgba(139, 70, 18, 0.29) 100%);
    clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%);
    z-index: -1;
}

.ecology-title {
    font-size: 0.6rem;
    color: #8b4612;
    line-height: 1.5;
}

/* Ecology Quote */
.ecology-quote {
    flex: 1;
    position: relative;
    padding-top: 0px;
    display: flex;
    align-items: center;
    justify-content: center;

}

.ecology-mountain-right {
    position: absolute;
    top: 100px;
    right: -80px;

    width: 300px;
}

.ecology-quote-mark {
    position: absolute;
    top: -30px;
    right: 40px;
    z-index: 10;
}

.ecology-quote-mark img {
    width: 30px;
    height: auto;
}

.ecology-quote-text {
    padding-right: 60px;
}

.ecology-quote-text p {
    color: #8b4612;
    line-height: 1.9;
    font-size: 0.95rem;
}

/* Ecology Text Below */
.ecology-text {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
}

.ecology-text p {
    color: #333;
    line-height: 1.9;
    /* font-size: 1rem; */
}

/* Ecology RWD - Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .ecology-content {
        gap: 30px;
    }

    .ecology-avatar {
        width: 250px;
        height: 250px;
    }

    .ecology-quote-text {
        padding-left: 40px;
    }
}

/* Ecology RWD - Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .ecology-section {
        margin: 30px auto;
    }

    .ecology-content {
        flex-direction: column;
        gap: 0px;
    }

    /* .ecology-avatar {
        width: 200px;
        height: 200px;
    } */

    .ecology-quote-text {
        padding-left: 0px;
    }

    .ecology-info {
        position: relative;
        bottom: 40px;
        left: auto;
        transform: none;
        text-align: center;
        margin-top: -30px;
    }

    .ecology-line {
        padding-left: 8px;
        margin-bottom: 8px;
        margin-left: 48px;
        text-align: left;
    }

    .ecology-quote {
        width: 100%;
    }

    .ecology-quote-text {
        padding-right: 0;
    }

    .ecology-quote-mark {
        top: -20px;
        right: 8px;
    }

    .ecology-quote-mark img {
        width: 25px;
    }
}

/* Ecology RWD - Small Mobile (max-width: 575px) */
@media (max-width: 575px) {

    .ecology-name {
        font-size: 1rem;
    }

    .ecology-title {
        font-size: 0.7rem;
    }

    .ecology-quote-text p {
        font-size: 0.95rem;
    }

    .ecology-text p {
        /* font-size: 0.9rem; */
    }
}

/* ========== Zen Box Styles ========== */

.zen-box-title {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.zen-mountain-left {
    width: 250px;
    position: absolute;
    top: -40px;
    left: -80px;
}

@media (max-width: 1024px) {
    .zen-mountain-left {
        left: -20px;
    }
}

.zen-box {
    position: relative;
    max-width: 900px;
    margin: 0 auto 50px;
    /* background: linear-gradient(180deg, #f5f0e6 0%, #ebe4d6 100%); */
    background: url('/assets/images/bg-white.png') repeat;
    border: 2px solid #c5a065;
    border-radius: 20px;
    overflow: hidden;

    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

.zen-box-image {
    width: 100%;
    overflow: hidden;
}

.zen-box-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px 18px 0 0;
}

.zen-box-content {
    padding: 30px 40px;
}

.zen-box-content p {
    color: #9a5f33;
    line-height: 1.9;
    /* font-size: 0.95rem; */
    margin-bottom: 1rem;
}

.zen-box-content p:last-child {
    margin-bottom: 0;
}

/* Zen Box RWD */
@media (max-width: 1024px) {
    .zen-box {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .zen-box {
        border-radius: 15px;
    }

    .zen-box-image img {
        border-radius: 13px 13px 0 0;
    }

    .zen-box-content {
        padding: 20px 25px;
    }

    .zen-box-content p {
        /* font-size: 0.9rem; */
    }
}

@media (max-width: 575px) {
    .zen-box {
        border-radius: 12px;
        margin-bottom: 30px;
    }

    .zen-box-image img {
        border-radius: 10px 10px 0 0;
    }

    .zen-box-content {
        padding: 15px 20px;
    }

    .zen-box-content p {
        /* font-size: 0.85rem; */
        line-height: 1.7;
    }
}

.plan-gif {
    max-width: 500px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .plan-gif {
        max-width: 80%;
    }
}

/* ========== Door Section Styles ========== */
.door {
    max-width: 900px;
    margin: 50px auto;
    padding: 90px 20px 40px 20px;
    position: relative;
}

.door-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.door-content {
    display: flex;
    align-items: center;
}

/* Door Person */
.door-person {
    flex-shrink: 0;
}

.door-avatar {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;

    position: relative;
    z-index: 9;

    /* 金色邊框效果 */
    /* background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #BF953F 0%, #FCF6BA 50%, #B38728 100%) border-box; 
    border: 4px solid transparent;*/

    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
}

.door-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Door Text */
.door-text {
    flex: 1;
    max-width: 400px;
    position: relative;
    padding: 60px 40px 60px 80px;
}

.door-text::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;

    /* 漸層邊框效果 */
    background: linear-gradient(45deg, #c69c58 0%, #fdf1d2 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 2px;

    z-index: -1;
}

.door-text p {
    color: #5a4a3a;
    line-height: 1.9;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.door-text p:last-child {
    margin-bottom: 0;
}

/* Door Flower Decorations */
.door-flower {
    position: absolute;
    width: 100px;
    height: auto;
    opacity: 0.8;
}

.door-flower-left {
    top: 20px;
    left: 0;
    z-index: 1;
}

.door-flower-right {
    bottom: -20px;
    right: 0;
}

/* Door RWD - Tablet (max-width: 1024px) */
@media (max-width: 900px) {
    .door-content {
        flex-direction: column;
        gap: 30px;
    }

    .door-text {
        margin-top: -70px;
    }

    .door-flower-left {
        /* top: 168px;
        left: -10px; */
    }
}

/* Door RWD - Mobile (max-width: 768px) */
@media (max-width: 780px) {
    .door {
        margin: 30px auto;
        padding: 30px 15px;
    }

    .door-text p {
        font-size: 0.9rem;
    }

}

/* Door RWD - Small Mobile (max-width: 575px) */
@media (max-width: 575px) {
    .door-text {
        margin-top: -10px;
        padding: 20px;
    }

    .door-text::before {
        display: none;
    }

    .door-text p {
        font-size: 0.85rem;
        line-height: 1.7;


    }

    .door-flower {
        width: 80px;
        top: -30px;
        left: -10px;
    }
}

/* List Flower Decoration */
.list-flower {
    position: absolute;
    right: 20px;
    bottom: 40px;
    width: 100px;
    height: auto;
    opacity: 0.8;
}

@media (max-width: 1200px) {
    .list-flower {
        /* right: -80px;
        width: 80px; */
    }
}

@media (max-width: 1024px) {
    .list-flower {
        /* right: -50px;
        width: 60px; */
    }
}

@media (max-width: 780px) {
    .list-flower {
        right: 0px;
        bottom: 40px;
    }
}

@media (max-width: 575px) {
    .list-flower {
        right: 0;
        bottom: auto;
        top: -90px;
    }
}

.s5 {
    overflow: hidden;
}

/* ========== S6 Section - Support Call to Action ========== */
.bg-brown {
    background: linear-gradient(135deg, #8B5A2B 0%, #A0522D 30%, #8B4513 60%, #6B3E26 100%);
}

.s6 {
    position: relative;
    overflow: hidden;
}

.s6-container {
    display: flex;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    gap: 60px;
}

.s6-image {
    flex: 0 0 50%;
    max-width: 450px;
}

.s6-image img {
    width: 100%;
    height: auto;
}

.s6-content {
    flex: 1;
    color: #F5EFE6;
}

.s6-quote {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    position: relative;
}

.s6-quote-mark {
    flex-shrink: 0;
    width: 14px;
    margin-top: -3px;

    position: absolute;
    left: 245px;
}

.s6-quote-mark img {
    width: 100%;
    height: auto;
}

.s6-title {
    font-size: 15px;
    color: #FFF;
    letter-spacing: 1px;
    margin-bottom: 0;
    font-weight: normal;
}

.s6-subtitle {
    font-size: 15px;
    color: #FFF;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.s6-info {
    margin-bottom: 25px;
}

.s6-info p {
    font-size: 0.8rem;
    color: #FFF;
    margin-bottom: 6px;
    padding-left: 4px;
    border-left: 2px solid #FFF;
    line-height: 1;
}

.s6-info-label {
    color: #FFF;
}

.s6-btn {
    display: inline-block;
    padding: 12px 40px;
    background: linear-gradient(135deg, #E8D5B5 0%, #DBB879 50%, #C9A86C 100%);
    color: #4A3728;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(219, 184, 121, 0.4);
    letter-spacing: 2px;
}

.s6-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(219, 184, 121, 0.6);
    background: linear-gradient(135deg, #F0E0C5 0%, #E5C98A 50%, #D4B475 100%);
}

/* S6 RWD - Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .s6-container {
        gap: 20px;
    }

    .s6-image {
        flex: 0 0 50%;
    }

    .s6-btn {
        padding: 4px 15px !important;
    }
}

/* S6 RWD - Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .s6-container {
        flex-direction: column;
        padding: 0 20px 40px 20px;
        gap: 30px;
        text-align: center;
    }

    .s6-image {
        flex: 0 0 auto;
        max-width: 80%;
        margin: 0 auto;
    }

    .s6-content {
        text-align: center;
    }

    .s6-quote {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .s6-quote-mark {
        top: -3px;
        left: 262px;
    }

    .s6-title {
        letter-spacing: 1px;
    }

    .s6-subtitle {
        margin-bottom: 20px;
    }

    .s6-info p {
        text-align: left;
        padding-left: 12px;
    }

    .s6-btn {
        margin-top: 20px;
    }
}

/* S6 RWD - Small Mobile (max-width: 575px) */
@media (max-width: 575px) {
    .s6-container {
        gap: 25px;
    }

    .s6-image {
        max-width: 90%;
    }

}

.five-section {
    background: url('/assets/images/bg-white.png') repeat;
    padding-top: 2rem;
}

/* Five Talk - Left Image Right Text Layout */
.five-talk {
    display: flex;
    align-items: center;
    /* gap: 40px; */
    margin: 30px 0 50px 0;
}

.five-talk-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.five-talk-image img {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #DBB879;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.five-talk-text {
    flex: 1;
    background: rgba(255, 255, 255, 0.5);
    padding: 25px 35px;
    border-radius: 12px;
}

.five-talk-text p {
    margin-bottom: 0.8rem;
    line-height: 1.8;
    color: var(--color-text);
}

.five-talk-text p:last-child {
    margin-bottom: 0;
}

.five-talk-text strong {
    color: var(--color-primary);
    font-size: 1.1rem;
}

@media (max-width: 1200px) {
    .five-talk-image img {
        width: 250px !important;
        height: 250px !important;

    }
}

/* Five Talk RWD */
@media (max-width: 768px) {
    .five-talk {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .five-talk-image {
        width: 80%;
        height: auto;
    }

    .five-talk-text {
        text-align: center;
    }
}

@media (max-width: 575px) {
    .five-talk {
        gap: 20px;
    }


    .five-talk-text p {
        font-size: 0.95rem;
    }
}

.plr-2rem {
    padding-left: 2rem;
    padding-right: 2rem;
}


@media (max-width: 575px) {
    .s1 {
        padding-top: 30px;
    }

    .s4 {
        padding-top: 150px;
        padding-bottom: 0 !important;
    }

    p {
        font-size: 1rem;
        line-height: 1.7;
    }

    li {
        font-size: 0.95rem;
    }

    .carousel-wrapper {
        padding: 0;
    }

    .card-slider-text p {
        /* font-size: 0.85rem; */
    }

    .card-slider {
        margin-bottom: 20px;
    }

    .door-list li {
        margin-bottom: .5rem;
    }

}

.mark {
    color: var(--color-primary) !important;
    font-weight: bold;
}