body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fa;
}

:root {
    --rusl-red: #8B1A1A;
    --rusl-red-hover: #6e1414;
    --rusl-dark: #212529;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.nav-link.active {
    font-weight: bold;
    color: white !important;
}

.btn-rusl {
    background-color: #8B1A1A;
    color: white;
    border: none;
}
.btn-rusl:hover {
    background-color: #6e1414;
    color: white;
}

/* hero carousel*/
.hero-img {
    height: 460px;     
    object-fit: cover;
    object-position: center;
}
.carousel-caption {
    background: rgba(0,0,0,0.50);
    border-radius: 8px;
    padding: 12px 20px;
}

.category-btn {
    background-color: #8B1A1A;
    color: #ffffff !important;
    border: 2px solid #8B1A1A;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 13px 20px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.category-btn:hover {
    background-color: #ffffff;
    color: #8B1A1A !important;
    border: 2px solid #8B1A1A;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(139, 26, 26, 0.25);
}

/* cards*/
.card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 10px;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.card-img-top {
    height: 180px;
    object-fit: cover;
}
.card-body h6 {
    font-weight: 600;
    margin-bottom: 6px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: #8B1A1A;
    margin: 0 auto 30px;
    border-radius: 2px;
}

.welcome-banner {
    background: linear-gradient(135deg, #8B1A1A 0%, #c0392b 100%);
    color: white;
    padding: 40px 30px;
    border-radius: 12px;
    margin: 40px 0;
    text-align: center;
}


.filter-bar {
    background: #fff;
    padding: 18px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    margin-bottom: 30px;
}

/* category badge */
.badge-cat {
    font-size: 0.72rem;
    padding: 3px 9px;
    border-radius: 20px;
    color: white;
    display: inline-block;
    margin-bottom: 6px;
}
.cat-Cultural  { background-color: #e74c3c; }
.cat-Academic  { background-color: #2980b9; }
.cat-Workshop  { background-color: #8e44ad; }
.cat-Sports    { background-color: #27ae60; }


.modal-header {
    background: #8B1A1A;
    color: white;
}
.modal-header .btn-close { filter: invert(1); }
.modal-img {
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    width: 100%;
    margin-bottom: 15px;
}

.form-section {
    background: #fff;
    padding: 40px 45px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    max-width: 680px;
    margin: 40px auto 60px;
}
.form-section h2 { font-weight: 700; margin-bottom: 4px; }
.form-section .subtitle { color: #6c757d; margin-bottom: 28px; font-size: 0.95rem; }
.form-label { font-weight: 600; font-size: 0.88rem; color: #495057; }
.form-control:focus, .form-select:focus {
    border-color: #8B1A1A;
    box-shadow: 0 0 0 0.2rem rgba(139,26,26,0.15);
}
#formMessage { display: none; margin-top: 15px; }

.contact-info-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    padding: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.contact-info-box .ci-icon { font-size: 1.5rem; color: #8B1A1A; min-width: 36px; }
.contact-form-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    padding: 35px;
}
.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    margin-top: 40px;
}

footer {
    background: #212529;
    color: #adb5bd;
    padding: 28px 20px 16px;
    margin-top: 60px;
}
footer .footer-brand { font-size: 1.3rem; font-weight: bold; color: white; margin-bottom: 6px; }
footer a { color: #adb5bd; text-decoration: none; }
footer a:hover { color: white; }
footer hr { border-color: #444; }

#noResults { display: none; text-align: center; padding: 40px; color: #888; }

@media (max-width: 768px) {
    .hero-img { height: 240px; }
    .form-section { padding: 22px 18px; }
    .contact-form-card { padding: 22px 18px; }
}
