/* =========================================================
   EXPORT GRADE UGANDA
   RESPONSIVE WEBSITE
   Mobile • Tablet • Desktop
   ========================================================= */


/* =========================================================
   1. RESET
   ========================================================= */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    font-family: "Poppins", Arial, sans-serif;
    color: #222;
    background: #f8f9fa;

    line-height: 1.6;

    overflow-x: hidden;
}

img,
video,
iframe {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
    max-width: 100%;
}

button {
    cursor: pointer;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}


/* =========================================================
   2. VARIABLES
   ========================================================= */

:root {
    --primary: #1b5e20;
    --secondary: #2e7d32;
    --green-light: #eaf5ec;

    --gold: #d4af37;

    --white: #ffffff;
    --light: #f8f9fa;

    --text: #222222;
    --muted: #666666;

    --border: #dddddd;

    --shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.13);

    --radius: 15px;

    --container: 1200px;

    --side-space: 20px;
}


/* =========================================================
   3. GLOBAL SAFETY
   ========================================================= */

section,
header,
footer,
nav,
div,
main {
    min-width: 0;
}

section {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li {
    overflow-wrap: anywhere;
    word-break: normal;
}

input,
select,
textarea {
    width: 100%;
    min-width: 0;
}


/* =========================================================
   4. HEADER / NAVBAR
   ========================================================= */

header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: rgba(255, 255, 255, 0.97);

    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);

    backdrop-filter: blur(10px);
}

.navbar {
    width: min(1400px, calc(100% - 40px));
    min-height: 78px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.logo {
    flex: 0 0 auto;
}

.logo img {
    width: auto;
    height: 62px;
    max-width: 180px;

    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: clamp(15px, 2vw, 32px);

    min-width: 0;
}

.nav-links a {
    display: block;

    color: #333;

    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;

    transition: 0.25s ease;
}

.nav-links a:hover {
    color: var(--secondary);
}

.menu-toggle {
    display: none;

    border: 0;
    background: transparent;

    color: var(--primary);

    font-size: 28px;
    line-height: 1;

    padding: 5px;
}


/* =========================================================
   5. HERO
   ========================================================= */

#home {
    position: relative;

    width: 100%;
    min-height: 680px;

    display: flex;
    align-items: center;

    padding: 80px 0;

    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;
}

.hero-slider::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.72),
            rgba(0, 0, 0, 0.40),
            rgba(0, 0, 0, 0.15)
        );
}

.slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0;

    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;

    width: min(var(--container), calc(100% - 40px));

    margin: auto;

    color: white;
}

.hero-content > * {
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    max-width: 100%;

    padding: 8px 15px;

    margin-bottom: 20px;

    border: 1px solid rgba(255, 255, 255, 0.25);

    border-radius: 50px;

    background: rgba(255, 255, 255, 0.13);

    backdrop-filter: blur(10px);

    color: white;

    font-size: 13px;
    font-weight: 600;

    text-align: center;
}

.hero-badge i {
    color: var(--gold);
}

.hero-content h2 {
    max-width: 760px;

    margin-bottom: 20px;

    font-size: clamp(2.2rem, 5vw, 4.4rem);

    line-height: 1.1;

    letter-spacing: -1px;
}

.hero-content p {
    max-width: 600px;

    margin-bottom: 28px;

    font-size: clamp(0.95rem, 1.5vw, 1.15rem);

    line-height: 1.8;
}

.primary-btn,
.secondary-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 11px 24px;

    margin-right: 8px;

    border-radius: 7px;

    border: 1px solid transparent;

    font-size: 15px;
    font-weight: 600;

    transition: 0.25s ease;
}

.primary-btn {
    background: var(--secondary);
    color: white;
}

.primary-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.secondary-btn {
    background: white;
    color: var(--primary);
}

.secondary-btn:hover {
    transform: translateY(-2px);
}

.scroll-down {
    position: absolute;

    left: 50%;
    bottom: -130px;

    transform: translateX(-50%);

    color: white;

    font-size: 26px;

    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}


/* =========================================================
   6. STATS
   ========================================================= */

#stats {
    width: min(1000px, calc(100% - 40px));

    margin: -45px auto 70px;

    position: relative;
    z-index: 10;

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 22px;
}

