@charset "UTF-8";
:root {
    --default-font: "Poppins", system-ui, -apple-system, "Segoe UI",
        "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
        "Noto Color Emoji";
    --heading-font: "Poppins", sans-serif;
    --nav-font: "Poppins", sans-serif;
}
:root {
    --background-color: #ffffff;
    --default-color: #394450;
    --heading-color: #223a58;
    --accent-color: #136ad5;
    --surface-color: #ffffff;
    --contrast-color: #ffffff;
}

:root {
    --nav-color: rgba(255, 255, 255, 0.7);
    --nav-hover-color: #ffffff;
    --nav-mobile-background-color: #ffffff;
    --nav-dropdown-background-color: #ffffff;
    --nav-dropdown-color: #394450;
    --nav-dropdown-hover-color: #136ad5;
}

.light-background {
    --background-color: #f5faff;
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #060606;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #252525;
    --contrast-color: #ffffff;
}

.accent-background {
    --background-color: #136ad5;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --accent-color: #acd0fc;
    --surface-color: #4188de;
    --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/

html,
body {
    overflow-x: hidden;
    width: auto;
}

body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 25%);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
    --background-color: #136ad5;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --accent-color: #2e80e4;
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 15px 0;
    transition: all 0.5s;
    z-index: 997;
}

.header .logo {
    line-height: 1;
}

.header .logo img {
    max-height: 50px;
    border-radius: 50%;
    margin-right: 8px;
}

.header .logo h1 {
    font-size: 20px;
    margin: 0;
    font-weight: 700;
    color: var(--heading-color);
}

/* Tombol login / user profile */
.header .auth-btn {
    color: var(--contrast-color);
    background: var(--accent-color);
    font-size: 14px;
    padding: 8px 25px;
    margin-left: 30px;
    border-radius: 50px;
    transition: 0.3s;
    border: 2px solid color-mix(in srgb, var(--contrast-color), transparent 90%);
    text-transform: capitalize;
}

/* Hover effect */
.header .auth-btn:hover {
    color: var(--contrast-color);
    background: color-mix(in srgb, var(--contrast-color), transparent 90%);
}

/* Dropdown user */
.header .user-dropdown .dropdown-toggle::after {
    display: none; /* hilangkan caret default Bootstrap */
}

.header .user-dropdown .dropdown-menu {
    min-width: 180px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    font-size: 14px;
}

.header .user-dropdown .dropdown-menu .dropdown-item {
    padding: 10px 16px;
    transition: background 0.2s;
}

.header .user-dropdown .dropdown-menu .dropdown-item:hover {
    background: var(--accent-color);
    color: #fff;
}

/* Responsive kecil */
@media (max-width: 992px) {
    .header .auth-btn {
        margin-left: 15px;
        padding: 6px 18px;
        font-size: 13px;
    }
}

