/* =========================================================
   OYDC ZAMBIA
   ABOUT US PAGE
========================================================= */


/* =========================================================
   FONT - WORLD ATHLETICS REGULAR
========================================================= */

@font-face {

    font-family: 'World Athletics';

    src: url('../Font/WorldAthletics.eot');

    src:
        local('World Athletics'),
        local('WorldAthletics'),
        url('../Font/WorldAthletics.eot?#iefix') format('embedded-opentype'),
        url('../Font/WorldAthletics.woff2') format('woff2'),
        url('../Font/WorldAthletics.woff') format('woff'),
        url('../Font/WorldAthletics.ttf') format('truetype');

    font-weight: normal;

    font-style: normal;

    font-display: swap;
}


/* =========================================================
   FONT - WORLD ATHLETICS HEADLINE
========================================================= */

@font-face {

    font-family: 'World Athletics Headline';

    src: url('../Font/WorldAthleticsHeadline.eot');

    src:
        local('World Athletics Headline'),
        local('WorldAthleticsHeadline'),
        url('../Font/WorldAthleticsHeadline.eot?#iefix') format('embedded-opentype'),
        url('../Font/WorldAthleticsHeadline.ttf') format('truetype');

    font-weight: bold;

    font-style: normal;

    font-display: swap;
}


/* =========================================================
   GLOBAL SETTINGS
========================================================= */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;
}


:root {

    --oydc-green: #00843d;

    --oydc-dark-green: #006b32;

    --oydc-black: #111111;

    --oydc-white: #ffffff;

    --border-color: #eeeeee;

    --text-color: #171717;

    --grey-text: #666666;

    --light-green: #f3faf6;

    --soft-green: #f8faf9;

    --dark-grey: #2a2a2a;
}


html {

    scroll-behavior: smooth;
}


body {

    font-family: 'World Athletics', sans-serif;

    color: var(--text-color);

    background: #ffffff;

    overflow-x: hidden;

    line-height: 1.6;
}


a {

    text-decoration: none;

    color: inherit;
}


img {

    max-width: 100%;

    display: block;
}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.about-container {

    width: 90%;

    max-width: 1200px;

    margin: 0 auto;
}


/* =========================================================
   SECTION LABEL
========================================================= */

.section-label {

    display: inline-block;

    margin-bottom: 14px;

    color: var(--oydc-green);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {

    max-width: 760px;

    margin-bottom: 60px;
}


.section-heading.centered {

    margin-left: auto;

    margin-right: auto;

    text-align: center;
}


.section-heading h2 {

    margin-bottom: 18px;

    font-family: 'World Athletics Headline', sans-serif;

    font-size: 42px;

    line-height: 1.12;

    color: var(--oydc-black);
}


.section-heading p {

    color: var(--grey-text);

    font-size: 16px;

    line-height: 1.75;
}


/* =========================================================
   ABOUT HERO
========================================================= */

.about-hero {

    position: relative;

    min-height: 600px;

    display: flex;

    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.84) 0%,
            rgba(0, 0, 0, 0.67) 45%,
            rgba(0, 0, 0, 0.28) 100%
        ),
        url('../Images/OYDC-7.jpg') center center / cover no-repeat;

    overflow: hidden;
}


/* Decorative green shape */

.about-hero::after {

    content: "";

    position: absolute;

    right: -130px;

    bottom: -180px;

    width: 500px;

    height: 500px;

    border: 90px solid rgba(0, 132, 61, 0.55);

    border-radius: 50%;

    pointer-events: none;
}


.about-hero-content {

    position: relative;

    z-index: 2;

    width: 90%;

    max-width: 1200px;

    margin: 0 auto;

    padding-top: 30px;

    color: #ffffff;

    animation: aboutHeroIn 1s ease both;
}


.about-hero-label {

    display: inline-block;

    margin-bottom: 20px;

    padding-left: 15px;

    border-left: 4px solid var(--oydc-green);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2.5px;

    color: #ffffff;
}