.stat-card {
    min-width: 0;

    padding: 25px 18px;

    background: white;

    border-radius: var(--radius);

    text-align: center;

    box-shadow: var(--shadow);

    transition: 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.stat-card h3 {
    margin-bottom: 6px;

    color: var(--gold);

    font-size: clamp(1.5rem, 3vw, 2.3rem);

    line-height: 1.2;
}

.stat-card p {
    color: var(--muted);
    font-size: 14px;
}


/* =========================================================
   7. GENERAL SECTION HEADINGS
   ========================================================= */

section > h2 {
    color: var(--secondary);

    font-size: clamp(1.8rem, 3vw, 2.5rem);

    line-height: 1.2;

    text-align: center;
}

section > h2::after {
    content: "";

    display: block;

    width: 55px;
    height: 3px;

    margin: 13px auto 0;

    background: var(--gold);

    border-radius: 10px;
}


/* =========================================================
   8. FEATURES
   ========================================================= */

#features {
    width: min(var(--container), calc(100% - 40px));

    margin: auto;

    padding: 70px 0;
}

.features-container {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 22px;

    margin-top: 40px;
}

.feature-card {
    min-width: 0;

    padding: 28px 20px;

    background: white;

    border-radius: var(--radius);

    text-align: center;

    box-shadow: var(--shadow);

    transition: 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow-hover);
}

.feature-card h1 {
    margin-bottom: 13px;

    color: var(--gold);

    font-size: 40px;
}

.feature-card h4 {
    margin-bottom: 9px;

    color: var(--secondary);

    font-size: 17px;
}

.feature-card p {
    color: var(--muted);

    font-size: 14px;
}


/* =========================================================
   9. ABOUT
   ========================================================= */

#about {
    padding: 85px 0;

    background:
        linear-gradient(
            180deg,
            #f8f9fa,
            #eaf5ec
        );
}

.about-top {
    width: min(var(--container), calc(100% - 40px));

    margin: auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    align-items: center;

    gap: 50px;
}

.about-content {
    min-width: 0;
}

.about-content h2 {
    margin-bottom: 22px;

    color: var(--secondary);

    font-size: clamp(2rem, 4vw, 2.7rem);

    line-height: 1.2;
}

.about-content p {
    margin-bottom: 16px;

    color: #555;

    font-size: 15px;
}

.about-content h4 {
    margin-top: 20px;
    margin-bottom: 6px;

    color: var(--secondary);

    font-size: 19px;
}

.about-image {
    width: 100%;

    overflow: hidden;

    border-radius: 20px;

    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: 450px;

    object-fit: cover;

    transition: 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-footer {
    width: min(var(--container), calc(100% - 40px));

    margin: 50px auto 0;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;

    padding: 32px 22px;

    border-radius: var(--radius);

    background: #27912d;

    color: white;

    text-align: center;
}

.value {
    min-width: 0;
}

.value h3 {
    margin-bottom: 6px;

    font-size: 28px;
}

.value h4 {
    margin-bottom: 6px;

    font-size: 16px;
}

.value p {
    font-size: 13px;

    opacity: 0.9;
}


/* =========================================================
   10. SERVICES
   ========================================================= */

#services {
    width: min(var(--container), calc(100% - 40px));

    margin: auto;

    padding: 85px 0;

    text-align: center;
}

#services > p {
    width: min(650px, 100%);

    margin: 15px auto 0;

    color: var(--muted);

    font-size: 15px;
}

.services-container {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 22px;

    margin-top: 40px;
}

.service-card {
    min-width: 0;

    padding: 30px 20px;

    background: white;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow-hover);
}

.service-card h3 {
    margin-bottom: 12px;

    color: var(--gold);

    font-size: 40px;
}

.service-card h4 {
    margin-bottom: 8px;

    color: var(--secondary);

    font-size: 17px;
}

.service-card p {
    color: var(--muted);

    font-size: 14px;
}


/* =========================================================
   11. HOW IT WORKS
   ========================================================= */

#how-it-works {
    padding: 85px 0;

    background: #d8dfd8;
}

.how-top {
    width: min(var(--container), calc(100% - 40px));

    margin: auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    align-items: center;

    gap: 50px;
}

