@charset "utf-8";

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

/* 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);
}

.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; }

/* Text & Buttons */
.text-red { color: #8B0000; font-weight: bold; margin-bottom: 15px; }
.text-content { font-size: 1.05rem; line-height: 1.8; color: #555; text-align: justify; }

.social-links { display: flex; gap: 15px; flex-wrap: wrap; }
.btn-social {
    display: inline-flex; align-items: center; padding: 12px 25px;
    border-radius: 50px; text-decoration: none; color: #fff; font-weight: 600;
    transition: transform 0.2s;
}
.btn-social:hover { transform: translateY(-3px); color: #fff; }
.btn-social i { margin-right: 10px; font-size: 1.2rem; }

.fb { background: #1877F2; box-shadow: 0 4px 10px rgba(24, 119, 242, 0.3); }
.line { background: #06C755; box-shadow: 0 4px 10px rgba(6, 199, 85, 0.3); }

/* Images */
.responsive-img { width: 100%; height: auto; border-radius: 10px; }
.shadow-img { box-shadow: 0 5px 20px rgba(0,0,0,0.15); border: 1px solid #eee; }

/* Grid สำหรับ EIT & No Gift */
.eit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-content: center;
}
.eit-item {
    background: #fcfcfc; padding: 15px;
    border-radius: 10px; border: 1px solid #eee;
    transition: transform 0.3s;
}
.eit-item:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.eit-item img { width: 100%; height: auto; border-radius: 5px; margin-bottom: 15px; }
.eit-item p { font-weight: bold; color: #5A0000; margin: 0; }

/* Responsive */
@media (max-width: 768px) {
    .header-con h1 { font-size: 1.6rem; }
    .card-body-content { padding: 20px; }
    .eit-grid { grid-template-columns: 1fr; }
}