.about-hero h1 {

    max-width: 780px;

    margin-bottom: 24px;

    font-family: 'World Athletics Headline', sans-serif;

    font-size: clamp(48px, 6vw, 76px);

    line-height: 0.98;

    letter-spacing: -1px;
}


.about-hero p {

    max-width: 650px;

    font-size: 19px;

    line-height: 1.65;

    color: rgba(255, 255, 255, 0.88);
}


/* =========================================================
   INTRODUCTION
========================================================= */

.about-introduction {

    padding: 110px 0;

    background: #ffffff;
}


.about-intro-grid {

    display: grid;

    grid-template-columns: 1.4fr 0.8fr;

    gap: 90px;

    align-items: center;
}


.about-intro-content {

    max-width: 700px;
}


.about-intro-content h2 {

    margin-bottom: 25px;

    font-family: 'World Athletics Headline', sans-serif;

    font-size: 44px;

    line-height: 1.1;

    color: var(--oydc-black);
}


.about-intro-content p {

    margin-bottom: 17px;

    color: var(--grey-text);

    font-size: 16px;

    line-height: 1.8;
}


.about-intro-card {

    position: relative;

    padding: 45px 40px;

    background: var(--light-green);

    border-top: 5px solid var(--oydc-green);

    border-radius: 4px;

    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06);
}


.about-intro-icon {

    width: 65px;

    height: 65px;

    margin-bottom: 25px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--oydc-green);

    color: #ffffff;

    font-size: 25px;
}


.about-intro-card > span {

    display: block;

    margin-bottom: 10px;

    color: var(--oydc-green);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;
}


.about-intro-card h3 {

    margin-bottom: 15px;

    font-family: 'World Athletics Headline', sans-serif;

    font-size: 28px;

    line-height: 1.2;

    color: var(--oydc-black);
}


.about-intro-card p {

    color: var(--grey-text);

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   HISTORY
========================================================= */

.about-history {

    padding: 115px 0;

    background: var(--soft-green);
}


.history-timeline {

    position: relative;

    max-width: 1000px;

    margin: 0 auto;

    padding: 10px 0;
}


/* Central timeline */

.history-timeline::before {

    content: "";

    position: absolute;

    top: 0;

    bottom: 0;

    left: 50%;

    width: 3px;

    background: #dceee4;

    transform: translateX(-50%);
}


/* Timeline item */

.history-item {

    position: relative;

    display: grid;

    grid-template-columns: 1fr 70px 1fr;

    gap: 25px;

    align-items: center;

    min-height: 180px;
}


/* Alternating content */

.history-item:nth-child(odd) .history-content {

    grid-column: 1;

    grid-row: 1;

    text-align: right;
}


.history-item:nth-child(odd) .history-year {

    grid-column: 3;

    grid-row: 1;

    text-align: left;
}


.history-item:nth-child(even) .history-content {

    grid-column: 3;

    grid-row: 1;

    text-align: left;
}


.history-item:nth-child(even) .history-year {

    grid-column: 1;

    grid-row: 1;

    text-align: right;
}


/* Year */

.history-year {

    font-family: 'World Athletics Headline', sans-serif;

    font-size: 34px;

    color: var(--oydc-green);

    font-weight: bold;
}


/* Marker */

.history-marker {

    position: relative;

    z-index: 3;

    width: 58px;

    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto;

    border: 5px solid var(--soft-green);

    border-radius: 50%;

    background: var(--oydc-green);

    color: #ffffff;

    font-size: 18px;

    box-shadow: 0 0 0 3px rgba(0, 132, 61, 0.18);
}


/* History content */

.history-content {

    max-width: 390px;
}


.history-category {

    display: block;

    margin-bottom: 8px;

    color: var(--oydc-green);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.7px;
}


.history-content h3 {

    margin-bottom: 10px;

    font-family: 'World Athletics Headline', sans-serif;

    font-size: 25px;

    line-height: 1.2;

    color: var(--oydc-black);
}


.history-content p {

    color: var(--grey-text);

    font-size: 14px;

    line-height: 1.7;
}


/* Current item */

.history-current .history-marker {

    background: var(--oydc-black);

    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.15);
}


.history-current .history-year {

    color: var(--oydc-black);
}


