/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Moderator Label Styles */
.moderator-label {
    background: #005A9C;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body {
    font-family: 'Montserrat', BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: none;
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.nav-menu a.active-page {
    color: #005A9C;
    font-weight: 600;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-arrow {
    font-size: 0.8rem;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    border-radius: 8px;
    z-index: 1000;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    border: 1px solid white;
}

.dropdown-content a {
    color: #374151;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    display: block;
    border-radius: 0;
}

.dropdown-content a:hover {
    background-color: #f3f4f6;
    color: #dc2626;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.register-btn {
    background: #005A9C !important;
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
}

.nav-register-btn {
    background: #ffffff !important;
    color: #005A9C !important;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 90, 156, 0.3);
    border: 2px solid #005A9C;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
}

/* Agenda Section */
.agenda {
    padding: 80px 0;
    margin-top: 70px;
}

.agenda h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.agenda-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 1rem 2rem;
    border: 2px solid #005A9C;
    background: transparent;
    color: #005A9C;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.tab-btn.active {
    background: #005A9C;
    color: white;
}

.day-schedule {
    display: none;
    max-width: 800px;
    margin: 0 auto;
}

.day-schedule.active {
    display: block;
}

.schedule-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.time {
    font-weight: 700;
    color: #005A9C;
    min-width: 140px;
    max-width: 140px;
    flex-shrink: 0;
}

.session h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.session p {
    color: #666;
    margin-bottom: 0.5rem;
}

.speaker {
    color: #005A9C;
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
}

.view-panel-btn {
    background: #005A9C;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.panel-buttons {
    display: flex;
    gap: 0.75rem;
    margin: 0.5rem 0;
    flex-wrap: wrap;
}

.course-info-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.location {
    color: #666;
    font-weight: 400;
    font-style: italic;
    display: block;
}

/* Parallel Sessions */
.parallel-session {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #005A9C;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.parallel-session .time {
    min-width: 140px;
    max-width: 140px;
    flex-shrink: 0;
}

.parallel-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 1.5rem;
}

