:root {
    --primary-color: #1a1f2c;    /* 深藍灰色 */
    --accent-color: #00b4d8;     /* 科技藍 */
    --secondary-color: #4361ee;  /* 明亮藍 */
    --text-color: #ffffff;      /* 白色文字 */
    --dark-bg: #0a1128;         /* 深色背景 */
    --light-bg: #000000;        /* 黑色背景 */
    --hover-color: #48cae4;     /* 懸停效果色 */
    --text-dark: #333333;       /* 深色文字 */
    --light-text: #ffffff;
    --background-color: #f5f5f5; /* 淺灰色背景 */
    --card-bg: #1a1a1a;  /* 卡片背景色 */
    --section-padding: 6rem 8%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #000000;
    margin: 0;
    padding: 0;
}

/* 導航列樣式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(51, 51, 51, 0.9);
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0.5rem 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    margin-left: auto;
    padding: 0;
}

.nav-links a {
    color: white; /* 改為白色文字 */
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffd700; /* 滑鼠移過時變為金色 */
}

/* 下拉選單樣式 */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.95);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: var(--text-dark);
    text-shadow: none;
    padding: 0.5rem 1.5rem;
    display: block;
}

.dropdown-content a:hover {
    background-color: var(--accent-color);
    color: #ffffff;
}

/* 下拉選單樣式 */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(51, 51, 51, 0.9); /* 配合導航列背景 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-width: 200px;
    border-radius: 4px;
    padding: 8px 0;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu a {
    color: white;
    padding: 8px 16px;
    display: block;
    text-decoration: none;
    transition: background-color 0.3s;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffd700;
}

/* 平滑滾動 */
html {
    scroll-behavior: smooth;
}

/* 確保頁尾有正確的 ID */
#footer {
    scroll-margin-top: 2rem;
}

/* 首頁區域樣式 */
.home-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    overflow: hidden;
    padding: 0;
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    width: 100%;
    gap: 0;
}

.home-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.home-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: white;
}

.home-item img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.1);
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.home-item:hover img {
    transform: translate(-50%, -50%) scale(1.2);
}

.home-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    z-index: 2;
    opacity: 1; /* 改為永久顯示 */
}

.home-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.home-info p {
    font-size: 1.1rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* 手機版響應式樣式 */
@media screen and (max-width: 768px) {
    .home-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
    }

    .home-info {
        padding: 1rem;
    }

    .home-info h3 {
        font-size: 1.2rem;
    }

    .home-info p {
        font-size: 0.9rem;
    }
}

/* 區段標題樣式 */
.section-title {
    margin-top: 6rem;
    text-align: center;
    padding: 2rem 0;
    background-color: #000000;
    position: relative;
}

.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.line {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #8ea2c8, transparent);
}

.diamond {
    width: 8px;
    height: 8px;
    background-color: #8ea2c8;
    transform: rotate(45deg);
}

.section-title h2 {
    color: #ffffff;
    font-size: 2.2rem;
    margin: 0;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(142, 162, 200, 0.5);
    animation: glow 3s infinite;
}

.section-title p {
    color: #8ea2c8;
    font-size: 1rem;
    margin: 0.5rem 0;
    letter-spacing: 5px;
    opacity: 0.8;
}

.subtitle-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.dot {
    width: 4px;
    height: 4px;
    background-color: #8ea2c8;
    border-radius: 50%;
}

.subtitle-decoration .text {
    color: #8ea2c8;
    font-size: 0.9rem;
    letter-spacing: 2px;
    position: relative;
    padding: 0 10px;
}

.subtitle-decoration .text::before,
.subtitle-decoration .text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 1px;
    background-color: #8ea2c8;
}

.subtitle-decoration .text::before {
    left: -20px;
}

.subtitle-decoration .text::after {
    right: -20px;
}

/* 添加動畫效果 */
@keyframes glow {
    0% { text-shadow: 0 0 10px rgba(142, 162, 200, 0.5); }
    50% { text-shadow: 0 0 20px rgba(142, 162, 200, 0.8); }
    100% { text-shadow: 0 0 10px rgba(142, 162, 200, 0.5); }
}