.how-content {
    min-width: 0;
}

.how-content h2 {
    margin-bottom: 13px;

    color: var(--secondary);

    font-size: clamp(2rem, 4vw, 2.7rem);

    text-align: left;
}

.how-content > p {
    margin-bottom: 28px;

    color: #555;

    font-size: 15px;
}

.step {
    display: flex;

    align-items: flex-start;

    gap: 15px;

    margin-bottom: 22px;
}

.step-number {
    flex: 0 0 43px;

    width: 43px;
    height: 43px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--secondary);

    color: white;

    font-weight: 700;
}

.step h4 {
    margin-bottom: 3px;

    color: var(--secondary);

    font-size: 17px;
}

.step p {
    color: #555;

    font-size: 14px;
}

.how-image {
    width: 100%;

    overflow: hidden;

    border-radius: 20px;

    box-shadow: var(--shadow);
}

.how-image img {
    width: 100%;
    height: 450px;

    object-fit: cover;

    transition: 0.5s ease;
}

.how-image:hover img {
    transform: scale(1.03);
}

.how-footer {
    width: min(var(--container), calc(100% - 40px));

    margin: 45px auto 0;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;

    padding: 28px 20px;

    border-radius: var(--radius);

    background: var(--secondary);

    color: white;

    text-align: center;
}

.how-footer h4 {
    margin-bottom: 4px;

    font-size: 16px;
}

.how-footer p {
    font-size: 13px;

    opacity: 0.9;
}


/* =========================================================
   12. JOIN NETWORK
   ========================================================= */

#join-network {
    padding: 85px 0;

    background: #f8f9fa;
}

#join-network > p {
    width: min(700px, calc(100% - 40px));

    margin: 12px auto 40px;

    color: var(--secondary);

    font-size: 15px;

    text-align: center;
}

.join-container {
    width: min(var(--container), calc(100% - 40px));

    margin: auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 0.9fr);

    align-items: center;

    gap: 50px;
}

.join-content {
    min-width: 0;
}

.join-form {
    width: 100%;
}

.join-form label {
    display: block;

    margin: 12px 0 5px;

    color: #333;

    font-size: 13px;

    font-weight: 600;
}

.join-form input,
.join-form select,
.join-form textarea {
    display: block;

    width: 100%;
    min-width: 0;

    padding: 11px 13px;

    border: 1px solid #ccc;

    border-radius: 8px;

    background: white;

    outline: none;

    font-size: 14px;
}

.join-form input:focus,
.join-form select:focus,
.join-form textarea:focus {
    border-color: var(--secondary);

    box-shadow:
        0 0 0 3px
        rgba(46, 125, 50, 0.10);
}

.join-form button {
    width: 100%;

    margin-top: 18px;

    padding: 12px 20px;

    border: none;

    border-radius: 8px;

    background: var(--secondary);

    color: white;

    font-weight: 600;

    transition: 0.25s;
}

.join-form button:hover {
    background: var(--primary);
}

.join-image {
    width: 100%;

    overflow: hidden;

    border-radius: 20px;

    box-shadow: var(--shadow);
}

.join-image img {
    width: 100%;
    height: 520px;

    object-fit: cover;

    transition: 0.5s ease;
}

.join-image:hover img {
    transform: scale(1.03);
}

.secure {
    width: min(var(--container), calc(100% - 40px));

    margin: 25px auto 0;

    color: var(--secondary);

    font-size: 13px;

    text-align: center;
}


/* =========================================================
   13. CONTACT
   ========================================================= */

#contact {
    padding: 85px 0;

    background: #e2ece7;
}

#contact > h2,
#contact > p {
    width: min(var(--container), calc(100% - 40px));

    margin-inline: auto;
}

#contact > h2 {
    color: #348438;

    font-size: clamp(2rem, 4vw, 2.7rem);
}

#contact > p {
    margin-top: 10px;

    color: #555;

    text-align: center;
}

.contact-container {
    width: min(var(--container), calc(100% - 40px));

    margin: 40px auto 0;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 45px;
}

.contact-info,
.contact-form {
    min-width: 0;
}

.contact-item {
    margin-bottom: 22px;
}

