:root {
    --primary-color: #208714;
    --primary-dark: #1a0d3a;
    --primary-light: #3a297a;
    --accent-color: #6a4caf;
    --text-color: #333;
    --light-text: #f8f9fa;
    --white: #ffffff;
    --error-color: #ff4444;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

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

.header {
    display: flex;
    align-items: center;
    background-color: var(--white);
    padding: 15px 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
}

.logo {
    height: 60px;
    margin-right: 20px;
}

.header-title {
    font-size: 28px;
    font-weight: 600;
    color: black;
}

.mobile-menu-container {
    position: relative;
    width: 100%;
    background-color: transparent;
    margin-bottom: 20px;
}

.mobile-menu-toggle {
    display: none;
    padding: 12px 15px;
    background-color: var(--accent-color);
    color: white;
    font-weight: 500;
    border-radius: 4px;
    margin: 10px;
    cursor: pointer;
    align-items: center;
    gap: 8px;
    width: calc(100% - 20px);
}

.mobile-menu-toggle i {
    font-size: 20px;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px auto;
    max-width: 900px;
    flex-wrap: wrap;
}

.stat-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 220px;
    border: 1px solid rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

.stat-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.stat-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
    text-align: center;
    margin: 0;
    letter-spacing: 0.5px;
}

.content-section {
    margin-bottom: 40px;
}

.section-divider {
    margin: 30px 0;
    border: 0;
    height: 1px;
    background-color: rgba(0,0,0,0.1);
}

.content-title {
    font-size: 32px;
    color: black;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

.content-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: black;
}

.content-section-title {
    font-size: 24px;
    font-weight: 600;
    color: black;
    margin: 30px 0 15px;
}

.content-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: black;
    margin: 20px 0 10px;
}

.quote-list {
    margin-left: 20px;
    margin-bottom: 20px;
    list-style-type: none;
}

.quote-list li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.quote-list li::before {
    content: "•";
    color: var(--accent-color);
    font-size: 20px;
    position: absolute;
    left: 0;
}

.sub-tabs-container {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border-radius: 4px;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
}

.sub-tabs {
    display: flex;
    min-width: fit-content;
    padding: 0 10px;
}

.sub-tab {
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    color: black;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    margin: 0 10px;
    border-radius: 4px;
    white-space: nowrap;
}

.sub-tab:hover {
    background-color: #e9e9e9;
    color: var(--accent-color);
}

.sub-tab.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    font-weight: 600;
    background-color: #e9e9e9;
}

.sub-tab-content {
    display: none;
    width: 100%;
}

.sub-tab-content.active {
    display: block;
}

.mobile-submenu-toggle {
    display: none;
    padding: 15px;
    background-color: var(--accent-color);
    color: white;
    font-weight: 500;
    border-radius: 4px;
    margin: 10px;
    cursor: pointer;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 20px);
}

.mobile-submenu-toggle i {
    transition: transform 0.3s ease;
}

.mobile-submenu-toggle.active i {
    transform: rotate(180deg);
}

.heading-icon {
    width: 28px;
    height: 28px;
    margin-right: 10px;
    vertical-align: middle;
}

.clickable-title {
    cursor: pointer;
    transition: color 0.2s ease;
    font-size: 22px;
    margin: 20px 0;
    display: flex;
    align-items: center;
}

.clickable-title:hover {
    color: var(--accent-color);
}

#passwordBox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#passwordInput {
    padding: 15px 25px;
    font-size: 18px;
    border: 2px solid var(--accent-color);
    border-radius: 6px;
    width: 320px;
    margin-bottom: 20px;
    text-align: center;
}

#submitBtn {
    padding: 15px 35px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s;
}

#submitBtn:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.error {
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.main-content {
    display: none;
    width: 100%;
}

.tabs {
    display: flex;
    background-color: var(--white);
    overflow: hidden;
    box-shadow: none;
}

.tab {
    padding: 18px 20px;
    cursor: pointer;
    text-align: center;
    font-weight: 500;
    font-size: 16px;
    color: black;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}

.tab:hover {
    background-color: #f5f5f5;
    color: var(--accent-color);
}

.tab.active {
    color: var(--accent-color);
    border-bottom: 3px solid var(--accent-color);
    font-weight: 600;
}

