/* Shared Styles for Silkwood Learning Hub */

:root {
    --silk-blue: #16477B;
    --silk-orange: #E49C50;
    --silk-green: #618B67;
    --silk-sage: #7A9E7E;
    --silk-sage-light: #EAF2EB;
    --silk-light: #DEE6EE;
    --silk-text: #333333;
    --pd-blue: #5B8DB8;
    --seqta-green: #618B67;
    --apple-orange: #E49C50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--silk-text);
    background: #f8fafb;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.site-header {
    background: #0F3A5F;
    border-bottom: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hamburger-menu {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: all 0.3s ease;
}

.hamburger-menu span {
    display: block;
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}


.mobile-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    background: #0F3A5F;
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-header .header-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.close-menu {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-menu:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.mobile-menu-content {
    padding: 1rem 0;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: var(--silk-text);
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.menu-item:hover {
    background: var(--silk-light);
    border-left-color: var(--silk-orange);
}

.menu-item.active {
    background: var(--silk-light);
    border-left-color: var(--silk-blue);
    font-weight: 700;
}

.menu-item .material-symbols-outlined {
    color: var(--silk-blue);
    font-size: 1.5rem;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.header-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ict-ticket-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--silk-orange);
    color: white;
    padding: 0.5rem 1.1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.ict-ticket-btn:hover {
    background: #cf8a3e;
    transform: translateY(-1px);
}

.ict-ticket-btn .material-symbols-outlined {
    font-size: 1.2rem;
}

.help-tour-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.6);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
}
.help-tour-btn:hover {
    background: rgba(255,255,255,0.35);
    transform: scale(1.1);
}
.help-tour-btn--pulse {
    animation: tourBtnPulse 1.5s ease-in-out infinite;
}
@keyframes tourBtnPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.6); transform: scale(1); }
    50%       { box-shadow: 0 0 0 8px rgba(255,255,255,0); transform: scale(1.12); }
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.header-logo {
    height: 50px;
    object-fit: contain;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.logo-link:hover .header-logo {
    transform: scale(1.07);
    opacity: 0.85;
}

.header-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: var(--silk-blue);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--silk-light);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.page-header {
    margin-bottom: 3rem;
}

.page-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--silk-blue);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.page-title .material-symbols-outlined {
    font-size: 3rem;
}

.page-description {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.6;
}

/* Section Styles */
.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--silk-blue);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title::before {
    content: '';
    width: 5px;
    height: 2rem;
    background: var(--silk-orange);
    border-radius: 3px;
}

/* Info Section */
.info-section {
    background: white;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.info-content {
    max-width: 1000px;
    margin: 0 auto;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--silk-light);
    border-radius: 12px;
    text-decoration: none;
    color: var(--silk-blue);
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.quick-link:hover {
    background: var(--silk-blue);
    color: white;
    border-color: var(--silk-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 71, 123, 0.2);
}

.quick-link .material-symbols-outlined {
    font-size: 1.75rem;
    color: var(--silk-orange);
}

.quick-link:hover .material-symbols-outlined {
    color: white;
}

/* Footer */
.site-footer {
    background: var(--silk-blue);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: auto;
}

/* Content Cards */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.content-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--card-color, var(--silk-blue));
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.content-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--silk-blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.content-card a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--card-color, var(--silk-blue));
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.content-card a:hover {
    gap: 0.75rem;
}

/* Tutorial/Resource Links */
.resource-section {
    margin: 3rem 0;
}

.resource-category {
    margin-bottom: 3rem;
}

.category-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--category-color, var(--silk-blue));
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--silk-light);
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.resource-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: var(--silk-blue);
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--silk-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.resource-link:hover {
    background: var(--link-hover-bg, var(--silk-blue));
    color: white;
    border-color: var(--link-hover-bg, var(--silk-blue));
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.resource-link .material-symbols-outlined {
    color: var(--silk-orange);
    transition: color 0.3s ease;
}

.resource-link:hover .material-symbols-outlined {
    color: white;
}

/* Search Box */
.search-box {
    position: relative;
    margin-bottom: 2rem;
    max-width: 600px;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--silk-light);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--silk-blue);
    box-shadow: 0 0 0 3px rgba(22, 71, 123, 0.1);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .page-title {
        font-size: 2rem;
    }

    .content-grid,
    .resource-grid {
        grid-template-columns: 1fr;
    }

    .quick-links {
        grid-template-columns: 1fr;
    }
}

