/* <!-- <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css" rel="stylesheet">
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet"> -->
<!-- <link href="https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"> --> */

    /* ===  About === */
    .section-padding {
            padding: 100px 0;
        }

        .section-title {
            margin-bottom: 60px;
        }

        .section-title h2 {
            font-size: 2.8rem;
            font-weight: 700;
            color: #212529;
            position: relative;
            display: inline-block;
            padding-bottom: 15px;
        }

        .section-title h2::after {
            content: '';
            position: absolute;
            width: 80px;
            height: 4px;
            background-color: #c8102e;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }

        .section-title p {
            font-size: 1.1rem;
            color: #6c757d;
            max-width: 600px;
            margin: 1rem auto 0 auto;
        }
    /* --- 2. Header --- */
        .page-header {
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            min-height: 30vh;
            position: relative;
            color: #fff;
            padding: 150px 2rem 50px;
            background: linear-gradient(rgba(26, 32, 44, 0.1), rgba(26, 32, 44, 0.6)), url('../img/about-us/csh-head-about.jpg') no-repeat center center / cover;
          
            /* background: linear-gradient(rgba(26, 32, 44, 0.1), rgba(26, 32, 44, 0.6)), url('./assets/img/about-us/csh-head-about.jpg') no-repeat center center / cover; */
          }
        .page-header h1 {
            font-size: 3.5rem;
            font-weight: 700;
            text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
        }

        #animatedText {
            font-size: 1.2rem;
            font-weight: 300;
            line-height: 1.7;
            background-color: rgba(0,0,0,0.2);
            padding: 15px 25px;
            border-radius: 10px;
            max-width: 800px;
            margin: 1rem auto 0 auto;
            border-left: 3px solid #c8102e;
            min-height: 100px; /* Reserve space */
            cursor: text;
        }
        .scroll-down {
            position: absolute;
            bottom: 30px;
            left: 50%;
            color: #fff;
            font-size: 2.5rem;
            text-decoration: none;
            transform: translateX(-50%);
            animation: bounce 2s infinite;
        }
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
            40% { transform: translate(-50%, -20px); }
            60% { transform: translate(-50%, -10px); }
        }
     
 /* --- 10. Responsive Adjustments --- */
        @media (max-width: 991px) {
            .page-header h1 { font-size: 2.8rem; }
            #animatedText { font-size: 1.1rem; }
            .section-title h2 { font-size: 2.2rem; }
            .footer { text-align: center; }
            .footer .footer-social { justify-content: center; margin-top: 1rem; }
        }
        @media (max-width: 767px) {
            .page-header { min-height: 60vh; }
            .page-header h1 { font-size: 2.2rem; }
            #animatedText { font-size: 1rem; padding: 10px 15px; }
            .section-padding { padding: 80px 0; }
        }

    /* === CSS เดิมส่วนอื่นๆ (General, Box, etc.) คงไว้ตามเดิม === */
    .box-style, .box-none-style, .box-vision-mission-style { /* ...โค้ดเดิม... */ }
    .text-highlight { color: #c8102e; font-size: 1.8rem; font-weight: 800; }
    
    /* --- เพิ่มเติม: สไตล์สำหรับ Section ใหม่ --- */
    .why-choose-us-section { padding: 80px 0; background-color: #f8f9fa; }
    .pillar-card {
      background: #fff;
      border: 1px solid #eee;
      padding: 30px;
      border-radius: 12px;
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      height: 100%;
    }
    .pillar-card:hover { transform: translateY(-8px); box-shadow: 0 12px 35px rgba(0,0,0,0.1); }
    .pillar-card .icon { font-size: 2.5rem; color: #c8102e; margin-bottom: 20px; }
    .pillar-card h3 { font-size: 1.3rem; margin-bottom: 10px; color: #212529; }
    .pillar-card p { font-size: 0.95rem; line-height: 1.7; color: #6c757d; }

    .cta-final-section { padding: 60px 0; background-color: #1a202c; color: #fff; }
    .cta-final-section h2 { color: #fff; font-size: 2.2rem; }
    .cta-final-section p { max-width: 700px; margin: 1rem auto 2rem auto; opacity: 0.9; }
    .cta-final-section .btn-cta { background-color: #c8102e; color: #fff; padding: 12px 30px; border-radius: 50px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; }
    .cta-final-section .btn-cta:hover { background-color: #fff; color: #c8102e; transform: translateY(-3px); }

    .feature-section {
        display: grid;
        grid-template-columns: 1fr 1.1fr;
        gap: 50px;
        align-items: center;
        padding: 60px 0;
    }
    .feature-section.image-left {
        grid-template-columns: 1.1fr 1fr;
    }
    .feature-section img {
        width: 100%;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .feature-section h2 { font-size: 2rem; margin-bottom: 20px; }
    .feature-section ul { list-style: none; padding: 0; }
    .feature-section li { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 15px; font-size: 1.05rem; }
    .feature-section li .icon { font-size: 1.2rem; color: #256607ff; margin-top: 5px; }
 /* === Certifications Style === */
    .certifications { margin-top: 30px; padding-top: 20px; border-top: 1px solid #e0e0e0; display: flex; gap: 25px; align-items: center; flex-wrap: wrap; }
    .cert-item { display: flex; align-items: center; gap: 10px; }
    .cert-item .icon { font-size: 2.5rem; color:  #2e7d32; }
    .cert-item div { font-size: 1rem; font-weight: 600; color:  #222; }
    .cert-item div span { display: block; font-weight: 400; font-size: 0.9rem; color: #666; }
/* === Animations & Responsive === */
    @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
    .fade-in-up { opacity: 0; }
    .fade-in-up.visible { animation: fadeInUp 1s ease-out forwards; }
    @media (max-width: 992px) {
      .feature-section, .feature-section.image-left { grid-template-columns: 1fr; }
      .feature-section img { order: -1; margin-bottom: 30px; }
    }
    @media (max-width: 768px) {
      .about-title { font-size: 2rem; }
      .mission-text { min-height: auto; }
      .cta-section h2 { font-size: 1.8rem; }
      .cta-section p { font-size: 1.1rem; }
    }

/* ================================================================ */
/* START: ส่วนของ CSS ใหม่ที่ต้องเขียนเพิ่ม */
/* ================================================================ */

/* --- สไตล์สำหรับ Section 'ทำไมต้องเลือกเรา' --- */
.why-choose-us-section { 
    padding: 80px 0; 
    background-color: #f8f9fa; 
}

.pillar-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.pillar-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 12px 35px rgba(0,0,0,0.1); 
}

.pillar-card .icon { 
    font-size: 2.5rem; 
    color: #c8102e; 
    margin-bottom: 20px; 
}

.pillar-card h3 { 
    font-size: 1.3rem; 
    margin-bottom: 10px; 
    color: #212529; 
}

.pillar-card p { 
    font-size: 0.95rem; 
    line-height: 1.7; 
    color: #6c757d; 
}

/* ================================================================ */
/* START: ส่วนของ CSS ใหม่ที่ต้องเขียนเพิ่ม (ADVANCE VERSION) */
/* ================================================================ */

/* === Advanced CTA Section === */
        .cta-adv-section { padding: 100px 0; background-color: #f1f3f5; text-align: center; }
        .cta-adv-title { font-size: 2.8rem; font-weight: 700; color: #212529; }
        .cta-adv-subtitle { font-size: 1.5rem; max-width: 90%; margin: 1rem auto 2.5rem auto; color: #37393aff; }
        .btn-cta-adv {
            display: inline-flex; align-items: center; gap: 10px; background-color: #c8102e;
            color: #fff; padding: 16px 35px; border-radius: 50px; font-weight: 600;
            text-decoration: none; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
            box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
        }
        .btn-cta-adv:hover {
            background-color: #1a202c; color: #fff; transform: translateY(-5px) scale(1.05);
            box-shadow: 0 10px 25px rgba(26, 32, 44, 0.4);
            cursor: pointer;
        }
        
        .btn-cta-adv i { transition: transform 0.3s ease; }
        .btn-cta-adv:hover i { transform: translateX(5px); }

/* --- Advanced Section Titles --- */
.section-heading-adv {
    font-size: 2.8rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}
.section-heading-adv::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 4px;
    background: #c8102e;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}
.section-subheading-adv {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 2rem auto 0 auto;
}

/* --- Advanced Pillar Cards --- */
.key-pillars-section { padding: 80px 0; }
.pillar-card-adv {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.pillar-card-adv::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(200, 16, 46, 0.1), transparent 40%);
    transform: scale(0);
    transition: transform 0.6s ease-out;
    z-index: 0;
}
.pillar-card-adv:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.pillar-card-adv:hover::before {
    transform: scale(1);
}
.pillar-card-adv .pillar-icon-adv,
.pillar-card-adv h3,
.pillar-card-adv p {
    position: relative; /* Make content appear above the ::before pseudo-element */
    z-index: 1;
}
.pillar-icon-adv {
    font-size: 3rem;
    color: #c8102e;
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
}
.pillar-card-adv:hover .pillar-icon-adv {
    transform: scale(1.1);
}
.pillar-card-adv h3 {
    font-size: 1.4rem;
    color: #212529;
}
.pillar-card-adv p {
    color: #6c757d;
}


/* ================================================================ */
/* START: ส่วนของ CSS ที่ปรับปรุงใหม่ (Elegant & Luminous Design) */
/* ================================================================ */

/* --- 1. สไตล์สำหรับ Section Container --- */
#core-values {
    background: #fdfdff; /* สีพื้นหลังเกือบขาว ทำให้ดูสะอาด */
    padding: 80px 0;
}

#core-values .section-heading,
#core-values .section-subheading {
    /* ทำให้หัวข้อดูนุ่มนวลขึ้น */
    color: #343a40; 
}


/* --- 2. สไตล์หลักของการ์ด (Value Card) --- */
.value-card {
    background-color: #fff;
    border-radius: 1rem; /* 16px */
    padding: 2.5rem 1.5rem;
    text-align: center;
    height: 100%;
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

/* --- 3. เอฟเฟกต์เมื่อ Hover --- */
.value-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
    border-color: rgba(200, 16, 46, 0.3);
}

/* --- 4. สร้างเส้นขีดใต้หัวข้อที่จะปรากฏเมื่อ Hover --- */
.value-title::after {
    content: '';
    display: block;
    width: 25px; /* ความกว้างของเส้น */
    height: 3px;
    background-color:  #c8102e;
    margin: 0.75rem auto 0;
    
    /* ซ่อนไว้ก่อนและเตรียม Animation */
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.value-card:hover .value-title::after {
    transform: scaleX(1); /* แสดงเส้นเมื่อ Hover */
}


/* --- 5. สไตล์ของไอคอน (Luminous Effect) --- */
.value-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    position: relative; /* สำหรับ Glow Effect */
    
    /* สีพื้นหลังแบบ Gradient */
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.1), rgba(255, 138, 0, 0.1));
    transition: all 0.4s ease;
}

/* สร้าง Glow Effect ด้านหลังไอคอน */
.value-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 16, 46, 0.3) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.value-card:hover .value-icon::before {
    opacity: 1;
    transform: scale(1.3);
}

.value-icon i {
    font-size: 2.5rem;
    color:  #c8102e;
    position: relative; /* ให้ไอคอนอยู่บนสุด */
    z-index: 1;
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon i {
    transform: scale(1.1);
}

/* --- 6. สไตล์ของข้อความ --- */
.value-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.5rem;
}

.value-text {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
}

/* ================================================================ */
/* END: ส่วนของ CSS ที่ปรับปรุงใหม่ (Elegant & Luminous Design) */
/* ================================================================ */

/* ================================================================ */
/* START: ส่วนของ CSS ที่ปรับปรุง (แสดงผลทั้งหมด ไม่ต้อง scroll) */
/* ================================================================ */

/* [ปรับปรุง] เอา overflow-x ออก ไม่ต้องการ scrollbar อีกต่อไป */
.resp-timeline-wrapper {
    width: 100%;
    padding: 2rem 0;
    /* padding-top:120px;
    padding-bottom:100px */
}

.resp-timeline {
    /* [ปรับปรุง] เปลี่ยนจาก inline-flex เป็น flex เพื่อให้ยืดหยุ่นเต็มพื้นที่ */
    display: flex; 
    flex-wrap: nowrap;
    position: relative;
    padding: 30px 0; 
    width: 100%; /* [ปรับปรุง] กำหนดความกว้างเต็ม 100% */
    margin: 0; /* [ปรับปรุง] เอา margin ซ้าย-ขวาออก */
    justify-content: space-between; /* [ปรับปรุง] กระจาย item ให้มีระยะห่างเท่าๆ กัน */
}

/* The main horizontal line */
.resp-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    transform: translateY(-50%);
    background: #dee2e6;
    z-index: 0;
}

.resp-timeline-item {
    /* [ปรับปรุง] ให้ item ยืดหยุ่นได้ และกำหนดความกว้างพื้นฐาน */
    flex: 1 1 220px; /* flex-grow: 1, flex-shrink: 1, flex-basis: 220px */
    max-width: 280px; /* [ปรับปรุง] กำหนดความกว้างสูงสุดเพื่อไม่ให้การ์ดใหญ่เกินไปบนจอใหญ่ */
    position: relative;
    padding: 0 10px; /* [ปรับปรุง] ลด padding ด้านข้างเล็กน้อย */
}

/* The dot on the timeline */
.resp-timeline-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 4px solid  #c8102e;
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
}
.resp-timeline-item:hover::before {
    background-color: #c8102e;
    box-shadow: 0 0 15px rgba(200, 16, 46, 0.5);
}

/* The connector line from dot to card */
.resp-timeline-item::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background-color: #ced4da;
    z-index: 1;
}

/* Positioning for top items (ยังคงเหมือนเดิม) */
.resp-timeline-item {
    padding-bottom: 25px;
}
.resp-timeline-item::after {
    bottom: 50%;
    height: 25px;
}
.resp-timeline-content {
    position: absolute;
    bottom: 60px;
    /* [ปรับปรุง] ปรับความกว้างให้สัมพันธ์กับ parent */
    width: calc(100% - 20px); 
    left: 10px;
}

/* Positioning for bottom items (ยังคงเหมือนเดิม) */
.resp-timeline-item.item-bottom {
    padding-top: 25px;
    padding-bottom: 0;
}
.resp-timeline-item.item-bottom::after {
    top: 50%;
    height: 25px;
}
.resp-timeline-item.item-bottom .resp-timeline-content {
    top: 60px;
    bottom: auto;
}

.resp-timeline-content {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.25rem; /* [ปรับปรุง] ลด padding เล็กน้อยเพื่อให้พอดีกับข้อความ */
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
}
.resp-timeline-item:hover .resp-timeline-content {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}
.resp-timeline-item.item-bottom:hover .resp-timeline-content {
    transform: translateY(10px);
}

/* CSS ส่วนที่เหลือ (year, title, text, responsive) คงไว้ตามเดิม */
.timeline-year {
    font-size: 1.2rem; /* [ปรับปรุง] ลดขนาดเล็กน้อย */
    font-weight: 700;
    color:  #c8102e;
    margin-bottom: 0.5rem;
}
.timeline-title {
    font-size: 1rem; /* [ปรับปรุง] ลดขนาดเล็กน้อย */
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.5rem;
}
.timeline-text {
    font-size: 0.85rem; /* [ปรับปรุง] ลดขนาดเล็กน้อยเพื่อให้พอดีกับการ์ด */
    color: #6c757d;
    line-height: 1.5;
}

/* --- Responsive --- */
/* [ปรับปรุง] ปรับ breakpoint ให้เหมาะสมกับการแสดงผลแบบยืดหยุ่น */
@media (max-width: 991px) { /* เปลี่ยนจาก 1024px เป็น 991px */
    .resp-timeline {
        display: block; 
        padding: 0;
        margin: 0;
    }
    .resp-timeline::before {
        left: 20px; width: 4px; height: 100%; top: 0; transform: none;
    }
    .resp-timeline-item, .resp-timeline-item.item-bottom {
        display: block; width: 100%; padding: 20px 0 20px 50px;
        max-width: none; /* [ปรับปรุง] เอา max-width ออกเมื่อเป็นแนวตั้ง */
    }
    .resp-timeline-item::before, .resp-timeline-item.item-bottom::before {
        top: 30px; left: 20px; transform: translateY(-50%);
    }
    .resp-timeline-item::after, .resp-timeline-item.item-bottom::after {
        display: none;
    }
    .resp-timeline-content, .resp-timeline-item.item-bottom .resp-timeline-content {
        position: static; width: 100%; text-align: left;
    }
    .resp-timeline-item:hover .resp-timeline-content {
        transform: none;
    }
}
/* ================================================================ */
/* END: ส่วนของ CSS ที่ปรับปรุง */
/* ================================================================ */
/* ============================================ */
/*            Slogan Section Styles             */
/* ============================================ */
.slogan-section {
    padding: 0;
    overflow: hidden; /* ป้องกันไม่ให้ AOS animation ทำให้เกิด scrollbar */
}
.slogan-section h1,h1,p{
    color:white;
}
.slogan-box {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 450px;
    padding: 60px 40px;
    position: relative;
    color:  #fff;
}

.slogan-box-red {
    background-color:  #c8102e;
}

.slogan-box-image {
    background: linear-gradient(rgba(26, 32, 44, 0.8), rgba(26, 32, 44, 0.8)), 
                url('https://images.unsplash.com/photo-1600880292203-943068b2511a?q=80&w=1974&auto=format&fit=crop') no-repeat center center / cover;
    background-attachment: fixed; 
}

.slogan-content {
    max-width: 500px;
}

.slogan-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.slogan-main-text {
    font-family: 'DBOzoneX', Times, serif; /* ใช้ Font ที่ดูเป็นทางการ */
    font-size: 2.5rem;
    font-weight: bold;
    font-style: italic;
    line-height: 1.3;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.quote-mark {
    font-size: 4rem;
    line-height: 0;
    position: relative;
    top: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.slogan-secondary-text {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.4;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    color:white;
}

.slogan-subtext {
    font-size: 1rem;
    font-weight: 300;
    opacity: 0.9;
    margin-top: 1.5rem;
    color:white;
}

/* Responsive for mobile */
@media (max-width: 991px) {
    .slogan-box {
        min-height: 350px;
        padding: 50px 20px;
    }

    .slogan-main-text {
        font-size: 2rem;
    }
    
    .quote-mark {
        font-size: 3rem;
    }

    .slogan-secondary-text {
        font-size: 1.5rem;
    }
}
/* ================================================================ */
/* START: ส่วนของ CSS ใหม่ที่ต้องเขียนเพิ่ม (สำหรับ Testimonials) */
/* ================================================================ */

#testimonials {
    background-color:  #f8f9fa;
}

.testimonials-swiper {
    width: 100%;
    padding-bottom: 50px; /* Space for pagination */
}

.testimonial-card {
    background-color: #fff;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-icon {
    font-size: 4rem;
    color:  #c8102e;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
    color: #6c757d;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    margin: 0;
}

.author-title {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Swiper Pagination styling for testimonials */
#testimonials .swiper-pagination-bullet {
    background: #ccc !important;
}
#testimonials .swiper-pagination-bullet-active {
    background: #c8102e !important;
    width: 20px;
    border-radius: 5px;
}

/* ================================================================ */
/* END: ส่วนของ CSS ใหม่ที่ต้องเขียนเพิ่ม (สำหรับ Testimonials) */
/* ================================================================ */

/* ================================================================ */
/* START: ส่วนของ CSS ใหม่ที่ต้องเขียนเพิ่ม (สำหรับ Testimonials) */
/* ================================================================ */

#testimonials {
    background-color:  #f8f9fa;
}

.testimonials-swiper {
    width: 100%;
    padding-bottom: 50px; /* Space for pagination */
}

.testimonial-card {
    background-color: #fff;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-icon {
    font-size: 4rem;
    color:  #c8102e;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
    color: #6c757d;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    margin: 0;
}

.author-title {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Swiper Pagination styling for testimonials */
#testimonials .swiper-pagination-bullet {
    background: #ccc !important;
}
#testimonials .swiper-pagination-bullet-active {
    background:  #c8102e !important;
    width: 20px;
    border-radius: 5px;
}

/* ================================================================ */
/* END: ส่วนของ CSS ใหม่ที่ต้องเขียนเพิ่ม (สำหรับ Testimonials) */
/* ================================================================ */

.tex-underline {
    background-color: #f8f9fa;
    /* background-image: linear-gradient(to bottom, #f0c5c2ff, #ddaeaeff);
    box-sizing: border-box;  */
    display: inline-block;
  border-bottom: 3px solid red;
  padding-bottom: 4px; /* เว้นช่องระหว่างข้อความกับเส้น */
}
/* ============================================ */
/*       About Section with Features List       */
/* ============================================ */
.section-padding {
    padding: 100px 0;
}

/* --- Video Wrapper --- */
.about-video-wrapper {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Content Column --- */
.about-location-content {
    /* Styles for the entire content block on the right */
}

.location-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #212529; /* var(--dark-color) */
    margin-bottom: 1rem;
}

.location-header .text-secondary {
    line-height: 1.8;
}

/* --- Feature List Styles (The new UL) --- */
.feature-list {
    margin-top: 2rem !important; /* Ensure spacing from content above */
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background-color: #fff;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: all 0.3s ease;
    position: relative;
    border-left: 4px solid transparent; /* Prepare for hover effect */
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-left-color: #c8102e; /* var(--primary-color) */
}

.feature-icon {
    font-size: 1.8rem;
    color: #c8102e; /* var(--primary-color) */
    flex-shrink: 0;
    margin-top: 5px;
}

.feature-text strong {
    font-weight: 600;
    color: #212529; /* var(--dark-color) */
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.feature-text p {
    color: #6c757d; /* var(--secondary-color) */
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 991px) {
    .about-location-content {
        margin-top: 2rem;
    }
}
.vision-mission-text {
      font-size: 18px;
      color: #444;
      background: #fff;
      /* padding: 20px;
      border-radius: 10px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
    }
.text-quote-highlight  {
      color: rgba(247, 8, 8, 0.5);
      font-weight: 700;
      font-size:26px;
    }

  /* พื้นที่สำหรับการทำงานและการเติบโต */
    .work-growth-section {
  background: rgba(255, 255, 255, 0.15);      /* ขาวโปร่งแสงจางๆ */
  backdrop-filter: blur(10px);                 /* เบลอพื้นหลัง */
  -webkit-backdrop-filter: blur(10px);         /* รองรับ Safari */
  /* border-radius: 1.2rem;                        มุมโค้งนุ่มๆ */
  padding: 3rem 1.5rem;
  /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07); เงานุ่มๆ */
  margin: 1.5rem auto;
  /* max-width: 1200px;                            จำกัดความกว้าง */
}
  .slide-gallery-container {
    position: relative;
    overflow: hidden;
  }

  .slide-gallery {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 2rem;
  padding: 2rem 1rem;

  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: rgba(252, 142, 142, 0.15) transparent;
}

/* Chrome, Edge, Safari */
.slide-gallery::-webkit-scrollbar {
  height: 8px;  /* ความสูง scrollbar แนวนอน */
}

.slide-gallery::-webkit-scrollbar-track {
  background: transparent;
}

.slide-gallery::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.15); /* สีดำจาง */
  border-radius: 4px;
  border: 2px solid transparent; /* เว้นขอบบางๆ */
  background-clip: content-box;
}

.slide-gallery::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.3); /* เวลา hover ให้เข้มขึ้นนิดหน่อย */
}


  .slide-item {
    scroll-snap-align: center;
    flex: 0 0 auto;
    position: relative;
    width: 350px;
    aspect-ratio: 4/3;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .slide-item:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  }

  .slide-caption {
    position: absolute;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    color: white;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 600;
  }

  .arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.4); /* ขาวจางลง */
  border: none;
  color: rgba(211, 47, 47, 0.7); /* แดงจางลง */
  padding: 0.3rem 0.6rem; /* เล็กลง */
  font-size: 1.2rem; /* เล็กลง */
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease, color 0.3s ease;
  box-shadow: 0 0 5px rgba(211, 47, 47, 0.3);
}

.arrow-btn:hover {
  background: rgba(255, 255, 255, 0.7);
  color: rgba(211, 47, 47, 1); /* แดงเข้มเวลาฮอร์เวอร์ */
  box-shadow: 0 0 8px rgba(211, 47, 47, 0.6);
}

.arrow-left {
  left: 0.15rem;
}

.arrow-right {
  right: 0.15rem;
}
/* end พื้นที่สำหรับการทำงานและการเติบโต */

 /* บริการสำนักงานระดับ 5 ดาว */
  .five-star-section {
    /* max-width: 1100px; */
    margin: 0 auto;
    padding: 3rem 1rem;
    font-family: 'DBOzoneX', sans-serif;
    color: #222;
    
  }

  /* หัวข้อ+คำบรรยาย (บน) */
  .five-star-header {
    text-align: center;
    margin-bottom: 3rem;
  }
  .five-star-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }

  /* ดาว 5 ดวง ให้อยู่กลางและเว้นระยะ */
  .stars-wrapper {
    margin-bottom: 1.5rem;
  }
  .stars-wrapper svg {
    width: 32px;
    height: 32px;
    fill: #fbc02d;
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.25));
    margin: 0 4px;
    vertical-align: middle;
  }

  .five-star-header p {
    font-size: 1.25rem;
    color: #555;
    /* max-width: 700px; */
    margin: 0 auto;
    /* line-height: 1.6; */
  }

  /* ส่วนล่าง 2 คอลัมน์ */
  .five-star-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  /* คอลัมน์ภาพ */
  .five-star-image {
    flex: 1 1 320px;
    max-width: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
  }
  .five-star-image img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
  }
  .five-star-image:hover {
    transform: scale(1.03);
  }

  /* คอลัมน์เนื้อหา */
  .five-star-text {
    flex: 1 1 320px;
    max-width: 50%;
  }
  .five-star-text > div {
    margin-bottom: 2rem;
  }
  .five-star-text h4 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    font-weight: 700;
    color: #111;
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }
  .five-star-text h4 i {
    color: #ff4d4d;
    font-size: 1.4rem;
  }
  .five-star-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
  }

  /* Responsive: คอลัมน์ซ้อน */
  @media (max-width: 768px) {
    .five-star-content {
      flex-direction: column;
      gap: 2rem;
    }
    .five-star-image,
    .five-star-text {
      max-width: 100%;
    }
    .five-star-text h4 {
      font-size: 1.15rem;
    }
    .five-star-header h2 {
      font-size: 2.4rem;
    }
  }
.spec-list {
  flex: 1 1 320px;
  max-width: 50%;
}
/* end บริการสำนักงานระดับ 5 ดาว */

/* พัฒนาศักยภาพธุรกิจของคุณ */
.business-boost-section .shadow-sm {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.business-boost-section .shadow-sm:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08);
}
/* end พัฒนาศักยภาพธุรกิจของคุณ */

