/* _content/SuranareeAdmission/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-91jdtudbbj] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-91jdtudbbj] {
    flex: 1;
}

.sidebar[b-91jdtudbbj] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-91jdtudbbj] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-91jdtudbbj]  a, .top-row[b-91jdtudbbj]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-91jdtudbbj]  a:hover, .top-row[b-91jdtudbbj]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-91jdtudbbj]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-91jdtudbbj] {
        justify-content: space-between;
    }

    .top-row[b-91jdtudbbj]  a, .top-row[b-91jdtudbbj]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-91jdtudbbj] {
        flex-direction: row;
    }

    .sidebar[b-91jdtudbbj] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-91jdtudbbj] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-91jdtudbbj]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-91jdtudbbj], article[b-91jdtudbbj] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-91jdtudbbj] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-91jdtudbbj] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/SuranareeAdmission/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-b5u7udq2so] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-b5u7udq2so] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-b5u7udq2so] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-b5u7udq2so] {
    font-size: 1.1rem;
}

.bi[b-b5u7udq2so] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-b5u7udq2so] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-b5u7udq2so] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-b5u7udq2so] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-b5u7udq2so] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-b5u7udq2so] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-b5u7udq2so] {
        padding-bottom: 1rem;
    }

    .nav-item[b-b5u7udq2so]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-b5u7udq2so]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-b5u7udq2so]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-b5u7udq2so] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-b5u7udq2so] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-b5u7udq2so] {
        display: none;
    }

    .nav-scrollable[b-b5u7udq2so] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* _content/SuranareeAdmission/Components/Pages/Home.razor.rz.scp.css */
/* Container */
.landing-container[b-43f8ioa28u] {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    min-height: 100vh;
    padding: 20px;
}

