:root {
    --bs-primary: #427094 !important;
    --bs-primary-rgb: 11, 92, 255;
    --bs-link-color: #427094;
    --bs-link-hover-color: #427094;
    --bs-body-font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --bs-body-color: #1b1b1f;
    --bs-body-bg: #ffffff;
}

.bg-primary {
    background-color: #427094 !important;
}

.btn-primary {
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: #0a2e4d;
    --bs-btn-hover-border-color: #0a2e4d;
    --bs-btn-active-bg: #0a2e4d;
    --bs-btn-active-border-color: #0a2e4d;
    --bs-btn-disabled-bg: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}

.btn-outline-primary {
    --bs-btn-color: #ffffff;
    --bs-btn-border-color: #ffffff;
    --bs-btn-hover-color: #427094;
    --bs-btn-hover-bg: #ffffff;
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-active-color: #427094;
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);
    --bs-btn-disabled-color: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}

body {
    font-family: var(--bs-body-font-family);
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

section {
    scroll-margin-top: 6rem;
}

.navbar-nav .btn {
    width: 100%;
}

.my-navbar {
    background-color: #427094 !important;
}

.nav-link{
    color: #ffffff !important;
}

@media (min-width: 992px) {
    .navbar-nav .btn {
        width: auto;
    }
}

.logo-mark {
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
}

.logo-tagline {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.hero-highlight {
    border-radius: 1.75rem;
    background: #f1f5ff;
}

.hero-section {
    position: relative;
    background: linear-gradient(125deg, rgba(10, 46, 77, 0.92) 0%, rgba(10, 46, 77, 0.78) 55%, rgba(10, 46, 77, 0.6) 100%),
        url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
    color: #ffffff;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.15), transparent 55%);
    pointer-events: none;
}

.hero-section .container,
.hero-section .hero-highlight {
    position: relative;
    z-index: 1;
}

.hero-section .hero-highlight {
    background: rgba(255, 255, 255, 0.92);
}

.hero-section .hero-copy {
    color: #ffffff;
}

.hero-section .hero-copy .eyebrow {
    color: rgba(255, 255, 255, 0.75);
}

.hero-section .hero-copy .display-5 {
    color: #ffffff;
}

.hero-section .hero-copy .lead,
.hero-section .hero-copy .text-secondary {
    color: rgba(255, 255, 255, 0.85) !important;
}

.hero-cta {
    color: var(--bs-link-color);
}

.hero-cta:hover,
.hero-cta:focus {
    color: var(--bs-link-hover-color);
}

.section-divider {
    width: min(960px, 90%);
    height: 2px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, rgba(10, 46, 77, 0.25), transparent);
}

#join {
    background-image: radial-gradient(circle at top left, rgba(255, 255, 255, 0.2), transparent 55%);
}

footer .logo-tagline {
    color: rgba(255, 255, 255, 0.6);
}

footer .link-light {
    font-weight: 500;
}

.event-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 1.25rem 1.25rem 0 0;
    background: #edf2fb;
}

.event-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-modal-media {
    position: relative;
}

.event-modal-image {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    display: block;
}

.event-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border-radius: 1.25rem;
    overflow: hidden;
}

.event-card:hover,
.event-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2.5rem rgba(11, 92, 255, 0.12);
}

.event-card .event-meta {
    font-size: 0.95rem;
}

.event-tags .badge {
    background-color: rgba(11, 92, 255, 0.12);
    color: #0b3fbd;
    font-weight: 600;
    padding: 0.45rem 0.75rem;
}

.event-tags.d-none {
    display: none !important;
}

.modal .event-tags .badge {
    font-size: 0.85rem;
}

.team-row {
    display: grid;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.team-row--leaders {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.team-row--officers,
.team-row--members {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.team-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 1.25rem 2.5rem rgba(10, 46, 77, 0.08);
    overflow: hidden;
    border: 1px solid rgba(10, 46, 77, 0.08);
}

.team-card--leader {
    padding: 2.5rem 2.5rem 2rem;
    border-radius: 1.75rem;
}

.team-card--officer,
.team-card--member {
    padding: 2rem 2rem 1.75rem;
}

.team-card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 1.25rem;
    box-shadow: 0 1rem 2rem rgba(10, 46, 77, 0.12);
    margin-bottom: 1.75rem;
}

.team-card--leader .team-card__image {
    aspect-ratio: 5 / 6;
}

.team-card__content {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.75rem;
}

.team-card__role {
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(10, 46, 77, 0.7);
    font-weight: 600;
}

.team-card__name {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    color: #0a2e4d;
}

.team-card__bio {
    margin-bottom: 0;
    color: rgba(27, 27, 31, 0.75);
}

.team-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.team-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #0a2e4d;
    background-color: rgba(10, 46, 77, 0.08);
    padding: 0.6rem 1rem;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.team-card__link:hover,
.team-card__link:focus {
    background-color: #0a2e4d;
    color: #ffffff;
}

.team-card__icon {
    display: inline-flex;
    width: 1.25rem;
    height: 1.25rem;
}

.team-card__icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

@media (max-width: 575.98px) {
    .hero-section {
        background-position: center top;
    }
}
