    /* =========================================================
   ZERO SCHOOL DROPOUT
   VP RWANDA
   Back to School Project
   ========================================================= */


/* =========================================================
   GOOGLE FONTS
   ========================================================= */

@import url(
    'https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;1,600;1,700&display=swap'
);


/* =========================================================
   ROOT VARIABLES
   ========================================================= */

:root {

    /* Brand Colors */
    --blue: #1455b8;
    --blue-dark: #0b3475;

    --green: #64d719;
    --green-dark: #35a800;

    --orange: #f46a00;
    --orange-dark: #c94f00;


    /* Neutral Colors */
    --bg: #f4f7fb;
    --bg-soft: #edf3fa;
    --bg-green: #f1f9eb;
    --bg-orange: #fff4ec;

    --dark: #111827;
    --dark-blue: #092957;

    --muted: #687386;
    --muted-light: #9aa4b2;

    --line: #d8e0ea;

    --white: #ffffff;
    --black: #000000;


    /* Layout */
    --max: 1180px;


    /* Effects */
    --shadow:
        0 20px 55px rgba(11, 52, 117, 0.10);

    --shadow-heavy:
        0 30px 80px rgba(11, 52, 117, 0.18);
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--bg);
    color: var(--dark);

    font:
        16px / 1.7
        'DM Sans',
        Arial,
        sans-serif;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