/* 手機版響應式調整 */
@media screen and (max-width: 768px) {
    .section-title h2 {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .section-title p {
        font-size: 0.9rem;
        letter-spacing: 3px;
    }

    .line {
        width: 30px;
    }

    .subtitle-decoration .text {
        font-size: 0.8rem;
    }
}

/* 案例區域樣式 */
.cases-section {
    background-color: var(--dark-bg);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    overflow: hidden;
    padding: 0;
    height: 100vh; /* 設定為視窗高度 */
}

.cases-grid {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: 1fr;
    width: 100%;
    height: 100%;
    gap: 0;
}

.case-item {
    position: relative;
    width: 100%;
    height: 50vh; /* 確保每個項目剛好是視窗高度的一半 */
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.case-item img {
    position: absolute;
    top: 50%; /* 圖片垂直置中 */
    left: 50%; /* 圖片水平置中 */
    transform: translate(-50%, -50%) scale(1.1); /* 稍微放大並置中 */
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
    opacity: 0;
    margin: 0;
}

.case-item img.active {
    opacity: 1;
    z-index: 1;
}

.case-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem; /* 增加內邊距 */
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    z-index: 2;
}

.case-info h3 {
    font-size: 1.4rem; /* 增加字體大小 */
    margin-bottom: 0.5rem;
}

.case-info p {
    font-size: 1.1rem;
}

/* 輪播容器 */
.case-slider {
    width: 100%;
}

/* 輪播包裝器 */
.case-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

/* 輪播項目 */
.case-pair {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;  /* 移除間距 */
    padding: 0;  /* 移除內邊距 */
}

.case-slide {
    position: relative;
    width: 100%;
    height: calc(100vh / 2);  /* 與首頁圖片高度一致 */
    overflow: hidden;
}

.case-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    opacity: 1; /* 始終顯示 */
    transition: background 0.3s ease;
}

.case-slide:hover .case-overlay {
    background: linear-gradient(transparent, rgba(0,0,0,0.8)); /* 懸停時稍微加深背景 */
    opacity: 1;
}

.case-slide:hover img {
    transform: scale(1.05);
}

.case-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.case-overlay p {
    font-size: 1rem;
    margin: 0.3rem 0;
}

/* 輪播按鈕 */
.slider-btn {
    display: none;
}

/* 輪播指示點 */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--accent-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent-color);
}

/* 頁尾樣式 */
footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 3rem 0;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-top {
    margin-bottom: 2rem;
}

.locations-wrapper {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}

.footer-divider {
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.location-info {
    flex: 1;
    max-width: 500px;
    text-align: center; /* 置中對齊 */
}

.location-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #8ea2c8;
}

.contact-details p {
    margin: 0.8rem 0;
    display: flex;
    align-items: center;
    justify-content: center; /* 置中對齊 */
    gap: 0.5rem;
}