.scrolled .header {
    box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
    .navmenu {
        padding: 0;
    }

    .navmenu ul {
        margin: 0;
        padding: 0;
        display: flex;
        list-style: none;
        align-items: center;
    }

    .navmenu li {
        position: relative;
    }

    .navmenu > ul > li {
        white-space: nowrap;
        padding: 15px 14px;
    }

    .navmenu > ul > li:last-child {
        padding-right: 0;
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-color);
        font-size: 15px;
        padding: 0 2px;
        font-family: var(--nav-font);
        font-weight: 400;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
        position: relative;
    }

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        transition: 0.3s;
    }

    .navmenu > ul > li > a:before {
        content: "";
        position: absolute;
        height: 2px;
        bottom: -6px;
        left: 0;
        background-color: var(--nav-hover-color);
        visibility: hidden;
        width: 0px;
        transition: all 0.3s ease-in-out 0s;
    }

    .navmenu a:hover:before,
    .navmenu li:hover > a:before,
    .navmenu .active:before {
        visibility: visible;
        width: 100%;
    }

    .navmenu li:hover > a,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-hover-color);
    }

    .navmenu .dropdown ul {
        margin: 0;
        padding: 10px 0;
        background: var(--nav-dropdown-background-color);
        display: block;
        position: absolute;
        visibility: hidden;
        left: 14px;
        top: 130%;
        opacity: 0;
        transition: 0.3s;
        border-radius: 4px;
        z-index: 99;
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    }

    .navmenu .dropdown ul li {
        min-width: 200px;
    }

    .navmenu .dropdown ul a {
        padding: 10px 20px;
        font-size: 15px;
        text-transform: none;
        color: var(--nav-dropdown-color);
    }

    .navmenu .dropdown ul a i {
        font-size: 12px;
    }

    .navmenu .dropdown ul a:hover,
    .navmenu .dropdown ul .active:hover,
    .navmenu .dropdown ul .active,
    .navmenu .dropdown ul li:hover > a {
        color: var(--nav-dropdown-hover-color);
    }

    .navmenu .dropdown:hover > ul {
        opacity: 1;
        top: 100%;
        visibility: visible;
    }

    .navmenu .dropdown .dropdown ul {
        top: 0;
        left: -90%;
        visibility: hidden;
    }

    .navmenu .dropdown .dropdown:hover > ul {
        opacity: 1;
        top: 0;
        left: -100%;
        visibility: visible;
    }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
    .mobile-nav-toggle {
        color: var(--nav-color);
        font-size: 28px;
        line-height: 0;
        margin-right: 10px;
        cursor: pointer;
        transition: color 0.3s;
    }

    .navmenu {
        padding: 0;
        z-index: 9997;
    }

    .navmenu ul {
        display: none;
        list-style: none;
        position: absolute;
        inset: 60px 20px 20px 20px;
        padding: 10px 0;
        margin: 0;
        border-radius: 6px;
        background-color: var(--nav-mobile-background-color);
        border: 1px solid
            color-mix(in srgb, var(--default-color), transparent 90%);
        box-shadow: none;
        overflow-y: auto;
        transition: 0.3s;
        z-index: 9998;
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-dropdown-color);
        padding: 10px 20px;
        font-family: var(--nav-font);
        font-size: 17px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
    }

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: 0.3s;
        background-color: color-mix(
            in srgb,
            var(--accent-color),
            transparent 90%
        );
    }

    .navmenu a i:hover,
    .navmenu a:focus i:hover {
        background-color: var(--accent-color);
        color: var(--contrast-color);
    }

    .navmenu a:hover,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-dropdown-hover-color);
    }

    .navmenu .active i,
    .navmenu .active:focus i {
        background-color: var(--accent-color);
        color: var(--contrast-color);
        transform: rotate(180deg);
    }

    .navmenu .dropdown ul {
        position: static;
        display: none;
        z-index: 99;
        padding: 10px 0;
        margin: 10px 20px;
        background-color: var(--nav-dropdown-background-color);
        transition: all 0.5s ease-in-out;
    }

    .navmenu .dropdown ul ul {
        background-color: rgba(33, 37, 41, 0.1);
    }

    .navmenu .dropdown > .dropdown-active {
        display: block;
        background-color: rgba(33, 37, 41, 0.03);
    }

    .mobile-nav-active {
        overflow: hidden;
    }

    .mobile-nav-active .mobile-nav-toggle {
        color: #fff;
        position: absolute;
        font-size: 32px;
        top: 15px;
        right: 15px;
        margin-right: 0;
        z-index: 9999;
    }

    .mobile-nav-active .navmenu {
        position: fixed;
        overflow: hidden;
        inset: 0;
        background: rgba(33, 37, 41, 0.8);
        transition: 0.3s;
    }

    .mobile-nav-active .navmenu > ul {
        display: block;
    }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    padding-bottom: 50px;
    position: relative;
}