/* Material Icons */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* styles from apple-ipad.html */
.apple-support .category-title {
            --category-color: var(--apple-orange);
        }

        .apple-support .resource-link {
            --link-hover-bg: var(--apple-orange);
        }

        .page-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #E49C50, #f0a860);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2.5rem;
        }

        .featured-card {
            background: linear-gradient(135deg, #fef5eb, #fff);
            border: 2px solid var(--apple-orange);
            border-radius: 16px;
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: 0 4px 15px rgba(228, 156, 80, 0.1);
        }

        .featured-card h3 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--apple-orange);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .featured-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            background: var(--apple-orange);
            color: white;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(228, 156, 80, 0.3);
        }

        .featured-link:hover {
            background: #d88a3d;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(228, 156, 80, 0.4);
        }


/* styles from applications.html */
.page-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #7C6BAF, #9485c4);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2.5rem;
        }

        .compliance-alert {
            background: linear-gradient(135deg, #f3f1f9, #e8e4f5);
            border-left: 5px solid #7C6BAF;
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 2rem;
            display: flex;
            gap: 1rem;
            align-items: start;
        }

        .compliance-alert .material-symbols-outlined {
            color: #7C6BAF;
            font-size: 2rem;
        }

        .compliance-alert h3 {
            color: #7C6BAF;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .app-card {
            background: white;
            border-radius: 16px;
            padding: 2rem;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            border-top: 4px solid #7C6BAF;
        }

        .app-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        }

        .app-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .app-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #7C6BAF, #9485c4);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2rem;
        }

        .app-title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--silk-blue);
        }

        .app-status {
            display: inline-block;
            padding: 0.35rem 0.75rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .app-status.approved {
            background: #d1fae5;
            color: #065f46;
        }

        .app-status.pending {
            background: #fef3c7;
            color: #92400e;
        }

        .app-details {
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid var(--silk-light);
        }

        .app-detail-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
            color: #666;
        }

        .app-detail-item .material-symbols-outlined {
            font-size: 1.25rem;
            color: #7C6BAF;
        }

        .approval-cta {
            background: linear-gradient(135deg, #7C6BAF, #9485c4);
            color: white;
            padding: 2rem;
            border-radius: 16px;
            text-align: center;
            margin: 2rem 0;
        }

        .approval-cta h3 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.75rem;
            margin-bottom: 1rem;
        }

        .approval-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 1rem 2rem;
            background: white;
            color: #7C6BAF;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 700;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        .approval-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        }

        .tab-navigation {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
            border-bottom: 2px solid var(--silk-light);
            padding-bottom: 0;
        }

        .tab-btn {
            padding: 1rem 2rem;
            background: transparent;
            border: none;
            border-bottom: 3px solid transparent;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            color: #666;
        }

        .tab-btn:hover {
            color: #7C6BAF;
            background: rgba(124, 107, 175, 0.05);
        }

        .tab-btn.active {
            color: #7C6BAF;
            border-bottom-color: #7C6BAF;
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
            animation: fadeIn 0.4s ease-in-out;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }


