* {
    font-family: 'Poppins', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

:root {
    --primary-purple: #7C3AED;
    --primary-pink: #EC4899;
    --primary-blue: #3B82F6;
    --accent-green: #10B981;
    --light-bg: #F8F7FF;
    --dark-text: #1F2937;
}

.bg-gradient-nird {
    background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
}

.bg-gradient-light {
    background: linear-gradient(135deg, #F0F4FF 0%, #FFF0F8 100%);
}

.card-shadow {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-purple);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    border: 2px solid var(--primary-purple);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: white;
    color: var(--primary-purple);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-purple);
    padding: 10px 24px;
    border-radius: 8px;
    border: 2px solid var(--primary-purple);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--primary-purple);
    color: white;
}

.pillar-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.nav-link {
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-purple);
}

.nav-mobile-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: #ffffff;
    padding: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-mobile-toggle:hover,
.nav-mobile-toggle[aria-expanded="true"] {
    border-color: rgba(124, 58, 237, 0.5);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.nav-mobile-toggle__bar {
    display: block;
    height: 2px;
    width: 100%;
    background: #1f2937;
    border-radius: 999px;
}

.nav-menu {
    position: relative;
}

.nav-menu__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #374151;
    border: 1px solid rgba(55, 65, 81, 0.2);
    border-radius: 999px;
    padding: 8px 16px;
    background: #ffffff;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-menu__toggle:hover,
.nav-menu__toggle[aria-expanded="true"] {
    color: var(--primary-purple);
    border-color: rgba(124, 58, 237, 0.4);
}

.nav-menu__chevron {
    font-size: 0.8rem;
}

.nav-menu__panel {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.15);
    display: none;
    min-width: 220px;
    z-index: 50;
}

.nav-menu__panel.nav-menu__panel--open {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-menu__item {
    justify-content: flex-start;
    text-align: left;
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    background: transparent;
    font-size: 0.95rem;
}

.nav-menu__item:hover {
    background: rgba(124, 58, 237, 0.08);
}

body.nav-mobile-open {
    overflow: hidden;
}

.nav-mobile {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 100;
}

.nav-mobile--open {
    pointer-events: auto;
    opacity: 1;
}

.nav-mobile__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
}

.nav-mobile__panel {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(320px, 80%);
    background: #111827;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.nav-mobile--open .nav-mobile__panel {
    transform: translateX(0);
}

.nav-mobile__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.nav-mobile__close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
}

.nav-mobile__close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.nav-mobile__link {
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: #f3f4f6;
    padding: 12px 16px;
    border-radius: 10px;
    text-align: left;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.nav-mobile__link:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateX(3px);
}

.section-hidden {
    display: none;
}

.section-visible {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.activity-box {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid var(--primary-purple);
    transition: all 0.3s ease;
}

.activity-box:hover {
    border-left-color: var(--primary-pink);
    transform: translateX(5px);
}

.linux-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(124, 58, 237, 0.15);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.linux-card ul {
    margin: 0;
    padding-left: 20px;
    color: #4b5563;
}

.linux-card ul li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.stat-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-purple);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.resource-list {
    margin: 0;
    padding-left: 1.25rem;
}

.resource-list li {
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.resource-list a {
    color: var(--primary-purple);
    font-weight: 600;
}

.resource-list a:hover {
    text-decoration: underline;
}

.quote-card {
    background: #111827;
    color: #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    border-left: 4px solid var(--primary-pink);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.3);
}

.quote-card cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #cbd5f5;
    font-style: normal;
}

.quote-card a {
    color: #c4b5fd;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: #9ca3af;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link:hover {
    color: #ffffff;
    transform: translateX(3px);
}
