/* นำเข้าฟอนต์ Sarabun */
@import url('https://fonts.googleapis.com/css2?family=Sarabun:wght@300;400;500;700&display=swap');

:root {
    --primary: #002244;
    --secondary: #004080;
    --accent: #D4AF37;
    --text-color: #333333;
    --bg-light: #f9f9f9;
}

body {
    font-family: 'Sarabun', sans-serif;
    color: var(--text-color);
    line-height: 1.5;
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary);
}

p {
    margin-bottom: 1rem;
    text-align: left;
    font-size: 16px;
    line-height: 1.6;
}

/* --- Top Bar & Navbar --- */
.top-bar { background-color: var(--primary); color: #ffffff; font-size: 14px; padding: 10px 0; }
.top-bar a { color: #ffffff; text-decoration: none; transition: 0.3s; }
.top-bar a:hover { color: var(--accent); }
.navbar { padding: 15px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.1); background: #fff; }
.navbar-brand { font-size: 26px; font-weight: 700; color: var(--primary); }
.navbar-brand span { color: var(--accent); }
.nav-link { color: var(--primary) !important; font-weight: 500; font-size: 16px; margin: 0 8px; transition: 0.3s; }
.nav-link:hover, .nav-link.active { color: var(--accent) !important; }

/* --- Hero Banner --- */
.hero-banner { 
    width: 100%; 
    min-height: 70vh; /* ปรับเป็น vh เพื่อให้ยืดหยุ่นตามความสูงของหน้าจอ */
    background-image: url('image/header01.png'); 
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover; 
}
@media (max-width: 991px) { 
    .hero-banner { 
        min-height: 40vh; /* ปรับสัดส่วนให้พอดีกับมือถือและแท็บเล็ต */
        aspect-ratio: 16 / 9; 
    } 
}

/* --- About Section --- */
.about-section { padding: 80px 0; }
.about-header-img { width: 100%; max-width: 100%; margin-bottom: 25px; display: block; }
.about-title { font-size: 32px; position: relative; display: inline-block; margin-bottom: 25px; }
.about-title::after { content: ''; position: absolute; width: 60px; height: 4px; background: var(--accent); bottom: -10px; left: 0; }

/* --- Vision & Mission --- */
.vision-section { padding: 60px 0 80px 0; }
.history-header-img { width: 100%; max-width: 500px; display: block; }
/* ปรับสีส้มให้เข้มขึ้นเล็กน้อยเพื่อ Contrast ที่ดีขึ้น (อ่านง่ายขึ้น) */
.vision-text { color: #C05A15; font-size: 22px; font-weight: 500; line-height: 1.6; } 
.mission-title { font-size: 24px; margin-top: 30px; margin-bottom: 15px; }
.mission-list { padding-left: 20px; }
.mission-list li { margin-bottom: 15px; line-height: 1.6; }

/* --- Meet The Team --- */
.team-member-card {
    background: #ffffff; padding: 10px 15px; border-radius: 8px; margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); display: flex; transition: 0.3s;
}
.team-img { flex-shrink: 0; width: 80px; height: 100px; border-left: 5px solid var(--accent); overflow: hidden; margin-right: 15px; }
.team-img img { width: 100%; height: 100%; object-fit: cover; }
.team-info { display: flex; flex-direction: column; justify-content: center; }
.team-role-th { font-size: 16px; margin-bottom: 0; }
.team-role-en { font-size: 12px; color: #6c757d; font-style: italic; margin-bottom: 4px; }
.team-name { font-size: 15px; margin-bottom: 2px; }
.team-desc { font-size: 12px; line-height: 1.3; color: #555; }

/* --- Our Services (Hexagon) --- */
.bg-light-blue { background-color: #F4F9FF !important; }
.service-hex-col { border: 1px solid #f0f0f0; transition: 0.4s; }
.service-hex-content { padding: 40px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hexagon-wrapper {
    width: 200px; height: 175px; margin-bottom: 25px;
    filter: drop-shadow(0 8px 15px rgba(0,34,68,0.12));
    display: flex; justify-content: center; align-items: center;
}
.hexagon-img-rounded {
    width: 100%; height: 100%; object-fit: cover; display: block;
    clip-path: url(#rounded-hexagon); -webkit-clip-path: url(#rounded-hexagon);
}
.service-hex-icon { font-size: 36px; color: var(--accent); margin-bottom: 15px; }
.service-hex-title { font-size: 17px; min-height: 50px; line-height: 1.4; margin-bottom: 18px; color: var(--primary); }
/* นำ text-indent ออก เพื่อให้ข้อความอยู่ตรงกลางและอ่านง่ายขึ้น */
.service-hex-text p { font-size: 14px; color: #555; margin-bottom: 0; }
.service-hex-col:hover { transform: translateY(-10px); z-index: 5; background-color: #ffffff !important; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

/* --- Footer --- */
.footer { background: #111; color: #bbb; padding: 70px 0 30px; }
.footer-title { color: #fff; font-size: 18px; margin-bottom: 25px; }
.footer-bottom { background: #000; padding: 20px 0; font-size: 14px; color: #777; }

/* --- Sidebar Offcanvas --- */
.offcanvas { background-color: var(--primary) !important; width: 280px !important; }
.offcanvas-body .nav-link { color: #fff !important; padding: 15px 20px !important; border-bottom: 1px solid rgba(255,255,255,0.05); }

