* {
    font-family: "Prompt", sans-serif!important;
}

.container {
    max-width: 1400px;
}


/* Banner */

.hero-banner {
    background-image: url('https://edu.rru.ac.th/assets/img/bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 50vh;
}

.subpage-banner {
    background-image: url('https://edu.rru.ac.th/wp-content/uploads/2025/08/480105629_1092587976214246_3980109922290599782_n.jpg');
    background-size: cover;
    background-position: center;
    min-height: 50px;
}

.hero-overlay {
    background-color: #26692899;
    /* ปรับสีและความโปร่งแสง */
}

.hero-banner h1,
.hero-banner p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}


/* Banner หน้าแรก */


/* Submenu */

.dropdown-menu {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 5px 0;
    /* margin-top: 5px; */
}

.dropdown-item {
    color: #333;
    padding: 8px 16px;
    transition: color 0.2s ease;
}

.dropdown-item:hover {
    background-color: transparent;
    color: #26692899;
}


/* Hover บน Desktop */

@media (min-width: 992px) {
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}


/* Navbar */


/* อนิเมชั่น Navbar */

#mainNavbar {
    transition: all 0.3s ease;
}

#mainNavbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff !important;
}


/* อนิเมชั่น Navbar */


/* Timeline Css */

.timeline {
    border-left: 1px solid hsl(0, 0%, 90%);
    position: relative;
    list-style: none;
}

.timeline .timeline-item {
    position: relative;
}

.timeline .timeline-item:after {
    position: absolute;
    display: block;
    top: 0;
}

.timeline .timeline-item:after {
    background-color: hsl(0, 0%, 90%);
    left: -38px;
    border-radius: 50%;
    height: 11px;
    width: 11px;
    content: "";
}


/* Timeline Css */


/* link เอฟเฟ็ค */

.navbar .nav-link {
    color: #333 !important;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover {
    color: #26692899 !important;
}

.nav-item .nav-link:hover {
    color: #26692899 !important;
}

.nav-link.active {
    color: #26692899 !important;
    font-weight: 600;
}


/* Dropdown Menu */

.dropdown-menu {
    border: 1px solid #eee;
    padding: 0;
}


/* Dropdown Item */

.dropdown-item {
    color: #333;
    padding: 12px 20px;
    transition: all 0.3s;
    position: relative;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #26692899;
}


/* Active Dropdown Item - เส้นใต้ */

.dropdown-item.active {
    background-color: transparent;
    color: #26692899;
    font-weight: 500;
}


/* link เอฟเฟ็ค */