a {
    color: inherit;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.nav {
    position: absolute;
    z-index: 5;

    top: 0;
    left: 0;

    width: 100%;

    padding:
        22px
        max(30px, calc((100% - var(--max)) / 2));

    display: flex;

    justify-content: space-between;
    align-items: center;

    color: var(--white);
}

.nav img {
    
    display: block;
    width: 130px; 
    filter: brightness(0) invert(1);
    
}

.nav a:last-child {
    color: var(--white);

    text-decoration: none;

    font-size: 0.58rem;
    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    transition:
        color 0.25s ease;
}

.nav a:last-child:hover {
    color: var(--green);
}

.ss-back {
  backdrop-filter: brightness(5) invert(1);
  font-size: .48rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  position: fixed;
  padding: 12px 17px;
  right: 20px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font-weight: 600;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    height: 92vh;
    min-height: 650px;

    display: flex;

    align-items: flex-end;

    overflow: hidden;

    color: var(--white);

    background: var(--blue-dark);
}

.hero > img,
.shade {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.hero > img {
    filter:
        saturate(0.75)
        contrast(1.05);
}

.shade {
    background:
        linear-gradient(
            90deg,
            rgba(11, 52, 117, 0.92),
            rgba(11, 52, 117, 0.62) 48%,
            rgba(0, 0, 0, 0.18) 100%
        );
}

.hero::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 6px;

    background:
        linear-gradient(
            90deg,
            var(--blue),
            var(--green),
            var(--orange)
        );
}

.heroText {
    top: 20px;
    position: relative;
    z-index: 2;

    width: min(
        100% - 60px,
        var(--max)
    );

    margin:
        auto;

    padding-bottom: 80px;
}

.hero small {
    color: var(--green);

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.22em;

    text-transform: uppercase;
}

.hero h1 {
    max-width: 1050px;

    margin: 18px 0;

    color: var(--white);

    font-size:
        clamp(
            4rem,
            10vw,
            9rem
        );

    line-height: 0.84;

    letter-spacing: -0.06em;

    text-transform: uppercase;
}

.hero h1 i {
    color: var(--green);

    font-family:
        'Playfair Display',
        Georgia,
        serif;

    font-weight: 600;

    text-transform: none;
}

.hero h2 {
    margin: 30px 0 5px;

    color: var(--white);

    font:
        italic
        1.7rem
        'Playfair Display',
        Georgia,
        serif;
}

.hero p {
    max-width: 620px;

    margin: 15px 0;

    color: rgba(255, 255, 255, 0.82);
}

.hero a,
.cta a {
    display: inline-block;

    margin-top: 20px;

    padding-bottom: 6px;

    color: var(--white);

    border-bottom:
        1px solid
        var(--green);

    text-decoration: none;

    text-transform: uppercase;

    letter-spacing: 0.1em;

    font-size: 0.75rem;
    font-weight: 700;

    transition:
        color 0.25s ease,
        border-color 0.25s ease;
}

.hero a:hover {
    color: var(--green);

    border-color: var(--green);
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section {
    padding: 120px 0;
}

.section > * {
    width:
        min(
            100% - 60px,
            var(--max)
        );

    margin-left: auto;
    margin-right: auto;
}

.section > small,
.section small,
.cta small {
    color: var(--blue);

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.2em;

    text-transform: uppercase;
}

.section h2 {
    max-width: 850px;

    margin: 14px 0;

    color: var(--blue-dark);

    font-size:
        clamp(
            2.7rem,
            5vw,
            5.2rem
        );

    line-height: 1;

    letter-spacing: -0.05em;
}

.section h2 i {
    color: var(--blue);

    font-family:
        'Playfair Display',
        Georgia,
        serif;

    font-weight: 600;

    text-transform: none;
}

.section p {
    color: var(--muted);
}


/* =========================================================
   TWO COLUMN STORY
   ========================================================= */

.two {
    display: grid;

    grid-template-columns:
        0.9fr
        1.1fr;

    gap: 90px;

    align-items: center;
}

.two > div:last-child {
    color: #465367;
}

.two img {
    width: 100%;
    height: 560px;

    object-fit: cover;

    box-shadow: var(--shadow-heavy);
}


/* =========================================================
   STORY HIGHLIGHT
   ========================================================= */

.storyHighlight {
    margin-top: 30px;

    padding: 25px 28px;

    border-left:
        5px solid
        var(--green);

    background: var(--bg-green);
}

.storyHighlight strong {
    color: var(--green-dark);
}


/* =========================================================
   DARK SECTIONS
   ========================================================= */

.dark {
    background: var(--blue-dark);

    color: var(--white);
}

.dark h2 {
    color: var(--white);
}

.dark .head p {
    color: rgba(255, 255, 255, 0.68);
}

.dark small {
    color: var(--green);
}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.head {
    margin-bottom: 55px;
}

.head.center,
.center {
    text-align: center;
}

.head.center p,
.narrow p {
    max-width: 680px;

    margin:
        25px
        auto;

    color: var(--muted);
}

.dark .head.center p {
    color: rgba(255, 255, 255, 0.65);
}


/* =========================================================
   IMPACT STATS
   ========================================================= */

.stats {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-block:
        1px solid
        rgba(255, 255, 255, 0.16);
}

.stats > div {
    padding: 35px 20px;

    border-right:
        1px solid
        rgba(255, 255, 255, 0.16);
}

.stats > div:last-child {
    border-right: 0;
}

.stats b {
    display: block;

    color: var(--green);

    font-size:
        clamp(
            3rem,
            6vw,
            6rem
        );

    line-height: 1;

    letter-spacing: -0.06em;
}

.stats > div:nth-child(2) b {
    color: var(--orange);
}

.stats > div:nth-child(3) b {
    color: var(--green);
}

.stats > div:nth-child(4) b {
    color: var(--blue);
}

.stats span {
    display: block;

    margin-top: 15px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 0.85rem;
}

.note {
    margin-top: 25px;

    color: var(--muted-light) !important;

    font-size: 0.78rem;
}


/* =========================================================
   JOURNEY SECTION
   ========================================================= */

.journey {
    background: var(--bg-soft);
}

.steps {
    max-width: 900px !important;

    margin-top: 70px;
}

.steps article {
    display: grid;

    grid-template-columns:
        80px
        1fr;

    gap: 25px;

    padding: 30px 0;

    border-top:
        1px solid
        var(--line);
}

.steps article:last-child {
    border-bottom:
        1px solid
        var(--line);
}

.steps em {
    font-style: normal;

    color: var(--blue);

    font-weight: 700;

    font-size: 0.75rem;

    letter-spacing: 0.1em;
}

.steps article:nth-child(even) em {
    color: var(--orange);
}

.steps h3 {
    margin: 0 0 6px;

    color: var(--blue-dark);

    font-size: 1.5rem;
}

.steps p {
    margin: 0;

    color: var(--muted);
}


/* =========================================================
   VIDEO SECTIONS
   ========================================================= */

.video {
    background: var(--white);
}

.video.dark {
    background: #071d3d;
}

.videoGrid {
    display: grid;

    grid-template-columns:
        0.75fr
        1.25fr;

    gap: 70px;

    align-items: center;
}

.videoGrid.reverse {
    grid-template-columns:
        1.25fr
        0.75fr;
}

.videoGrid.reverse > div:first-child {
    order: 2;
}

.videoGrid h2 {
    color: var(--blue-dark);
}

.video.dark .videoGrid h2 {
    color: var(--white);
}

.videoGrid p {
    max-width: 500px;

    color: var(--muted);
}

.video.dark .videoGrid p {
    color: rgba(255, 255, 255, 0.65);
}

.frame {
    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: var(--black);

    box-shadow:
        0 25px 60px
        rgba(11, 52, 117, 0.20);
}

.frame iframe {
    width: 100%;
    height: 100%;

    border: 0;

    display: block;
}


/* =========================================================
   VIDEO LABEL
   ========================================================= */

.videoLabel {
    display: inline-block;

    margin-bottom: 15px;

    color: var(--orange);

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}


/* =========================================================
   PHOTO GALLERY
   ========================================================= */

.gallery {
    background: var(--bg);
}

.photos {
    display: grid !important;

    grid-template-columns:
        repeat(12, 1fr);

    grid-auto-rows: 220px;

    gap: 14px;
}

.photo {
    position: relative;

    grid-column: span 4;

    padding: 0;

    border: 0;

    overflow: hidden;

    background: var(--blue-dark);

    cursor: pointer;
}

.photo:nth-child(3) {
    grid-row: span 2;
}

.photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease,
        filter 0.6s ease;
}

.photo:hover img {
    transform: scale(1.05);

    filter:
        brightness(0.72)
        saturate(1.1);
}

.photo::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(11, 52, 117, 0.45)
        );

    opacity: 0;

    transition:
        opacity 0.4s ease;
}