.tab-content {
    display: none;
    padding: 30px;
    background-color: var(--white);
    margin-bottom: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease;
    min-height: calc(100vh - 100px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tab-content.active {
    display: block;
}

.content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.contact-container {
    text-align: center;
}

.contact-text {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-email {
    font-size: 18px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-email:hover {
    text-decoration: underline;
}

.responsive-iframe {
    width: 100%;
    height: calc(100vh - 100px);
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.site-footer {
    text-align: center;
    padding: 20px;
    background-color: white;
    margin-top: 20px;
}

.site-footer a {
    color: var(--accent-color);
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.download-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0 auto 20px;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.download-button i {
    margin-right: 8px;
}

.download-button:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.presentation-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.presentation-button i {
    margin-right: 8px;
}

.script-intro {
    margin-bottom: 20px;
    font-style: italic;
    color: #555;
}

.recommendation-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.recommendation-item:last-child {
    border-bottom: none;
}

.recommendation-item h4 {
    font-size: 20px;
    color: black;
    margin-bottom: 10px;
}

/* Desktop Burger Menu Styles */
.desktop-burger-menu {
    position: relative;
    display: none;
    margin-left: auto;
}

.burger-toggle {
    padding: 18px 20px;
    cursor: pointer;
    color: black;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.burger-toggle:hover {
    background-color: #f5f5f5;
    color: var(--accent-color);
}

.burger-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 4px 4px;
    z-index: 100;
    display: none;
    min-width: 180px;
}

.burger-dropdown.active {
    display: block;
}

.burger-tab {
    padding: 15px 20px;
    cursor: pointer;
    color: black;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.burger-tab:hover {
    background-color: #f5f5f5;
    color: var(--accent-color);
}

/* Audio highlight styles */
.highlight-active .audio-highlight-overlay {
    position: absolute;
    width: 150px;
    height: 40px;
    background-color: rgba(106, 76, 175, 0.9);
    border-radius: 6px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.highlight-active .audio-highlight-tooltip {
    color: white;
    font-weight: 500;
    font-size: 14px;
    padding: 5px 10px;
    text-align: center;
}

.dimmed {
    position: relative;
}

.dimmed::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Audio version buttons */
.audio-version-buttons {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.version-button {
    padding: 10px 15px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.version-button:hover {
    background-color: #e0e0e0;
}

.version-button.active {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header {
        padding: 10px 15px;
    }
    
    .logo {
        height: 50px;
        margin-right: 15px;
    }
    
    .header-title {
        font-size: 1.5rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .desktop-burger-menu {
        display: none !important;
    }
    
    .tabs {
        display: none;
        position: static;
        flex-direction: column;
        background-color: white;
        z-index: 1000;
        box-shadow: none;
        margin-top: 0;
    }
    
    .tabs.active {
        display: flex;
    }
    
    .tab {
        padding: 15px;
        text-align: left;
        border-bottom: 1px solid #eee;
    }
    
    .content-title {
        font-size: 28px;
    }
    
    .content-text {
        font-size: 16px;
    }
    
    .clickable-title {
        font-size: 18px;
    }
    
    .heading-icon {
        width: 22px;
        height: 22px;
    }

    .sub-tab {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .mobile-submenu-toggle {
        display: flex;
    }
    
    .sub-tabs {
        flex-direction: column;
        display: none;
    }
    
    #partSubTabs.active,
    #recSubTabs.active {
        display: flex;
        flex-direction: column;
    }
    
    .sub-tab {
        margin: 5px 0;
        padding: 10px 15px;
        border-bottom: none;
    }
    
    .sub-tab.active {
        border-bottom: none;
        background-color: #e0e0e0;
    }
}

@media (min-width: 769px) {
    .mobile-menu-container {
        display: flex;
        width: 100%;
        background-color: var(--white);
    }

    .tabs {
        flex: 1;
        display: flex;
        overflow: hidden;
    }

    .tab {
        flex: 0 1 auto;
        padding: 18px 20px;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .desktop-burger-menu {
        display: flex;
        margin-left: auto;
        flex-shrink: 0;
    }

    /* Hide specific tabs from main menu on desktop */
    .tab[data-tab="participants"],
    .tab[data-tab="script"],
    .tab[data-tab="contact"] {
        display: none;
    }
    
    /* Hide mobile toggle on desktop */
    .mobile-menu-toggle {
        display: none;
    }
}

@media (max-width: 480px) {
    .stats-container {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-card {
        width: 100%;
        max-width: 280px;
    }
    
    .content-title {
        font-size: 24px;
    }
    
    .content-text {
        font-size: 16px;
    }
    
    .heading-icon {
        width: 18px;
        height: 18px;
    }
    
    .section-divider {
        margin: 20px 0;
    }
    
    .mobile-submenu-toggle {
        font-size: 14px;
    }
}

