/* --- VARIABLES --- */
:root {
    --acm-blue: #003366;
    --acm-dark: #002147;
    --acm-accent: #00a3ff;
    --text-main: #333333;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --transition: 0.3s ease;
}

/* --- GLOBAL STYLES --- */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: #ffffff;
}

/* --- NAVIGATION --- */
.navbar {
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    background: white !important;
}

.navbar-brand strong {
    color: var(--acm-blue);
}

.dropdown-menu {
    border: none !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

/* --- HERO & HEADERS --- */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    border-bottom: 1px solid #dee2e6;
}

.page-header {
    background: var(--bg-light);
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.hero-title, .section-title {
    font-weight: 700;
    color: var(--acm-blue);
    margin-bottom: 1.5rem;
}

/* --- CARDS & FEATURES --- */
/* Used for the News Section */
.news-card {
    border: none;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.date-badge {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
}

/* Used for the "About" page highlights */
.feature-box {
    background: white;
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    border: 1px solid #efefef;
    transition: var(--transition);
}

.feature-box:hover {
    border-color: var(--acm-blue);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: #e7f0f7;
    color: var(--acm-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* --- PARTNER LOGOS --- */
.partner-logo {
    max-width: 200px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- FOOTER --- */
footer {
    background: var(--acm-dark);
    color: white;
    padding: 40px 0;
}

footer a {
    color: var(--acm-accent);
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* --- REGISTRY & DIRECTORY STYLES (Non-Card) --- */
.registry-list {
    column-count: 1;
    column-gap: 40px;
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .registry-list { column-count: 2; }
}

@media (min-width: 1200px) {
    .registry-list { column-count: 3; }
}

.member-entry {
    break-inside: avoid;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.member-name {
    font-weight: 600;
    color: var(--text-main);
    font-size: 1.05rem;
}

.member-org {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Subtle accent for the section */
.letter-divider {
    color: var(--acm-blue);
    font-weight: 700;
    border-bottom: 2px solid var(--acm-blue);
    display: inline-block;
    width: 30px;
    margin-top: 2rem;
    margin-bottom: 1rem;
}