/* 1. Main Wrapper (Centers the card on the screen) */
.about-wrapper {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    min-height: 100vh;
}

/* 2. The Content Card */
.about-card {
    background: rgba(255, 255, 255, 0.55);
    padding: 3rem 4rem; /* Generous padding for a clean look */
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 900px; /* Wider than contact page to accommodate text */
    width: 100%;
}

/* 3. Typography & Headings */
.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-header h1 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 3rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.4rem;
    color: #6a0dad; /* Purple branding */
    font-style: italic;
}

h2 {
    color: #444;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    border-left: 5px solid #6a0dad; /* A nice purple accent line */
    padding-left: 15px;
}

/* 4. Body Text */
p {
    font-family: 'Georgia', serif; /* Serif font is better for long reading */
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8; /* High line height makes reading comfortable */
    margin-bottom: 1.5rem;
}

/* 5. Links (Citations) */
.citation-link {
    color: #6a0dad;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.citation-link:hover {
    color: #520a8a;
    background-color: #f0e6fa; /* Light purple highlight on hover */
}

/* 6. Lists and Pillars */
.mission-list {
    list-style-type: none; /* Remove default bullets */
   font-family: sans-serif; 
    padding-left: 0;
    color: #555;
}

.mission-list li {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    padding-left: 20px;
    border-left: 2px solid #c68ae6;
}

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

.pillar, h3 {
    color: #444;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}


.pillar p {
    font-size: 1rem;
    font-family: sans-serif; /* Switch back to sans-serif for small UI text */
}

/* 7. Footer & Button */
.divider {
    border: 0;
    height: 1px;
    background: #eee;
    margin: 3rem 0;
}

.about-footer {
    text-align: center;
    margin-top: 3rem;
    background-color: rgba(248, 255, 253, 0.4);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #eee;
}

.btn-action {
    display: inline-block;
    background-color: #6a0dad;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn-action:hover {
    background-color: #520a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(106, 13, 173, 0.2);
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .about-card {
        padding: 2rem;
    }
    .about-header h1 {
        font-size: 2.2rem;
    }
}

        /* Tooltip Container */
        .regulation-tooltip {
            position: relative;
            display: inline-block;
            color: #6a0dad; /* Stellatris accent purple */
            font-weight: bold;
            cursor: help;
            border-bottom: 2px dotted #c68ae6; /* Lighter purple underline for affordance */
        }

        /* Tooltip Text Box */
        .regulation-tooltip .tooltiptext {
            visibility: hidden;
            width: 280px;
            background-color: #444;
            color: #fff;
            text-align: center;
            border-radius: 8px;
            padding: 10px 14px;
            position: absolute;
            z-index: 10;
            bottom: 130%;
            left: 50%;
            margin-left: -140px;
            opacity: 0;
            transition: opacity 0.3s ease, transform 0.3s ease;
            transform: translateY(10px);
            font-size: 0.95rem;
            font-family: sans-serif;
            font-weight: normal;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
            line-height: 1.5;
        }

        /* Tooltip Arrow */
        .regulation-tooltip .tooltiptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -6px;
            border-width: 6px;
            border-style: solid;
            border-color: #444 transparent transparent transparent;
        }

        /* Hover Reveal */
        .regulation-tooltip:hover .tooltiptext {
            visibility: visible;
            opacity: 1;
            transform: translateY(0);
        }