.contact-details i {
    color: #8ea2c8;
    width: 20px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.social-links {
    margin-bottom: 1.5rem;
}

.social-links a {
    color: #8ea2c8;
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #6d89b9; /* 深一點的藍色 */
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* 手機版響應式 */
@media screen and (max-width: 768px) {
    .locations-wrapper {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-divider {
        display: none;
    }

    .location-info {
        text-align: center;
    }

    .contact-details p {
        justify-content: center;
    }
}

/* 產品展示區域基本樣式 */
.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
}

.product {
    position: relative;
    width: 100%;
    height: calc(100vh / 2);
    overflow: hidden;
}

.product a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: white;
}

.product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.product-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-content p {
    font-size: 1rem;
}

/* 手機版響應式樣式 */
@media screen and (max-width: 768px) {
    .products {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .product {
        height: 400px;
    }

    .product-content h3 {
        font-size: 0.9rem;
    }

    .product-content p {
        font-size: 0.8rem;
    }
}

/* 平板響應式 */
@media screen and (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 手機響應式 - 確保這是最後一個媒體查詢 */
@media screen and (max-width: 768px) {
    .product-section {
        padding: 2rem 0;
    }
    
    .product-grid {
        grid-template-columns: 1fr !important; /* 強制單列 */
        gap: 1rem;
        padding: 0 1rem;
    }

    .product-item {
        height: 450px;
        margin-bottom: 1rem;
    }

    .product-info {
        padding: 1rem;
    }

    .product-info h3 {
        font-size: 0.9rem;
    }

    .product-info p {
        font-size: 0.8rem;
    }
}

.product-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item:hover img {
    transform: scale(1.05);
}

.product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
}

.product-info p {
    font-size: 1rem;
    opacity: 0.9;
}

/* 添加返回按鈕樣式 */
.back-button {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.back-button a {
    color: var(--accent-color);
    text-decoration: none;
    padding: 8px 16px;
    border: 2px solid var(--accent-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.back-button a:hover {
    background-color: var(--accent-color);
    color: white;
}

/* 頁尾聯絡資訊對齊 */
.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.contact-row i {
    color: var(--accent-color);
    width: 16px;
    margin-top: 4px;
}

.contact-row p {
    color: var(--text-color);
    margin: 0;
    line-height: 1.5;
}

/* 響應式設計 */
@media (max-width: 1200px) {
    .case-pair {
        gap: 15px;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .case-pair {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 0 10px;
    }
    
    .case-slide {
        aspect-ratio: 4/3;
    }
    
    .case-overlay {
        opacity: 1;
        padding: 1.5rem;
    }
    
    .case-overlay h3 {
        font-size: 1.3rem;
    }
    
    .case-overlay p {
        font-size: 0.9rem;
    }
}

/* 產品展示區域的響應式樣式 */
@media (max-width: 768px) {
    /* 導航列調整 */
    .navbar {
        padding: 0.5rem 1rem;
    }

    .logo-text {
        font-size: 1.2rem; /* 縮小 logo 文字 */
    }

    .nav-links {
        gap: 1rem; /* 縮小間距 */
    }

    .nav-links a {
        font-size: 0.9rem; /* 縮小導航文字 */
    }

    /* 產品區域調整 */
    .product-section {
        padding: 1rem 0.5rem;
    }

    .product-section h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        padding: 0 0.5rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .product-item {
        height: 400px; /* 增加圖片高度 */
    }

    .product-info {
        padding: 0.8rem;
        background: linear-gradient(transparent, rgba(0,0,0,0.8));
    }

    .product-info h3 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }

    .product-info p {
        font-size: 0.8rem;
    }

    /* 頁尾調整 */
    .footer-content {
        padding: 1rem;
    }

    .location-info h3 {
        font-size: 1rem;
    }

    .contact-row p {
        font-size: 0.8rem;
    }

    .contact-row i {
        font-size: 0.8rem;
        width: 15px;
    }

    .copyright p {
        font-size: 0.7rem;
    }

    /* 下拉選單樣式調整 */
    .dropdown-menu {
        min-width: 160px; /* 縮小下拉選單寬度 */
        right: 0; /* 靠右對齊，避免超出螢幕 */
        left: auto;
    }

    .dropdown-menu a {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

/* 更小螢幕的特別處理 */
@media screen and (max-width: 480px) {
    .nav-container {
        flex-direction: column; /* logo 和選單垂直排列 */
        padding: 0.5rem;
    }

    .logo-text {
        margin-bottom: 0.5rem;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
    }

    .nav-links a {
        padding: 0.5rem;
    }

    .dropdown-menu {
        position: fixed;
        width: 100%;
        left: 0;
        top: auto;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
}

/* 首頁產品區域基本樣式 */
.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
}

.product {
    position: relative;
    width: 100%;
    height: calc(100vh / 2);
    overflow: hidden;
}

/* 手機響應式 */
@media screen and (max-width: 768px) {
    /* 強制首頁產品區域單列顯示 */
    .products {
        display: block !important; /* 改用 block 顯示 */
        width: 100% !important;
    }

    .product {
        width: 100% !important;
        height: 450px !important;
        margin-bottom: 1rem !important;
        display: block !important;
    }

    .product img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .product-content {
        padding: 1rem !important;
    }

    .product-content h3 {
        font-size: 0.9rem !important;
    }

    .product-content p {
        font-size: 0.8rem !important;
    }
}

@media screen and (max-width: 480px) {
    .product {
        height: 400px !important;
    }
}

/* 桌面版布局 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    gap: 0;
}

.case-item {
    position: relative;
    width: 100%;
    height: calc(100vh / 2);
    overflow: hidden;
}

.case-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* 手機版布局 */
@media screen and (max-width: 768px) {
    /* 重置所有網格容器 */
    .cases-grid,
    .product-grid,
    .products {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 2px !important;
    }

    /* 重置所有項目樣式 */
    .case-item,
    .product-item,
    .product {
        width: 100% !important;
        height: 400px !important;
        flex: 0 0 auto !important;
    }

    /* 圖片樣式 */
    .case-item img,
    .product-item img,
    .product img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* 資訊區塊樣式 */
    .case-info,
    .product-info,
    .product-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 1rem !important;
        background: linear-gradient(transparent, rgba(0,0,0,0.8)) !important;
    }

    /* 文字樣式 */
    .case-info h3,
    .product-info h3,
    .product-content h3 {
        font-size: 0.9rem !important;
    }

    .case-info p,
    .product-info p,
    .product-content p {
        font-size: 0.8rem !important;
    }
}

@media screen and (max-width: 768px) {
    .product-grid {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .product-item {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* 產品區域樣式 */
.product-section {
    padding: 4rem 2rem;
    background-color: var(--light-bg);
    margin: 2rem 0;
}

.section-title {
    margin-top: 6rem;
    text-align: center;
    padding: 2rem 0;
}

/* 確保圖片網格正確顯示 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.product-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-grid img:hover {
    transform: scale(1.05);
}

/* 手機版響應式樣式 */
@media screen and (max-width: 768px) {
    .product-section {
        padding: 2rem 1rem;
    }

    .product-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* 圖片 Modal 樣式 */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding: 20px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    transform: scale(1.5);
    object-fit: contain;
}

.close {
    position: absolute;
    right: 35px;
    top: 15px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #8ea2c8;
    text-decoration: none;
    cursor: pointer;
}

/* 讓產品圖片有點擊提示 */
.product-grid img {
    cursor: pointer;
}

/* 常見問題 FAQ 樣式 */
.faq-section {
    padding: 2rem 2rem 4rem;
    background-color: var(--light-bg);
    margin: 2rem 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 0.5rem;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-color);
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
    padding: 1.2rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-question i {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--accent-color);
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0;
}

.faq-item.open .faq-answer {
    max-height: 1000px;
    padding-bottom: 1.2rem;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer img {
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    margin-top: 1rem;
    display: block;
}

@media screen and (max-width: 768px) {
    .faq-section {
        padding: 1rem 1rem 3rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1rem 0;
    }

    .faq-answer p {
        font-size: 0.9rem;
    }
}
