@charset "utf-8";

/* ใช้ฟอนต์หลัก */
* { font-family: 'Bai Jamjuree', sans-serif; }

/* Banner */
.header-parallax {
    height: 40vh; /* ความสูงกำลังดี */
    background-size: cover; background-position: center; background-attachment: fixed;
    display: flex; justify-content: center; align-items: center; text-align: center;
    position: relative; margin-bottom: 40px;
}
.header-parallax::before {
    content: ''; position: absolute; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.6);
}
.header-con { 
    position: relative; z-index: 1; color: #fff; padding: 30px 50px;
    background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 215, 0, 0.5); border-radius: 10px; 
}
.header-con h1 { 
    font-size: 2.5rem; font-weight: 700; margin-bottom: 5px; color: #FFD700;
}
.header-con p { font-size: 1.2rem; color: #ddd; margin: 0; letter-spacing: 2px; text-transform: uppercase; }

/* Section & Card */
.oit-section { margin-bottom: 40px; }

.oit-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Header ของการ์ด (แถบสีแดงเลือดหมู) */
.card-header-badge {
    background: linear-gradient(135deg, #5A0000, #3a0000);
    padding: 15px 30px;
    border-bottom: 4px solid #FFD700;
}
.card-header-badge h3 {
    margin: 0; color: #fff; font-size: 1.4rem; font-weight: 700;
}
.card-header-badge i { margin-right: 10px; color: #FFD700; }

/* เนื้อหาข้างใน */
.card-body-content { padding: 40px; }
.center-content { text-align: center; }

/* รูปภาพ Responsive */
.responsive-img {
    max-width: 100%; height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

/* Typography เนื้อหา */
.text-content h6 {
    font-size: 1.2rem; font-weight: 700; color: #5A0000;
    margin-top: 20px; margin-bottom: 15px;
    border-left: 5px solid #FFD700; padding-left: 10px;
}
.text-red { color: #8B0000; font-weight: bold; }
.link-gold { color: #B8860B; text-decoration: none; font-weight: 600; }
.link-gold:hover { text-decoration: underline; color: #FFD700; }

/* รายการ Bullet Point */
.custom-list { list-style: none; padding-left: 0; }
.custom-list li {
    position: relative; padding-left: 25px; margin-bottom: 10px; color: #444;
}
.custom-list li::before {
    content: '✔'; color: #28a745; font-weight: bold;
    position: absolute; left: 0;
}

/* Grid 5 สายงาน */
.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px; margin-top: 20px;
}
.job-item {
    background: #f9f9f9; padding: 20px; border-radius: 10px;
    border-left: 4px solid #5A0000;
    transition: 0.3s;
}
.job-item:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.job-item strong { display: block; color: #5A0000; font-size: 1.1rem; margin-bottom: 8px; }
.job-item p { margin: 0; font-size: 0.95rem; color: #555; }

/* ปุ่มดาวน์โหลด */
.download-list { display: flex; flex-direction: column; gap: 15px; }
.btn-download {
    display: inline-block; padding: 15px 25px;
    background: #f8f9fa; border: 1px solid #ddd; border-radius: 50px;
    color: #333; text-decoration: none; font-weight: 600;
    transition: 0.3s; width: 100%; text-align: left;
}
.btn-download:hover {
    background: #5A0000; color: #fff; border-color: #5A0000;
    padding-left: 35px;
}
.btn-download i { margin-right: 10px; font-size: 1.2rem; }

/* Mobile */
@media (max-width: 768px) {
    .header-con h1 { font-size: 1.8rem; }
    .card-body-content { padding: 20px; }
    .header-parallax { height: 30vh; }
}