/* About page styles (UnQbdWeb2) */

.about-shell {
    min-height: 100%;
    padding-left: 3rem;
    padding-right: 3rem;
    padding-top: 7rem; /* clears fixed top nav */
    background-color: var(--bg-color, #ffffff);
}

.about-hero {
    padding: 0;
    margin-bottom: 0;
}

.about-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 2.5rem 0;
}

.about-card {
    background: rgba(255,255,255,0.92);
    border-radius: 18px;
    border: 1px solid rgba(2, 6, 23, 0.08);
    box-shadow: 0 18px 45px rgba(2, 6, 23, 0.08);
}

.about-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}

.about-hero-image {
    width: 100%;
    height: auto;
    border-radius: 18px;
    display: block;
    border: 3px solid rgba(2, 6, 23, 0.08);
}

.about-hero-card {
    padding: 2.25rem 2rem;
}

.about-title {
    margin: 0 0 0.8rem 0;
    color: var(--primary-color, #00b4ff);
    font-weight: 900;
    letter-spacing: -1px;
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.05;
}

.about-subtitle {
    margin: 0;
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-section {
    padding: 1.25rem 3rem 0 3rem;
    background-color: var(--bg-color, #ffffff);
}

.about-section .about-container {
    padding: 0;
}

.about-section-header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.about-section-title {
    margin: 0;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #0f172a;
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
}

.about-section-subtitle {
    margin: 0.5rem 0 0 0;
    color: #64748b;
}

.about-values {
    padding: 2.25rem 2rem;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.about-value-card {
    border-radius: 16px;
    border: 1px solid rgba(2, 6, 23, 0.08);
    background: rgba(255,255,255,0.92);
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.06);
    padding: 1.25rem;
    text-align: center;
}

.about-value-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 180, 255, 0.10);
    color: var(--primary-color, #00b4ff);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.about-value-title {
    margin: 0 0 0.35rem 0;
    font-weight: 900;
    color: #0f172a;
    font-size: 1.05rem;
}

.about-value-text {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

.about-timeline {
    padding: 2.25rem 2rem;
}

.about-timeline-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.25rem;
    position: relative;
}

/* Vertical timeline rail */
.about-timeline-list::before {
    content: "";
    position: absolute;
    top: 0.25rem;
    bottom: 0.25rem;
    left: 148px; /* aligns after date column */
    width: 2px;
    background: rgba(0, 180, 255, 0.18);
    border-radius: 2px;
}

.about-timeline-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 1rem;
    padding: 1rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(2, 6, 23, 0.08);
    background: rgba(255,255,255,0.92);
}

.about-timeline-date {
    font-weight: 900;
    color: var(--primary-color, #00b4ff);
    letter-spacing: 0.5px;
}

.about-timeline-body {
    color: #334155;
    line-height: 1.6;
    position: relative;
    padding-left: 2.25rem; /* room for icon dot */
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.about-timeline-icon {
    position: absolute;
    left: -18px; /* sits on the rail */
    top: 0.15rem;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 180, 255, 0.22);
    color: var(--primary-color, #00b4ff);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
}

.about-contact {
    padding: 2.25rem 2rem;
}

.about-social {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1rem;
}

.about-social-link {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(2, 6, 23, 0.10);
    background: rgba(255,255,255,0.90);
    color: var(--primary-color, #00b4ff);
    font-size: 1.6rem;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
}

.about-social-link:hover {
    color: var(--secondary-color, #0174B1);
}

@media (max-width: 900px) {
    .about-shell {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        padding-top: 6.5rem;
    }

    .about-section {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .about-container {
        padding: 2rem 0;
    }

    .about-hero-grid {
        grid-template-columns: 1fr;
    }

    .about-values-grid {
        grid-template-columns: 1fr;
    }

    .about-timeline-item {
        grid-template-columns: 1fr;
    }

    .about-timeline-list::before {
        display: none;
    }

    .about-timeline-body {
        padding-left: 0;
    }

    .about-timeline-icon {
        position: static;
        flex: 0 0 auto;
        box-shadow: none;
    }
}

@media (max-width: 600px) {
    .about-shell {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
        padding-top: 6.25rem;
    }

    .about-section {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }
}

/* ==============================================
   DARK MODE
   ============================================== */

/* Page background */
body.dark-mode .about-shell,
body.dark-mode .about-section {
    background-color: var(--bg-color, #121212);
}

/* Hero image border */
body.dark-mode .about-hero-image {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
}

/* Cards */
body.dark-mode .about-card {
    background: rgba(30, 41, 59, 0.72);
    border-color: rgba(255, 255, 255, 0.10);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.35);
}

/* Text colors */
body.dark-mode .about-subtitle,
body.dark-mode .about-section-subtitle,
body.dark-mode .about-value-text,
body.dark-mode .about-timeline-body {
    color: #b0bec5;
}

body.dark-mode .about-section-title,
body.dark-mode .about-value-title {
    color: #e2e8f0;
}

/* Value cards and timeline items */
body.dark-mode .about-value-card,
body.dark-mode .about-timeline-item,
body.dark-mode .about-social-link {
    background: rgba(15, 23, 42, 0.55);
    border-color: rgba(255, 255, 255, 0.12);
}

/* Value icon background */
body.dark-mode .about-value-icon {
    background: rgba(79, 195, 247, 0.15);
    color: #4fc3f7;
}

/* Timeline rail */
body.dark-mode .about-timeline-list::before {
    background: rgba(79, 195, 247, 0.22);
}

/* Timeline icon */
body.dark-mode .about-timeline-icon {
    background: rgba(15, 23, 42, 0.75);
    border-color: rgba(79, 195, 247, 0.25);
    color: #4fc3f7;
}

/* Social links */
body.dark-mode .about-social-link {
    color: #4fc3f7;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

body.dark-mode .about-social-link:hover {
    color: #93c5fd;
}

/* ==============================================
   AUTHORS CTA SECTION
   ============================================== */

.about-authors-cta {
    padding: 2.25rem 2rem;
}

.about-authors-cta-content {
    text-align: center;
    margin-top: 1.25rem;
}

.about-authors-cta-description {
    margin: 0 auto 1.75rem auto;
    max-width: 600px;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-authors-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color, #00b4ff) 0%, var(--secondary-color, #0174B1) 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-weight: 900;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 12px 32px rgba(0, 180, 255, 0.25);
    transition: all 0.2s ease;
}

.about-authors-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 180, 255, 0.35);
    text-decoration: none;
    color: white;
}

.about-authors-cta-button i {
    font-size: 1.25rem;
}

/* Dark mode for authors CTA */
body.dark-mode .about-authors-cta-description {
    color: #b0bec5;
}

body.dark-mode .about-authors-cta-button {
    background: linear-gradient(135deg, #4fc3f7 0%, #2196f3 100%);
    box-shadow: 0 12px 32px rgba(79, 195, 247, 0.25);
    color: #0a1628; /* Dark text for contrast on light gradient */
}

body.dark-mode .about-authors-cta-button:hover {
    box-shadow: 0 16px 40px rgba(79, 195, 247, 0.35);
    color: #0a1628;
}
