/* Custom CSS for UXD Talks - Tailwind-inspired Colors & Overrides */

/* Color Variables */
:root {
    --black-custom: #040303;
    --red-cmyk-custom: #ef001a;
    --eggshell-custom: #f0f0f0;
    --pigment-green-custom: #47a025;
    --dark-spring-green-custom: #306b34;

    /* Bootstrap Overrides */
    --bs-primary: #F5C518; /* UXD Primary Yellow */
    /* OLD primary override removed --bs-primary was red-cmyk */
    --bs-secondary: var(--dark-spring-green-custom); /* Using Dark Spring Green for secondary actions */
    --bs-success: var(--pigment-green-custom); /* For online indicators */
    --bs-dark: var(--black-custom); /* For navbar, footer */
    --bs-body-color: var(--black-custom); /* Default text color */
    --bs-body-bg: var(--eggshell-custom); /* Background color */
	
	/* NEW: Custom Form Design Variables */
        --app-input-bg: #ffffff;
        --app-input-border: #dcdcdc;
        --app-input-border-focus: var(--bs-primary);
        --app-input-placeholder: #a0a0a0;
        --app-input-text: var(--black-custom);
        --app-input-padding-y: 0.75rem;
        --app-input-padding-x: 1rem;
        --app-input-border-radius: 8px;
        --app-invalid-color: #F5C518;

    /* Font Families */
    /* Font Sizes (Desktop) */
    /* Line Heights */
    /* Letter Spacing */
}

body {
    letter-spacing: 0.01em;
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
}
}

h2 {
    line-height: 1.12;
    letter-spacing: -0.025em;
}
h3 {
    line-height: 1.18;
    letter-spacing: -0.015em;
}
h4 {
    line-height: 1.25;
    letter-spacing: -0.01em;
}
h5 {
    line-height: 1.3;
}
h6 {
    font-weight: 500;
    line-height: 1.35;
}

h5, .h5 { font-size: 1.125rem; }
h6, .h6 { font-size: 1rem; }

/* Custom Bootstrap Classes using variables */
.bg-dark-custom {
    background-color: var(--black-custom) !important;
}

.text-eggshell-custom {
    color: var(--eggshell-custom) !important;
}

.text-primary-custom {
    color: #F5C518 !important;
}

.text-black-custom {
    color: var(--black-custom) !important;
}

.btn-primary-custom {
    background-color: #F5C518;
    color: var(--black-custom); /* Text color for CTA */
    border-color: #F5C518;
}

.btn-primary-custom:hover {
    background-color: #E0B000; /* Slightly darker red on hover */
    border-color: #E0B000;
    color: var(--black-custom);
}

.btn-outline-primary-custom {
    color: #F5C518;
    border-color: #F5C518;
}

.btn-outline-primary-custom:hover {
    background-color: #F5C518;
    color: var(--eggshell-custom);
}

.btn-secondary-custom {
    background-color: var(--dark-spring-green-custom);
    color: var(--eggshell-custom);
    border-color: var(--dark-spring-green-custom);
}

.btn-secondary-custom:hover {
    background-color: #245227; /* Slightly darker green on hover */
    border-color: #245227;
    color: var(--eggshell-custom);
}

.bg-success-custom {
    background-color: var(--pigment-green-custom) !important;
}

.bg-danger-custom {
    background-color: var(--dark-spring-green-custom) !important; /* Using dark spring green for offline badge */
}

.text-primary-custom {
    color: #F5C518 !important;
}


/* Navbar Enhancements */
.navbar {
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(4, 3, 3, 0.95) !important; /* Slightly more opaque when scrolled */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.8rem;
}
.navbar-brand img{
    width:9rem;
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: flex; /* Ensures it can center its content (the carousel) */
    align-items: center; /* Centers the carousel vertically */
    justify-content: center; /* Centers the carousel horizontally */
    background-color: var(--black-custom);
}

/* Owl Carousel specific adjustments within hero */
.hero-carousel .item {
    min-height: 80vh; /* Set a minimum height for each carousel slide */
    position: relative; /* Crucial for internal positioning context */
    overflow: hidden; /* Ensures contained content doesn't spill out */
    display: flex; /* Make the item a flex container */
    flex-direction: column; /* Stack content if needed, though row will take over */
    justify-content: center; /* Vertically center the content inside the item */
}