/* =========================================================
   ROLE SECTION
========================================================= */

.about-role {

    padding: 115px 0;

    background: #ffffff;
}


.role-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}


.role-card {

    position: relative;

    padding: 35px 30px;

    border: 1px solid var(--border-color);

    background: #ffffff;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.role-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 0;

    height: 3px;

    background: var(--oydc-green);

    transition: width 0.3s ease;
}


.role-card:hover {

    transform: translateY(-6px);

    border-color: rgba(0, 132, 61, 0.25);

    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.07);
}


.role-card:hover::before {

    width: 100%;
}


.role-icon {

    width: 55px;

    height: 55px;

    margin-bottom: 24px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--light-green);

    color: var(--oydc-green);

    font-size: 21px;

    transition: 0.3s ease;
}


.role-card:hover .role-icon {

    background: var(--oydc-green);

    color: #ffffff;
}


.role-card h3 {

    margin-bottom: 12px;

    font-family: 'World Athletics Headline', sans-serif;

    font-size: 23px;

    color: var(--oydc-black);
}


.role-card p {

    color: var(--grey-text);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   MISSION / VISION
========================================================= */

.about-mission {

    padding: 100px 0;

    background: var(--oydc-black);
}


.mission-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 2px;

    background: rgba(255, 255, 255, 0.12);
}


.mission-card {

    padding: 55px 50px;

    background: #171717;

    color: #ffffff;
}


.mission-card-main {

    background: var(--oydc-green);
}


.mission-icon {

    width: 58px;

    height: 58px;

    margin-bottom: 28px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.25);

    border-radius: 50%;

    color: #ffffff;

    font-size: 21px;
}


.mission-label {

    display: block;

    margin-bottom: 12px;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    color: rgba(255, 255, 255, 0.72);
}


.mission-card h2 {

    max-width: 430px;

    margin-bottom: 18px;

    font-family: 'World Athletics Headline', sans-serif;

    font-size: 34px;

    line-height: 1.15;
}


.mission-card p {

    max-width: 500px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 15px;

    line-height: 1.75;
}


/* =========================================================
   VALUES
========================================================= */

.about-values {

    padding: 115px 0;

    background: #ffffff;
}


.values-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    border-top: 1px solid var(--border-color);

    border-left: 1px solid var(--border-color);
}


.value-item {

    display: grid;

    grid-template-columns: 70px 1fr;

    gap: 20px;

    padding: 35px;

    border-right: 1px solid var(--border-color);

    border-bottom: 1px solid var(--border-color);

    transition: background 0.3s ease;
}


.value-item:hover {

    background: var(--soft-green);
}


.value-number {

    font-family: 'World Athletics Headline', sans-serif;

    font-size: 28px;

    color: var(--oydc-green);

    line-height: 1;
}


.value-item h3 {

    margin-bottom: 8px;

    font-family: 'World Athletics Headline', sans-serif;

    font-size: 23px;

    color: var(--oydc-black);
}


.value-item p {

    color: var(--grey-text);

    font-size: 14px;

    line-height: 1.65;
}


/* =========================================================
   IMPACT SECTION
========================================================= */

.about-impact {

    position: relative;

    min-height: 480px;

    display: flex;

    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.88),
            rgba(0, 0, 0, 0.55)
        ),
        url('../Images/OYDC-8.jpg') center / cover no-repeat;

    overflow: hidden;
}


/* =========================================================
NELSON MANDELA QUOTE SECTION
========================================================= */

.about-quote-mandela {
position: relative;
padding: 100px 20px;
background: #00843d;
color: #ffffff;
overflow: hidden;
}

/* =========================================================
BACKGROUND DECORATION
========================================================= */

.about-quote-mandela::before {
content: "";
position: absolute;


width: 420px;
height: 420px;

top: -210px;
right: -120px;

border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 50%;

pointer-events: none;


}

.about-quote-mandela::after {
content: "";
position: absolute;


width: 300px;
height: 300px;

bottom: -170px;
left: -120px;

border: 1px solid rgba(255, 255, 255, 0.10);
border-radius: 50%;

pointer-events: none;


}

