:root { --accent:aqua; --accent-start:#7fffff; --accent-end:#008b8b; --accent-rgb:0,255,255; }

/* About — page-specific styles.
   The shared top/down/main/sidebar shell lives in /index.css — do not repeat it here.
   Everything below only styles the content area of this page. */

.content.about-page {
    display: block;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 3vh 4vh 5vh;
    scrollbar-width: none;
    
    /* about.jpg as the page backdrop, with a dark tinted overlay stacked on
       top so every card and line of text stays fully readable over it */
    background-image:
        linear-gradient(160deg, rgba(0, 0, 0, 0.90) 0%, rgba(1, 9, 18, 0.92) 45%, rgba(3, 27, 51, 0.90) 100%),
        url("/about.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.content.about-page::-webkit-scrollbar { display:none; width:0; height:0; }

.content.about-page::-webkit-scrollbar-thumb {
    border-radius: 1vh;
}

/* subtle fixed/parallax feel on desktop only — mobile keeps "scroll" above,
   since background-attachment:fixed is unreliable/heavy on phone browsers */
@media (min-width: 769px) and (min-height: 501px) {
    .content.about-page {
        background-attachment: fixed;
    }
}

.about-inner {
    max-width: 110vh;
    margin: 0 auto;
}

.about-inner>h2.page-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.4vh;
    color: aqua;
    text-align: center;
    margin: 0 0 3vh;
}

.a-card {
    margin: 0 0 2.5vh;
    padding: 2.2vh 3vh;
    border-radius: 0.6vh;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(0, 255, 255, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.a-card:hover {
    background: rgba(0, 255, 255, 0.05);
    transform: scale(1.015);
    box-shadow: 0 0 2.5vh aqua;
}

.a-card .box-title {
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2vh;
    color: aqua;
    border-bottom: 0.3vh solid white;
    padding-bottom: 0.4vh;
    margin: 0 0 1.5vh;
    transition: border-color 0.3s ease;
}

.a-card:hover .box-title {
    border-color: aqua;
}

.a-card p {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8vh;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 1.2vh;
    transition: color 0.3s ease;
}

.a-card:hover p {
    color: white;
}

.a-card ul {
    margin: 0 0 1.2vh;
    padding: 0;
    list-style: none;
}

.a-card ul li {
    font-family: 'Oswald', sans-serif;
    font-size: 1.75vh;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.65);
    padding-left: 1.6em;
    text-indent: -1.6em;
    margin: 0.4vh 0;
    transition: color 0.3s ease;
}

.a-card:hover ul li {
    color: white;
}

.a-card ul li::before {
    content: "➤";
    color: aqua;
    display: inline-block;
    width: 1.6em;
    text-indent: 0;
}

.a-card a {
    color: rgba(255, 255, 255, 0.65);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.a-card:hover a {
    color: aqua;
}

.a-card .update-tag {
    display: block;
    margin-top: 1.5vh;
    padding-top: 1.2vh;
    border-top: 0.15vh solid rgba(255, 255, 255, 0.25);
    font-family: 'Oswald', sans-serif;
    font-size: 1.55vh;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
}

/* Company Information definition list */
.info-table {
    display: grid;
    grid-template-columns: max-content 1fr;
    column-gap: 2vh;
    row-gap: 0.9vh;
}

.info-table dt {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.8vh;
    color: white;
}

.info-table dd {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8vh;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.tagline {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 2vh;
    color: aqua;
    letter-spacing: 0.05em;
    margin: 1vh 0 3vh;
}

@media (max-width: 768px),
(max-height: 500px) and (pointer: coarse) {

    .content.about-page {
        padding: 4%;
    }

    .about-inner>h2.page-title {
        font-size: min(7vw, 30px);
    }

    .a-card {
        padding: 4%;
    }

    .a-card .box-title {
        font-size: min(5vw, 22px);
    }

    .a-card p,
    .a-card ul li,
    .info-table dt,
    .info-table dd {
        font-size: min(4vw, 17px);
    }

    .info-table {
        grid-template-columns: 1fr;
        row-gap: 0.3vh;
    }

    .info-table dd {
        margin-bottom: 0.8vh;
    }

    .tagline {
        font-size: min(4.5vw, 19px);
    }
}