:root {
    --elmu-navy: #001f3f;
    --elmu-red: #85144b;
    --elmu-light-gray: #f4f6f9;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fff;
    color: #333;
}

.bg-navy {
    background-color: var(--elmu-navy) !important;
}

.bg-red {
    background-color: var(--elmu-red) !important;
}

.text-navy {
    color: var(--elmu-navy) !important;
}

.text-red {
    color: var(--elmu-red) !important;
}

.text-xs {
    font-size: 0.75rem;
}

.text-small {
    font-size: 0.875rem;
}

.top-bar {
    background-color: #fff; /* Or dark if per design, looking at image it seems white or very dark navy part of header */
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
/* Actually top bar in image is white background with black text? Or dark? 
   Image 1: Top bar looks white with black links. 
   Wait, looking at image 1 crop: The nav bar is Navy. Above it there's a thin white bar with links.
*/
.top-bar {
    background-color: #fff;
    color: #000;
}
.top-bar a {
    color: #333 !important;
    font-weight: 500;
}

.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px; /* Adjust as needed */
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%; /* Gradient fade */
    height: 100%;
    background: linear-gradient(to right, rgba(0,31,63,0.95), rgba(0,31,63,0.0));
}

.nav-grid-btn {
    background-color: var(--elmu-navy);
    color: white;
    border-radius: 12px; /* Smooth rounded corners */
    padding: 15px 10px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 80px;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    text-align: center;
}

.nav-grid-btn i {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.nav-grid-btn:hover, .nav-grid-btn.active {
    background-color: var(--elmu-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.content-section {
    display: none; /* Hidden by default */
    animation: fadeIn 0.5s;
}

.content-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.accordion-button:not(.collapsed) {
    background-color: var(--elmu-navy);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,0.125);
}

/* Expert Card Styles */
.expert-card {
    background: #fff;
    border: none;
    transition: transform 0.3s;
    cursor: pointer;
}
.expert-card:hover {
    transform: translateY(-5px);
}
.expert-header {
    background-color: var(--elmu-red); /* Or Navy */
    color: white;
    padding: 10px;
    text-align: left;
    border-radius: 0 0 5px 5px; /* If image is top */
}
/* Actually based on design: Image top, red bar with name/title below */
.expert-info {
    background-color: var(--elmu-red);
    color: white;
    padding: 10px;
    min-height: 80px;
}
.expert-email {
    background-color: var(--elmu-navy);
    color: white;
    padding: 5px 10px;
    font-size: 0.8rem;
}

/* Modal Styling */
.modal-xl {
    max-width: 1140px;
}
.modal-content {
    border: none;
    border-radius: 0;
}
.modal-header {
    background-color: var(--elmu-navy);
    color: white;
    border-bottom: none;
}
.close-btn-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.nav-pills .nav-link {
    color: var(--elmu-navy);
    border-radius: 0;
    text-align: left;
    padding: 10px 15px;
    font-weight: 500;
}
.nav-pills .nav-link.active {
    background-color: var(--elmu-navy);
    color: white;
    border-left: 4px solid var(--elmu-red);
}