/* Ensure the Bootstrap row inside the carousel item fills its height */
.hero-carousel .item > .row {
    height: 100%; /* Makes the row take the full height of its parent .item */
    width: 100%; /* Ensure row takes full width */
    margin: 0; /* Remove default row margins if any */
}

/* Styling for the image within the new column layout */
.hero-carousel .item .hero-column-img {
    width: 100%;
    height: 400px; /* Make image fill the height of its column */
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for better text readability */
    display: block; /* Ensures it behaves as a block element */
}

/* Your existing CSS for other elements below, ensuring .carousel-caption is removed */

/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center; /* Centers the carousel vertically within the hero-section */
    justify-content: center;
    background-color: var(--black-custom);
}

/* Owl Carousel specific adjustments within hero */
.hero-carousel .item {
    min-height: 80vh; /* Set a minimum height for each carousel slide */
    position: relative;
    overflow: hidden;
    /* IMPORTANT: Removed previous 'display: flex', 'flex-direction', 'justify-content' from here. */
    /* The item's height is defined, and the inner row/columns will handle the flex layout. */
}

/* Ensure the Bootstrap row inside the carousel item fills its height */
.hero-carousel .item > .row {
    height: 100%; /* Makes the row take the full height of its parent .item */
    width: 100%; /* Ensure row takes full width */
    margin: 0; /* Remove default row margins if any */
}

/* Explicitly make columns fill parent height and center their content */
.hero-carousel .item > .row > .col-lg-8,
.hero-carousel .item > .row > .col-lg-4 {
    height: 100%; /* Ensure both columns fill the height of the row */
    display: flex; /* Make columns flex containers */
    align-items: center; /* Vertically center their direct content (caption div or image) */
    /* For the image column, this will center the image if it doesn't stretch (but it should due to img:100%) */
    /* For the text column, this will center the text-start div */
}

/* Styling for the image within the new column layout */
.hero-carousel .item .hero-column-img {
    width: 100%;
    height: 400px; /* Make image fill the height of its column */
    object-fit: cover; /* Ensures image covers the area, cropping if necessary */
    filter: brightness(0.5); /* Darken image for better text readability */
    display: block; /* Ensures it behaves as a block element */
}

/* --- Keep the rest of your CSS as is --- */

/* Hero Section Headers */
.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-section .lead {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Event Details Meta in Hero */
.event-details-meta {
    gap: 2rem;
    margin-bottom: 2rem;
    padding-left: 0;
    justify-content: flex-start;
}

.event-details-meta .event-meta-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: auto;
    color: var(--eggshell-custom);
    background-color: rgba(4, 3, 3, 0.7);
    padding:0.5rem;
}

.event-details-meta .content-box {
    align-items: flex-start;
    width: 100%;
}

.event-details-meta .content-box small {
    font-size: 0.75rem;
    opacity: 0.8;
}

.event-details-meta .content-box span {
    font-size: 1rem;
    line-height: 1.3;
}

/* Owl Carousel Navigation (Arrows, Dots) styling */
.owl-theme .owl-nav {
    margin-top: 10px;
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.owl-theme .owl-nav [class*='owl-'] {
    color: var(--eggshell-custom);
    font-size: 3rem;
    margin: 0;
    padding: 0 10px;
    background: none;
    border: none;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.owl-theme .owl-nav [class*='owl-']:hover {
    opacity: 1;
    background: none;
}

.owl-theme .owl-dots {
    text-align: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
    left: 0;
}

.owl-theme .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    margin: 5px 7px;
    background: var(--eggshell-custom);
    border: 2px solid var(--eggshell-custom);
    opacity: 0.6;
    transition: all 0.2s ease;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: #F5C518;
    border-color: #F5C518;
    opacity: 1;
}

/* Countdown Timer */
.countdown-timer {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-top: 1.5rem;
    color: var(--eggshell-custom);
}

.countdown-timer .countdown-digit {
    font-size: 2.5rem;
    line-height: 1;
}

.countdown-timer .countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    display: block;
    margin-top: 5px;
    font-weight: 400;
}

/* Event Cards */
.event-card-wrapper .card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.event-card-wrapper .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.event-card-wrapper .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Completed Event Styling */
.completed-event-card .grayscale {
    filter: grayscale(100%);
    opacity: 0.7;
}