/* Header */
header[b-43f8ioa28u] {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}
header[b-43f8ioa28u]::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(90deg, #42a5f5, #1e88e5, #1565c0);
}
.school-logo[b-43f8ioa28u] {
    width: 80px; height: 80px; margin: 0 auto 15px;
    background: linear-gradient(135deg, #42a5f5, #1e88e5);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 40px; color: white; font-weight: bold;
}
h1[b-43f8ioa28u] { color: #1565c0; font-weight: 700; margin-bottom: 10px; }
.subtitle[b-43f8ioa28u] { color: #64b5f6; font-weight: 300; font-size: 1.2rem; }

/* Dashboard & Stats */
.section-title[b-43f8ioa28u] {
    color: #1565c0;
    margin-bottom: 30px;
    font-weight: 700;       /* เพิ่มความหนาตัวอักษร */
    text-align: center;     /* <<< สั่งจัดกึ่งกลางตรงนี้ครับ */
    font-size: 2em;         /* ปรับให้ใหญ่ขึ้นให้สมดุล */
    position: relative;
}
.section-title[b-43f8ioa28u]::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #42a5f5;
    margin: 10px auto 0;
    border-radius: 2px;
}
.stats-grid[b-43f8ioa28u] {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px; margin-bottom: 40px;
}
.stat-card[b-43f8ioa28u] {
    background: white; border-radius: 20px; padding: 30px; text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); transition: transform 0.3s ease;
}
.stat-card:hover[b-43f8ioa28u] { transform: translateY(-8px); }
.stat-icon[b-43f8ioa28u] { font-size: 3em; margin-bottom: 15px; }
.stat-number[b-43f8ioa28u] { font-size: 3em; font-weight: 700; color: #1565c0; }
.stat-label[b-43f8ioa28u] { color: #666; }

/* Charts Container (Grid 2 คอลัมน์) */
.charts-container[b-43f8ioa28u] {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px; margin-bottom: 40px;
}
.chart-card[b-43f8ioa28u] {
    background: white; border-radius: 20px; padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.chart-title[b-43f8ioa28u] {
    color: #1565c0; font-size: 1.5em; margin-bottom: 25px;
    padding-bottom: 15px; border-bottom: 2px solid #e3f2fd;
}

/* Progress Bars */
.progress-item[b-43f8ioa28u] { margin-bottom: 20px; }
.progress-header[b-43f8ioa28u] { display: flex; justify-content: space-between; margin-bottom: 8px; font-weight: 500; }
.progress-bar-bg[b-43f8ioa28u] { height: 12px; background: #e3f2fd; border-radius: 10px; overflow: hidden; }
.progress-fill[b-43f8ioa28u] { height: 100%; background: linear-gradient(90deg, #42a5f5, #1e88e5); border-radius: 10px; }
.progress-fill.warning[b-43f8ioa28u] { background: linear-gradient(90deg, #fbc02d, #f57f17); } /* สีส้ม */
.progress-info[b-43f8ioa28u] { font-size: 0.9em; color: #666; text-align: right; margin-top: 5px; }

/* Timeline */
.timeline[b-43f8ioa28u] { position: relative; padding-left: 30px; }
.timeline[b-43f8ioa28u]::before {
    content: ''; position: absolute; left: 9px; top: 0; bottom: 0; width: 3px;
    background: linear-gradient(180deg, #42a5f5, #1e88e5, #e3f2fd);
}
.timeline-item[b-43f8ioa28u] { position: relative; margin-bottom: 25px; }
.timeline-dot[b-43f8ioa28u] {
    position: absolute; left: -27px; top: 5px; width: 16px; height: 16px;
    border-radius: 50%; background: #e3f2fd; border: 3px solid #90caf9; z-index: 1;
}
.timeline-item.completed .timeline-dot[b-43f8ioa28u] { background: #42a5f5; border-color: #1e88e5; }
.timeline-item.active .timeline-dot[b-43f8ioa28u] {
    background: #ffffff; border-color: #f57f17; box-shadow: 0 0 0 4px rgba(245, 127, 23, 0.2);
}
.timeline-content[b-43f8ioa28u] {
    background: #f8f9fa; padding: 15px; border-radius: 10px; border-left: 4px solid #90caf9;
}
.timeline-item.completed .timeline-content[b-43f8ioa28u] { border-left-color: #42a5f5; background: #e3f2fd; }
.timeline-item.active .timeline-content[b-43f8ioa28u] { border-left-color: #f57f17; background: #fff8e1; }

.timeline-date[b-43f8ioa28u] { font-size: 0.9em; color: #666; margin-bottom: 5px; }
.timeline-title[b-43f8ioa28u] { font-weight: 600; color: #333; font-size: 1.1em; }
.timeline-status[b-43f8ioa28u] { font-size: 0.85em; margin-top: 5px; font-weight: 500; }
.timeline-item.completed .timeline-status[b-43f8ioa28u] { color: #1e88e5; }
.timeline-item.active .timeline-status[b-43f8ioa28u] { color: #f57f17; }

/* Buttons */
.btn-custom[b-43f8ioa28u] {
    padding: 15px 40px; border-radius: 50px; text-decoration: none;
    font-weight: 600; font-size: 1.1rem; display: inline-block;
    transition: all 0.3s; border: none; cursor: pointer;
}
.btn-primary-custom[b-43f8ioa28u] {
    background: linear-gradient(135deg, #42a5f5, #1e88e5); color: white;
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}
.btn-secondary-custom[b-43f8ioa28u] {
    background: white; color: #1e88e5; border: 2px solid #1e88e5;
}
.btn-custom:hover[b-43f8ioa28u] { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
/* Footer */
.footer[b-43f8ioa28u] {
    background: white;
    border-radius: 20px;
    margin-top: 40px;
    padding: 30px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
}

.footer-content[b-43f8ioa28u] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e3f2fd;
}

.footer-brand[b-43f8ioa28u] {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo[b-43f8ioa28u] {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, #42a5f5, #1e88e5);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: white; font-weight: bold;
}

.footer-text h3[b-43f8ioa28u] {
    margin: 0;
    font-size: 1.2rem;
    color: #1565c0;
    font-weight: 700;
}

.footer-text p[b-43f8ioa28u] {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.footer-contact h4[b-43f8ioa28u] {
    color: #1565c0;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.footer-contact p[b-43f8ioa28u] {
    margin: 5px 0;
    color: #555;
    font-size: 0.95rem;
}

.footer-copyright[b-43f8ioa28u] {
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

/* ปรับให้ Responsive เวลาเปิดมือถือ */
@media (max-width: 768px) {
    .footer-content[b-43f8ioa28u] {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-brand[b-43f8ioa28u] {
        flex-direction: column;
    }
    
    .footer-contact[b-43f8ioa28u] {
        text-align: center;
        margin-top: 15px;
    }
}
/* --- ส่วนที่เพิ่มใหม่: Popular Programs --- */
.popular-programs[b-43f8ioa28u] {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-top: 40px;
}

.programs-grid[b-43f8ioa28u] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.program-card[b-43f8ioa28u] {
    background: linear-gradient(135deg, #f5f5f5, #fafafa);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.program-card:hover[b-43f8ioa28u] { transform: scale(1.05); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); }
.program-card.gold[b-43f8ioa28u] { border-color: #ffd700; background: linear-gradient(135deg, #fff9e6, #fffaf0); }
.program-card.silver[b-43f8ioa28u] { border-color: #c0c0c0; }
.program-card.bronze[b-43f8ioa28u] { border-color: #cd7f32; background: linear-gradient(135deg, #fff5e6, #fff8f0); }

.rank-badge[b-43f8ioa28u] { font-size: 2.5em; margin-bottom: 10px; }
.program-card h4[b-43f8ioa28u] { color: #1565c0; font-size: 1.2em; margin-bottom: 10px; font-weight: 600;}
.program-card p[b-43f8ioa28u] { color: #666; margin-bottom: 15px; font-size: 0.95em; }

/* --- ส่วนที่เพิ่มใหม่: Admission Plan (แผนการรับสมัคร) --- */
.admission-section[b-43f8ioa28u] { margin-top: 50px; }

.grade-cards[b-43f8ioa28u] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.grade-card[b-43f8ioa28u] {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.grade-header[b-43f8ioa28u] {
    background: linear-gradient(135deg, #42a5f5, #1e88e5);
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 25px;
    text-align: center;
}
.grade-header h3[b-43f8ioa28u] { margin: 0; font-size: 1.5em; }
.grade-header p[b-43f8ioa28u] { margin: 5px 0 0; opacity: 0.9; }

.category-title[b-43f8ioa28u] {
    color: #1565c0; font-size: 1.2em; margin-bottom: 15px;
    padding-bottom: 10px; border-bottom: 2px solid #e3f2fd; font-weight: 600;
}

.class-list[b-43f8ioa28u] { display: grid; gap: 15px; margin-bottom: 25px; }

.class-item-detailed[b-43f8ioa28u] {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #e3f2fd;
    transition: all 0.3s ease;
}

.class-item-detailed:hover[b-43f8ioa28u] {
    border-color: #42a5f5;
    background: white;
    box-shadow: 0 5px 15px rgba(66, 165, 245, 0.1);
}

.class-header[b-43f8ioa28u] {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid #eee;
}

.class-name[b-43f8ioa28u] { font-weight: 600; color: #1565c0; font-size: 1.05em; }
.class-quota[b-43f8ioa28u] {
    background: #42a5f5; color: white; padding: 4px 12px;
    border-radius: 20px; font-size: 0.85em;
}

.schedule-item[b-43f8ioa28u] {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.9em; color: #555; margin-bottom: 5px;
}
.schedule-item .icon[b-43f8ioa28u] { font-size: 1.1em; }

/* Timeline Note */
.timeline-note[b-43f8ioa28u] {
    background: #fff3cd; color: #856404;
    padding: 10px; border-radius: 8px; font-size: 0.9em;
    border-left: 4px solid #ffc107; margin-bottom: 15px;
}
/* --- CTA Section --- */
.cta-section[b-43f8ioa28u] {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center; /* สำคัญ: สั่งให้ข้อความอยู่ตรงกลาง [cite: 481] */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

.cta-buttons[b-43f8ioa28u] {
    display: flex;
    justify-content: center; /* จัดปุ่มให้อยู่กึ่งกลาง [cite: 487] */
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn[b-43f8ioa28u] {
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary[b-43f8ioa28u] {
    background: linear-gradient(135deg, #42a5f5, #1e88e5);
    color: white;
    box-shadow: 0 5px 20px rgba(30, 136, 229, 0.3);
}

.btn-secondary[b-43f8ioa28u] {
    background: white;
    color: #1e88e5;
    border: 2px solid #1e88e5;
}

/* --- Footer (แก้ให้ครบตามต้นฉบับ) --- */
footer[b-43f8ioa28u] {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-info[b-43f8ioa28u] {
    display: grid;
    /* แบ่งเป็นคอลัมน์อัตโนมัติ ให้ข้อมูลไม่เบียดกัน [cite: 533] */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 20px;
    margin-top: 20px;
    text-align: left; /* เนื้อหาข้างในชิดซ้าย */
}

.contact-item[b-43f8ioa28u] {
    padding: 15px;
    background: #e3f2fd;
    border-radius: 10px;
}

.contact-item strong[b-43f8ioa28u] {
    color: #1565c0;
    display: block;
    margin-bottom: 5px;
}

.copyright-area[b-43f8ioa28u] {
    margin-top: 30px;
    color: #999;
    border-top: 1px solid #e3f2fd;
    padding-top: 20px;
}

/* Responsive สำหรับมือถือ */
@media (max-width: 768px) {
    .cta-buttons[b-43f8ioa28u] {
        flex-direction: column;
    }
    
    .btn[b-43f8ioa28u] {
        width: 100%;
    }
}
/* Hero Section */
        .hero-section[b-43f8ioa28u] {
            background: linear-gradient(135deg, #1e88e5 0%, #1565c0 50%, #0d47a1 100%);
            border-radius: 30px;
            padding: 60px 40px;
            margin-bottom: 40px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(30, 136, 229, 0.4);
        }

        .hero-section[b-43f8ioa28u]::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            border-radius: 50%;
            animation: float-b-43f8ioa28u 6s ease-in-out infinite;
        }

        .hero-section[b-43f8ioa28u]::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -5%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
            border-radius: 50%;
            animation: float-b-43f8ioa28u 8s ease-in-out infinite reverse;
        }

        @keyframes float-b-43f8ioa28u {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(5deg); }
        }

        .hero-content[b-43f8ioa28u] {
            position: relative;
            z-index: 1;
            text-align: center;
            color: white;
        }

        .hero-title[b-43f8ioa28u] {
            font-size: 3.5em;
            font-weight: 700;
            margin-bottom: 20px;
            text-shadow: 0 4px 20px rgba(0,0,0,0.2);
            animation: slideInDown-b-43f8ioa28u 0.8s ease-out;
        }

        .hero-subtitle[b-43f8ioa28u] {
            font-size: 1.5em;
            margin-bottom: 15px;
            opacity: 0.95;
            animation: slideInUp-b-43f8ioa28u 0.8s ease-out 0.2s backwards;
        }

        .hero-description[b-43f8ioa28u] {
            font-size: 1.1em;
            opacity: 0.9;
            max-width: 800px;
            margin: 0 auto 30px;
            animation: slideInUp-b-43f8ioa28u 0.8s ease-out 0.4s backwards;
        }

        .hero-stats[b-43f8ioa28u] {
            display: flex;
            justify-content: center;
            gap: 40px;
            flex-wrap: wrap;
            margin-top: 40px;
            animation: slideInUp-b-43f8ioa28u 0.8s ease-out 0.6s backwards;
        }

        .hero-stat[b-43f8ioa28u] {
            text-align: center;
            padding: 20px 30px;
            background: rgba(255,255,255,0.15);
            border-radius: 15px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.2);
            transition: all 0.3s ease;
        }

        .hero-stat:hover[b-43f8ioa28u] {
            background: rgba(255,255,255,0.25);
            transform: translateY(-5px);
        }

        .hero-stat-number[b-43f8ioa28u] {
            font-size: 2.5em;
            font-weight: 700;
            display: block;
            margin-bottom: 5px;
        }

        .hero-stat-label[b-43f8ioa28u] {
            font-size: 1em;
            opacity: 0.9;
        }

        @keyframes slideInDown-b-43f8ioa28u {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideInUp-b-43f8ioa28u {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        /* จบHero Section */
        /* Features Section */
        .features-section[b-43f8ioa28u] {
            margin-bottom: 50px;
        }

        .features-grid[b-43f8ioa28u] {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
            margin-bottom: 40px;
        }

        .feature-card[b-43f8ioa28u] {
            background: white;
            border-radius: 20px;
            padding: 35px 25px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            position: relative;
            overflow: hidden;
        }

        .feature-card[b-43f8ioa28u]::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, #42a5f5, #1e88e5);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .feature-card:hover[b-43f8ioa28u] {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(30, 136, 229, 0.25);
        }

        .feature-card:hover[b-43f8ioa28u]::before {
            transform: scaleX(1);
        }

        .feature-icon[b-43f8ioa28u] {
            font-size: 4em;
            margin-bottom: 20px;
            display: inline-block;
            animation: bounce-b-43f8ioa28u 2s ease infinite;
        }

        @keyframes bounce-b-43f8ioa28u {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        .feature-card:hover .feature-icon[b-43f8ioa28u] {
            animation: pulse 0.5s ease;
        }

        .feature-title[b-43f8ioa28u] {
            color: #1565c0;
            font-size: 1.4em;
            font-weight: 600;
            margin-bottom: 15px;
        }

        .feature-description[b-43f8ioa28u] {
            color: #666;
            line-height: 1.6;
            font-size: 1em;
        }

        /* Video Section */
        .video-section[b-43f8ioa28u] {
            background: white;
            border-radius: 25px;
            padding: 50px 40px;
            margin-bottom: 50px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            text-align: center;
        }

        .video-container[b-43f8ioa28u] {
            position: relative;
            max-width: 900px;
            margin: 30px auto;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
        }

        .video-placeholder[b-43f8ioa28u] {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 */
            background: linear-gradient(135deg, #e3f2fd, #90caf9);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .play-button[b-43f8ioa28u] {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100px;
            height: 100px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .play-button:hover[b-43f8ioa28u] {
            transform: translate(-50%, -50%) scale(1.1);
            box-shadow: 0 15px 40px rgba(30, 136, 229, 0.4);
        }

        .play-button[b-43f8ioa28u]::after {
            content: '▶';
            font-size: 2.5em;
            color: #1e88e5;
            margin-left: 8px;
        }

        /* Testimonials Section */
        .testimonials-section[b-43f8ioa28u] {
            margin-bottom: 50px;
        }

        .testimonials-grid[b-43f8ioa28u] {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 25px;
        }

        .testimonial-card[b-43f8ioa28u] {
            background: white;
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            position: relative;
            transition: all 0.3s ease;
        }

        .testimonial-card[b-43f8ioa28u]::before {
            content: '"';
            position: absolute;
            top: 20px;
            left: 25px;
            font-size: 5em;
            color: #e3f2fd;
            font-family: Georgia, serif;
            line-height: 0.8;
        }

        .testimonial-card:hover[b-43f8ioa28u] {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(30, 136, 229, 0.2);
        }

        .testimonial-text[b-43f8ioa28u] {
            color: #555;
            line-height: 1.8;
            margin-bottom: 20px;
            position: relative;
            z-index: 1;
        }

        .testimonial-author[b-43f8ioa28u] {
            display: flex;
            align-items: center;
            gap: 15px;
            position: relative;
            z-index: 1;
        }

        .author-avatar[b-43f8ioa28u] {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: linear-gradient(135deg, #42a5f5, #1e88e5);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
            font-size: 1.2em;
        }

        .author-info[b-43f8ioa28u] {
            text-align: left;
        }

        .author-name[b-43f8ioa28u] {
            font-weight: 600;
            color: #1565c0;
            margin-bottom: 3px;
        }

        .author-role[b-43f8ioa28u] {
            font-size: 0.9em;
            color: #999;
        }

        /* Achievement Badges */
        .achievements-section[b-43f8ioa28u] {
            background: white;
            border-radius: 25px;
            padding: 40px;
            margin-bottom: 50px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        }

        .achievements-grid[b-43f8ioa28u] {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            margin-top: 30px;
        }

        .achievement-badge[b-43f8ioa28u] {
            text-align: center;
            padding: 25px;
            background: linear-gradient(135deg, #f5f5f5, #fafafa);
            border-radius: 15px;
            transition: all 0.3s ease;
            position: relative;
        }

        .achievement-badge:hover[b-43f8ioa28u] {
            background: linear-gradient(135deg, #e3f2fd, #f5f5f5);
            transform: scale(1.05);
        }

        .badge-icon[b-43f8ioa28u] {
            font-size: 3.5em;
            margin-bottom: 15px;
            display: inline-block;
            filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
        }

        .badge-title[b-43f8ioa28u] {
            font-weight: 600;
            color: #1565c0;
            margin-bottom: 8px;
        }

        .badge-description[b-43f8ioa28u] {
            font-size: 0.9em;
            color: #666;
        }

        .container[b-43f8ioa28u] {
            max-width: 1200px;
            margin: 0 auto;
        }
        /* --- Features Section (ทำไมต้องเลือกเรียนกับเรา) --- */
.features-grid[b-43f8ioa28u] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px;
}

.feature-card[b-43f8ioa28u] {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #eef2f6;
}

.feature-card:hover[b-43f8ioa28u] {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #42a5f5;
}

.feature-icon[b-43f8ioa28u] {
    font-size: 3em;
    margin-bottom: 15px;
    background: #e3f2fd;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.feature-title[b-43f8ioa28u] {
    color: #1565c0;
    font-size: 1.25em;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-description[b-43f8ioa28u] {
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
}

/* --- Programs Showcase (หลักสูตรห้องเรียนพิเศษ) --- */
.programs-grid-modern[b-43f8ioa28u] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 10px;
}

.program-card-modern[b-43f8ioa28u] {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border-left: 5px solid #1e88e5; /* แถบสีด้านซ้าย */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.program-card-modern:hover[b-43f8ioa28u] {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.program-card-modern h4[b-43f8ioa28u] {
    color: #333;
    font-size: 1.1em;
    font-weight: 700;
    margin: 10px 0;
}

.program-card-modern p[b-43f8ioa28u] {
    font-size: 0.9em;
    color: #666;
    margin: 0;
}

.card-icon[b-43f8ioa28u] {
    font-size: 2em;
    margin-bottom: 10px;
}

/* สำหรับการ์ดที่มี Logo (EP / Hub) */
.highlight-border[b-43f8ioa28u] {
    border-left-color: #fbc02d; /* สีเหลืองทอง */
    background: linear-gradient(to bottom right, #fff, #fffde7);
}

.card-img-placeholder[b-43f8ioa28u] {
    width: 60px;
    height: 60px;
    background: #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7em;
    color: #999;
    margin-bottom: 10px;
    border: 2px dashed #ccc;
}
/* ... (CSS เดิมที่มีอยู่) ... */

/* เพิ่ม Effect ให้การ์ดดูคลิกได้ */
.clickable[b-43f8ioa28u] {
    cursor: pointer;
    position: relative;
}
.clickable:active[b-43f8ioa28u] {
    transform: scale(0.98);
}

/* === Modal Styling === */
.modal-backdrop-custom[b-43f8ioa28u] {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); /* สีดำโปร่งแสง */
    z-index: 1040;
    backdrop-filter: blur(5px); /* เบลอฉากหลัง */
    animation: fadeIn-b-43f8ioa28u 0.3s;
}

.modal-content-custom[b-43f8ioa28u] {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 90%;
    max-width: 500px; /* ความกว้างสูงสุด */
    padding: 25px;
    border-radius: 20px;
    z-index: 1050;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    animation: slideUp-b-43f8ioa28u 0.3s;
}

.modal-header-custom[b-43f8ioa28u] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.modal-header-custom h3[b-43f8ioa28u] {
    margin: 0;
    color: #1565c0;
    font-size: 1.4em;
}

.close-btn[b-43f8ioa28u] {
    background: none; border: none;
    font-size: 2em; line-height: 0.8;
    cursor: pointer; color: #999;
}
.close-btn:hover[b-43f8ioa28u] { color: #333; }

/* Menu Grid ใน Modal */
.menu-grid[b-43f8ioa28u] {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-item-card[b-43f8ioa28u] {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 15px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
}

.menu-item-card:hover[b-43f8ioa28u] {
    background: white;
    border-color: #42a5f5;
    box-shadow: 0 5px 15px rgba(66, 165, 245, 0.15);
    transform: translateX(5px);
}

.menu-item-card.active[b-43f8ioa28u] {
    background: linear-gradient(135deg, #e3f2fd, #ffffff);
    border-color: #1e88e5;
}

.menu-icon[b-43f8ioa28u] {
    font-size: 2em;
    margin-right: 15px;
    width: 50px; text-align: center;
}

.menu-text strong[b-43f8ioa28u] {
    display: block;
    color: #333;
    font-size: 1.1em;
    margin-bottom: 3px;
}

.menu-text span[b-43f8ioa28u] {
    font-size: 0.9em;
    color: #666;
}

/* Animations */
@keyframes fadeIn-b-43f8ioa28u { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp-b-43f8ioa28u { from { transform: translate(-50%, -40%); opacity: 0; } to { transform: translate(-50%, -50%); opacity: 1; } }
/* --- Main Menu Grid (3 ปุ่มใหญ่) --- */
.menu-grid-large[b-43f8ioa28u] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.menu-card-large[b-43f8ioa28u] {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-decoration: none; /* สำหรับ tag <a> */
    color: inherit;
    display: block;
}

.menu-card-large:hover[b-43f8ioa28u] {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.menu-icon-large[b-43f8ioa28u] {
    font-size: 4em;
    margin-bottom: 20px;
}

.menu-card-large h3[b-43f8ioa28u] {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 10px;
}

.menu-card-large p[b-43f8ioa28u] {
    color: #666;
    font-size: 1em;
}

/* สีเฉพาะของแต่ละปุ่ม */
.menu-card-large.special[b-43f8ioa28u] {
    background: linear-gradient(135deg, #fff8e1 0%, #ffffff 100%);
    border-color: #ffe082;
}
.menu-card-large.special:hover[b-43f8ioa28u] { border-color: #ffca28; }
.menu-card-large.special h3[b-43f8ioa28u] { color: #f57f17; }

.menu-card-large.news[b-43f8ioa28u] {
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    border-color: #90caf9;
}
.menu-card-large.news:hover[b-43f8ioa28u] { border-color: #42a5f5; }
.menu-card-large.news h3[b-43f8ioa28u] { color: #1565c0; }

.menu-card-large.normal[b-43f8ioa28u] {
    background: linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
    border-color: #a5d6a7;
}
.menu-card-large.normal:hover[b-43f8ioa28u] { border-color: #66bb6a; }
.menu-card-large.normal h3[b-43f8ioa28u] { color: #2e7d32; }


/* --- Modal & Menu Items (ใช้ของเดิม หรือเพิ่มอันนี้) --- */
.menu-grid[b-43f8ioa28u] { display: flex; flex-direction: column; gap: 15px; }
.menu-item-card[b-43f8ioa28u] { 
    display: flex; align-items: center; padding: 20px; 
    background: #f8f9fa; border-radius: 15px; text-decoration: none; color: inherit; 
    border: 1px solid transparent; transition: all 0.2s; 
}
.menu-item-card:hover[b-43f8ioa28u] { background: white; border-color: #42a5f5; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.menu-item-card.active[b-43f8ioa28u] { background: #e3f2fd; border-color: #1976d2; }
.menu-icon[b-43f8ioa28u] { font-size: 2em; margin-right: 20px; width: 50px; text-align: center; }
.menu-text strong[b-43f8ioa28u] { display: block; font-size: 1.1em; margin-bottom: 4px; color: #333; }
.menu-text span[b-43f8ioa28u] { font-size: 0.9em; color: #666; }

/* Modal Backdrop */
.modal-backdrop-custom[b-43f8ioa28u] {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6); z-index: 1000;
    backdrop-filter: blur(5px);
}
.modal-content-custom[b-43f8ioa28u] {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: white; padding: 30px; border-radius: 25px;
    width: 90%; max-width: 500px; z-index: 1001;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    animation: slideUp-b-43f8ioa28u 0.3s;
}
.modal-header-custom[b-43f8ioa28u] { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.close-btn[b-43f8ioa28u] { background: none; border: none; font-size: 2em; cursor: pointer; color: #aaa; }
@keyframes slideUp-b-43f8ioa28u { from { transform: translate(-50%, -40%); opacity: 0; } to { transform: translate(-50%, -50%); opacity: 1; } }

/* --- New Section Header --- */
.section-header[b-43f8ioa28u] {
    position: relative;
    padding-bottom: 20px;
}

.badge-year[b-43f8ioa28u] {
    background: linear-gradient(135deg, #ff6f00, #ff8f00);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(255, 111, 0, 0.3);
    display: inline-block;
    margin-bottom: 10px;
}

.main-title[b-43f8ioa28u] {
    font-size: 2.2em;
    font-weight: 800;
    color: #1565c0; /* สีน้ำเงินโรงเรียน */
    margin-bottom: 5px;
}

/* ปุ่ม Action เล็กๆ ในการ์ด */
.btn-action[b-43f8ioa28u] {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    border-radius: 20px;
    background: rgba(0,0,0,0.05);
    color: #555;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.2s;
}

.menu-card-large:hover .btn-action[b-43f8ioa28u] {
    background: white;
    color: #1565c0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.hero-wrapper[b-43f8ioa28u] {
        position: relative; height: 100vh; width: 100%;
        display: flex; align-items: center; justify-content: center;
        overflow: hidden; color: white; text-align: center;
    }
    .hero-video[b-43f8ioa28u] {
        position: absolute; top: 0; left: 0; width: 100%; height: 100%;
        object-fit: cover; z-index: -2;
    }
    .hero-overlay[b-43f8ioa28u] {
        position: absolute; top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0, 30, 80, 0.6); /* สีน้ำเงินทึบแสง */
        z-index: -1;
        background: linear-gradient(to bottom, rgba(0,30,80,0.4), rgba(0,30,80,0.9));
    }
    .hero-content[b-43f8ioa28u] { z-index: 1; padding: 20px; }
    .school-logo-large[b-43f8ioa28u] {
        font-size: 80px; width: 120px; height: 120px; background: white; color: #1565c0;
        border-radius: 50%; display: flex; align-items: center; justify-content: center;
        margin: 0 auto 20px; box-shadow: 0 0 30px rgba(255,255,255,0.3); font-weight: bold;
    }
    .school-name[b-43f8ioa28u] { font-size: 3.5rem; font-weight: 800; margin-bottom: 10px; text-shadow: 0 4px 10px rgba(0,0,0,0.3); }
    .school-motto[b-43f8ioa28u] { font-size: 1.5rem; opacity: 0.9; margin-bottom: 30px; font-weight: 300; }
    .hero-badges[b-43f8ioa28u] { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; }
    .badge-item[b-43f8ioa28u] { background: rgba(255,255,255,0.2); padding: 5px 15px; border-radius: 20px; backdrop-filter: blur(5px); font-size: 0.9rem; border: 1px solid rgba(255,255,255,0.3); }
    
    .btn-scroll-down[b-43f8ioa28u] {
        background: #fbc02d; color: #333; border: none; padding: 12px 30px;
        border-radius: 50px; font-size: 1.1rem; font-weight: bold; cursor: pointer;
        transition: 0.3s; box-shadow: 0 4px 15px rgba(251, 192, 45, 0.4);
    }
    .btn-scroll-down:hover[b-43f8ioa28u] { transform: translateY(-3px); background: #ffca28; }

    /* 2. Menu Cards Modern */
    .landing-container[b-43f8ioa28u] { background: #f4f7f6; position: relative; z-index: 2; border-radius: 30px 30px 0 0; margin-top: -50px; padding-top: 60px; padding-bottom: 50px; }
    .section-container[b-43f8ioa28u] { max-width: 1200px; margin: 0 auto 60px; padding: 0 20px; }
    .menu-grid-large[b-43f8ioa28u] { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
    
    .menu-card-large[b-43f8ioa28u] {
        background: white; border-radius: 20px; padding: 40px 30px; text-align: left;
        position: relative; overflow: hidden; cursor: pointer;
        box-shadow: 0 10px 40px rgba(0,0,0,0.05); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        text-decoration: none; color: inherit; display: block; border: 1px solid rgba(0,0,0,0.03);
    }
    .menu-card-large:hover[b-43f8ioa28u] { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
    .menu-card-large .icon-wrapper[b-43f8ioa28u] { font-size: 3.5rem; margin-bottom: 20px; }
    .menu-card-large h3[b-43f8ioa28u] { font-size: 1.8rem; font-weight: 800; color: #1565c0; margin-bottom: 5px; }
    .menu-card-large p[b-43f8ioa28u] { color: #888; font-size: 1rem; }
    .hover-arrow[b-43f8ioa28u] {
        position: absolute; bottom: 30px; right: 30px; font-size: 1.5rem;
        color: #ddd; transition: 0.3s; transform: translateX(-10px); opacity: 0;
    }
    .menu-card-large:hover .hover-arrow[b-43f8ioa28u] { opacity: 1; transform: translateX(0); color: #1565c0; }

    /* Colors */
    .menu-card-large.special[b-43f8ioa28u] { border-bottom: 5px solid #fbc02d; }
    .menu-card-large.news[b-43f8ioa28u] { border-bottom: 5px solid #29b6f6; }
    .menu-card-large.normal[b-43f8ioa28u] { border-bottom: 5px solid #66bb6a; }

    /* 3. News Preview */
    .news-preview-section[b-43f8ioa28u] { max-width: 900px; margin: 0 auto 60px; padding: 0 20px; }
    .news-grid-horizontal[b-43f8ioa28u] { display: flex; flex-direction: column; gap: 15px; }
    .news-preview-card[b-43f8ioa28u] {
        display: flex; align-items: center; background: white; padding: 15px;
        border-radius: 15px; text-decoration: none; color: inherit;
        box-shadow: 0 5px 15px rgba(0,0,0,0.03); transition: 0.2s;
    }
    .news-preview-card:hover[b-43f8ioa28u] { transform: translateX(10px); background: #fcfcfc; }
    .news-date[b-43f8ioa28u] {
        background: #e3f2fd; color: #1565c0; padding: 10px; border-radius: 10px;
        text-align: center; min-width: 60px; margin-right: 20px;
    }
    .news-date .d[b-43f8ioa28u] { display: block; font-size: 1.4rem; font-weight: 800; line-height: 1; }
    .news-date .m[b-43f8ioa28u] { display: block; font-size: 0.7rem; text-transform: uppercase; }
    .news-info h4[b-43f8ioa28u] { margin: 0; font-size: 1.1rem; color: #333; }
    .cat-tag[b-43f8ioa28u] { font-size: 0.75rem; padding: 2px 8px; border-radius: 10px; margin-bottom: 5px; display: inline-block; background: #eee; color: #666; }

    /* 4. Stats Modern */
    .stats-section-modern[b-43f8ioa28u] {
        background: #1565c0; color: white; border-radius: 20px; margin: 0 20px; padding: 40px;
        display: flex; justify-content: space-around; align-items: center; text-align: center;
        box-shadow: 0 20px 40px rgba(21, 101, 192, 0.3);
    }
    .stat-num[b-43f8ioa28u] { font-size: 3rem; font-weight: 800; line-height: 1; margin-bottom: 5px; }
    .stat-label[b-43f8ioa28u] { font-size: 1rem; opacity: 0.8; }
    .stat-divider[b-43f8ioa28u] { width: 1px; height: 50px; background: rgba(255,255,255,0.2); }

    /* Mobile Responsive */
    @media (max-width: 768px) {
        .school-name[b-43f8ioa28u] { font-size: 2rem; }
        .stats-section-modern[b-43f8ioa28u] { flex-direction: column; gap: 30px; }
        .stat-divider[b-43f8ioa28u] { width: 50px; height: 1px; }
    }
    .top-nav-overlay[b-43f8ioa28u] {
        position: absolute;
        top: 30px;
        right: 40px;
        z-index: 100; /* ต้องมากกว่า video (z-index: -2) */
    }

    .btn-login-hero[b-43f8ioa28u] {
        background: rgba(255, 255, 255, 0.15); /* พื้นหลังโปร่งใส */
        backdrop-filter: blur(10px); /* เบลอพื้นหลังให้ดูหรู */
        border: 1px solid rgba(255, 255, 255, 0.4);
        color: white;
        padding: 10px 25px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 600;
        font-size: 1rem;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .btn-login-hero:hover[b-43f8ioa28u] {
        background: white;
        color: #1565c0; /* เปลี่ยนเป็นสีน้ำเงินเมื่อเอาเมาส์ชี้ */
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    }

    /* สำหรับมือถือ ปรับตำแหน่งนิดหน่อย */
    @media (max-width: 768px) {
        .top-nav-overlay[b-43f8ioa28u] {
            top: 20px;
            right: 20px;
        }
        .btn-login-hero[b-43f8ioa28u] {
            padding: 8px 15px;
            font-size: 0.9rem;
        }
    }
    .news-card:hover[b-43f8ioa28u] {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    }
    .badge[b-43f8ioa28u] {
        font-weight: 500;
        padding: 5px 10px;
        border-radius: 6px;
    }
/* _content/SuranareeAdmission/Components/Pages/Manuals.razor.rz.scp.css */
.manual-page-container[b-k7b9c2amva] {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding-bottom: 50px;
    font-family: 'Prompt', sans-serif;
}

/* Header */
.manual-header[b-k7b9c2amva] {
    background: white;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    position: relative;
}

.manual-header h1[b-k7b9c2amva] {
    color: #1565c0;
    font-weight: 700;
    margin-bottom: 5px;
}

.manual-header p[b-k7b9c2amva] {
    color: #666;
}

.btn-back[b-k7b9c2amva] {
    position: absolute;
    left: 30px;
    top: 30px;
    background: #f1f1f1;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    transition: all 0.2s;
}

.btn-back:hover[b-k7b9c2amva] {
    background: #e0e0e0;
    transform: translateX(-3px);
}

/* Content */
.section-block[b-k7b9c2amva] {
    background: rgba(255, 255, 255, 0.6);
    padding: 30px;
    border-radius: 20px;
    margin: 20px auto;
    max-width: 1000px;
}

.level-title[b-k7b9c2amva] {
    font-weight: 700;
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 5px solid;
}
.text-primary[b-k7b9c2amva] { color: #1565c0; border-color: #1565c0; }
.text-success[b-k7b9c2amva] { color: #2e7d32; border-color: #2e7d32; }

/* Grid */
.manual-grid[b-k7b9c2amva] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* Document Card */
.doc-card[b-k7b9c2amva] {
    display: flex;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 15px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.doc-card:hover[b-k7b9c2amva] {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #42a5f5;
}

.doc-card.highlight[b-k7b9c2amva] {
    background: linear-gradient(to right, #fff, #fffde7);
    border-left: 4px solid #fbc02d;
}

.doc-icon[b-k7b9c2amva] {
    font-size: 2.5em;
    margin-right: 20px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
}

.doc-info[b-k7b9c2amva] {
    flex: 1;
}

.doc-info h3[b-k7b9c2amva] {
    margin: 0;
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
}

.doc-info span[b-k7b9c2amva] {
    font-size: 0.85em;
    color: #777;
}

.doc-action[b-k7b9c2amva] {
    font-size: 0.9em;
    color: #1e88e5;
    font-weight: 600;
    padding: 5px 10px;
    background: #e3f2fd;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .btn-back[b-k7b9c2amva] {
        position: static;
        margin-bottom: 15px;
        display: block;
        width: 100%;
    }
}
