body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #ffffff;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #800000;
    padding: 2rem 2rem;
}

.logo img {
    height: 60px;
}

.nav-links a {
    color: #FFD700;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.5rem;
    margin-right: 20px;
    text-decoration: none;
}

.nav-links a:hover {
    text-decoration: underline;
}

main {
    padding: 2rem;
}

footer {
    background: #222;
    color: #ccc;
    text-align: center;
    padding: 1rem;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(100%) saturate(200%) brightness(70%) hue-rotate(330deg);
    display: block;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFD700;
    text-align: center;
    z-index: 2;
}

.hero-text h1 {
    font-size: 4rem;
    margin: 0;
}

.hero-text p {
    font-size: 1.5rem;
}

.fade {
    animation: fadeEffect 1.5s;
}

@keyframes fadeEffect {
    from {opacity: 0.4}
    to {opacity: 1}
}

.contact-section {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    padding: 2rem;
    border-radius: 30px;
}

.contact-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.contact-card h1 {
    color: #800000;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.contact-card p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #333;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-email {
    display: inline-block;
    padding: 0.8rem 1rem;
    background-color: #FFD700;
    color: #800000;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-email:hover {
    background-color: #800000;
    color: #FFD700;
    transform: scale(1.05);
}

.conference-section {
    padding: 4rem 2rem;
    background-color: #ffffff;
    text-align: center;
    min-width: 100vh;
}

.conference-title {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: #800000;
}

.conference-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.conference-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    width: 280px;
    border: 1px solid #e2cc92;
    transition: transform 0.3s ease;
}

.conference-card h2 {
    color: #800000;
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.conference-card p {
    font-size: 1.1rem;
    color: #333;
}

.conference-card:hover {
    transform: translateY(-10px);
}

.keynote-section {
    padding: 4rem 2rem;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
}

.keynote-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    background-color: #800000; /* maroon card */
    color: white;
    padding: 3rem;
    border-radius: 20px;
    max-width: 1100px;
    width: 100%;
}

.keynote-text {
    flex: 1;
}

