/* ==========================================================
   ABOUT PAGE
   ========================================================== */

.about-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 25px 100px;
}


/* ==========================================================
   HERO
   ========================================================== */

.about-hero {
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(138,123,182,.28),
            transparent 55%
        );

    pointer-events: none;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.about-label {
    display: inline-block;

    padding: 8px 18px;

    border: 1px solid rgba(138,123,182,.45);
    border-radius: 999px;

    color: var(--light-purple);

    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;

    margin-bottom: 25px;
}

.about-hero h1 {
    margin: 0 0 25px;

    font-family: "Orbitron", sans-serif;

    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.05;
    letter-spacing: 1px;

    color: var(--text);
}

.about-hero p {
    max-width: 700px;
    margin: 0 auto;

    color: var(--text-secondary);

    font-size: 18px;
    line-height: 1.8;
}


/* ==========================================================
   SECTIONS
   ========================================================== */

.about-section-title {
    display: flex;
    align-items: baseline;
    gap: 20px;

    margin-bottom: 45px;
}

.about-section-title span {
    color: var(--light-purple);

    font-family: "Orbitron", sans-serif;

    font-size: 24px;
    letter-spacing: 2px;
}

.about-section-title h2 {
    margin: 0;

    font-family: "Orbitron", sans-serif;

    font-size: clamp(30px, 4vw, 48px);

    color: var(--text);
}
.about-section-documents{margin-bottom: 200px;}

/* ==========================================================
   CONTENT
   ========================================================== */

.about-content {
    max-width: 850px;
}

.about-content p {
    margin: 0 0 20px;

    color: var(--text-secondary);

    font-size: 17px;
    line-height: 1.8;
}


/* ==========================================================
   DIRECTIONS
   ========================================================== */

.about-directions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.about-direction {
    position: relative;

    padding: 35px;

    border: 1px solid rgba(138,123,182,.22);
    border-radius: 28px;

    background: rgba(138,123,182,.045);

    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}

.about-direction:hover {
    transform: translateY(-6px);

    border-color: rgba(165,110,255,.55);

    box-shadow:
        0 20px 55px rgba(0,0,0,.3),
        0 0 35px rgba(165,110,255,.18);
}

.about-direction-number {
    color: var(--light-purple);

    font-family: "Orbitron", sans-serif;

    font-size: 13px;
    letter-spacing: 2px;

    margin-bottom: 20px;
}

.about-direction h3 {
    margin: 0 0 15px;

    font-family: "Orbitron", sans-serif;

    font-size: 30px;

    color: var(--text);
}

.about-direction p,
.about-direction li {
    color: var(--text-secondary);

    line-height: 1.7;
}

.about-direction ul {
    padding-left: 20px;
    margin: 20px 0 25px;
}

.about-direction a {
    display: inline-flex;

    color: var(--light-purple);

    text-decoration: none;

    transition: .3s ease;
}

.about-direction a:hover {
    transform: translateX(5px);
}


/* ==========================================================
   PROJECTS
   ========================================================== */

.about-projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.about-project {
    padding: 28px;

    border: 1px solid rgba(138,123,182,.18);
    border-radius: 22px;

    background: rgba(138,123,182,.035);
}

.about-project h3 {
    margin: 0 0 12px;

    font-family: "Orbitron", sans-serif;

    font-size: 20px;

    color: var(--text);
}

.about-project p {
    margin: 0;

    color: var(--text-secondary);

    line-height: 1.7;
}


/* ==========================================================
   EHWEXAR ID
   ========================================================== */

.about-id-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    padding: 45px;

    border-radius: 30px;

    border: 1px solid rgba(165,110,255,.35);

    background:
        radial-gradient(
            circle at right,
            rgba(138,123,182,.18),
            transparent 50%
        ),
        rgba(138,123,182,.05);
}

.about-id-card h3 {
    margin: 0 0 15px;

    font-family: "Orbitron", sans-serif;

    font-size: 28px;

    color: var(--text);
}