/* styles from community-projects.html */
.page-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #2D7A8E, #3a96ab);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2.5rem;
        }

        .tab-navigation {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
            border-bottom: 2px solid var(--silk-light);
            padding-bottom: 0;
            flex-wrap: wrap;
        }

        .tab-btn {
            padding: 1rem 1.5rem;
            background: transparent;
            border: none;
            border-bottom: 3px solid transparent;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            color: #666;
        }

        .tab-btn:hover {
            color: #2D7A8E;
            background: rgba(45, 122, 142, 0.05);
        }

        .tab-btn.active {
            color: #2D7A8E;
            border-bottom-color: #2D7A8E;
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
            animation: fadeIn 0.4s ease-in-out;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .project-overview {
            background: white;
            padding: 2rem;
            border-radius: 16px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            margin-bottom: 2rem;
        }

        .project-overview h3 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: #2D7A8E;
            margin-bottom: 1rem;
        }

        .timeline-container {
            background: white;
            padding: 2rem;
            border-radius: 16px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        }

        .timeline-item {
            position: relative;
            padding-left: 3rem;
            padding-bottom: 2rem;
            border-left: 3px solid var(--silk-light);
            margin-left: 1rem;
        }

        .timeline-item:last-child {
            border-left-color: transparent;
        }

        .timeline-dot {
            position: absolute;
            left: -0.75rem;
            top: 0;
            width: 1.5rem;
            height: 1.5rem;
            background: #2D7A8E;
            border-radius: 50%;
            border: 3px solid white;
            box-shadow: 0 0 0 3px #2D7A8E;
        }

        .timeline-dot.completed {
            background: #10b981;
            box-shadow: 0 0 0 3px #10b981;
        }

        .timeline-dot.in-progress {
            background: #f59e0b;
            box-shadow: 0 0 0 3px #f59e0b;
        }

        .timeline-date {
            font-weight: 700;
            color: #2D7A8E;
            margin-bottom: 0.5rem;
        }

        .timeline-title {
            font-weight: 700;
            font-size: 1.125rem;
            color: var(--silk-blue);
            margin-bottom: 0.5rem;
        }

        .timeline-description {
            color: #666;
            line-height: 1.6;
        }

        .goals-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .goal-card {
            background: white;
            padding: 2rem;
            border-radius: 16px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            border-top: 4px solid var(--goal-color);
            transition: all 0.3s ease;
        }

        .goal-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        }

        .goal-card h3 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--silk-blue);
            margin-bottom: 0.75rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .goal-badge {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .goal-badge.small-rock {
            background: #dbeafe;
            color: #1e40af;
        }

        .goal-badge.big-rock {
            background: #fef3c7;
            color: #92400e;
        }

        .goal-status {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid var(--silk-light);
        }

        .status-indicator {
            width: 10px;
            height: 10px;
            border-radius: 50%;
        }

        .status-indicator.completed {
            background: #10b981;
        }

        .status-indicator.in-progress {
            background: #f59e0b;
        }

        .status-indicator.planned {
            background: #94a3b8;
        }

        @media (max-width: 768px) {
            .tab-navigation {
                overflow-x: auto;
                flex-wrap: nowrap;
            }

            .tab-btn {
                white-space: nowrap;
            }
        }


/* styles from events.html */
.page-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #DC2626, #EF4444);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2.5rem;
        }

        .tab-navigation {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
            border-bottom: 2px solid var(--silk-light);
            padding-bottom: 0;
            flex-wrap: wrap;
        }

        .tab-btn {
            padding: 1rem 1.5rem;
            background: transparent;
            border: none;
            border-bottom: 3px solid transparent;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            color: #666;
        }

        .tab-btn:hover {
            color: #DC2626;
            background: rgba(220, 38, 38, 0.05);
        }

        .tab-btn.active {
            color: #DC2626;
            border-bottom-color: #DC2626;
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
            animation: fadeIn 0.4s ease-in-out;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .events-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 2rem;
            margin: 2rem 0;
        }

        .event-card {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            border-top: 4px solid var(--event-color);
            display: flex;
            flex-direction: column;
        }

        .event-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        }

        .event-header {
            background: linear-gradient(135deg, var(--event-color), var(--event-color-light));
            color: white;
            padding: 1.5rem;
        }

        .event-date {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.875rem;
            margin-bottom: 0.5rem;
            opacity: 0.95;
        }

        .event-title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .event-time {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.875rem;
            opacity: 0.9;
        }

        .event-body {
            padding: 1.5rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .event-description {
            color: #666;
            line-height: 1.6;
            margin-bottom: 1.5rem;
            flex: 1;
        }

        .event-details {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            margin-bottom: 1.5rem;
            padding: 1rem;
            background: #f8fafb;
            border-radius: 8px;
        }

        .event-detail-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.875rem;
            color: #666;
        }

        .event-detail-item .material-symbols-outlined {
            font-size: 1.125rem;
            color: var(--event-color);
        }

        .event-footer {
            display: flex;
            gap: 1rem;
            align-items: center;
        }

        .signup-btn {
            flex: 1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.875rem 1.5rem;
            background: var(--event-color);
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .signup-btn:hover {
            background: var(--event-color-dark);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .signup-btn.full {
            background: #94a3b8;
            cursor: not-allowed;
        }

        .signup-btn.full:hover {
            background: #94a3b8;
            transform: none;
        }

        .spots-left {
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
            padding: 0.5rem 0.75rem;
            background: #fef3c7;
            color: #92400e;
            border-radius: 8px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .spots-left.low {
            background: #fee2e2;
            color: #991b1b;
        }

        /* Color schemes for different event types */
        .event-card.workshop {
            --event-color: #2563eb;
            --event-color-light: #3b82f6;
            --event-color-dark: #1e40af;
        }

        .event-card.training {
            --event-color: #7c3aed;
            --event-color-light: #8b5cf6;
            --event-color-dark: #6d28d9;
        }

        .event-card.webinar {
            --event-color: #059669;
            --event-color-light: #10b981;
            --event-color-dark: #047857;
        }

        .event-card.conference {
            --event-color: #dc2626;
            --event-color-light: #ef4444;
            --event-color-dark: #b91c1c;
        }

        .event-card.pd-session {
            --event-color: #ea580c;
            --event-color-light: #f97316;
            --event-color-dark: #c2410c;
        }

        .filter-section {
            background: white;
            padding: 1.5rem;
            border-radius: 12px;
            margin-bottom: 2rem;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        .filter-group {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            align-items: center;
        }

        .filter-label {
            font-weight: 600;
            color: var(--silk-blue);
        }

        .filter-tag {
            padding: 0.5rem 1rem;
            background: var(--silk-light);
            border: 2px solid transparent;
            border-radius: 20px;
            font-size: 0.875rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .filter-tag:hover {
            border-color: var(--silk-blue);
            background: white;
        }

        .filter-tag.active {
            background: var(--silk-blue);
            color: white;
            border-color: var(--silk-blue);
        }

        @media (max-width: 768px) {
            .events-grid {
                grid-template-columns: 1fr;
            }

            .tab-navigation {
                overflow-x: auto;
                flex-wrap: nowrap;
            }

            .tab-btn {
                white-space: nowrap;
            }
        }


/* styles from index.html */
.hero-section {
            background: linear-gradient(135deg, #16477B 0%, #1a5a99 50%, #618B67 100%);
            padding: 5rem 2rem 12rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="white" opacity="0.1"/></svg>');
            opacity: 0.3;
        }

        .hero-content {
            position: relative;
            z-index: 1;
            max-width: 800px;
            margin: 0 auto;
        }

        .hero-title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 3.5rem;
            font-weight: 700;
            color: white;
            margin-bottom: 1rem;
            letter-spacing: -0.02em;
            animation: fadeInUp 0.8s ease-out;
        }

        .hero-subtitle {
            font-size: 1.25rem;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 2rem;
            animation: fadeInUp 0.8s ease-out 0.2s backwards;
        }

        .hub-grid {
            max-width: 1200px;
            margin: -3rem auto 4rem;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            position: relative;
            z-index: 2;
        }

        .hub-card {
            background: white;
            border-radius: 20px;
            padding: 2.5rem;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            cursor: pointer;
            text-decoration: none;
            color: inherit;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hub-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: var(--card-accent);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s ease;
        }

        .hub-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
        }

        .hub-card:hover::before {
            transform: scaleX(1);
        }

        .card-icon-wrapper {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: var(--card-bg);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            transition: all 0.4s ease;
        }

        .hub-card:hover .card-icon-wrapper {
            transform: scale(1.1) rotate(5deg);
            background: var(--card-accent);
        }

        .card-icon {
            font-size: 3rem;
            color: var(--card-accent);
            transition: color 0.4s ease;
        }

        .hub-card:hover .card-icon {
            color: white;
        }

        .card-title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: #16477B;
            margin-bottom: 0.75rem;
        }

        .card-description {
            color: #666;
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }

        .card-badge {
            background: #E49C50;
            color: white;
            padding: 0.35rem 0.75rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .card-badge.new {
            background: linear-gradient(135deg, #E49C50, #f0a860);
            animation: pulse 2s ease-in-out infinite;
        }

        /* Card specific colors */
        .hub-card.seqta-support {
            --card-accent: #618B67;
            --card-bg: #f0f7f1;
        }

        .hub-card.seqta-naming {
            --card-accent: #16477B;
            --card-bg: #e8f1f8;
        }

        .hub-card.professional-dev {
            --card-accent: #5B8DB8;
            --card-bg: #e8f3fc;
        }

        .hub-card.apple-ipad {
            --card-accent: #E49C50;
            --card-bg: #fef5eb;
        }

        .hub-card.applications {
            --card-accent: #7C6BAF;
            --card-bg: #f3f1f9;
        }

        .hub-card.community-projects {
            --card-accent: #2D7A8E;
            --card-bg: #e8f4f7;
        }

        .staff-section {
            max-width: 930px;
            margin: 2.5rem auto 3rem auto;
            padding-top: 2rem;
            border-top: 4px solid var(--silk-orange);
            text-align: left;
        }

        .staff-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 1rem;
            margin: 1rem auto 0 auto;
            justify-content: center;
            width: 100%;
        }

        .staff-section .section-title {
            margin: 0 0 1rem 0;
            max-width: 930px;
            text-align: left;
        }

        .staff-card {
            background: #fff;
            border: 1px solid #d8dee8;
            border-radius: 16px;
            padding: 1.25rem;
            box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
            text-align: center;
        }

        .staff-avatar {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            object-fit: cover;
            display: inline-block;
            margin-bottom: 0.65rem;
            border: 2px solid var(--silk-blue);
        }

        .staff-role {
            color: #5f6f80;
            margin: 0.2rem 0 0.75rem;
            font-weight: 600;
        }

        .staff-email-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            margin-top: 0.5rem;
            padding: 0.45rem 1rem;
            background: var(--silk-blue);
            color: #fff;
            border-radius: 8px;
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 600;
            transition: background 0.2s, transform 0.15s;
        }
        .staff-email-btn:hover { background: #0f3260; transform: translateY(-1px); }
        .staff-email-btn .material-symbols-outlined { font-size: 1rem; }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
        }

        .training-banner {
            background: linear-gradient(90deg, #ffffff, #7ca789);
            padding: 1rem 2rem;
            margin: -11.5rem auto 5rem auto;
            border-radius: 14px;
            max-width: 1100px;
            box-shadow: 0 8px 18px rgba(0,0,0,.06);
            position: relative;
            z-index: 1;
        }

        .training-banner-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .training-banner .material-symbols-outlined {
            font-size: 2.25rem;
            color: #16477B;
        }

        .training-banner h2 {
            margin: 0;
            font-size: 1.35rem;
            color: #345475;
        }

        .training-banner p {
            margin: 0.15rem 0 0;
            color: #506f91;
        }

        .training-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            background: #16477B;
            color: white;
            padding: 0.55rem 1rem;
            border-radius: 10px;
            text-decoration: none;
            font-weight: 700;
            white-space: nowrap;
            box-shadow: 0 5px 12px rgba(0,0,0,.15);
        }

        .training-btn:hover {
            background: #12325b;
            transform: translateY(-1px);
        }

        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.5rem;
            }

            .hub-grid {
                grid-template-columns: 1fr;
                margin-top: -2rem;
            }

            .training-banner-content {
                justify-content: center;
                text-align: center;
            }

            .training-banner h2 {
                width: 100%;
            }

            .training-btn {
                margin-top: 0.6rem;
            }
        }


/* styles from professional-development.html */
.page-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #5B8DB8, #6fa3cd);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2.5rem;
        }

        .tab-navigation {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
            border-bottom: 2px solid var(--silk-light);
            padding-bottom: 0;
        }

        .tab-btn {
            padding: 1rem 2rem;
            background: transparent;
            border: none;
            border-bottom: 3px solid transparent;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            color: #666;
        }

        .tab-btn:hover {
            color: var(--pd-blue);
            background: rgba(91, 141, 184, 0.05);
        }

        .tab-btn.active {
            color: var(--pd-blue);
            border-bottom-color: var(--pd-blue);
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
            animation: fadeIn 0.4s ease-in-out;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .content-card {
            --card-color: var(--pd-blue);
        }

        .coming-soon {
            background: linear-gradient(135deg, #e8f3fc, #d4e8f7);
            border: 2px dashed var(--pd-blue);
            border-radius: 16px;
            padding: 3rem;
            text-align: center;
            color: #666;
        }

        .coming-soon .material-symbols-outlined {
            font-size: 4rem;
            color: var(--pd-blue);
            margin-bottom: 1rem;
        }


/* styles from seqta-naming.html */
.page-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #16477B, #1a5a99);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2.5rem;
        }

        .tool-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            margin: 2rem 0;
        }

        .tool-section {
            background: white;
            padding: 2rem;
            border-radius: 16px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        }

        .tool-title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--silk-blue);
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-label {
            display: block;
            font-weight: 600;
            color: var(--silk-blue);
            margin-bottom: 0.5rem;
        }

        .form-select, .form-input {
            width: 100%;
            padding: 0.75rem;
            border: 2px solid var(--silk-light);
            border-radius: 8px;
            font-family: inherit;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .form-select:focus, .form-input:focus {
            outline: none;
            border-color: var(--silk-blue);
            box-shadow: 0 0 0 3px rgba(22, 71, 123, 0.1);
        }

        .suffix-buttons {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0.75rem;
            margin-bottom: 1rem;
        }

        .suffix-btn {
            padding: 0.75rem;
            background: white;
            border: 2px solid var(--silk-light);
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .suffix-btn:hover {
            border-color: var(--silk-blue);
            background: var(--silk-light);
        }

        .suffix-btn.active {
            background: var(--silk-blue);
            color: white;
            border-color: var(--silk-blue);
        }

        .suffix-btn.senior {
            border-color: #f0a860;
            background: #fef5eb;
        }

        .suffix-btn.senior.active {
            background: var(--silk-orange);
            border-color: var(--silk-orange);
            color: white;
        }

        .senior-options {
            margin-top: 1rem;
            padding: 1rem;
            background: #fef5eb;
            border-radius: 8px;
            border: 2px solid #f0a860;
        }

        .output-section {
            background: linear-gradient(135deg, #16477B, #1a5a99);
            color: white;
            padding: 2rem;
            border-radius: 16px;
            text-align: center;
        }

        .output-code {
            font-family: 'Courier New', monospace;
            font-size: 3rem;
            font-weight: 700;
            margin: 1.5rem 0;
            letter-spacing: 2px;
        }

        .char-count {
            display: inline-block;
            padding: 0.5rem 1rem;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            font-weight: 600;
            margin-top: 1rem;
        }

        .char-count.error {
            background: #dc2626;
        }

        .error-msg {
            background: #dc2626;
            padding: 1rem;
            border-radius: 8px;
            margin-top: 1rem;
            display: none;
        }

        .error-msg.show {
            display: block;
        }

        .reference-table {
            width: 100%;
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            margin-top: 2rem;
        }

        .reference-table table {
            width: 100%;
            border-collapse: collapse;
        }

        .reference-table th {
            background: var(--silk-blue);
            color: white;
            padding: 1rem;
            text-align: left;
            font-weight: 600;
        }

        .reference-table td {
            padding: 0.75rem 1rem;
            border-bottom: 1px solid var(--silk-light);
        }

        .reference-table tr:hover {
            background: #f0f7f8;
        }

        .reference-table tr.highlight {
            background: #fff8f0;
            border-left: 4px solid var(--silk-orange);
        }

        .reference-table .year-cell {
            font-weight: 700;
            color: var(--silk-blue);
        }

        .reference-table .code-cell {
            font-family: 'Courier New', monospace;
            font-size: 0.875rem;
            color: #666;
        }

        .senior-badge {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            background: #fef5eb;
            border: 1px solid var(--silk-orange);
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--silk-orange);
            margin: 0 0.25rem;
        }

        @media (max-width: 968px) {
            .tool-container {
                grid-template-columns: 1fr;
            }

            .output-code {
                font-size: 2rem;
            }
        }


/* styles from seqta-support.html */
.seqta-support .category-title {
            --category-color: var(--seqta-green);
        }

        .seqta-support .resource-link {
            --link-hover-bg: var(--seqta-green);
        }

        .page-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #618B67, #7ba882);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2.5rem;
        }

        .no-results {
            text-align: center;
            padding: 3rem;
            color: #999;
            display: none;
        }

        .no-results.show {
            display: block;
        }


/* PAGE-LEVEL COMMON STYLES */
.page-icon { width: 80px; height: 80px; border-radius: 20px; display: flex; align-items: center; justify-content: center; color: white; font-size: 2.5rem; }
.apple-support .page-icon { background: linear-gradient(135deg, #E49C50, #f0a860); }
.seqta-support .page-icon { background: linear-gradient(135deg, #618B67, #7ba882); }
.seqta-naming .page-icon { background: linear-gradient(135deg, #16477B, #1a5a99); }
.professional-development .page-icon { background: linear-gradient(135deg, #5B8DB8, #6fa3cd); }
.events .page-icon { background: linear-gradient(135deg, #DC2626, #EF4444); }
.applications .page-icon { background: linear-gradient(135deg, #7C6BAF, #9485c4); }
.community-projects .page-icon { background: linear-gradient(135deg, #2D7A8E, #3a96ab); }
.tab-navigation { display: flex; gap: 1rem; margin-bottom: 2rem; border-bottom: 2px solid var(--silk-light); padding-bottom: 0; flex-wrap: wrap; }
.tab-btn { padding: 1rem 2rem; background: transparent; border: none; border-bottom: 3px solid transparent; font-weight: 600; font-size: 1rem; cursor: pointer; transition: all 0.3s ease; color: #666; }
.tab-btn:hover { color: var(--silk-blue); background: rgba(22, 71, 123, 0.075); }
.tab-btn.active { color: var(--silk-blue); border-bottom-color: var(--silk-blue); }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.4s ease-in-out; }
.no-results { text-align: center; padding: 3rem; color: #999; display: none; }
.no-results.show { display: block; }