/* =========================================================
QUOTE WRAPPER
========================================================= */

.mandela-quote-wrapper {
position: relative;
z-index: 2;


max-width: 1150px;
margin: 0 auto;

display: grid;
grid-template-columns: 280px 1fr;
align-items: center;

gap: 65px;


}

/* =========================================================
MANDELA IMAGE
========================================================= */

.mandela-image {
position: relative;


width: 100%;
max-width: 280px;

aspect-ratio: 3 / 4;

overflow: hidden;

background: #111111;

border: 5px solid rgba(255, 255, 255, 0.95);

box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.22);


}

.mandela-image::after {
content: "";


position: absolute;

inset: 0;

background:
    linear-gradient(
        to top,
        rgba(0, 0, 0, 0.28),
        transparent 45%
    );

pointer-events: none;


}

.mandela-image img {
width: 100%;
height: 100%;


display: block;

object-fit: cover;

filter: grayscale(100%);

transition: transform 0.6s ease;


}

.mandela-image:hover img {
transform: scale(1.04);
}

/* =========================================================
QUOTE CONTENT
========================================================= */

.about-quote-mandela .quote-content {
position: relative;


max-width: 800px;

margin: 0;
text-align: left;


}

/* =========================================================
QUOTE ICON
========================================================= */

.about-quote-mandela .quote-mark {
display: inline-flex;


align-items: center;
justify-content: center;

width: 58px;
height: 58px;

margin-bottom: 28px;

border: 1px solid rgba(255, 255, 255, 0.45);

border-radius: 50%;

font-size: 20px;

color: #ffffff;


}

/* =========================================================
BLOCKQUOTE
========================================================= */

.about-quote-mandela blockquote {
    margin: 0;

    font-family:
        'World Athletics Headline',
        'World Athletics',
        sans-serif;

    font-size: 1.5rem;

    line-height: 1.3;

    font-weight: 700;

    letter-spacing: -0.015em;

    color: #ffffff;
}

/* =========================================================
QUOTE LINE
========================================================= */

.about-quote-mandela .quote-line {
width: 60px;
height: 3px;


margin: 32px 0 20px;

background: #ffffff;


}

/* =========================================================
QUOTE AUTHOR
========================================================= */

.about-quote-mandela .quote-author {
margin: 0;


font-family:
    'World Athletics',
    sans-serif;

font-size: 0.85rem;

font-weight: 600;

text-transform: uppercase;

letter-spacing: 0.16em;

color: #ffffff;

opacity: 0.9;


}

/* =========================================================
TABLET
========================================================= */

@media (max-width: 900px) {


.about-quote-mandela {
    padding: 85px 20px;
}

.mandela-quote-wrapper {
    grid-template-columns: 220px 1fr;

    gap: 45px;
}

.mandela-image {
    max-width: 220px;
}

.about-quote-mandela blockquote {
    font-size: 2.25rem;
}


}

/* =========================================================
MOBILE
========================================================= */

@media (max-width: 700px) {


.about-quote-mandela {
    padding: 70px 20px;
}

.mandela-quote-wrapper {
    grid-template-columns: 1fr;

    gap: 35px;

    justify-items: center;
}

.mandela-image {
    width: 190px;
    max-width: 190px;

    aspect-ratio: 3 / 4;
}

.about-quote-mandela .quote-content {
    max-width: 700px;

    margin: 0 auto;

    text-align: center;
}

.about-quote-mandela .quote-mark {
    width: 52px;
    height: 52px;

    margin-bottom: 22px;
}

.about-quote-mandela blockquote {
    font-size: 2rem;

    line-height: 1.3;
}

.about-quote-mandela .quote-line {
    margin: 26px auto 18px;
}


}

/* =========================================================
SMALL MOBILE
========================================================= */

@media (max-width: 480px) {


.about-quote-mandela {
    padding: 60px 18px;
}

.mandela-image {
    width: 165px;
    max-width: 165px;
}

.about-quote-mandela blockquote {
    font-size: 1.65rem;

    line-height: 1.32;
}

.about-quote-mandela .quote-author {
    font-size: 0.72rem;

    letter-spacing: 0.12em;
}


}

