/* ===== ABOUT PAGE STYLES ===== */
/* Extracted from style.css - only classes used in about.php */

/* PERFORMANCE: Removed @import statements to eliminate render-blocking */
/* Variables and components are now preloaded in HTML head */

/* ===== PAGE HERO (ABOUT PAGE) ===== */
.page-hero-content h1 {
    color: var(--cosmic-gold);
    background: linear-gradient(90deg, #d4af37, #e6c46b, #f4e08a, #e6c46b, #d4af37);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

.golden-text {
    position: relative;
    background: linear-gradient(90deg, #d4af37, #e6c46b, #f4e08a, #e6c46b, #d4af37);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ===== ABOUT CONTAINER ===== */
.about-container {
    width: 100%;                       /* Full width */
    margin: 0;                         /* No auto centering */
    padding: 4rem 2rem;                /* Standard padding */
}

.about-container > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.about-container.dark-cosmic {
    background: rgba(11, 20, 38, 0.95);
    padding: 4rem 2rem !important;
    position: relative;
    z-index: 0;
}

/* ===== ABOUT CONTENT LAYOUT ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== ABOUT TEXT AND IMAGE STYLING ===== */
.about-text h2 {
    color: var(--cosmic-gold);
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.about-image {
    text-align: center;
}

.about-logo-container {
    border-radius: 20px;
    padding: 2rem;
}

.about-logo-container img {
    max-width: 90%;
    height: auto;
    border-radius: 15px;
}

/* ===== DARK COSMIC TEXT STYLING ===== */
.about-container.dark-cosmic h2 {
    color: #d4af37 !important;
    font-weight: 600;
    font-size: 2rem !important;
}

.about-container.dark-cosmic p {
    color: #ffffff !important;
    line-height: 1.7;
    font-size: 0.9rem !important;
}

.about-container.dark-cosmic .about-text h2 {
    color: #d4af37 !important;
}

.about-container.dark-cosmic .about-text p {
    color: #ffffff !important;
}

/* ===== TEAM CONTAINER ===== */
.team-container {
    width: 100%;
    margin: 0;
    padding: 4rem 2rem;
}

.team-container > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.team-container.dark-cosmic {
    background: rgba(11, 20, 38, 0.95);
    padding: 4rem 2rem !important;
    position: relative;
    z-index: 0;
}

.team-container.dark-cosmic .section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
}

/* ===== ORG CHART STYLES ===== */
.org-chart {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.org-level {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

/* Connection lines between levels */
.org-level:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    width: 2px;
    height: 1rem;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.6), rgba(212, 175, 55, 0.2));
}

/* Org Chart Cards */
.org-card {
    background: rgba(20, 40, 60, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    padding: 1.25rem 1rem 1.5rem;
    width: 200px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.1);
}

.org-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.35);
    border-color: rgba(212, 175, 55, 0.5);
}

.org-card-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(212, 175, 55, 0.5);
    margin: 0 auto 0.75rem;
    display: block;
}

.org-card-name {
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.org-card-role {
    font-size: 0.85rem;
    color: var(--cosmic-gold);
    font-weight: 500;
}

/* ===== BIO POPUP MODAL ===== */
.bio-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
    backdrop-filter: blur(4px);
}

.bio-popup.active {
    display: flex;
}

.bio-popup-content {
    background: linear-gradient(180deg, rgba(11, 20, 38, 0.98), rgba(20, 40, 60, 0.95));
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 650px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    text-align: center;
    position: relative;
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.2);
}

.bio-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    color: var(--cosmic-gold);
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bio-popup-close:hover {
    background: rgba(212, 175, 55, 0.4);
}

.bio-popup-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 2px solid rgba(212, 175, 55, 0.5);
    display: block;
}

.bio-popup-name {
    color: var(--cosmic-gold);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.bio-popup-role {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.bio-popup-text {
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: left;
}

.bio-popup-text p {
    margin-bottom: 1rem;
}

.bio-popup-text p:last-child {
    margin-bottom: 0;
}

.final-cta h2 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: clamp(1.4rem, 4vw, 3rem);
}

/* ===== ENHANCED BUTTON STYLING FOR DARK COSMIC ===== */
.about-container.dark-cosmic .cta-button.secondary {
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.3);
}

/* ===== ORG CHART MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .org-level {
        gap: 1rem;
    }

    .org-card {
        width: 160px;
        padding: 1rem 0.75rem 1.25rem;
    }

    .org-card-photo {
        width: 110px;
        height: 110px;
    }

    .org-card-name {
        font-size: 0.9rem;
    }

    .org-card-role {
        font-size: 0.8rem;
    }

    .bio-popup-content {
        padding: 1.5rem;
        max-width: 100%;
    }

    .bio-popup-photo {
        width: 110px;
        height: 110px;
    }

    .bio-popup-name {
        font-size: 1.3rem;
    }
}

/* ===== RESPONSIVE - MOBILE ===== */
@media (max-width: 480px) {
    .about-container.dark-cosmic,
    .team-container.dark-cosmic {
        padding: 2.5rem 1rem !important;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Org chart mobile - stack vertically */
    .org-level {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .org-card {
        width: 90%;
        max-width: 240px;
        padding: 1rem 0.75rem 1.25rem;
    }

    .org-card-photo {
        width: 120px;
        height: 120px;
    }

    .bio-popup-content {
        padding: 1.25rem;
        border-radius: 15px;
    }

    .bio-popup-text {
        font-size: 0.8rem;
    }

    .bio-popup-photo {
        width: 100px;
        height: 100px;
    }
}

/* ===== RESPONSIVE - TABLET ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    .about-container.dark-cosmic,
    .team-container.dark-cosmic {
        padding: 3rem 1.5rem !important;
    }
}