.contact-item h3 {
    margin-bottom: 4px;

    color: #348438;

    font-size: 18px;
}

.contact-item p {
    color: #555;

    font-size: 14px;
}

.contact-form label {
    display: block;

    margin-bottom: 5px;

    font-size: 13px;

    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    display: block;

    width: 100%;
    min-width: 0;

    padding: 12px 13px;

    margin-bottom: 15px;

    border: 1px solid #ccc;

    border-radius: 8px;

    background: white;

    outline: none;

    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--secondary);
}

.contact-form textarea {
    min-height: 120px;
}

.contact-form button {
    width: 100%;

    padding: 12px 20px;

    border: none;

    border-radius: 8px;

    background: var(--secondary);

    color: white;

    font-weight: 600;
}

.contact-form button:hover {
    background: var(--primary);
}

.contact-map {
    width: min(var(--container), calc(100% - 40px));

    margin: 40px auto 0;

    overflow: hidden;

    border-radius: 15px;
}

.contact-map iframe {
    display: block;

    width: 100%;
    max-width: 100%;

    height: 400px;

    border: 0;
}

.contact-footer {
    width: min(800px, calc(100% - 40px));

    margin: 30px auto 0;

    color: #555;

    text-align: center;

    font-size: 14px;
}


/* =========================================================
   14. GLOBAL NETWORK
   ========================================================= */

#global-network {
    width: 100%;

    padding: 80px 20px;

    display: grid;

    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.15fr);

    align-items: center;

    gap: 50px;

    background:
        linear-gradient(
            135deg,
            #f8f9fa,
            #eaf5ec
        );
}

.network-content {
    width: min(560px, 100%);

    margin-left: auto;
}

.network-content h2 {
    color: var(--primary);

    font-size: clamp(2rem, 4vw, 2.7rem);

    line-height: 1.2;
}

.network-content p {
    margin: 18px 0 25px;

    color: #555;

    font-size: 15px;
}

.network-map {
    position: relative;

    width: 100%;

    overflow: hidden;
}

.network-map img {
    width: 100%;
    max-width: 100%;

    opacity: 0.35;
}

.uganda-point {
    position: absolute;

    width: 13px;
    height: 13px;

    top: 53%;
    left: 56%;

    background: var(--gold);

    border-radius: 50%;

    box-shadow: 0 0 20px var(--gold);
}

.plane {
    position: absolute;

    top: 53%;
    left: 56%;

    color: var(--primary);

    font-size: 26px;

    animation: fly 8s linear infinite;
}

@keyframes fly {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(12vw, -60px);
    }

    100% {
        transform: translate(20vw, -110px);
    }
}


/* =========================================================
   15. EXPORT JOURNEY
   ========================================================= */

#export-journey {
    width: 100%;

    padding: 80px 20px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    color: white;

    text-align: center;
}

#export-journey h2 {
    font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.journey-icons {
    width: min(1000px, 100%);

    margin: 40px auto 0;

    display: flex;

    justify-content: center;
    align-items: center;

    gap: 18px;

    flex-wrap: wrap;
}

.journey-item {
    min-width: 140px;

    padding: 20px;

    border-radius: 15px;

    background:
        rgba(255, 255, 255, 0.10);

    transition: 0.3s ease;
}

.journey-item:hover {
    transform: translateY(-6px);
}

.journey-arrow {
    color: var(--gold);

    font-size: 24px;
}


/* =========================================================
   16. FOOTER
   ========================================================= */

footer {
    width: 100%;

    padding: 60px 40px 25px;

    background: #1e4d2b;

    color: white;

    display: grid;

    grid-template-columns:
        2fr
        1fr
        1fr
        1fr;

    gap: 40px;
}

footer > div {
    min-width: 0;
}

footer .logo img {
    width: auto;
    height: 60px;

    margin-bottom: 15px;
}

footer p {
    max-width: 350px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 13px;
}

footer h2,
footer h4 {
    margin-bottom: 13px;

    font-size: 16px;
}

footer ul {
    padding: 0;
}

footer li {
    margin-bottom: 7px;

    color: rgba(255, 255, 255, 0.8);

    font-size: 13px;

    overflow-wrap: anywhere;
}