.keynote-text h2 {
    color: #FFD700; /* gold */
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.keynote-text p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.keynote-image-wrapper {
    flex: 0 0 300px;
}

.keynote-image {
    width: 100%;
    border-radius: 15px;
    border: 4px solid #FFD700; /* gold border */
}

.keynote-important {
    color: #FFD700; /* gold */
    font-weight: bold;
}

@media (max-width: 768px) {
    .keynote-container {
        flex-direction: column;
        text-align: center;
    }

    .keynote-image-wrapper {
        width: 80%;
    }
}

.about-section {
    padding: 5rem 2rem;
    background-color: #ffffff;
    text-align: center;
    background-image: none;
}

.about-section h1 {
    font-size: 2.8rem;
    color: #800000;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.about-section h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 0;
    height: 4px;
    background-color: #FFD700;
    transition: width 0.6s ease, left 0.6s ease;
}

.about-section h1:hover::after {
    width: 100%;
    left: 0;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.about-container.show {
    opacity: 1;
    transform: translateY(0);
}

.about-image-wrapper {
    flex: 0 0 300px;
}

.about-image {
    width: 100%;
    max-width: 300px;
    animation: float 4s ease-in-out infinite;
}


@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.about-text {
    flex: 1;
    font-size: 1.15rem;
    line-height: 1.7;
    color: #333;
}

.schedule-section {
    max-width: 1100px;
    margin: 3rem auto 0;
    text-align: left;
    background: linear-gradient(135deg, #fff8ea 0%, #f2e1bf 100%);
    border: 1px solid #e2cc92;
    border-radius: 16px;
    padding: 1.4rem 1.25rem;
}

.schedule-section h2 {
    margin: 0 0 1rem;
    font-size: 1.8rem;
    color: #5a0a0a;
    border-left: 6px solid #FFD700;
    padding-left: 0.75rem;
}

.schedule-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1rem;
}

.schedule-item {
    background: #fff;
    border: 1px solid #eadba6;
    border-left: 5px solid #800000;
    border-radius: 10px;
    padding: 0.8rem 0.9rem;
}

.schedule-time {
    margin: 0;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7a5d1d;
    font-weight: 700;
}

.schedule-event {
    margin: 0.35rem 0 0;
    font-size: 1.02rem;
    color: #321010;
    font-weight: 700;
}

.team-sections {
    max-width: 1100px;
    margin: 4rem auto 0;
    text-align: left;
}

.team-section {
    margin-bottom: 3rem;
}

.team-section h2 {
    font-size: 2rem;
    color: #800000;
    margin-bottom: 1.2rem;
    border-left: 6px solid #FFD700;
    padding-left: 0.75rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.team-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.person-card {
    background: #ffffff;
    border: 1px solid #eadba6;
    border-radius: 12px;
    padding: 1.2rem;
}

.person-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.1rem;
    color: #5a0a0a;
}

.person-card p {
    margin: 0;
    color: #333;
    font-size: 0.96rem;
}

.person-card p + p {
    margin-top: 0.6rem;
}

.person-photo {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid #e5cc81;
    margin-bottom: 0.65rem;
}

.dais-dropdown {
    width: 100%;
}

.dais-dropdown summary {
    list-style: none;
    cursor: pointer;
    display: block;
}

.dais-dropdown summary::-webkit-details-marker {
    display: none;
}

.dais-name {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1.1rem;
    color: #5a0a0a;
    font-weight: 700;
}

.dais-name::before {
    content: "+";
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 999px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #5a0a0a;
    color: #f9e6a2;
    font-size: 0.95rem;
    line-height: 1;
    transition: transform 0.25s ease;
}

.dais-dropdown[open] .dais-name::before {
    content: "-";
    transform: rotate(180deg);
}

.dais-role {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.96rem;
    color: #333;
    font-weight: 400;
}

.dais-bio {
    margin-top: 0 !important;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-4px);
    transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.25s ease, margin-top 0.25s ease;
}

.dais-dropdown[open] .dais-bio {
    margin-top: 0.7rem !important;
    max-height: 680px;
    opacity: 1;
    transform: translateY(0);
}

.committee-dais-list {
    display: grid;
    gap: 1rem;
}

.committee-dais-card {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.committee-dais-card p {
    margin: 0;
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-image-wrapper {
        margin-bottom: 2rem;
    }

    .team-sections {
        text-align: left;
    }

    .team-grid,
    .team-grid-two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .schedule-list {
        grid-template-columns: 1fr;
    }

    .committee-dais-card {
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .team-grid,
    .team-grid-two {
        grid-template-columns: 1fr;
    }
}

.committees-section {
    max-width: 980px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

.committees-header {
    margin-bottom: 2rem;
    text-align: center;
}

.committees-kicker {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6b6b6b;
}

.committees-header h1 {
    margin: 0.4rem 0 0.8rem;
    font-size: 2.7rem;
    color: #5a0a0a;
}

.committees-intro {
    margin: 0 auto;
    max-width: 760px;
    line-height: 1.55;
    color: #2f2f2f;
}

.committee-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.committee-dropdown {
    border: 1px solid #d4c7a6;
    border-radius: 14px;
    background: #FFD700;
    overflow: hidden;
}

.committee-dropdown summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.3rem;
    font-size: 1.1rem;
    color: #fff6d0;
    font-weight: 700;
    background-image:
        linear-gradient(180deg, rgba(26, 16, 8, 0.2) 0%, rgba(26, 16, 8, 0.6) 100%),
        var(--committee-bg, none);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.committee-dropdown summary::-webkit-details-marker {
    display: none;
}

.committee-name {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.committee-name::before {
    content: "+";
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 999px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #5a0a0a;
    color: #f9e6a2;
    font-size: 1rem;
    line-height: 1;
}

.committee-dropdown[open] .committee-name::before {
    content: "-";
}

.committee-tag {
    font-size: 0.74rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid #5a0a0a;
    border-radius: 4px;
    padding: 0.35rem 0.65rem;
    color: #5a0a0a;
    background:
        linear-gradient(135deg, #f7e6ba 0%, #ebd29a 100%);
    flex-shrink: 0;
}

.committee-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    display: flex;
    flex-direction: column;
    padding: 0;
    border-top: 0;
    background: #5a0a0a;
    transition: max-height 0.45s ease, opacity 0.3s ease, padding 0.45s ease, border-color 0.35s ease;
}

.committee-dropdown[open] .committee-body {
    max-height: 6000px;
    opacity: 1;
    padding: 0 0 2.8rem;
}

.committee-body h2 {
    margin: 1rem 0 0.45rem;
    font-size: 1rem;
    color: #ffe8a3;
}

.committee-body p {
    margin: 0;
    color: #fff7ea;
    line-height: 1.6;
}

.committee-body p + p {
    margin-top: 0.8rem;
}

.committee-body a {
    color: #ffd86f;
}

.committee-hero {
    width: calc(100% + 2.6rem);
    box-sizing: border-box;
    align-self: stretch;
    margin: 0 -1.3rem;
    padding: 1rem 1.3rem 1.6rem;
    background-image:
        linear-gradient(180deg, rgba(26, 16, 8, 0.16) 0%, rgba(40, 14, 14, 0.72) 18%, rgba(74, 14, 14, 0.84) 58%, rgba(96, 17, 17, 0.94) 82%, #5a0a0a 100%),
        var(--committee-bg, none);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.committee-hero h2 {
    color: #fff0b8;
}

.committee-hero p {
    color: #fffaf0;
}

.committee-hero .committee-topic {
    display: inline-block;
    margin-top: 0.1rem;
    margin-bottom: 1rem;
    padding: 0.55rem 0.85rem;
    max-width: min(100%, 42rem);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.45;
    color: #fff7d1;
    background: linear-gradient(135deg, rgba(255, 216, 111, 0.22) 0%, rgba(255, 216, 111, 0.08) 100%);
    border: 1px solid rgba(255, 216, 111, 0.4);
    border-radius: 12px;
}

.committee-guide-note {
    margin-top: 1rem !important;
}

.committee-guide-link,
.resource-guide-link {
    display: inline-block;
    margin-top: 0.9rem;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 216, 111, 0.45);
    background: rgba(255, 216, 111, 0.16);
    color: #fff7d1;
    font-weight: 700;
    text-decoration: none;
}

.committee-hero a {
    color: #ffe082;
}

.committee-body > h2,
.committee-body > .committee-dais-list {
    margin-left: 1.3rem;
    margin-right: 1.3rem;
}

.committee-body > h2 {
    margin-top: 0.35rem;
}

.committee-body > .committee-dais-list {
    margin-bottom: 1.4rem;
}

.committee-dais-card {
    color: #fff7ea;
}

.committee-dais-card p {
    color: #fff7ea;
}

.committee-dais-card strong {
    color: #ffe8a3;
}

.committee-dais-card .person-photo {
    border-color: #ffd86f;
}

.committee-panem {
    --committee-bg: url("../images/panem_lakemun.png");
}

.committee-arctic {
    --committee-bg: url("../images/arctic_council_lakemun.png");
}

.committee-who {
    --committee-bg: url("../images/who_lakemun.png");
}

@media (max-width: 680px) {
    .committees-header h1 {
        font-size: 2rem;
    }

    .registration-card h1 {
        font-size: 2rem;
    }

    .committee-dropdown summary {
        flex-direction: column;
        align-items: flex-start;
    }
}

.registration-section {
    max-width: 980px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

.registration-card {
    width: min(100%, 760px);
    margin: 0 auto;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    text-align: center;
}

.registration-kicker {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7a5d1d;
    font-weight: 700;
}

.registration-card h1 {
    margin: 0 0 1rem;
    color: #5a0a0a;
    font-size: 2.7rem;
}

.registration-text {
    margin: 0 auto;
    max-width: 680px;
    color: #2f2f2f;
    line-height: 1.6;
    font-size: 1rem;
}

.registration-link {
    margin-top: 1.4rem;
    display: inline-block;
    padding: 0.82rem 1.15rem;
    border-radius: 10px;
    text-decoration: none;
    background: linear-gradient(135deg, #7a0f0f 0%, #9f1414 100%);
    color: #ffe5a6;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 1px solid #5a0a0a;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.registration-link:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
}

.registration-note {
    margin: 1rem 0 0;
    font-size: 0.84rem;
    color: #6b6b6b;
    word-break: break-all;
}

.resources-section {
    max-width: 980px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

.resources-header {
    text-align: center;
}

.resources-header h1 {
    margin: 0 0 1rem;
    font-size: 2.7rem;
    color: #5a0a0a;
}

.resources-header p {
    margin: 0 auto;
    max-width: 760px;
    line-height: 1.6;
    color: #2f2f2f;
}

.resource-guides {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.resource-library {
    margin-top: 2.5rem;
}

.resource-library h2 {
    margin: 0 0 1rem;
    font-size: 1.6rem;
    color: #5a0a0a;
}

.resource-guide-card {
    background: #ffffff;
    border: 1px solid #e2cc92;
    border-radius: 14px;
    padding: 1.25rem;
}

.resource-guide-card h2 {
    margin: 0 0 0.8rem;
    font-size: 1.1rem;
    color: #5a0a0a;
}

.resource-guide-link {
    margin-top: 0;
    background: linear-gradient(135deg, #7a0f0f 0%, #9f1414 100%);
    border-color: #5a0a0a;
    color: #ffe8a3;
}

@media (max-width: 768px) {
    .resource-guides {
        grid-template-columns: 1fr;
    }
}