.about-id-card p {
    max-width: 700px;

    color: var(--text-secondary);

    line-height: 1.7;
}

.about-id-mark {
    font-family: "Orbitron", sans-serif;

    font-size: 70px;
    font-weight: 700;

    color: var(--light-purple);

    opacity: .7;
}


/* ==========================================================
   SECURITY
   ========================================================== */

.about-security {
    display: flex;
    align-items: flex-start;
    gap: 25px;

    padding: 35px;

    border-radius: 26px;

    border: 1px solid rgba(138,123,182,.2);

    background: rgba(138,123,182,.045);
}

.about-security-icon {
    font-size: 38px;
}

.about-security h3 {
    margin: 0 0 12px;

    font-family: "Orbitron", sans-serif;

    font-size: 22px;

    color: var(--text);
}

.about-security p {
    color: var(--text-secondary);

    line-height: 1.7;
}

.about-security a {
    display: inline-flex;

    margin-top: 10px;

    color: var(--light-purple);

    text-decoration: none;
}


/* ==========================================================
   DOCUMENTS
   ========================================================== */

.about-documents {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-document {
    display: flex;
    align-items: center;
    gap: 20px;

    padding: 25px 30px;

    border: 1px solid rgba(138,123,182,.18);
    border-radius: 22px;

    background: rgba(138,123,182,.035);

    color: inherit;
    text-decoration: none;

    transition: .3s ease;
}

.about-document:hover {
    transform: translateX(6px);

    border-color: rgba(165,110,255,.5);

    background: rgba(138,123,182,.08);
}

.about-document > span {
    font-size: 30px;
}

.about-document div {
    flex: 1;
}

.about-document h3 {
    margin: 0 0 6px;

    font-family: "Orbitron", sans-serif;

    font-size: 18px;

    color: var(--text);
}

.about-document p {
    margin: 0;

    color: var(--text-secondary);

    font-size: 14px;
}

.about-document b {
    color: var(--light-purple);

    font-size: 22px;
}


/* ==========================================================
   MISSION
   ========================================================== */

.about-mission {
    text-align: center;
}

.about-mission blockquote {
    max-width: 850px;

    margin: 0 auto 25px;

    font-family: "Orbitron", sans-serif;

    font-size: clamp(25px, 4vw, 40px);
    line-height: 1.3;

    color: var(--text);
}

.about-mission p {
    max-width: 650px;

    margin: 0 auto;

    color: var(--text-secondary);

    line-height: 1.8;
}


/* ==========================================================
   CONTACT
   ========================================================== */

.about-contact {
    text-align: center;

    padding: 45px;

    border-radius: 28px;

    border: 1px solid rgba(138,123,182,.2);

    background: rgba(138,123,182,.04);
}

.about-contact p {
    color: var(--text-secondary);

    line-height: 1.7;

    margin-bottom: 25px;
}

.about-contact-button {
    display: inline-flex;

    padding: 14px 25px;

    border-radius: 14px;

    border: 1px solid rgba(138,123,182,.4);

    background: rgba(138,123,182,.1);

    color: var(--text);

    text-decoration: none;

    transition: .3s ease;
}

.about-contact-button:hover {
    transform: translateY(-3px);

    border-color: var(--purple);

    box-shadow:
        0 0 30px rgba(165,110,255,.25);
}

.about-socials {
    display: flex;
    justify-content: center;
    gap: 12px;

    margin-top: 30px;
}

.about-socials a {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    border: 1px solid rgba(138,123,182,.25);

    background: rgba(138,123,182,.08);

    color: var(--text);

    text-decoration: none;

    transition: .3s ease;
}

.about-socials a:hover {
    transform: translateY(-3px);

    border-color: var(--purple);
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 700px) {

    .about-page {
        padding: 0 18px 70px;
    }

    .about-hero {
        min-height: 460px;
    }

    .about-hero p {
        font-size: 16px;
    }

    .about-section {
        margin-top: 80px;
    }

    .about-section-title {
        gap: 12px;
        margin-bottom: 30px;
    }

    .about-directions,
    .about-projects {
        grid-template-columns: 1fr;
    }

    .about-direction,
    .about-security,
    .about-id-card,
    .about-contact {
        padding: 25px;
    }

    .about-id-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-id-mark {
        font-size: 50px;
    }

    .about-document {
        padding: 20px;
    }

}
.about-socials img {
    width: 26px;
    height: 26px;
    display: block;
    object-fit: contain;
}
.document-choice-modal {
    position: fixed;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.65);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;

    z-index: 9999;
}