footer a {
    color: rgba(255, 255, 255, 0.85);

    transition: 0.2s;
}

footer a:hover {
    color: var(--gold);
}

.footer-bottom {
    grid-column: 1 / -1;

    width: 100%;

    margin-top: 15px;

    padding-top: 18px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.18);

    text-align: center;
}

.footer-bottom p {
    max-width: none;

    margin: auto;

    font-size: 12px;
}


/* =========================================================
   17. TABLETS
   769px — 1100px
   ========================================================= */

@media (min-width: 769px) and (max-width: 1100px) {

    :root {
        --side-space: 20px;
    }

    .navbar {
        width: calc(100% - 30px);

        gap: 15px;
    }

    .logo img {
        height: 54px;
        max-width: 155px;
    }

    .nav-links {
        gap: 14px;
    }

    .nav-links a {
        font-size: 12px;
    }

    #home {
        min-height: 600px;
    }

    .hero-content h2 {
        font-size: clamp(2.4rem, 5vw, 3.5rem);
    }

    .features-container,
    .services-container {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .about-top,
    .how-top {
        gap: 30px;
    }

    .about-image img,
    .how-image img {
        height: 380px;
    }

    .about-footer {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .join-container {
        gap: 30px;
    }

    .join-image img {
        height: 450px;
    }

    .contact-container {
        gap: 30px;
    }

    #global-network {
        gap: 30px;
    }

    footer {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        padding-inline: 30px;
    }
}


/* =========================================================
   18. MOBILE
   768px AND BELOW
   ========================================================= */

