/* Updated About page container */
#page-about.page {
    padding: 26px 0 58px;
}

/* Section inside about page */
#page-about .section {
    margin-top: clamp(18px, 3.2vw, 34px);
    padding: clamp(18px, 3.2vw, 30px);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(10, 16, 32, .74), rgba(10, 16, 32, .52));
    border: 1px solid rgba(140, 200, 255, .14);
    box-shadow: var(--shadow2);
    position: relative;
    overflow: hidden;
}

/* Kicker text */
#page-about .kicker {
    font-family: Oxanium, Inter, sans-serif;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
    color: rgba(118, 215, 255, .92);
    margin: 0 0 10px 0;
}

/* Title */
#page-about .title {
    margin: 0 0 10px 0;
    font-family: Oxanium, Inter, sans-serif;
    font-size: var(--h2);
    letter-spacing: .02em;
    line-height: 1.06;
}

/* Lead paragraph */
#page-about .lead {
    margin: 0;
    color: var(--muted);
    font-size: var(--p);
    line-height: 1.65;
}

/* About grid container */
.aboutGrid {
    display: flex;
    gap: var(--gridGap);
    flex-wrap: nowrap;
    margin-top: clamp(18px, 3.2vw, 34px);
    justify-content: space-between;
    align-items: stretch;
}

/* Panel base style */
.panel {
    background: var(--panel);
    border-radius: var(--radius-xl);
    padding: clamp(18px, 3.2vw, 30px);
    box-shadow: var(--shadow2);
    color: var(--text);
    flex: 1 1 48%;
    /* Each panel takes roughly half width */
    position: relative;
    min-width: 280px;
    display: flex;
    flex-direction: column;
}

/* Skills and stats panel */
.panel.io {
    display: flex;
    flex-direction: column;
}

/* Skills kicker and title overrides */
.panel.io .kicker {
    margin-bottom: 6px;
}

.panel.io .title {
    margin-bottom: 6px;
}

/* Lead paragraph override */
.panel.io .lead {
    max-width: none;
}

/* Meter container */
.meter {
    margin-top: 16px;
}

/* Each meter row */
.meterRow {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

/* Label for each skill */
.meterRow label {
    flex: 0 0 100px;
    font-weight: 600;
    font-size: var(--p);
    color: var(--text);
}

/* Bar container */
.bar {
    flex: 1 1 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    height: 14px;
    margin: 0 12px;
    overflow: hidden;
    position: relative;
}

/* Fill bar animated with single linear gradient blue to yellow */
.fill {
    height: 100%;
    width: 0;
    /* Start at 0 for animation */
    border-radius: var(--radius-sm);
    background: linear-gradient(90deg, var(--blue) 0%, #47B7FF 40%, var(--yellow) 100%);
    transition: width 1.5s ease;
    box-shadow:
        0 0 8px rgba(255, 216, 74, 0.6),
        inset 0 0 6px rgba(42, 107, 255, 0.8);
    position: relative;
}

/* Optional sheen effect */
.fill::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -50%;
    width: 50%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: sheen 1.4s ease-in-out infinite;
    pointer-events: none;
    border-radius: var(--radius-sm);
}

@keyframes sheen {
    0% {
        left: -50%;
        opacity: 0.3;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        left: 100%;
        opacity: 0.3;
    }
}


/* Percentage text */
.pct {
    flex: 0 0 40px;
    font-weight: 700;
    font-size: var(--p);
    color: var(--yellow);
    text-shadow: 0 0 6px var(--yellow);
}

/* Stats container */
.stats {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Individual stat */
.stat {
    text-align: center;
    background: rgba(255, 216, 74, 0.1);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    box-shadow:
        0 0 12px rgba(255, 216, 74, 0.6),
        inset 0 0 6px rgba(255, 216, 74, 0.3);
    flex: 1 1 120px;
    min-width: 120px;
    position: relative;
    color: var(--yellow);
    font-family: 'Oxanium', 'Inter', sans-serif;
    letter-spacing: 0.04em;
}

/* Stat number */
.stat strong {
    display: block;
    font-size: var(--h2);
    font-weight: 700;
    color: var(--yellow);
    text-shadow:
        0 0 8px rgba(255, 216, 74, 0.9),
        0 0 14px rgba(255, 216, 74, 0.6);
}

/* Stat description */
.stat span {
    font-size: var(--p);
    color: rgba(255, 216, 74, 0.85);
}

/* About text panel */
.aboutText {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Paragraphs inside about text */
.aboutText p {
    margin: 0;
    font-size: var(--p);
    line-height: 1.6;
    color: var(--muted);
}

/* Quote paragraph */
.aboutText p.quote {
    font-style: italic;
    font-weight: 600;
    color: var(--yellow2);
    margin-top: 12px;
}

/* Buttons row */
.btnRow {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 10px 18px;
    border-radius: var(--radius-md);
    border: none;
    font-weight: 700;
    font-size: var(--p);
    cursor: pointer;
    transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

/* Primary button */
.btn.primary {
    background: var(--yellow);
    color: #1A1B1F;
    box-shadow: 0 10px 30px rgba(255, 216, 77, 0.3);
}

.btn.primary:hover {
    filter: saturate(1.1) contrast(1.05);
}

.btn:hover:not(.primary) {
    background: var(--blue);
    color: var(--text);
}

/* Responsive adjustments */
@media (max-width: 920px) {
    .aboutGrid {
        flex-direction: column;
    }

    .panel {
        max-width: 100%;
        flex: 1 1 auto;
    }

    /* Adjust meter rows to stack on small screens */
    .meterRow {
        flex-wrap: wrap;
        gap: 8px;
    }

    .meterRow label {
        flex: 1 1 100%;
        margin-bottom: 4px;
    }

    .bar {
        flex: 1 1 100%;
        margin: 0;
        height: 12px;
    }

    .pct {
        flex: 0 0 auto;
        font-size: 14px;
        color: var(--yellow);
        text-shadow: 0 0 6px var(--yellow);
        align-self: center;
        min-width: 40px;
    }

    /* Stats container stack */
    .stats {
        flex-direction: column;
        gap: 16px;
        margin-top: 20px;
    }

    .stat {
        flex: 1 1 auto;
        min-width: auto;
    }
}



.referals {
    gap: 1rem;
    border: 1px solid #FFD84D;
    box-shadow: 0 10px 30px rgba(255, 216, 77, 0.3);
    border-radius: 5px;
}

.referalsHeader {
    text-align: center;
    align-content: center;
    align-items: center;
    color: #FFD84D;
    font-size: 3em;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 0 6px rgba(255, 216, 77, 0.8);
}

emphasis {
    font-weight: 700;
    color: #FFD84D;
    text-shadow: 0 0 6px rgba(255, 216, 77, 0.8);
}

.leadspannel p {
    width: 90%;
    margin: 15px;
}

.leads {
    font-size: 1.5em;
    margin: 15px 20px;
    text-shadow: 0 0 25px #2AA9FF;
}
.leadsTitle {
    width: auto;
}