.about-container {
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 40px max(20px, calc((100% - 1160px) / 2));
}

.warning-box {
    background: var(--bg-primary);
    border: 2px solid rgb(100, 170, 235);
    border-radius: 8px;
    padding: 15px 20px;
    margin: 0 auto 30px auto;
    max-width: 800px;
    color: var(--text-color);
    font-size: 16px;
    text-align: center;
    font-weight: 500;
}

.about-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.about-nav-left {
    display: flex;
    gap: 20px;
}

.about-nav-btn {
    background-color: var(--button-inactive);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}

.about-nav-btn:hover,
.about-nav-btn:focus,
.about-nav-btn:active {
    background-color: var(--button-primary);
    color: white;
}

.about-nav-btn.active {
    background-color: var(--button-primary);
    color: white;
}

.about-nav-btn.active:hover,
.about-nav-btn.active:focus,
.about-nav-btn.active:active {
    background-color: var(--button-primary);
    color: white;
}

/* Ensure link buttons have white text */
a.about-nav-btn {
    color: white !important;
}

a.about-nav-btn:hover,
a.about-nav-btn:focus,
a.about-nav-btn:active,
a.about-nav-btn:visited {
    color: white !important;
    text-decoration: none !important;
}

.notification-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #ff4444;
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: top;
    margin-top: 2px;
    box-shadow: 0 0 3px rgba(255, 68, 68, 0.5);
}

.content-section {
    display: block; /* Default to block */
}

.content-section.hidden {
    display: none;
}


.two-column-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: start;
}

.content-column h1 {
    color: var(--text-color);
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.content-column h2 {
    color: var(--text-color);
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.content-column h3 {
    color: var(--text-color);
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.content-column p {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.about-swipe-hint {
    color: var(--text-color);
    font-size: 14px;
    opacity: 0.75;
    margin-bottom: 8px;
}

.image-column {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.about-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.full-width-section {
    margin-bottom: 40px;
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.full-width-section h2 {
    color: var(--text-color);
    font-size: 28px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.full-width-section h3 {
    color: var(--text-color);
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.full-width-section p {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.full-width-section p:last-child {
    margin-bottom: 0;
}

/* Link styling to match inactive button color */
.about-container a {
    color: rgb(100, 170, 235);
    text-decoration: none;
    transition: color 0.2s ease;
}

.about-container a:hover {
    color: rgb(80, 150, 215);
    text-decoration: underline;
}

.about-container a:visited {
    color: rgb(100, 170, 235);
}

/* Contact section styles */
.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-header h1 {
    color: var(--text-color);
    font-size: 36px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.message-intro {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: center;
}

.user-info-section {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.user-info-item {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.user-info-item:last-child {
    margin-bottom: 0;
}

.user-info-item strong {
    display: inline-block;
    width: 100px;
    color: var(--text-color);
}

.message-form {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    color: var(--text-color);
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.form-control {
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    background-color: var(--input-bg-color, var(--card-bg-color));
    color: var(--text-color);
    border: 1px solid var(--border-color);
    font-size: 16px;
    line-height: 1.4;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: rgb(100, 170, 235);
    box-shadow: 0 0 0 2px rgba(100, 170, 235, 0.2);
}

.form-control[rows] {
    resize: vertical;
    min-height: 120px;
    font-family: var(--font-family-base, inherit);
}

.form-help {
    color: var(--text-color-secondary, var(--text-color));
    font-size: 14px;
    margin-top: 5px;
    opacity: 0.8;
}

.form-errors {
    margin-top: 5px;
}

.error {
    color: #e74c3c;
    font-size: 14px;
    line-height: 1.4;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.route-section {
    margin-bottom: 30px;
}

.submit-button {
    background-color: rgb(100, 170, 235);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    min-width: 120px;
}

.submit-button:hover {
    background-color: rgb(80, 150, 215);
    transform: translateY(-1px);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(100, 170, 235, 0.3);
}

.contact-info {
    text-align: center;
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
}

.contact-info p {
    margin-bottom: 16px;
}

.contact-info a {
    color: rgb(100, 170, 235);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .about-container {
        padding: 20px 15px;
    }
    
    .about-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .about-nav-left {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .about-nav-btn {
        width: auto;
        flex: 0 0 auto;
        text-align: center;
    }
    
    .two-column-section {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .content-column h1 {
        font-size: 28px;
    }
    
    .content-column h2 {
        font-size: 22px;
    }
    
    .full-width-section {
        padding: 20px;
    }
    
    .full-width-section h2 {
        font-size: 24px;
    }

    .contact-header h1 {
        font-size: 28px;
    }

    .user-info-section, .message-form {
        padding: 20px;
    }

    .user-info-item strong {
        width: 80px;
        font-size: 14px;
    }

    .user-info-item {
        font-size: 14px;
    }
}

.status-none-emphasis {
    font-weight: bold;
    color: red;
}