@media (max-width: 768px) {

    :root {
        --side-space: 18px;
    }


    /* -------------------------
       NAVBAR
       ------------------------- */

    header {
        position: sticky;
    }

    .navbar {
        width: 100%;

        min-height: 65px;

        padding: 7px 18px;

        gap: 10px;
    }

    .logo img {
        height: 48px;
        max-width: 150px;
    }

    .menu-toggle {
        display: block;

        flex: 0 0 auto;
    }

    .nav-links {
        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;
        max-width: 100%;

        display: none;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 6px 0;

        background: white;

        box-shadow:
            0 10px 20px
            rgba(0, 0, 0, 0.10);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        width: 100%;

        padding: 12px 18px;

        text-align: center;

        white-space: normal;

        font-size: 14px;
    }


    /* -------------------------
       HERO
       ------------------------- */

    #home {
        min-height: 610px;

        padding: 50px 0;
    }

    .hero-content {
        width: calc(100% - 36px);
    }

    .hero-content h2 {
        font-size: clamp(1.9rem, 9vw, 2.7rem);

        line-height: 1.12;

        letter-spacing: -0.5px;
    }

    .hero-content p {
        font-size: 14px;

        line-height: 1.65;
    }

    .hero-badge {
        width: auto;
        max-width: 100%;

        padding: 7px 12px;

        font-size: 10px;

        white-space: normal;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;

        margin: 0 0 10px;

        font-size: 14px;
    }

    .scroll-down {
        display: none;
    }


    /* -------------------------
       STATS
       ------------------------- */

    #stats {
        width: calc(100% - 36px);

        margin:
            -20px auto
            45px;

        grid-template-columns: 1fr;

        gap: 13px;
    }

    .stat-card {
        padding: 19px 14px;
    }

    .stat-card h3 {
        font-size: 1.65rem;
    }


    /* -------------------------
       FEATURES
       ------------------------- */

    #features {
        width: calc(100% - 36px);

        padding: 55px 0;
    }

    .features-container {
        grid-template-columns: 1fr;

        gap: 14px;

        margin-top: 30px;
    }

    .feature-card {
        padding: 23px 18px;
    }

    .feature-card h1 {
        font-size: 36px;
    }


    /* -------------------------
       ABOUT
       ------------------------- */

    #about {
        padding: 60px 0;
    }

    .about-top {
        width: calc(100% - 36px);

        grid-template-columns: 1fr;

        gap: 28px;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .about-content p {
        font-size: 14px;
    }

    .about-content h4 {
        font-size: 18px;
    }

    .about-image img {
        height: 290px;
    }

    .about-footer {
        width: calc(100% - 36px);

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 13px;

        margin-top: 32px;

        padding: 23px 13px;
    }

    .value h3 {
        font-size: 25px;
    }

    .value p {
        font-size: 11px;
    }


    /* -------------------------
       SERVICES
       ------------------------- */

    #services {
        width: calc(100% - 36px);

        padding: 60px 0;
    }

    #services > p {
        font-size: 14px;
    }

    .services-container {
        grid-template-columns: 1fr;

        gap: 14px;

        margin-top: 30px;
    }

    .service-card {
        padding: 24px 18px;
    }

    .service-card h3 {
        font-size: 36px;
    }


    /* -------------------------
       HOW IT WORKS
       ------------------------- */

    #how-it-works {
        padding: 60px 0;
    }

    .how-top {
        width: calc(100% - 36px);

        grid-template-columns: 1fr;

        gap: 28px;
    }

    .how-content h2 {
        font-size: 2rem;

        text-align: left;
    }

    .how-content > p {
        font-size: 14px;
    }

    .step {
        gap: 12px;

        margin-bottom: 20px;
    }

    .step-number {
        flex: 0 0 39px;

        width: 39px;
        height: 39px;

        font-size: 14px;
    }

    .step h4 {
        font-size: 16px;
    }

    .step p {
        font-size: 13px;

        line-height: 1.55;
    }

    .how-image img {
        height: 290px;
    }

    .how-footer {
        width: calc(100% - 36px);

        grid-template-columns: 1fr;

        gap: 12px;

        margin-top: 32px;

        padding: 23px 18px;
    }


    /* -------------------------
       JOIN NETWORK
       ------------------------- */

    #join-network {
        padding: 60px 0;
    }

    #join-network > p {
        width: calc(100% - 36px);

        font-size: 14px;
    }

    .join-container {
        width: calc(100% - 36px);

        grid-template-columns: 1fr;

        gap: 28px;
    }

    .join-image {
        order: -1;
    }

    .join-image img {
        width: 100%;
        height: 290px;
    }

    .join-form label {
        font-size: 13px;
    }

    .join-form input,
    .join-form select {
        padding: 11px 12px;

        font-size: 14px;
    }

    .join-form button {
        width: 100%;
    }


    /* -------------------------
       CONTACT
       ------------------------- */

    #contact {
        padding: 60px 0;
    }

    #contact > h2,
    #contact > p {
        width: calc(100% - 36px);
    }

    .contact-container {
        width: calc(100% - 36px);

        grid-template-columns: 1fr;

        gap: 30px;
    }

    .contact-item h3 {
        font-size: 17px;
    }

    .contact-item p {
        font-size: 14px;

        overflow-wrap: anywhere;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
    }

    .contact-map {
        width: calc(100% - 36px);

        margin-top: 30px;
    }

    .contact-map iframe {
        width: 100%;
        height: 280px;
    }


    /* -------------------------
       GLOBAL NETWORK
       ------------------------- */

    #global-network {
        width: 100%;

        grid-template-columns: 1fr;

        gap: 25px;

        padding: 60px 18px;
    }

    .network-content {
        width: 100%;

        margin: auto;

        text-align: center;
    }

    .network-content h2 {
        font-size: 2rem;
    }

    .network-content p {
        font-size: 14px;
    }

    .network-map {
        width: 100%;

        max-width: 100%;
    }

    .network-map img {
        width: 100%;
    }

    .uganda-point {
        width: 10px;
        height: 10px;
    }

    .plane {
        font-size: 20px;
    }


    /* -------------------------
       EXPORT JOURNEY
       ------------------------- */

    #export-journey {
        padding: 55px 18px;
    }

    .journey-icons {
        flex-direction: column;

        gap: 10px;
    }

    .journey-item {
        width: min(100%, 300px);

        min-width: 0;
    }

    .journey-arrow {
        transform: rotate(90deg);
    }


    /* -------------------------
       FOOTER
       ------------------------- */

    footer {
        grid-template-columns: 1fr;

        gap: 27px;

        padding: 45px 20px 22px;

        text-align: center;
    }

    footer p {
        max-width: 100%;

        margin-inline: auto;
    }

    footer ul {
        text-align: center;
    }

    footer .logo img {
        margin-inline: auto;
    }

    footer h2,
    footer h4 {
        margin-bottom: 10px;
    }

    .footer-bottom {
        margin-top: 0;
    }
}


