/* Base Reset & Typography */
:root {
    --color-primary: #008080; /* Teal/Blue-Green - สงบ น่าเชื่อถือ */
    --color-secondary: #ffae42; /* Soft Orange - อบอุ่น เป็นมิตร */
    --color-text: #333333;
    --color-background: #f7f7f7; /* Light Gray Background */
    --color-light-gray: #eeeeee;
    --font-size-base: 18px; /* ขนาดเริ่มต้นใหญ่กว่าปกติ */
    --padding-section: 60px 0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: #ffffff;
    font-size: var(--font-size-base);
}

/* 1. บังคับให้แต่ละตัวเลือกขึ้นบรรทัดใหม่ */
.radio-option-wrapper {
    display: block;
    margin-bottom: 15px;
}

/* 2. จัดเรียง radio button และข้อความในแนวนอน (ชิดซ้าย) */
.custom-radio-label {
    display: flex; /* ใช้ Flexbox */
    align-items: flex-start;
    cursor: pointer;
}

/* 3. จัดเรียง Title และ Description ในแนวตั้ง */
.custom-label-content {
    display: flex;
    flex-direction: column;
    margin-left: 10px; /* เว้นระยะห่างจาก radio input */
}

.option-title {
    font-weight: bold;
    /* (คลาส w-form-label อาจมี CSS เดิมอยู่แล้ว) */
}

.option-description {
    color: #666;
    font-size: 0.9em;
    margin-top: 3px;
}


/* --- FOOTER STYLING (Mobile First) --- */

.main-footer {
    background-color: #333;
    color: #f0f0f0;
    padding: 40px 20px 20px 20px; /* ลด Padding ด้านล่าง */
    font-family: Arial, sans-serif;
}

.footer-content-wrapper {
    /* บน Mobile: เรียงเป็นแนวตั้ง (Default) */
    display: flex;
    flex-direction: column; 
    max-width: 1000px; /* ปรับ Max Width ให้เหมาะสมกับ 2 คอลัมน์ */
    margin: 0 auto;
    gap: 30px; /* ช่องว่างระหว่างคอลัมน์ใน Mobile */
}

.footer-section h4 {
    color: #4CAF50; 
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1); 
}

/* ลิงก์และข้อความ (เหมือนเดิม) */
.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section a {
    color: #f0f0f0;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #4CAF50; 
}

/* --- Social Icons (เหมือนเดิม) --- */
.social-icons a {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: #444;
    border-radius: 4px;
    margin-right: 10px;
    font-size: 0.9em;
}

.social-icons a:hover {
    background-color: #4CAF50;
    color: #333;
}

/* --- ส่วนลิขสิทธิ์ด้านล่างสุด --- */
.footer-bottom {
    max-width: 1000px;
    margin: 30px auto 0 auto; /* มีช่องว่างด้านบน */
    text-align: center; /* จัดให้อยู่ตรงกลาง */
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    margin: 0;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.5);
}

/* --- Social Icons --- */
.social-icons a {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: #444;
    border-radius: 4px;
    margin-right: 10px;
    font-size: 0.9em;
}

.social-icons a:hover {
    background-color: #4CAF50;
    color: #333;
}



/* จัดรูปแบบพื้นฐานของฟอร์ม */
.contact-form {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    background-color: #ffffff; /* พื้นหลังสีขาว */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* เพิ่มเงาให้ดูมีมิติ */
    font-family: Arial, sans-serif;
}

/* หัวข้อฟอร์ม */
.contact-form h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    border-bottom: 2px solid #007bff; /* เส้นใต้สีฟ้าเด่น */
    padding-bottom: 10px;
}

/* การจัดกลุ่มแต่ละ Input */
.form-group {
    margin-bottom: 20px;
}

/* จัดรูปแบบ Label */
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

/* จัดรูปแบบ Input และ Textarea */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box; /* ทำให้ Padding ไม่ขยายความกว้างรวม */
    font-size: 16px;
    transition: border-color 0.3s;
}

/* เอฟเฟกต์เมื่อ Focus */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #007bff; /* เปลี่ยนสีเส้นขอบเมื่อคลิก */
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* จัดกลุ่ม Radio */
.radio-group {
    display: flex;
    gap: 20px; /* ช่องว่างระหว่างตัวเลือก */
}

/* ซ่อน Radio ดั้งเดิมแล้วใช้ Label แทน */
.radio-group input[type="radio"] {
    display: none;
}

