@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.2rem; font-weight: 700; margin-bottom: 10px; color: #FFD700; }
.header-con p { font-size: 1.1rem; color: #ddd; margin: 0; letter-spacing: 1px; }

/* Card Section */
.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);
}
.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 h4 { margin: 0; color: #fff; font-size: 1.2rem; font-weight: 600; }
.card-header-badge i { margin-right: 10px; color: #FFD700; }
.card-body-content { padding: 30px; }
.center-content { text-align: center; }

/* Buttons & Links */
.btn-download-file {
    padding: 10px 15px; border-radius: 8px; font-weight: 600; font-size: 0.95rem;
    text-decoration: none; color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: 0.2s; width: 100%; margin-bottom: 10px;
}
.btn-pdf { background: #dc3545; border: 1px solid #c82333; }
.btn-pdf:hover { background: #b02a37; color: #fff; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(220,53,69,0.3); }
.btn-word { background: #0d6efd; border: 1px solid #0b5ed7; }
.btn-word:hover { background: #0a58ca; color: #fff; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(13,110,253,0.3); }

/* Service Card (For Grid Items) */
.service-card {
    background: #fff; border: 1px solid #eee; border-radius: 15px;
    overflow: hidden; text-align: center;
    transition: all 0.3s ease; height: 100%; 
    display: flex; flex-direction: column;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-color: #5A0000;
}
.service-icon-wrapper {
    height: 120px; 
    display: flex; align-items: center; justify-content: center;
    background: #fdfdfd; border-bottom: 1px solid #eee;
    transition: all 0.3s;
}
.service-icon-wrapper i { font-size: 4rem; color: #5A0000; transition: transform 0.3s; }
.service-card:hover .service-icon-wrapper { background: #FFD700; }
.service-card:hover .service-icon-wrapper i { transform: scale(1.1); }
.service-info { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.service-info h5 { font-weight: 700; color: #333; margin-bottom: 15px; font-size: 1.1rem; }

/* Image Gallery & Utils */
.shadow-img { box-shadow: 0 5px 20px rgba(0,0,0,0.1); border-radius: 10px; max-width: 100%; height: auto; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; }
.gallery-img { width: 100%; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: 0.3s; }
.gallery-img:hover { transform: scale(1.02); }
.full-width { grid-column: 1 / -1; }

/* Accordion Customization */
.accordion-button:not(.collapsed) {
    color: #5A0000; background-color: #fffbf0; font-weight: 700;
}
.accordion-button:focus { box-shadow: none; border-color: rgba(0,0,0,0.1); }
.list-group-item-action:hover { background-color: #f8f9fa; color: #5A0000; font-weight: 600; }