.photo:hover::after {
    opacity: 1;
}

.photo span {
    position: absolute;

    z-index: 2;

    right: 15px;
    bottom: 10px;

    color: var(--white);

    font-size: 0.75rem;

    opacity: 0;

    transition:
        opacity 0.3s ease;
}

.photo:hover span {
    opacity: 1;
}


/* =========================================================
   SUPPORT SECTION
   ========================================================= */

.support {
    background: var(--bg-green);
}

.support h2 {
    color: var(--green-dark);
}

.support small {
    color: var(--green-dark);
}

.supportList {
    margin-top: 30px;

    padding: 0;

    list-style: none;
}

.supportList li {
    position: relative;

    margin-bottom: 15px;

    padding-left: 32px;

    color: var(--muted);
}

.supportList li::before {
    content: "✓";

    position: absolute;

    left: 0;
    top: 4px;

    width: 20px;
    height: 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--white);

    background: var(--green-dark);

    font-size: 0.7rem;
    font-weight: 700;
}


/* =========================================================
   CURRENT STUDENTS
   ========================================================= */

.now {
    background: var(--white);
}

.nowGrid {
    display: grid !important;

    grid-template-columns:
        1fr
        1.5fr;

    gap: 18px;
}

.nowGrid > div {
    min-height: 320px;

    padding: 45px;

    background: var(--blue-dark);

    color: var(--white);
}

.nowGrid h3 {
    margin-top: 65px;

    font-size: 2rem;

    line-height: 1.05;
}

.nowGrid p {
    color: rgba(255, 255, 255, 0.65);
}

.nowGrid .featured {
    background: var(--green);

    color: var(--dark);
}

.nowGrid .featured small {
    color: var(--green-dark);
}

.nowGrid .featured h3 {
    color: var(--blue-dark);

    font:
        italic
        clamp(2.5rem, 5vw, 5rem)
        / 1
        'Playfair Display',
        Georgia,
        serif;
}

.nowGrid .featured p {
    color: #20430e;
}


/* =========================================================
   SCHOOL LEADER BADGE
   ========================================================= */