/* =========================================================
REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {


.mandela-image img {
    transition: none;
}


}


.about-impact::after {

    content: "";

    position: absolute;

    right: -180px;

    top: -180px;

    width: 480px;

    height: 480px;

    border: 80px solid rgba(0, 132, 61, 0.55);

    border-radius: 50%;
}


.impact-content {

    position: relative;

    z-index: 2;

    max-width: 700px;

    color: #ffffff;
}


.impact-content .section-label {

    color: #ffffff;

    border-left: 3px solid var(--oydc-green);

    padding-left: 12px;
}


.impact-content h2 {

    margin-bottom: 20px;

    font-family: 'World Athletics Headline', sans-serif;

    font-size: 48px;

    line-height: 1.1;
}


.impact-content p {

    max-width: 650px;

    margin-bottom: 12px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 16px;

    line-height: 1.75;
}


/* =========================================================
   CTA
========================================================= */

.about-cta {

    padding: 105px 0;

    background: var(--light-green);

    text-align: center;
}


.about-cta-content {

    max-width: 780px;

    margin: 0 auto;
}


.about-cta h2 {

    margin-bottom: 20px;

    font-family: 'World Athletics Headline', sans-serif;

    font-size: 45px;

    line-height: 1.1;

    color: var(--oydc-black);
}


.about-cta p {

    max-width: 680px;

    margin: 0 auto 30px;

    color: var(--grey-text);

    font-size: 16px;

    line-height: 1.75;
}


.about-cta-buttons {

    display: flex;

    justify-content: center;

    gap: 14px;

    flex-wrap: wrap;
}


.about-btn,
.about-btn-outline {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 50px;

    padding: 0 25px;

    border: 1px solid var(--oydc-green);

    font-size: 14px;

    font-weight: 700;

    transition: all 0.3s ease;
}


.about-btn {

    background: var(--oydc-green);

    color: #ffffff;
}


.about-btn:hover {

    background: var(--oydc-dark-green);

    border-color: var(--oydc-dark-green);

    transform: translateY(-2px);
}


.about-btn-outline {

    background: transparent;

    color: var(--oydc-green);
}


