@import url('https://fonts.googleapis.com/css2?family=Tilt+Neon&display=swap');

:root {
    --primary-color: #b60000;
    --primary-hover-color: #8f0000;
    --secondary-color: #f8f9fa;
}

body {
    font-family: 'Tilt Neon', sans-serif;
    background-color: var(--secondary-color);
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

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

.btn {
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover, .btn-outline-primary:hover {
    background-color: var(--primary-hover-color);
    border-color: var(--primary-hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn:focus, .btn:active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.25rem rgba(182, 0, 0, 0.5) !important;
    color: white !important;
}

.btn-primary:focus, .btn-primary:active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.25rem rgba(182, 0, 0, 0.5) !important;
    color: white !important;
}
}

.btn-outline-primary:focus, .btn-outline-primary:active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.25rem rgba(182, 0, 0, 0.5) !important;
    color: white !important;
}

.nav-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(182, 0, 0, 0.25);
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.animated-card {
    transition: transform 0.3s ease;
}

.animated-card:hover {
    transform: translateY(-5px);
}

.card-body {
    padding: 2rem;
}

.upcoming-section-padding {
    padding-top: 5rem;
}

.past-section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.hero-section {
    background-image: linear-gradient(rgba(182, 0, 0, 0.7), rgba(182, 0, 0, 0.7)), url('images/hero.webp');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.row {
    margin-bottom: -1.5rem;
}

.col-md-6,
.col-lg-4 {
    margin-bottom: 1.5rem;
}

footer {
    background-color: #333;
    color: #fff;
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color);
}

footer .fab, footer .fas {
    transition: transform 0.3s ease;
}

footer .fab:hover, footer .fas:hover {
    transform: scale(1.2);
}

footer h5 {
    font-weight: 600;
}

footer hr {
    opacity: 0.2;
}


.navbar {
    transition: all 0.3s ease;
}

.navbar-brand .text-white {
    transition: color 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .btn-outline-light {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.navbar.scrolled .btn-light {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white !important;
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled .navbar-nav .nav-link {
    color: var(--primary-color);
}

@media (min-width: 768px) {
    .py-md-7 {
        padding-top: 6rem !important;
        padding-bottom: 6rem !important;
    }
}

@media (min-width: 992px) {
    .py-lg-8 {
        padding-top: 8rem !important;
        padding-bottom: 8rem !important;
    }
}


.dropdown-menu {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--secondary-color);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

.btn-sm.btn-outline-primary {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.btn-sm.btn-outline-primary:hover {
    color: white;
}

td .dropdown {
    display: flex;
    justify-content: center;
    align-items: center;
}

td .dropdown-menu {
    min-width: 150px;
}


.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    min-height: 100vh;
    background: rgba(182, 0, 0, 0.9);
    color: #fff;
    transition: all 0.3s ease-in-out;
}

#sidebar.active {
    min-width: 80px;
    max-width: 80px;
}

#sidebar .sidebar-header {
    background: rgba(143, 0, 0, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    padding: 0 15px;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

#sidebar ul li a:hover {
    color: var(--primary-color);
    background: #fff;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #fff;
    background: rgba(143, 0, 0, 0.7);
}

#sidebar ul li a i {
    width: 20px;
    font-size: 1.2em;
    margin-right: 10px;
    text-align: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}

#sidebar ul li a span {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

#sidebar.active ul li a span {
    opacity: 0;
    width: 0;
    height: 0;
    overflow: hidden;
}

#sidebar.active ul li a {
    padding: 20px 10px;
    text-align: center;
    justify-content: center;
}

#sidebar.active ul li a i {
    margin-right: 0;
    font-size: 1.8em;
}

#content {
    width: 100%;
    min-height: 100vh;
    transition: all 0.3s;
    background: #fff6f1;
}

.top-bar {
    background-color: rgba(143, 0, 0, 0.9);
    height: 70px;
}

.top-bar .navbar {
    height: 100%;
    padding: 0 15px;
}

.top-bar .navbar-brand {
    color: white;
}

.top-bar .btn-outline-primary {
    color: white;
    border-color: white;
}

.top-bar .btn-outline-primary:hover {
    color: rgba(143, 0, 0, 0.85);
    background-color: white;
}

@media (max-width: 768px) {
    #sidebar {
        min-width: 80px;
        max-width: 80px;
    }

    #sidebar.active {
        margin-left: -80px;
    }

    #sidebar ul li a span {
        opacity: 0;
        width: 0;
        height: 0;
        overflow: hidden;
    }

    #sidebar ul li a {
        padding: 20px 10px;
        text-align: center;
        justify-content: center;
    }

    #sidebar ul li a i {
        margin-right: 0;
        font-size: 1.8em;
    }
}

@media (max-width: 992px) {
    .table-responsive-lg {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table-responsive-lg .btn {
        margin-bottom: 5px;
        display: block;
        width: 100%;
    }
}