.radio-group label {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    font-weight: normal;
    transition: background-color 0.3s, border-color 0.3s;
}

/* สีเมื่อเลือก Radio */
.radio-group input[type="radio"]:checked + label {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

/* ปุ่มส่ง (Submit Button) */
.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #28a745; /* สีเขียวสำหรับปุ่มส่ง */
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #1e7e34; /* สีเข้มขึ้นเมื่อ Hover */
}



/* สไตล์ CSS สำหรับการจัดเรียงรูปภาพ */
        .image-container {
            /* 1. เปิดใช้งาน Flexbox */
            display: flex; 
            /* 2. จัดเรียงเนื้อหาให้อยู่ตรงกลาง (ตัวเลือกเสริม) */
            justify-content: center; 
            /* 3. กำหนดช่องว่างระหว่างรูปภาพ */
            gap: 15px; 
            padding: 20px;
            /* เพิ่มเส้นขอบเพื่อให้เห็นขอบเขตของ Container */
            border: 1px solid #ccc;
        }

        .image-container img {
            /* 4. กำหนดความกว้างให้แต่ละรูปภาพ */
            /* width: 30% หมายความว่าแต่ละภาพจะกินพื้นที่ประมาณ 1/3 ของ Container */
            width: 30%; 
            /* 5. ตั้งค่าความสูงอัตโนมัติเพื่อรักษาสัดส่วน */
            height: auto; 
            /* 6. ให้รูปภาพไม่เกินขอบเขตของตัวเอง */
            max-width: 100%;
            /* เพิ่มสไตล์เล็กน้อย */
            border-radius: 8px;
            box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
        }


        
