/* --- Global Resets & Variables --- */
:root {
    --bg-color: #fdfdfd;
    --text-main: #1A2E2E;      /* Deep dark slate */
    --text-muted: #5A6E6E;     /* Soft slate grey */
    
    /* Color Accents */
    --primary-color: #005B5C;  /* Emerald Deep Blue / Teal */
    --secondary-color: #FF6B4A;/* Amber/Coral for high-priority alerts */
    --light-accent: #F2F8F8;   /* Soft mint tint for containers */
    --border-color: #E2EAEA;
    
    --max-width: 850px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 92%;
    max-width: var(--max-width);
    margin: 0 auto;
}

/* --- Navigation Bar --- */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-brand {
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.05rem;
}

.nav-links {
    display: flex;
    gap: 16px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* --- Compact Hero Section --- */
.hero {
    padding: 24px 0;
    background: linear-gradient(180deg, var(--light-accent) 0%, var(--bg-color) 100%);
    border-bottom: 1px solid var(--border-color);
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2px;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -1px;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-meta {
    display: flex;
    gap: 24px;
    background: #ffffff;
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-item .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
}

.meta-item .value,
.meta-item .valueHighlight {
    font-size: 0.95rem;
    font-weight: 600;
}

.meta-item .valueHighlight {
    color: var(--primary-color);
}

/* --- Section Layout --- */
.section {
    padding: 22px 0;
    border-bottom: 1px solid var(--border-color);
}

.section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.sub-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.description-text {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

/* --- Styled Lists --- */
.styled-list {
    list-style: disc;
    padding-left: 20px;
    font-size: 0.88rem;
    color: var(--text-main);
}

.styled-list li {
    margin-bottom: 6px;
}

.grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 6px 16px;
}

/* --- Cards & Banners --- */
.theme-box, .info-card-box {
    background: var(--light-accent);
    border: 1px solid var(--border-color);
    padding: 14px 18px;
    border-radius: 6px;
}

.highlight-banner {
    background: rgba(255, 107, 74, 0.08);
    border-left: 4px solid var(--secondary-color);
    padding: 14px 18px;
    border-radius: 4px;
}

.highlight-banner h2, .highlight-banner h3 {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 4px;
}

.highlight-banner p {
    font-size: 0.88rem;
}

/* --- Compact Important Dates --- */
.date-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}

.date-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 10px 16px;
    border-radius: 6px;
}

.date-card.alert-card {
    border-left: 4px solid var(--secondary-color);
}

.date-card.alert-card .date-day {
    color: var(--secondary-color);
}

.date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 45px;
}

.date-day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--primary-color);
}

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

.date-label {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.2;
}

/* --- Tables --- */
.custom-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 0.88rem;
}

.custom-table th, .custom-table td {
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.custom-table th {
    background-color: var(--light-accent);
    color: var(--primary-color);
    font-weight: 600;
}

.note-text {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* --- Speakers & Organizers Grids --- */
.speaker-grid, .organizer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.speaker-card, .organizer-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    border-radius: 6px;
}

.speaker-name, .organizer-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.organizer-name {
    color: var(--text-main);
}

.speaker-inst, .organizer-inst {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Action Grid & Buttons --- */
.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.action-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--light-accent);
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.action-card h3 {
    font-size: 0.95rem;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.action-card p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.btn-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.btn {
    white-space: nowrap;
    display: inline-block;
    padding: 7px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #004445;
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--light-accent);
}

.disabled-btn {
    opacity: 0.6;
    pointer-events: none;
}

/* --- Compact Footer --- */
.footer {
    padding: 16px 0;
    background-color: var(--light-accent);
    border-top: 1px solid var(--border-color);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Responsive Adjustments --- */
@media (max-width: 650px) {
    .nav-container {
        flex-direction: column;
        gap: 8px;
    }
    .hero-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-meta {
        width: 100%;
        justify-content: space-between;
    }
    .action-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-container {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
}

/* --- Institutional Logos Section --- */
.logo-section {
    text-align: center;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

.inst-logos-img {
    max-width: 100%;
    height: auto;
    max-height: 110px; /* Adjust height to keep it compact */
    object-fit: contain;
    border-radius: 6px;
}