.footer .footer-top {
    padding-top: 50px;
    border-top: 1px solid
        color-mix(in srgb, var(--default-color), transparent 90%);
}



.footer .footer-about p {
    font-size: 14px;
    font-family: var(--heading-font);
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    margin-right: 10px;
    transition: 0.3s;
}

.footer .social-links a:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.footer h4 {
    font-size: 16px;
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
}

.footer .footer-links {
    margin-bottom: 30px;
}

.footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-links ul i {
    padding-right: 2px;
    font-size: 12px;
    line-height: 0;
}

.footer .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.footer .footer-links ul li:first-child {
    padding-top: 0;
}

.footer .footer-links ul a {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    display: inline-block;
    line-height: 1;
}

.footer .footer-links ul a:hover {
    color: var(--accent-color);
}

.footer .footer-contact p {
    margin-bottom: 5px;
}

.footer .copyright {
    padding-top: 25px;
    padding-bottom: 25px;
    background-color: color-mix(in srgb, var(--default-color), transparent 95%);
}

.footer .copyright p {
    margin-bottom: 0;
}

.footer .credits {
    margin-top: 6px;
    font-size: 13px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 25px 0;
    position: relative;
}

.page-title h1 {
    font-size: 24px;
    font-weight: 700;
}

.page-title .breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
}

.page-title .breadcrumbs ol li + li {
    padding-left: 10px;
}

.page-title .breadcrumbs ol li + li::before {
    content: "/";
    display: inline-block;
    padding-right: 10px;
    color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 60px 0;
    scroll-margin-top: 90px;
    overflow: clip;
}

@media (max-width: 1199px) {
    section,
    .section {
        scroll-margin-top: 66px;
    }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    text-align: center;
    padding-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    position: relative;
}

.section-title h2:before,
.section-title h2:after {
    content: "";
    width: 50px;
    height: 2px;
    background: var(--accent-color);
    display: inline-block;
}

.section-title h2:before {
    margin: 0 15px 10px 0;
}

.section-title h2:after {
    margin: 0 0 10px 15px;
}

.section-title p {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 20px;
    }

    .section-title h2:before,
    .section-title h2:after {
        content: "";
        width: 20px;
        height: 2px;
        background: var(--accent-color);
        display: inline-block;
    }
}

/*--------------------------------------------------------------
# Featured Courses Section
--------------------------------------------------------------*/
.featured-courses .course-card {
    background: var(--surface-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px
        color-mix(in srgb, var(--default-color), transparent 90%);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-courses .course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px
        color-mix(in srgb, var(--default-color), transparent 85%);
}

.featured-courses .course-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.featured-courses .course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-courses .course-image:hover img {
    transform: scale(1.05);
}

.featured-courses .course-image .badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-courses .course-image .badge.featured {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.featured-courses .course-image .badge.new {
    background: #28a745;
    color: white;
}

.featured-courses .course-image .badge.certificate {
    background: #ffc107;
    color: #212529;
}

.featured-courses .course-image .badge.popular {
    background: #ff6b35;
    color: white;
}

.featured-courses .course-image .price-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--heading-color);
    color: var(--contrast-color);
    padding: 8px 15px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
}

.featured-courses .course-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-courses .course-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.featured-courses .course-meta span {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 15px;
    font-weight: 500;
}

.featured-courses .course-meta span.level {
    background: color-mix(in srgb, var(--accent-color), transparent 85%);
    color: var(--accent-color);
}

.featured-courses .course-meta span.duration {
    background: color-mix(in srgb, var(--heading-color), transparent 85%);
    color: var(--heading-color);
}

.featured-courses h3 {
    margin-bottom: 15px;
    font-size: 20px;
    line-height: 1.3;
}