.hero-image-placeholder {
    width: 100%;
    height: 350px; /* ขนาดใหญ่สำหรับ Hero */
    background-color: #c9e6e6; /* สีฟ้า/เขียวอ่อน (Teal Light) */
    border: 3px solid var(--color-primary);
    border-radius: 10px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.2em;
    font-weight: 700;
    color: #004d4d;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.content-image-right,
.content-image-left {
    width: 100%;
    max-width: 400px;
    height: 250px;
    background-color: #f0f0f0; /* สีเทาอ่อน */
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1em;
    font-style: italic;
    color: #666;
    overflow: hidden;
}


/* === CSS Grid สำหรับจัดเรียงภาพ === */
.image-gallery {
    /* 1. เปิดใช้ Grid Layout */
    display: grid; 
    
    /* 2. กำหนดคอลัมน์: 3 คอลัมน์ที่ขนาดเท่ากัน (1fr) */
    grid-template-columns: repeat(3, 1fr); 
    
    /* 3. กำหนดช่องไฟ (Gaps) ระหว่างคอลัมน์และแถว */
    gap: 20px; 
}

/* สไตล์สำหรับแต่ละรายการรูปภาพ */
.image-item {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* สไตล์สำหรับกรอบ Placeholder (จำลองรูปภาพ) */
.placeholder {
    width: 100%;
    height: 180px; /* ความสูงของรูปภาพ */
    background-color: #007bff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    margin-bottom: 10px;
    border-radius: 4px;
}

/* สไตล์สำหรับคำอธิบายภาพ */
.caption {
    font-style: italic;
    color: #555;
    margin: 0;
    font-size: 0.9em;
}

/* === การปรับให้รองรับมือถือ (Responsive Design) === */
@media (max-width: 768px) {
    .image-gallery {
        /* เมื่อหน้าจอเล็กกว่า 768px ให้เปลี่ยนเป็น 1 คอลัมน์ต่อแถว */
        grid-template-columns: 1fr; 
    }
}



@media (min-width: 769px) and (max-width: 992px) {
    .image-gallery {
        /* เมื่อหน้าจอขนาดกลาง ให้เปลี่ยนเป็น 2 คอลัมน์ต่อแถว (เป็นทางเลือก) */
        grid-template-columns: repeat(2, 1fr); 
    }
  
}


.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3 {
    color: var(--color-primary);
    margin-bottom: 20px;
    font-weight: 700;
}

h2 { font-size: 2.5em; }
h3 { font-size: 1.8em; }
p { margin-bottom: 15px; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: background-color 0.3s ease;
    font-size: 1.1em; /* ปุ่มใหญ่ ชัดเจน */
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    border: 2px solid var(--color-primary);
}
.btn-primary:hover {
    background-color: #006666;
}

.btn-contact {
    background-color: var(--color-secondary);
    color: var(--color-text);
    border: 2px solid var(--color-secondary);
}
.btn-contact:hover {
    background-color: #ff9933;
}


/* Header & Navigation */
header {
    background-color: white;
    color: var(--color-text);
    padding: 15px 0;
    border-bottom: 3px solid var(--color-light-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8em;
    margin: 0;
    color: var(--color-primary);
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links > li {
    margin-left: 25px;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    padding: 8px 10px;
    display: block;
    font-size: 1em;
}

.nav-links a:hover {
    color: var(--color-primary);
}

/* Dropdown Menu */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-top: 3px solid var(--color-primary);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: var(--color-text);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 1em;
}

.dropdown-content a:hover {
    background-color: var(--color-light-gray);
}

/* Hero Section */
.hero {
    background: url('hero-bg.jpg') no-repeat center center/cover; /* Placeholder for a peaceful Thailand image */
    background-color: #e0f2f1; /* Fallback light blue/green */
    color: var(--color-text);
    padding: 100px 0;
    text-align: center;
}

.hero h2 {
    color: var(--color-primary);
    font-size: 3em;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

/* Features Section */
.features {
    padding: var(--padding-section);
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    padding: 30px;
    background-color: var(--color-background);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item .icon {
    font-size: 3em;
    display: block;
    margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials {
    padding: var(--padding-section);
    text-align: center;
    background-color: var(--color-light-gray);
}

blockquote {
    font-size: 1.5em;
    line-height: 1.8;
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    border-left: 5px solid var(--color-primary);
    background-color: white;
}
blockquote footer {
    margin-top: 15px;
    font-size: 0.8em;
    color: #666;
}

/* Contact Section */
.contact {
    padding: var(--padding-section);
    text-align: center;
}

.contact form {
    max-width: 500px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact input[type="text"],
.contact input[type="email"],
.contact textarea {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.contact textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background-color: var(--color-primary);
    color: white;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9em;
}

/* Mobile Responsiveness & Menu Toggle (Hamburger) */
.menu-toggle {
    display: none; /* ซ่อนปุ่มแฮมเบอร์เกอร์ในโหมด Desktop */
    background: none;
    border: none;
    color: var(--color-primary);
    font-size: 2em;
    cursor: pointer;
    padding: 5px;
}


/* *** เพิ่ม Wrapper ใหม่ *** */
.main-content-wrapper {
    width: 90%; /* กำหนดความกว้างรวมของเนื้อหาทั้งหมด */
    max-width: 1200px; /* จำกัดความกว้างรวมบน PC */
    margin: 1px auto; /* จัดให้อยู่ตรงกลางหน้าจอและมีระยะห่างด้านบน/ล่าง */
}


@media (max-width: 768px) {

/* --- MOBILE FIRST STYLES (Default for screens < 768px) --- */
.carousel-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden; /* ซ่อนภาพที่อยู่นอกคอนเทนเนอร์ */
    position: relative;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: #fff;
    
    /* ASPECT RATIO TRICK: สำหรับสัดส่วน 1.57:1 (450/710 ≈ 63.38%) */
    padding-bottom: 63.38%;
   

    height: 0; 
}

}

@media (min-width: 769px) {

/* --- MOBILE FIRST STYLES (Default for screens < 768px) --- */
.carousel-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden; /* ซ่อนภาพที่อยู่นอกคอนเทนเนอร์ */
    position: relative;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: #fff;
    
    /* ASPECT RATIO TRICK: สำหรับสัดส่วน 1.57:1 (450/710 ≈ 63.38%) */
    padding-bottom: 25.38%;
   

    height: 0; 
}

}



.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    min-width: 100%; /* แต่ละสไลด์กินพื้นที่เต็มความกว้างหน้าจอมือถือ */
    box-sizing: border-box;
    flex-shrink: 0;
    height: 100%; 
}

.carousel-slide img {
    width: 100%;
    height: 100%; 
    display: block;
    object-fit: cover; /* รักษาสัดส่วนแต่ให้เต็มพื้นที่ (อาจมีการ Crop) */
}

/* Navigation Buttons (แสดงบน Mobile) */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.5em;
    z-index: 10;
    border-radius: 5px;
    opacity: 0.7;
}

.carousel-button.prev { left: 10px; }
.carousel-button.next { right: 10px; }

/* --- DESKTOP STYLES (Media Query: for screens >= 768px) --- */
@media (min-width: 768px) {


/* --- MEDIA QUERY: DESKTOP/PC (768px ขึ้นไป) --- */

    .footer-content-wrapper {
        flex-direction: row; /* จัดเรียงเป็นแถวแนวนอน */
        justify-content: space-between; /* กระจายช่องว่างระหว่างคอลัมน์ */
        gap: 20px; /* ลดช่องว่างระหว่างคอลัมน์เมื่อเป็น Desktop */
    }
    
    .footer-section {
        /* กำหนดสัดส่วนความกว้างของแต่ละคอลัมน์ */
        flex: 1; 
    }
    
    .footer-brand {
        flex: 1.5; /* ให้คอลัมน์แรกกว้างกว่าเพื่อน */
    }



    .carousel-container {
        /* *** แก้ไข 2: เพิ่ม Margin ด้านล่างเพื่อให้มีช่องว่างระหว่าง Carousel แต่ละชุด *** */
        margin: 0 auto 10px auto; /* บน PC: จัดกึ่งกลาง และมี Margin ด้านล่าง 30px */
        width: 100%; /* ให้เต็มความกว้างของ main-content-wrapper */
        max-width: 1200px; 
    }

    

    .carousel-track {
        /* ... โค้ดจัดเรียง 3 ภาพด้วย Flexbox และ Gap (เหมือนเดิม) ... */
        display: flex;
        flex-wrap: nowrap;
        transform: none !important; 
        position: static; 
        height: auto;
        
        gap: 15px; 
        padding: 0 15px; 
        box-sizing: border-box;
    }

    .carousel-slide {
        /* ความกว้างสำหรับ 3 ภาพ: (100% - ช่องไฟ 2 ช่อง) / 3 ภาพ */
        width: calc((100% - (2 * 15px)) / 3); 
        min-width: unset; 
        height: auto;
    }

    .carousel-slide img {
        width: 100%;
        /* รักษาสัดส่วนความสูงอัตโนมัติ */
        height: auto; 
        display: block;
    }

    /* ซ่อนปุ่ม Navigation บน Desktop */
    .carousel-button {
        display: none;
    }
}



@media (max-width: 900px) {
    /* ปรับขนาดตัวอักษรเล็กน้อยสำหรับมือถือ */
    body {
        font-size: 16px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px; /* ใต้ header */
        left: 0;
        background-color: white;
        border-top: 1px solid var(--color-light-gray);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links > li {
        margin: 0;
        border-bottom: 1px solid var(--color-light-gray);
    }
    .nav-links a {
        padding: 15px 20px;
    }
    .menu-toggle {
        display: block; /* แสดงปุ่มแฮมเบอร์เกอร์ในโหมด Mobile */
    }
    
    /* Dropdown ใน Mobile */
    .dropdown-content {
        position: static;
        box-shadow: none;
        border-top: none;
        background-color: var(--color-light-gray);
        padding-left: 20px;
    }

    /* === Section Specific Styles === */
.content-section {
    padding: var(--padding-section);
}

.content-section .section-title {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.2em;
}

.content-section .intro-text {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.2em;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Card Grid for Visa/Finance */
.card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
}

.info-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-top: 5px solid var(--color-primary);
}

.info-card h3, .info-card h4 {
    color: var(--color-primary);
    margin-top: 10px;
    margin-bottom: 15px;
}

/* Check List Styling */
.check-list {
    list-style: none;
    padding: 0;
}
.check-list li {
    padding-left: 30px;
    margin-bottom: 10px;
    position: relative;
    font-size: 1.1em;
}
.check-list li::before {
    content: "✅"; /* Use easy-to-read checkmark */
    position: absolute;
    left: 0;
    font-size: 1em;
    top: 0;
}

/* Hospital List */
.hospital-item {
    margin-bottom: 25px;
    padding: 15px;
    border-left: 4px solid var(--color-secondary);
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.hospital-item h4 {
    margin-top: 0;
    color: #004d4d; /* Darker Teal */
}

/* Comparison Table (Kosten) */
.comparison-table-container {
    overflow-x: auto; /* Allow horizontal scroll on mobile */
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: white;
    font-size: 1.1em;
}

table th, table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: var(--color-primary);
    color: white;
    font-weight: 700;
}

table tr:hover {
    background-color: #f0f8ff; /* Subtle hover effect */
}

.highlight-row {
    font-weight: 700;
    background-color: #fffacd !important; /* Light Yellow Highlight */
    border-top: 3px solid var(--color-secondary);
}

.note {
    font-style: italic;
    text-align: center;
    margin-top: 30px;
    padding: 10px;
    border: 1px dashed var(--color-secondary);
    color: #666;
    background-color: #fffdf5;
}
/* === Accordion Styles for Clarity and Ease of Use === */

.accordion-container {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    border: 1px solid var(--color-light-gray);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    background-color: white;
}

.accordion-header {
    width: 100%;
    background-color: var(--color-background);
    color: var(--color-text);
    padding: 18px 25px;
    text-align: left;
    border: none;
    cursor: pointer;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.accordion-header:hover {
    background-color: var(--color-light-gray);
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.25em; /* ตัวอักษรใหญ่ ชัดเจน */
    color: var(--color-primary);
}

.icon-toggle {
    font-size: 2em;
    font-weight: bold;
    color: var(--color-secondary);
    transition: transform 0.3s ease;
}

.accordion-content {
    padding: 0 25px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

/* State when the accordion is active/open */
.accordion-item.active .accordion-content {
    max-height: 500px; /* Adjust based on content size */
    padding: 25px;
    border-top: 2px solid var(--color-primary);
}

.accordion-item.active .icon-toggle {
    transform: rotate(45deg); /* Change '+' to 'x' or rotate it */
}

/* Ensure check-list inside accordion is visible */
.accordion-content .check-list {
    margin-top: 15px;
    margin-bottom: 0;
}

/* === 5. SENIORENTOUREN Styles === */
.tour-grid {
    display: grid;
    /* ปรับให้รองรับ 2 คอลัมน์ หรือมากกว่าตามความเหมาะสมของหน้าจอ */
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tour-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    /* เพิ่มเงาเพื่อความเด่นชัด (High Contrast) */
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    /* ใช้สีรอง (Secondary Color) เพื่อให้ดูอบอุ่นและน่าสนใจ */
    border-top: 5px solid var(--color-secondary); 
    transition: transform 0.3s;
}

.tour-card:hover {
    transform: translateY(-5px); /* มีการขยับเล็กน้อยเมื่อวางเมาส์ */
}

.tour-card h3 {
    color: #004d4d; /* ใช้ Teal เข้มขึ้นเพื่อความชัดเจนสูงสุด */
    margin-top: 0;
    font-size: 1.5em;
}

.tour-features {
    list-style: none;
    padding-left: 0;
    margin: 15px 0 25px 0;
}

.tour-features li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 8px;
    font-size: 1em;
}

/* Checkmark ที่ดูสบายตา */
.tour-features li::before {
    content: "✔️"; 
    position: absolute;
    left: 0;
    font-size: 1em;
    color: var(--color-primary);
    top: 0;
}

/* === 6. ORTE IM FOKUS Styles === */
.location-focus-grid {
    display: grid;
    /* ปรับให้แสดง 3 คอลัมน์ หรือปรับตามขนาดหน้าจอ */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.focus-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--color-light-gray);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.focus-icon {
    font-size: 3em; /* ไอคอนขนาดใหญ่ ชัดเจน */
    display: block;
    margin-bottom: 10px;
    color: var(--color-secondary);
}

.focus-card h4 {
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.focus-detail {
    font-weight: 700;
    color: #555;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid var(--color-light-gray);
}

/* === 7. WARUM THAILAND? Styles === */

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 60px;
    text-align: center;
}

.advantage-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--color-light-gray);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.advantage-icon {
    font-size: 3em;
    display: block;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.advantage-card h4 {
    margin-top: 0;
    font-size: 1.3em;
    color: var(--color-text);
}

/* === Testimonial Carousel Styles === */

.section-subtitle {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
    color: var(--color-secondary);
}

.testimonial-carousel {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    overflow: hidden; /* ซ่อนสไลด์ที่ไม่ active */
}

.testimonial-slide {
    display: none; /* ซ่อนทั้งหมดโดย default */
    padding: 20px;
    transition: opacity 0.5s ease-in-out;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
}

.testimonial-carousel blockquote {
    /* ใช้สไตล์ Blockquote เดิม แต่ปรับให้เด่นขึ้น */
    border-left: 5px solid var(--color-secondary);
    background-color: #fff9e6; /* สีเหลืองอ่อนมากเพื่อให้ดูอบอุ่น */
    font-size: 1.4em;
}

/* Carousel Navigation Dots */
.carousel-nav {
    text-align: center;
    margin-top: 20px;
}

.nav-dot {
    background: #ccc;
    border: none;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.nav-dot.active {
    background: var(--color-primary);
    transform: scale(1.1);
}




}