.document-choice-modal.active {
    opacity: 1;
    visibility: visible;
}


.document-choice-window {
    position: relative;

    width: 100%;
    max-width: 460px;

    padding: 32px;

    background: #111116;

    border: 1px solid #292334;
    border-radius: 24px;

    box-sizing: border-box;

    transform: translateY(15px) scale(0.97);

    transition:
        transform 0.3s ease;
}


.document-choice-modal.active
.document-choice-window {
    transform: translateY(0) scale(1);
}


.document-choice-window h2 {
    margin: 0 40px 10px 0;

    color: #ffffff;

    font-size: 22px;
}


.document-choice-window p {
    margin: 0 0 25px;

    color: #aaa3b5;

    font-size: 14px;
    line-height: 1.6;
}


.document-choice-window
.modal-close {
    position: absolute;

    top: 18px;
    right: 18px;

    width: 38px;
    height: 38px;

    border: 1px solid #3a2d4f;
    border-radius: 10px;

    background: #211a2d;

    color: #ffffff;

    font-size: 22px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.document-choice-window
.modal-close:hover {
    border-color: #8a7bb6;

    transform: scale(1.05);
}
.document-choice-actions {
    display: flex;
    flex-direction: row;
    gap: 12px;
}


.document-choice-actions button,
.document-choice-actions a {
    flex: 1;
}


.document-download-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;

    display: block;
}


@media (max-width: 600px) {

    .document-choice-actions {
        flex-direction: column;
    }

}
.document-choice-actions button,
.document-choice-actions a {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 50px;

    padding: 12px 18px;

    box-sizing: border-box;

    border: 1px solid #3a2d4f;
    border-radius: 12px;

    background: #211a2d;

    color: #ffffff;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.document-choice-actions button:hover,
.document-choice-actions a:hover {

    background: #2a2039;

    border-color: #8a7bb6;

    transform: translateY(-1px);
}


@media (max-width: 600px) {

    .document-choice-window {

        padding: 25px 20px;

        border-radius: 20px;

    }

    .document-choice-window h2 {

        font-size: 21px;

    }

}
.light-theme .document-choice-window {
    background: #ffffff;
    border-color: #ddd6e8;
}

.light-theme .document-choice-window h2 {
    color: #17131d;
}

.light-theme .document-choice-window p {
    color: #6f6878;
}

.light-theme .document-choice-window .modal-close {
    background: #f5f2f8;
    border-color: #ddd6e8;
    color: #17131d;
}

.light-theme .document-choice-actions button,
.light-theme .document-choice-actions a {
    background: #f5f2f8;
    border-color: #d8cee5;
    color: #17131d;
}

.light-theme .document-choice-actions button:hover,
.light-theme .document-choice-actions a:hover {
    background: #eee9f4;
    border-color: #8a7bb6;
}
.document-download-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    display: block;

    filter: invert(1);
}
.light-theme .document-download-icon {
    filter: none;
}
img[src$=".svg"] {
    filter: invert(1);
}

.light-theme img[src$=".svg"] {
    filter: none;
}
.security-info-revision {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: right;
    font-size: 12px;
    letter-spacing: 0.5px;
    opacity: 0.5;
}