/* =========================================================
   19. SMALL PHONES
   480px AND BELOW
   ========================================================= */

@media (max-width: 480px) {

    :root {
        --side-space: 15px;
    }

    .navbar {
        padding: 7px 15px;
    }

    .logo img {
        height: 44px;
        max-width: 135px;
    }

    .menu-toggle {
        font-size: 26px;
    }


    /* HERO */

    #home {
        min-height: 590px;

        padding: 40px 0;
    }

    .hero-content {
        width: calc(100% - 30px);
    }

    .hero-content h2 {
        font-size: 2rem;

        line-height: 1.12;
    }

    .hero-content p {
        font-size: 13px;

        line-height: 1.6;
    }

    .hero-badge {
        padding: 6px 10px;

        font-size: 9px;
    }


    /* GENERAL WIDTHS */

    #features,
    .about-top,
    .about-footer,
    #services,
    .how-top,
    .how-footer,
    .join-container,
    .contact-container,
    .contact-map {
        width: calc(100% - 30px);
    }

    #contact > h2,
    #contact > p,
    #join-network > p {
        width: calc(100% - 30px);
    }


    /* STATS */

    #stats {
        width: calc(100% - 30px);
    }

    .stat-card {
        padding: 17px 12px;
    }

    .stat-card h3 {
        font-size: 1.5rem;
    }

    .stat-card p {
        font-size: 12px;
    }


    /* ABOUT */

    .about-content h2,
    .how-content h2,
    .network-content h2 {
        font-size: 1.8rem;
    }

    .about-footer {
        grid-template-columns: 1fr;
    }

    .about-image img,
    .how-image img,
    .join-image img {
        height: 250px;
    }


    /* FORMS */

    .join-form input,
    .join-form select,
    .contact-form input,
    .contact-form textarea {
        font-size: 13px;
    }


    /* CONTACT */

    .contact-map {
        width: calc(100% - 30px);
    }

    .contact-map iframe {
        height: 250px;
    }


    /* GLOBAL MAP */

    #global-network {
        padding-inline: 15px;
    }

    .network-content {
        width: 100%;
    }


    /* FOOTER */

    footer {
        padding-inline: 15px;
    }
}


/* =========================================================
   20. VERY SMALL PHONES
   360px AND BELOW
   ========================================================= */

@media (max-width: 360px) {

    .navbar {
        padding-inline: 12px;
    }

    .logo img {
        height: 40px;
        max-width: 120px;
    }

    .menu-toggle {
        font-size: 24px;
    }

    #home {
        min-height: 570px;
    }

    .hero-content {
        width: calc(100% - 24px);
    }

    .hero-content h2 {
        font-size: 1.75rem;
    }

    .hero-content p {
        font-size: 12px;
    }

    .hero-badge {
        font-size: 8px;

        padding: 6px 8px;
    }

    .primary-btn,
    .secondary-btn {
        min-height: 44px;

        padding: 9px 15px;

        font-size: 13px;
    }

    #stats,
    #features,
    .about-top,
    .about-footer,
    #services,
    .how-top,
    .how-footer,
    .join-container,
    .contact-container,
    .contact-map {
        width: calc(100% - 24px);
    }

    #contact > h2,
    #contact > p,
    #join-network > p {
        width: calc(100% - 24px);
    }

    .about-image img,
    .how-image img,
    .join-image img {
        height: 220px;
    }

    .step-number {
        flex-basis: 35px;

        width: 35px;
        height: 35px;

        font-size: 12px;
    }

    .step {
        gap: 9px;
    }

    .step h4 {
        font-size: 14px;
    }

    .step p {
        font-size: 12px;
    }

    footer {
        padding-inline: 12px;
    }
}


/* =========================================================
   21. EXTRA SAFETY AGAINST HORIZONTAL OVERFLOW
   ========================================================= */

html,
body {
    max-width: 100vw;
}

iframe,
img,
input,
select,
textarea,
button {
    max-width: 100%;
}

.network-map,
.hero-slider,
.about-image,
.how-image,
.join-image,
.contact-map {
    max-width: 100%;
}