.panel-session {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.panel-session h4 {
    color: #005A9C;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.clickable-course {
    cursor: pointer;
}

.panel-session p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.panel-session .view-panel-btn {
    margin-bottom: 0.8rem;
}

.panel-session .location {
    color: #005A9C;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Clickable Speaker Names */
.clickable-speaker,
.clickable-traci {
    cursor: pointer;
    color: #005A9C;
    text-decoration: underline;
}

/* Speaker Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: none;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.speaker-modal-content {
    padding: 2rem;
}

.speaker-modal-info {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.speaker-modal-photo {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #005A9C;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.speaker-modal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.speaker-modal-photo .speaker-initials {
    font-size: 3rem;
    font-weight: bold;
    color: #005A9C;
}

.speaker-modal-details {
    flex: 1;
}

.speaker-modal-details h3 {
    color: #005A9C;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: normal;
}

.speaker-modal-details p {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.speaker-modal-details p:first-of-type {
    color: #333;
}

.speaker-modal-details div {
    margin-top: 1.5rem;
    line-height: 1.6;
    color: #555;
}

.speaker-modal-details div p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: sticky;
    position: -webkit-sticky;
    top: 15px;
    right: 20px;
    z-index: 3000;
    background: rgba(255, 255, 255, 0.95);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-bottom: -40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.close:hover,
.close:focus {
    color: #005A9C;
    text-decoration: none;
}


/* Footer */
.footer {
    background: #000000;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #005A9C;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #d1d5db;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Footer Accessibility Notice */
.footer-notice {
    background: #0b0b0b;
    border-top: 1px solid #1f2937;
    border-bottom: 1px solid #1f2937;
    padding: 1rem 0;
    margin: 0 0 1rem 0;
}

.footer-notice p {
    margin: 0;
    color: #e5e7eb;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .agenda h2 {
        font-size: 2.2rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    .agenda-tabs {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .schedule-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .time {
        min-width: auto;
        font-size: 1.1rem;
        text-align: center;
    }
    
    .parallel-panels {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .panel-session {
        padding: 1.5rem;
    }

    .panel-speakers {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .panel-speaker-card {
        padding: 1.5rem;
        text-align: center;
    }

    .panel-speaker-card img {
        width: 120px;
        height: 120px;
        margin: 0 auto 1rem;
    }

    .panel-speaker-card h4 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .panel-speaker-card .speaker-title {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .panel-speaker-card .speaker-organization {
        font-size: 0.9rem;
    }

    .moderator-label {
        font-size: 0.8rem;
        padding: 0.2rem 0.5rem;
        margin-left: 0.5rem;
    }
    
    .speaker-modal-info {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .speaker-modal-photo {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }
    
    .speaker-modal-details h3 {
        font-size: 1.5rem;
    }

    /* Modal improvements for mobile */
    .modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 1.5rem;
        max-height: 90vh;
    }

    .panel-modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 1.5rem;
        max-height: 90vh;
    }

    .speaker-modal-info {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .speaker-modal-photo {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }

    .speaker-modal-details {
        text-align: center;
        max-width: 100%;
    }

    .speaker-modal-details h3 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }

    .speaker-modal-details p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .agenda h2 {
        font-size: 1.8rem;
    }

    .schedule-item {
        padding: 1.5rem;
    }
    
    /* Improved modal behavior on mobile */
    .modal {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .modal-content {
        margin: 10px;
        max-height: calc(100vh - 20px);
        width: calc(100% - 20px);
        touch-action: pan-y;
    }
    
    .close {
        position: sticky;
        top: 10px;
        right: 10px;
        font-size: 32px;
        width: 44px;
        height: 44px;
        background: white;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    }
}

/* Panel Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 3% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 95%;
    max-width: 1200px;
    max-height: 85vh;
    position: relative;
    animation: slideIn 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.panel-modal-content h3 {
    color: #005A9C;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.panel-speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.panel-speaker-card {
    background: white;
    padding: 1.2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 2px solid transparent;
}

.panel-speaker-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
    object-position: center top;
    border: 2px solid #005A9C;
}

/* Specific positioning for Robert DeVoogd's image */
.robert-devoogd-img {
    object-position: center 35% !important;
}

/* Specific positioning for Elisa Lee's image */
.elisa-lee-img {
    object-position: center 30% !important;
}


.panel-speaker-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.panel-speaker-card .speaker-title {
    color: #005A9C;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.panel-speaker-card .speaker-organization {
    color: #666;
    font-style: italic;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.panel-speaker-card {
    cursor: pointer;
}

/* Individual Speaker Bio Modal */
.speaker-bio-modal-content {
    max-width: 800px;
    max-height: 80vh;
    padding: 2rem;
}

.speaker-modal-info {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.speaker-modal-photo {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #005A9C;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.speaker-modal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Specific positioning for Robert DeVoogd's image in bio modal */
.speaker-modal-photo img.robert-devoogd-bio-img {
    object-position: center 35% !important;
}

.speaker-modal-photo .speaker-initials {
    font-size: 3rem;
    font-weight: bold;
    color: #005A9C;
}

.speaker-modal-details {
    flex: 1;
}

.speaker-modal-details h3 {
    color: #005A9C;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: normal;
}

.speaker-modal-details p {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.speaker-modal-details p:first-of-type {
    color: #333;
}

.speaker-modal-details div {
    margin-top: 1.5rem;
    line-height: 1.6;
    color: #555;
}

.speaker-modal-details div p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: sticky;
    position: -webkit-sticky;
    top: 15px;
    right: 20px;
    z-index: 3000;
    background: rgba(255, 255, 255, 0.95);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-bottom: -40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.close:hover,
.close:focus {
    color: #005A9C;
    text-decoration: none;
}



/* Responsive Panel Modal */
@media (max-width: 768px) {
    .modal {
        -webkit-overflow-scrolling: touch;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 85vh;
        padding: 1.5rem;
        margin: 5px auto;
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }
    
    .panel-speakers-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .panel-speaker-card {
        padding: 1rem;
    }
    
    .panel-speaker-card img {
        width: 100px;
        height: 100px;
    }
    
    .panel-modal-content h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .speaker-modal-info {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .speaker-modal-photo {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }
    
    .speaker-modal-details h3 {
        font-size: 1.5rem;
    }
    
    .close {
        font-size: 30px;
        width: 42px;
        height: 42px;
        top: 10px;
    }
}

/* Course Information Modal */
.course-modal-content {
    max-width: 800px;
    max-height: 80vh;
    padding: 2rem;
}

.course-modal-content h3 {
    color: #005A9C;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.course-modal-content h4 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.course-modal-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.cle-overview {
    background: #f8f9fa;
    border-left: 4px solid #005A9C;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.cle-overview h4 {
    color: #005A9C;
    margin-bottom: 1rem;
}

/* Smooth Scrolling */
html {
    scroll-behavior: auto;
}