.leaderBadge {
    display: inline-block;

    margin-top: 20px;

    padding: 8px 14px;

    border-radius: 999px;

    color: var(--white);

    background: var(--orange);

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


/* =========================================================
   VISION / LESSONS
   ========================================================= */

.vision {
    background:
        linear-gradient(
            135deg,
            #e9f3ff,
            #f1f9eb
        );

    text-align: center;
}

.narrow {
    max-width: 950px !important;
}

.vision h2 {
    color: var(--blue-dark);
}

.vision p {
    color: var(--muted);
}

.tags {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 9px;

    margin-top: 35px;
}

.tags span {
    padding: 7px 14px;

    border:
        1px solid
        rgba(20, 85, 184, 0.25);

    border-radius: 999px;

    color: var(--blue-dark);

    background: var(--white);

    font-size: 0.75rem;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.tags span:hover {
    border-color: var(--blue);

    color: var(--white);

    background: var(--blue);
}


/* =========================================================
   CALL TO ACTION
   ========================================================= */

.cta {
    padding: 140px 30px;

    background:
        linear-gradient(
            135deg,
            var(--blue-dark),
            #071a34
        );

    color: var(--white);

    text-align: center;
}

.cta small {
    color: var(--green);
}

.cta h2 {
    max-width: 1000px;

    margin:
        20px
        auto;

    color: var(--white);

    font-size:
        clamp(
            3.5rem,
            8vw,
            8rem
        );

    line-height: 0.95;

    letter-spacing: -0.05em;
}

.cta h2 i {
    color: var(--green);

    font-family:
        'Playfair Display',
        Georgia,
        serif;

    font-weight: 600;
}

.cta p {
    max-width: 680px;

    margin: auto;

    color: rgba(255, 255, 255, 0.65);
}

.cta a {
    margin-top: 30px;

    padding:
        15px
        26px;

    border: 0;

    border-radius: 999px;

    color: var(--white);

    background: var(--orange);

    text-decoration: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.cta a:hover {
    color: var(--white);

    background: var(--orange-dark);

    transform: translateY(-3px);
}


/* =========================================================
   LIGHTBOX
   ========================================================= */

.lightbox {
    position: fixed;

    z-index: 50;

    inset: 0;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 40px;

    background:
        rgba(7, 27, 58, 0.96);
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: 90vw;

    max-height: 88vh;

    object-fit: contain;

    box-shadow:
        0 30px 100px
        rgba(0, 0, 0, 0.45);
}

.lightbox button {
    position: absolute;

    border: 0;

    background: transparent;

    color: var(--white);

    cursor: pointer;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.lightbox button:hover {
    color: var(--green);

    transform: scale(1.08);
}

.close {
    top: 15px;

    right: 25px;

    font-size: 2.5rem;
}

.prev,
.next {
    top: 50%;

    font-size: 4rem;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    position: relative;

    padding:
        25px
        max(30px, calc((100% - var(--max)) / 2));

    color: rgba(255, 255, 255, 0.55);

    background: #06162e;

    font-size: 0.75rem;
}

footer::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--blue),
            var(--green),
            var(--orange)
        );
}

footer a {
    color: var(--white);

    text-decoration: none;
}

footer a:hover {
    color: var(--green);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .two {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .two img {
        height: 450px;
    }

    .videoGrid,
    .videoGrid.reverse {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .videoGrid.reverse > div:first-child {
        order: 0;
    }

    .stats {
        grid-template-columns:
            1fr
            1fr;
    }

    .stats > div:nth-child(2) {
        border-right: 0;
    }

    .stats > div:nth-child(-n + 2) {
        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.16);
    }

    .photos {
        grid-template-columns:
            1fr
            1fr;
    }

    .photo,
    .photo:nth-child(3) {
        grid-column: span 1;

        grid-row: span 1;
    }

    .nowGrid {
        grid-template-columns: 1fr;
    }

    .nowGrid > div {
        min-height: 300px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .nav {
        padding-inline: 15px;
    }

    .nav img {
        width: 62px;
    }

    .nav a:last-child {
        font-size: 0.65rem;
    }


    /* Hero */

    .hero {
        min-height: 620px;
    }

    .heroText {
        width:
            min(
                100% - 30px,
                var(--max)
            );

        padding-bottom: 65px;
    }

    .hero h1 {
        font-size: 18vw;
    }

    .hero h2 {
        font-size: 1.35rem;
    }

    .hero p {
        font-size: 0.95rem;
    }


    /* Sections */

    .section {
        padding: 80px 0;
    }

    .section > * {
        width:
            min(
                100% - 30px,
                var(--max)
            );
    }

    .section h2 {
        font-size: 2.8rem;
    }


    /* Story */

    .two img {
        height: 350px;
    }


    /* Stats */

    .stats {
        grid-template-columns:
            1fr
            1fr;
    }

    .stats > div {
        padding: 25px 12px;
    }

    .stats b {
        font-size: 3rem;
    }


    /* Journey */

    .steps {
        margin-top: 45px;
    }

    .steps article {
        grid-template-columns:
            55px
            1fr;

        gap: 15px;

        padding: 25px 0;
    }

    .steps h3 {
        font-size: 1.25rem;
    }


    /* Gallery */

    .photos {
        grid-template-columns: 1fr;

        grid-auto-rows: 260px;
    }

    .photo,
    .photo:nth-child(3) {
        grid-column: 1;

        grid-row: span 1;
    }


    /* Current students */

    .nowGrid > div {
        padding: 30px;
    }

    .nowGrid h3 {
        margin-top: 45px;
    }


    /* CTA */

    .cta {
        padding:
            95px
            20px;
    }

    .cta h2 {
        font-size: 16vw;
    }


    /* Lightbox */

    .lightbox {
        padding: 20px;
    }

    .close {
        top: 10px;

        right: 15px;

        font-size: 2rem;
    }

    .prev,
    .next {
        font-size: 3rem;
    }

    .prev {
        left: 8px;
    }

    .next {
        right: 8px;
    }
}