.about-btn-outline:hover {

    background: var(--oydc-green);

    color: #ffffff;

    transform: translateY(-2px);
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes aboutHeroIn {

    from {

        opacity: 0;

        transform: translateY(30px);
    }

    to {

        opacity: 1;

        transform: translateY(0);
    }
}


@keyframes aboutFadeUp {

    from {

        opacity: 0;

        transform: translateY(25px);
    }

    to {

        opacity: 1;

        transform: translateY(0);
    }
}


.about-intro-content,
.about-intro-card,
.role-card,
.value-item,
.mission-card {

    animation: aboutFadeUp 0.8s ease both;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {


    /* HERO */

    .about-hero {

        min-height: 540px;

        padding: 60px 0;
    }


    .about-hero h1 {

        font-size: 55px;
    }


    /* INTRO */

    .about-intro-grid {

        grid-template-columns: 1fr;

        gap: 50px;
    }


    /* ROLE */

    .role-grid {

        grid-template-columns: 1fr 1fr;
    }


    /* HISTORY */

    .history-item {

        grid-template-columns: 100px 60px 1fr;

        gap: 15px;
    }


    .history-item:nth-child(odd) .history-content,
    .history-item:nth-child(even) .history-content {

        grid-column: 3;

        grid-row: 1;

        text-align: left;
    }


    .history-item:nth-child(odd) .history-year,
    .history-item:nth-child(even) .history-year {

        grid-column: 1;

        grid-row: 1;

        text-align: right;
    }


    /* MISSION */

    .mission-card {

        padding: 45px 35px;
    }


    /* CTA */

    .about-cta h2 {

        font-size: 40px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {


    /* CONTAINER */

    .about-container {

        width: 88%;
    }


    /* HERO */

    .about-hero {

        min-height: 520px;

        background-position: center;
    }


    .about-hero-content {

        width: 88%;
    }


    .about-hero h1 {

        font-size: 44px;

        letter-spacing: -0.5px;
    }


    .about-hero p {

        font-size: 16px;
    }


    /* SECTIONS */

    .about-introduction,
    .about-history,
    .about-role,
    .about-values {

        padding: 80px 0;
    }


    .section-heading {

        margin-bottom: 45px;
    }


    .section-heading h2 {

        font-size: 34px;
    }


    /* INTRO */

    .about-intro-content h2 {

        font-size: 35px;
    }


    .about-intro-card {

        padding: 35px 30px;
    }


    /* HISTORY */

    .history-timeline {

        padding-left: 0;
    }


    .history-timeline::before {

        left: 29px;

        transform: none;
    }


    .history-item,
    .history-item:nth-child(odd),
    .history-item:nth-child(even) {

        display: grid;

        grid-template-columns: 58px 1fr;

        gap: 20px;

        min-height: auto;

        margin-bottom: 40px;
    }


    .history-item:last-child {

        margin-bottom: 0;
    }


    .history-marker {

        grid-column: 1 !important;

        grid-row: 1 !important;

        width: 58px;

        height: 58px;
    }


    .history-year,
    .history-item:nth-child(odd) .history-year,
    .history-item:nth-child(even) .history-year {

        grid-column: 2 !important;

        grid-row: 1 !important;

        text-align: left;

        align-self: center;

        font-size: 25px;
    }


    .history-content,
    .history-item:nth-child(odd) .history-content,
    .history-item:nth-child(even) .history-content {

        grid-column: 2 !important;

        grid-row: 2 !important;

        text-align: left;

        max-width: none;
    }


    /* ROLE */

    .role-grid {

        grid-template-columns: 1fr;
    }


    /* MISSION */

    .mission-grid {

        grid-template-columns: 1fr;
    }


    .mission-card {

        padding: 40px 30px;
    }


    .mission-card h2 {

        font-size: 30px;
    }


    /* VALUES */

    .values-grid {

        grid-template-columns: 1fr;
    }


    .value-item {

        grid-template-columns: 55px 1fr;

        padding: 28px 24px;
    }


    /* IMPACT */

    .about-impact {

        min-height: 500px;
    }


    .impact-content h2 {

        font-size: 38px;
    }


    /* CTA */

    .about-cta {

        padding: 80px 0;
    }


    .about-cta h2 {

        font-size: 35px;
    }


    .about-cta-buttons {

        flex-direction: column;
    }


    .about-btn,
    .about-btn-outline {

        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 500px) {


    .about-hero {

        min-height: 500px;
    }


    .about-hero h1 {

        font-size: 38px;
    }


    .about-hero p {

        font-size: 15px;
    }


    .section-heading h2 {

        font-size: 31px;
    }


    .about-intro-content h2 {

        font-size: 31px;
    }


    .about-intro-card h3 {

        font-size: 25px;
    }


    .history-content h3 {

        font-size: 21px;
    }


    .history-content p {

        font-size: 13px;
    }


    .history-year {

        font-size: 22px !important;
    }


    .role-card {

        padding: 30px 25px;
    }


    .impact-content h2 {

        font-size: 33px;
    }


    .about-cta h2 {

        font-size: 31px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

}

/* =========================================================
   GREEN PAGE LOADING LINE
========================================================= */

body::before {

    content: "";

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 3px;

    background: var(--oydc-green);

    transform-origin: left;

    transform: scaleX(0);

    animation:
        aboutPageLoadingLine
        1.1s
        cubic-bezier(0.65, 0, 0.35, 1)
        both;

    z-index: 99999;

    pointer-events: none;
}


/* =========================================================
   LOADING LINE ANIMATION
========================================================= */

@keyframes aboutPageLoadingLine {

    0% {

        transform: scaleX(0);

        opacity: 1;
    }

    70% {

        transform: scaleX(0.85);

        opacity: 1;
    }

    100% {

        transform: scaleX(1);

        opacity: 0;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    body::before {

        animation: none;

        transform: scaleX(1);

        opacity: 0;
    }

}