.featured-courses h3 a {
    color: var(--heading-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-courses h3 a:hover {
    color: var(--accent-color);
}

.featured-courses p {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.featured-courses .instructor {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.featured-courses .instructor .instructor-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.featured-courses .instructor .instructor-info h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--heading-color);
}

.featured-courses .instructor .instructor-info span {
    font-size: 12px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.featured-courses .course-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-top: 15px;
    border-top: 1px solid
        color-mix(in srgb, var(--default-color), transparent 90%);
}

.featured-courses .course-stats .rating {
    display: flex;
    align-items: center;
    gap: 3px;
}

.featured-courses .course-stats .rating i {
    color: #ffc107;
    font-size: 12px;
}

.featured-courses .course-stats .rating span {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    font-size: 12px;
    margin-left: 8px;
    font-weight: 500;
}

.featured-courses .course-stats .students {
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-courses .course-stats .students i {
    color: var(--accent-color);
    font-size: 14px;
}

.featured-courses .course-stats .students span {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    font-size: 12px;
    font-weight: 500;
}

.featured-courses .btn-course {
    display: inline-block;
    background: var(--accent-color);
    color: var(--contrast-color);
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: auto;
}

.featured-courses .btn-course:hover {
    background: color-mix(in srgb, var(--accent-color), black 10%);
    transform: translateY(-2px);
}

.featured-courses .more-courses {
    margin-top: 50px;
}

.featured-courses .more-courses .btn-more {
    display: inline-block;
    background: transparent;
    color: var(--accent-color);
    padding: 15px 40px;
    border: 2px solid var(--accent-color);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.featured-courses .more-courses .btn-more:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .featured-courses .course-image {
        height: 200px;
    }

    .featured-courses .course-content {
        padding: 20px;
    }

    .featured-courses h3 {
        font-size: 18px;
    }

    .featured-courses .course-stats {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* Event Detail Section - Modern React Style */
.event-detail-section {
    background: #f8fafc;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Event Poster Styling */
.event-poster {
    border-radius: 20px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    object-fit: cover;
    width: 100%;
}

.event-poster:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Speaker Box */
.speaker-box {
    background: #ffffff !important;
    border: 1px solid #e2e8f0;
    border-radius: 16px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.speaker-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s;
}

.speaker-box:hover::before {
    left: 100%;
}

.speaker-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.speaker-img {
    width: 60px;
    height: 60px;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.speaker-box:hover .speaker-img {
    transform: scale(1.1);
    border-color: #667eea;
}

/* Event Title */
.event-title {
    color: #1e293b;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.2;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Speaker Name and Title */
.speaker-box h6 {
    color: #334155;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.speaker-box small {
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Event Meta List */
.event-meta {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.04);
}

.event-meta li {
    color: #374151;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.event-meta li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.event-meta li:hover {
    background: #f8fafc;
    border-radius: 8px;
    transform: translateX(5px);
    padding-left: 1rem;
}

.event-meta i {
    width: 24px;
    height: 24px;
    text-align: center;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.event-meta strong {
    margin-right: 0.5rem;
    color: #1f2937;
    font-weight: 600;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.event-meta .meta-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

/* Event Description */
.event-description {
    color: #4b5563;
    font-size: 1.2rem;
    line-height: 1.7;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.04);
    font-weight: 400;
}

/* Buttons */
.btn {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 12px !important;
    padding: 1rem 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    font-size: 1rem;
}

.btn::before {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: #fff !important;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #5a6fd8 0%, #417090 100%) !important;
}

.event-detail-section > .container > .row {
    animation: fadeInUp 0.8s ease-out;
}

/* Button Container untuk Mobile */
@media (max-width: 768px) {
    .d-flex.justify-content-center {
        position: relative;
        width: 100vw;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .header .logo h1 {
        display: none;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .event-title {
        font-size: 2.2rem;
        margin-top: 1rem;
    }

    .event-poster {
        transform: none;
        border-radius: 16px !important;
        margin-bottom: 2rem;
    }

    .speaker-box {
        margin-bottom: 2rem;
        margin-top: 0 !important;
    }

    .speaker-box h6 {
        font-size: 1rem;
    }

    .speaker-box small {
        font-size: 0.85rem;
    }

    .event-meta {
        margin: 1.5rem 0;
    }

    .event-meta li {
        font-size: 1rem;
    }

    .event-meta strong {
        font-size: 1rem;
    }

    .event-description {
        font-size: 1.1rem;
        padding: 1.5rem;
    }

    .btn {
        width: calc(50% - 0.5rem);
        margin-bottom: 1rem;
        font-size: 0.85rem;
        padding: 1rem 0.5rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1;
    }

    .btn.me-2 {
        margin-right: 1rem !important;
    }

    .btn:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .event-detail-section {
        padding: 2rem 0;
    }

    .event-title {
        font-size: 1.9rem;
    }

    .event-meta li {
        font-size: 0.95rem;
        flex-direction: row;
        align-items: center;
        padding: 0.8rem 0;
        flex-wrap: nowrap;
    }

    .event-meta i {
        margin-bottom: 0;
        margin-right: 0.6rem;
        flex-shrink: 0;
        width: 20px;
        height: 20px;
        font-size: 1rem;
    }

    .event-meta strong {
        font-size: 0.9rem;
        margin-right: 0.4rem;
        flex-shrink: 0;
    }

    .event-meta .meta-content {
        font-size: 0.9rem;
    }

    .event-description {
        font-size: 1rem;
        padding: 1.25rem;
    }

    .speaker-img {
        width: 50px;
        height: 50px;
    }

    .speaker-box h6 {
        font-size: 0.95rem;
    }

    .speaker-box small {
        font-size: 0.8rem;
    }

    /* Button container memenuhi layar penuh */
    .d-flex.justify-content-center {
        position: relative;
        width: auto;
        box-sizing: border-box;
        display: flex !important;
        gap: 10px;
    }

    .btn {
        flex: 1;
        font-size: 0.8rem;
        padding: 1rem 0.25rem;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

/* Loading Animation untuk Gambar */
.event-poster,
.speaker-img {
    position: relative;
}

.event-poster::after,
.speaker-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: shimmer 2s infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

/* Floating Elements Effect */
.event-detail-section::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%
    );
    border-radius: 50%;
    top: 10%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

/* book */
/* Step indicator */
.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px; /* jarak antar step */
    flex-wrap: nowrap; /* jangan turun ke bawah */
    overflow-x: auto; /* biar bisa geser kalau layar kecil */
    padding: 0 10px;
}

.step {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #6c757d;
    flex-shrink: 0; /* jangan hilang */
}

.step span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    background: #dee2e6;
    color: #495057;
    font-weight: bold;
    font-size: 14px;
}

.step.active span {
    background: var(--accent-color, #0d6efd);
    color: #fff;
}
.step.done span {
    background: #28a745;
    color: #fff;
}

/* Mobile responsive */
@media (max-width: 576px) {
    .steps-container {
        gap: 10px;
    }
    .step {
        font-size: 12px;
    }
    .step span {
        width: 26px;
        height: 26px;
        font-size: 12px;
        margin-right: 6px;
    }
}

/* Form Booking */
#booking-create .form-group label {
    font-weight: 600;
    margin-bottom: 6px;
}

#booking-create .card {
    border-radius: 16px;
}

#booking-create button[type="submit"] {
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
}

.bank-card {
    border-radius: 12px;
    background: linear-gradient(135deg, #0c3b87, #1a73e8); /* khas BRI biru */
    color: #fff;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap; /* biar responsif kalau space sempit */
}

.bank-logo img {
    width: 80px;
    height: auto;
    border-radius: 8px;
    background: #fff;
    padding: 5px;
    object-fit: contain;
}

.bank-details {
    flex: 1; /* biar teks memenuhi sisa ruang */
}

.bank-details h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1rem;
}

.bank-details p {
    font-size: 15px;
    margin-bottom: 4px;
}

/* Copy button */
.copy-btn {
    border: none;
    background: #fff;
    color: #0c3b87;
    font-size: 14px;
    border-radius: 6px;
    padding: 4px 8px;
    transition: 0.2s;
}
.copy-btn:hover {
    background: #0c3b87;
    color: #fff;
}
.copy-success-text {
    font-size: 14px;
    animation: fadeInOut 2s ease;
}

/* Animation */
@keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Responsive for mobile */
@media (max-width: 576px) {
    .bank-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        text-align: left;
    }

    .bank-logo img {
        width: 60px; /* lebih kecil di hp */
        margin-bottom: 0.75rem;
    }

    .bank-details h5 {
        font-size: 0.95rem;
    }

    .bank-details p {
        font-size: 14px;
        word-break: break-word; /* jaga-jaga kalau nomor panjang */
    }

    .copy-btn {
        font-size: 13px;
        padding: 3px 6px;
    }
}

.btn-kusus {
    margin-bottom: 5px;
    display: inline-block;
    background-color: #0d6efd; /* warna biru bootstrap */
    color: #fff;
    font-size: 14px; /* sedikit kecil */
    font-weight: 500;
    padding: 6px 12px; /* ukuran compact */
    border-radius: 6px;
    text-decoration: none;
    transition: 0.2s ease-in-out;
    white-space: nowrap; /* biar teks tidak turun ke bawah */
}

.btn-kusus:hover {
    background-color: #0b5ed7; /* hover lebih gelap */
    color: #fff;
}

.btn-kusus i {
    font-size: 14px; /* kecilkan icon agar seimbang */
}

.btn-tiket {
    margin-bottom: 5px;
    display: inline-block;
    background-color: #0bd789; /* warna biru bootstrap */
    color: #fff;
    font-size: 14px; /* sedikit kecil */
    font-weight: 500;
    padding: 6px 12px; /* ukuran compact */
    border-radius: 6px;
    text-decoration: none;
    transition: 0.2s ease-in-out;
    white-space: nowrap; /* biar teks tidak turun ke bawah */
}

.btn-tiket:hover {
    background-color: #0dc57f; /* hover lebih gelap */
    color: #fff;
}

.btn-tiket i {
    font-size: 14px; /* kecilkan icon agar seimbang */
}

/* Responsif untuk layar kecil */
@media (max-width: 576px) {
    .btn-kusus {
        font-size: 12px;
        padding: 5px 10px;
        border-radius: 4px;
    }
    .btn-kusus i {
        font-size: 12px;
        margin-right: 4px;
    }
}

.whatsapp-banner {
    background: linear-gradient(135deg, #e6ece8, #cacecd);
    color: #fff;
    border-radius: 20px;
    text-align: center;       /* pastikan isi rata tengah */
    padding: 20px;
}

.whatsapp-banner h4 {
    font-size: 1.5rem;
    color: #000; /* biar kontras, opsional */
}

.whatsapp-banner p {
    font-size: 1rem;
    opacity: 0.9;
    color: #000; /* opsional agar lebih terbaca */
}

/* Tombol WhatsApp */
.whatsapp-banner .btn {
    background-color: #fff !important;
    color: #128c7e !important;
    font-weight: bold;
    border-radius: 50px;
    padding: 12px 25px;
    transition: 0.3s;
    display: inline-block;
    white-space: nowrap;   /* cegah teks pecah aneh */
    max-width: 100%;       /* biar tidak overflow */
}

/* Hover effect */
.whatsapp-banner .btn:hover {
    background-color: #f1f1f1 !important;
    transform: scale(1.05);
}

/* Responsive untuk mobile */
@media (max-width: 576px) {
    .whatsapp-banner .btn {
        display: block;
        width: 100%;     /* isi penuh layar */
        text-align: center;
        font-size: 1rem;
    }
}