.completed-event-card .card-title,
.completed-event-card .card-text {
    color: #6c757d !important;
}

/* Custom 404 Page */
.page-404 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--eggshell-custom);
    color: var(--black-custom);
    text-align: center;
}

.page-404 h1 {
    font-size: 6rem;
    font-weight: bold;
    color: #F5C518;
    margin-bottom: 0.5rem;
}

.page-404 p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) { /* Medium devices and below */
    .navbar-collapse {
        background-color: var(--black-custom);
        padding: 1rem;
        margin-top: 10px;
        border-radius: 5px;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section .lead {
        font-size: 1.2rem;
    }
    /* Responsive adjustment for padding if needed, but not position */
    .hero-carousel .item .col-lg-8 .text-start {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    /* Force event details meta to stack on medium devices and below */
    .event-details-meta {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 1rem;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .event-details-meta .event-meta-item {
        width: 100%;
    }
}

@media (max-width: 767.98px) { /* Small devices and below */
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section .lead {
        font-size: 1rem;
    }
    .countdown-timer {
        gap: 10px;
        justify-content: flex-start; /* Ensure left-aligned */
    }
    .countdown-timer .countdown-digit {
        font-size: 2rem;
    }
    .page-404 h1 {
        font-size: 4rem;
    }
    .page-404 p {
        font-size: 1.2rem;
    }
    /* Hide owl nav arrows on very small screens */
    .owl-theme .owl-nav {
        display: none;
    }
}


        /* --- HERO SECTION STYLES --- */
        .event-detail-hero {
            position: relative;
            min-height: 60vh;
            /* Increased height for better visual impact */
            display: flex;
            align-items: center;
            /* Vertically center content */
            background-color: var(--black-custom);
            color: var(--eggshell-custom);
            padding: 80px 0;
            /* Keep vertical padding */
            overflow: hidden;
            text-align: left;
            /* Default text alignment */
        }

        .event-detail-hero .hero-column-img {
            width: 100%;
            height: 400px;
            object-fit: cover;
            display: block;
        }

        .event-detail-hero-img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: brightness(0.4) blur(25px);
            /* Darken for text readability */
            z-index: 1;
        }

        .event-details-hero-meta .event-meta-item {

            overflow: hidden;
            height: auto;
            color: var(--eggshell-custom);
            padding: 1rem 2rem;
        }

        .event-detail-hero-content {
            position: relative;
            z-index: 2;
            /* Ensure content is above the image */
            width: 100%;
            /* Make sure container uses full width */
        }

        /* New styles for event meta details in hero */
        .event-meta-details .d-flex {
            align-items: center;
            margin-bottom: 0.5rem;
        }

        .event-meta-details i {
            color: #F5C518;
            /* Use accent color for icons */
            font-size: 1.5rem;
            /* Larger icons */
            margin-right: 0.75rem;
        }

        .event-meta-details span {
            font-size: 1.25rem;
            /* Larger text for these details */
            font-weight: 500;
        }

        .event-detail-content-section {
            background-color: var(--eggshell-custom);
            color: var(--black-custom);
            padding: 60px 0;
        }

        .event-detail-sidebar {
            background-color: #f8f9fa;
            /* Or var(--eggshell-custom) for a lighter sidebar */
            border-radius: 8px;
            padding: 25px;
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
            position: sticky;
            top: 100px;
        }

        .event-detail-meta-item {
            margin-bottom: 15px;
        }

        .event-detail-meta-item strong {
            display: block;
            font-size: 0.9rem;
            color: #6c757d;
            text-transform: uppercase;
            margin-bottom: 5px;
        }

        .event-detail-meta-item span {
            font-size: 1.1rem;
        }

        .event-detail-description h2,
        .event-detail-benefits h2,
        .event-detail-schedule h2,
        .event-detail-speakers h2,
        .event-detail-sponsors h2 {
            font-size: 2.2rem;
            margin-bottom: 25px;
            color: var(--primary-custom);
        }

        .event-detail-description p {
            line-height: 1.8;
            margin-bottom: 20px;
        }

        .event-detail-benefits ul {
            list-style: none;
            padding-left: 0;
        }

        .event-detail-benefits ul li {
            margin-bottom: 10px;
            font-size: 1.1rem;
            line-height: 1.6;
        }

        .event-detail-benefits ul li i {
            content: "\2713";
            /* Checkmark icon */
            color: #F5C518;
            font-weight: bold;
            display: inline-block;
            width: 1.5em;
        }



        /* Speakers Section */
        .event-detail-speakers .speaker-item {
            text-align: center;
            margin-bottom: 30px;
        }

        .event-detail-speakers .speaker-item img {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid var(--primary-custom);
            margin-bottom: 15px;
        }

        .event-detail-speakers .speaker-item h5 {
            font-size: 1.3rem;
            margin-bottom: 5px;
        }

        .event-detail-speakers .speaker-item p {
            font-size: 0.95rem;
            color: #6c757d;
        }

        /* Sponsors Section */
        .event-detail-sponsors .sponsor-item img {
            max-height: 80px;
            max-width: 100%;
            object-fit: contain;
            margin-bottom: 20px;
            filter: grayscale(100%);
            transition: filter 0.3s ease;
        }

        .event-detail-sponsors .sponsor-item img:hover {
            filter: grayscale(0%);
        }

        /* Floating Register Button */
        .sticky-register-btn {
            position: fixed;
            bottom: 25px;
            right: 25px;
            z-index: 1000;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        /* Responsive adjustments */
        @media (max-width: 991.98px) {
            .event-detail-sidebar {
                position: static;
                margin-top: 30px;
            }

            .event-detail-hero {
                min-height: 40vh;
                padding: 60px 0;
            }

            .event-detail-hero h1 {
                font-size: 2.5rem;
            }

            .event-detail-hero p {
                font-size: 1rem;
            }

            .event-detail-description h2,
            .event-detail-benefits h2,
            .event-detail-schedule h2,
            .event-detail-speakers h2,
            .event-detail-sponsors h2 {
                font-size: 1.8rem;
                margin-bottom: 20px;
            }
        }

        /* --- NEW/UPDATED STYLES FOR CONSISTENCY (copy these here too) --- */

        /* Event Schedule Section - Overall Container */
        .event-detail-schedule {
            margin-bottom: 3rem;
        }

        /* Tab Navigation Styling */
        .event-detail-schedule .nav-tabs {
            border-bottom: none;
            background-color: var(--eggshell-custom) !important;
            /* Use your eggshell for the tab bar background */
            border-radius: 8px 8px 0 0;
            padding: 0.5rem 0.5rem 0;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
            position: relative;
            z-index: 1;
        }

        .event-detail-schedule .nav-tabs-scrollable {
            overflow-x: auto;
            flex-wrap: nowrap;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .event-detail-schedule .nav-tabs-scrollable::-webkit-scrollbar {
            display: none;
        }

        .event-detail-schedule .nav-item {
            margin-bottom: 0;
        }

        .event-detail-schedule .nav-link {
            border: none;
            border-radius: 6px 6px 0 0;
            padding: 0.75rem 1.25rem;
            color: var(--black-custom) !important;
            background-color: transparent !important;
            transition: all 0.3s ease;
            margin-right: 5px;
            opacity: 0.8;
        }

        .event-detail-schedule .nav-link:hover:not(.active) {
            color: var(--bs-primary) !important;
            background-color: rgba(0, 0, 0, 0.03) !important;
            opacity: 1 !important;
        }

        .event-detail-schedule .nav-link.active {
            color: var(--eggshell-custom) !important;
            background-color: var(--bs-primary) !important;
            border-color: var(--primary-custom) !important;
            cursor: default !important;
            opacity: 1 !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        }

        /* Tab Content Panes Styling */
        .event-detail-schedule .tab-content {
            background-color: #fff;
            border: none;
            border-radius: 0 0 8px 8px;
            padding: 2rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-top: -8px;
            /* Visual overlap with tabs */
            position: relative;
            z-index: 0;
        }

        /* Schedule Card Styling (inside tab content) */
        .event-detail-schedule .tab-pane .card {
            border: 1px solid rgba(0, 0, 0, 0.08);
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            margin-bottom: 1.5rem;
        }

        .event-detail-schedule .tab-pane .card:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .event-detail-schedule .tab-pane .card-title {
            color: var(--primary-custom);
            /* Use custom primary for titles */
            margin-bottom: 0.5rem;
        }

        .event-detail-schedule .tab-pane .card-text small.text-muted {
            font-size: 0.85rem;
            display: block;
            margin-bottom: 0.75rem;
        }

        .event-detail-schedule .tab-pane .card-text {
            line-height: 1.6;
        }

        .event-detail-schedule .tab-pane .card-text strong {
        }
		

	form label.required {
    color: var(--black-custom);
    margin-bottom: 0.5rem;
    display: block;
}

/* NEW: Style for the required asterisk */
form label.required::after {
    content: '*'; /* Add the asterisk content */
    color: #F5C518; /* Make it red to stand out */
    margin-left: 4px; /* A little space from the label text */
}

.ticket-card {
        background: linear-gradient(135deg, #ffffff 0%, #f7f7f7 100%);
        border: none;
        border-radius: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .main-content-section {
        background-color: #fff;
    }

    .ticket-event-logo {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border: 3px solid #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    .ticket-event-logo i {
        color: var(--bs-primary);
    }

    .ticket-title {
        font-size: 2.2rem;
        margin-bottom: 0;
        line-height: 1.2;
    }
    .ticket-subtitle {
        font-size: 1.1rem;
        color: #6c757d;
        font-weight: 500;
    }

    .ticket-label {
        color: var(--bs-primary);
        margin-bottom: 0.3rem;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    .ticket-value {
        font-size: 1rem;
        color: #343a40;
        margin-bottom: 1rem;
        line-height: 1.4;
    }

    /* Print-specific styles */
    @media print {
        
        .ticket-card {
            box-shadow: none;
            border: 1px solid #ccc;
            width: 100%;
            margin: 0;
            border-radius: 0;
        }
        
    }
	
	.btn-success-custom {
        background-color: #28a745; /* Bootstrap green success color */
        border-color: #28a745;
        color: #fff !important;
    }
	.btn-success-custom:disabled {
        background-color: #28a745; /* Bootstrap green success color */
        border-color: #28a745;
        color: #fff !important;
    }
    .btn-success-custom:hover:disabled {
        background-color: #28a745; /* Keep background on hover for disabled */
        border-color: #28a745;
        color: #fff;
        cursor: not-allowed;
    }
    
    .social-icon {
    /* Style for the rounded square container */
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    margin: 0 6px; /* Spacing between icons */
    background-color: #343a40; /* A darker background color */
    color: #f5f5dc; /* Eggshell color for the icons */
    border-radius: 6px; /* Adjust for desired roundness */
    text-decoration: none;
    transition: background-color 0.3s ease; /* Smooth hover transition */
}

/* Hover and Focus effect for user feedback */
.social-icon:hover,
.social-icon:focus {
    background-color: #495057; /* A slightly lighter shade on hover */
}

/* ========================================
   COURSE PAGES - DARK THEME UTILITIES
   ======================================== */

/* Dark Theme Background Classes */
.bg-course-dark { background-color: #1a1a2e !important; }
.bg-course-card { background-color: #16213e !important; }
.bg-course-accent { background-color: #0f3460 !important; }

/* Missing bg-primary-custom (was used but never defined) */
.bg-primary-custom {
    background-color: #F5C518 !important;
    color: #fff !important;
}

/* Course Section Wrapper */
.course-section {
    background-color: #1a1a2e;
    min-height: 80vh;
    padding: 3rem 0;
}

/* Course Hero Banners */
.course-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.course-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(239, 0, 26, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.course-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(83, 52, 131, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.course-hero .container {
    position: relative;
    z-index: 1;
}

/* Course Cards */
.course-card {
    background-color: #16213e;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(239, 0, 26, 0.2);
}

.course-card .card-img-top {
    transition: transform 0.4s ease;
}

.course-card:hover .card-img-top {
    transform: scale(1.05);
}

.course-card .card-img-wrapper {
    overflow: hidden;
    position: relative;
}

.course-card .card-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, #16213e);
}

/* Course Price Display */
.course-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.course-price .current-price {
    font-size: 1.5rem;
    color: #f0f0f0;
}

.course-price .original-price {
    font-size: 0.95rem;
    color: rgba(240, 240, 240, 0.4);
    text-decoration: line-through;
}

.course-price .discount-badge {
    font-size: 0.75rem;
    background: #F5C518;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Filter Buttons */
.filter-btn {
    background-color: transparent;
    color: rgba(240, 240, 240, 0.7);
    border: 1px solid rgba(240, 240, 240, 0.15);
    border-radius: 50px;
    padding: 0.4rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #F5C518;
    color: #fff;
    border-color: #F5C518;
}

.filter-btn.active {
    box-shadow: 0 4px 15px rgba(239, 0, 26, 0.3);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state .empty-icon {
    font-size: 4rem;
    color: rgba(240, 240, 240, 0.15);
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Pagination Dark Theme */
.pagination-dark .pagination {
    --bs-pagination-bg: #16213e;
    --bs-pagination-color: #f0f0f0;
    --bs-pagination-border-color: rgba(240, 240, 240, 0.1);
    --bs-pagination-hover-bg: #0f3460;
    --bs-pagination-hover-color: #f0f0f0;
    --bs-pagination-hover-border-color: rgba(240, 240, 240, 0.2);
    --bs-pagination-active-bg: #F5C518;
    --bs-pagination-active-border-color: #F5C518;
    gap: 0.5rem;
}

.pagination-dark .page-link {
    border-radius: 8px;
    padding: 0.5rem 0.85rem;
}

/* Sticky Sidebar */
.sticky-sidebar {
    position: sticky;
    top: 90px;
}

/* Tab Navigation - Dark */
.course-tabs {
    border-bottom: 1px solid rgba(240, 240, 240, 0.1);
    margin-bottom: 2rem;
}

.course-tabs .nav-link {
    color: rgba(240, 240, 240, 0.6);
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0;
}

.course-tabs .nav-link:hover {
    color: #f0f0f0;
    border-bottom-color: rgba(240, 240, 240, 0.3);
}

.course-tabs .nav-link.active {
    color: #F5C518;
    border-bottom-color: #F5C518;
    background: transparent;
}

/* FAQ Accordion - Dark */
.faq-accordion .accordion-item {
    background-color: #16213e;
    border: 1px solid rgba(240, 240, 240, 0.08);
    border-radius: 12px !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    background-color: transparent;
    color: #f0f0f0;
    padding: 1.25rem 1.5rem;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background-color: rgba(15, 52, 96, 0.3);
    color: #f0f0f0;
    box-shadow: none;
}

.faq-accordion .accordion-button::after {
    filter: invert(1);
}

.faq-accordion .accordion-body {
    color: rgba(240, 240, 240, 0.7);
    padding: 0 1.5rem 1.25rem;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2.5rem;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    background-color: rgba(240, 240, 240, 0.1);
    color: rgba(240, 240, 240, 0.4);
    border: 2px solid rgba(240, 240, 240, 0.1);
    transition: all 0.3s ease;
}

.step-item.active .step-circle {
    background-color: #F5C518;
    color: #fff;
    border-color: #F5C518;
    box-shadow: 0 0 0 4px rgba(239, 0, 26, 0.2);
}

.step-item.completed .step-circle {
    background-color: var(--pigment-green-custom);
    color: #fff;
    border-color: var(--pigment-green-custom);
}

.step-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(240, 240, 240, 0.4);
}

.step-item.active .step-label {
    color: #f0f0f0;
}

.step-connector {
    width: 60px;
    height: 2px;
    background-color: rgba(240, 240, 240, 0.1);
    margin: 0 0.5rem;
}

.step-connector.completed {
    background-color: var(--pigment-green-custom);
}

/* Slot Selection Cards */
.slot-card input:checked + .slot-select-card {
    border-color: #F5C518 !important;
    box-shadow: 0 0 0 2px rgba(239, 0, 26, 0.3), 0 8px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.slot-select-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.slot-select-card:hover {
    transform: translateY(-3px);
    border-color: rgba(240, 240, 240, 0.25) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Price Summary Card */
.price-summary {
    background: linear-gradient(135deg, #0f3460, #16213e);
    border-radius: 12px;
    border: 1px solid rgba(240, 240, 240, 0.08);
}

/* Payment Page */
.payment-card {
    background-color: #16213e;
    border-radius: 16px;
    border: 1px solid rgba(240, 240, 240, 0.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.security-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(240, 240, 240, 0.4);
    font-size: 0.8rem;
}

.security-badge i {
    color: var(--pigment-green-custom);
}

/* Success Animation */
@keyframes successPulse {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.success-animation {
    animation: successPulse 0.5s ease-out;
}

/* Dashboard Stats Card */
.stat-card {
    background-color: #16213e;
    border-radius: 12px;
    border: 1px solid rgba(240, 240, 240, 0.05);
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.stat-card .stat-value {
    font-size: 2rem;
    color: #f0f0f0;
    line-height: 1;
}

.stat-card .stat-label {
    font-size: 0.85rem;
    color: rgba(240, 240, 240, 0.5);
    margin-top: 0.25rem;
}

/* Enrollment Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    text-transform: capitalize;
}

.status-badge.status-enrolled { background: rgba(71, 160, 37, 0.15); color: #47a025; }
.status-badge.status-completed { background: rgba(71, 160, 37, 0.15); color: #47a025; }
.status-badge.status-pending { background: rgba(255, 193, 7, 0.15); color: #ffc107; }
.status-badge.status-payment_pending { background: rgba(255, 193, 7, 0.15); color: #ffc107; }
.status-badge.status-provisional { background: rgba(13, 110, 253, 0.15); color: #0d6efd; }
.status-badge.status-aptitude_sent { background: rgba(13, 110, 253, 0.15); color: #0d6efd; }
.status-badge.status-aptitude_passed { background: rgba(13, 110, 253, 0.15); color: #0d6efd; }
.status-badge.status-cancelled { background: rgba(239, 0, 26, 0.15); color: #ef001a; }

/* Progress Bar - Dark */
.progress-dark {
    background-color: rgba(240, 240, 240, 0.08);
    border-radius: 50px;
    height: 6px;
    overflow: hidden;
}

.progress-dark .progress-bar {
    background: linear-gradient(90deg, #F5C518, #ff4757);
    border-radius: 50px;
}

/* Instructor Card */
.instructor-card {
    background-color: #16213e;
    border-radius: 12px;
    border: 1px solid rgba(240, 240, 240, 0.08);
}

.instructor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #F5C518;
}

/* Testimonial Card */
.testimonial-card {
    background-color: #16213e;
    border-radius: 12px;
    border: 1px solid rgba(240, 240, 240, 0.05);
    padding: 1.5rem;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-size: 4rem;
    color: rgba(239, 0, 26, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

/* Breadcrumb Dark */
.breadcrumb-dark .breadcrumb-item a {
    color: rgba(240, 240, 240, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-dark .breadcrumb-item a:hover {
    color: #f0f0f0;
}

.breadcrumb-dark .breadcrumb-item.active {
    color: #f0f0f0;
}

.breadcrumb-dark .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(240, 240, 240, 0.3);
}

/* Responsive */
@media (max-width: 767.98px) {
    .course-hero {
        padding: 2.5rem 0 2rem;
    }
    .step-indicator {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .step-connector {
        display: none;
    }
    .sticky-sidebar {
        position: static;
    }
}

/* Body Text Utilities */

/* UI Elements */
.nav-link-custom {
    font-size: 0.9rem;
    font-weight: 500;
}
.button-primary-custom {
}
.button-secondary-custom {
    font-weight: 500;
}
.badge-custom {
    font-weight: 500;
    text-transform: uppercase;
}

/* Responsive Typography (Mobile First) */
/* Tablet (768px) */
@media (max-width: 768px) {
    :root {
    }
}


/* ===== Custom Button Classes (Global, not inside media queries) ===== */
.btn-warning-custom {
    background-color: #F5C518;
    border-color: #F5C518;
    color: #000 !important;
}
.btn-warning-custom:hover {
    background-color: #E0B000;
    border-color: #E0B000;
    color: #fff;
}
.btn-success-custom {
    background-color: #16a34a;
    border-color: #16a34a;
    color: #fff !important;
}
.btn-success-custom:hover {
    background-color: #15803d;
    border-color: #15803d;
    color: #fff;
}
.btn-success-custom:disabled,
.btn-success-custom:disabled:hover {
    background-color: #16a34a;
    border-color: #16a34a;
    color: #fff;
    opacity: 0.65;
    cursor: not-allowed;
}
