
/* ==============================
   RESET
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #1d2939;
    background: #ffffff;
    line-height: 1.7;
}

img {
    width: 100%;
    display: block;
}


/* ==============================
   HEADER
================================ */

.header {
    width: 100%;
    padding: 18px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: #ffffff;

    position: sticky;
    top: 0;
    z-index: 1000;

    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.logo h2 {
    font-size: 20px;
    letter-spacing: 1px;
    color: #0b6b4f;
}

nav {
    display: flex;
    gap: 28px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;

    position: relative;

    transition: 0.3s ease;
}

nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -6px;

    width: 0;
    height: 2px;

    background: #0b6b4f;

    transition: 0.3s ease;
}

nav a:hover,
nav a.active {
    color: #0b6b4f;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}


/* ==============================
   HERO
================================ */

.about-hero {
    min-height: 430px;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 60px 8%;

    background:
        linear-gradient(
            rgba(0, 70, 50, 0.72),
            rgba(0, 70, 50, 0.72)
        ),
        url("images/about-banner.jpg");

    background-size: cover;
    background-position: center;

    color: white;
}

.about-hero h1 {
    font-size: clamp(40px, 6vw, 70px);
    margin-bottom: 15px;
}

.about-hero p {
    max-width: 650px;
    margin: auto;

    font-size: 18px;
}


/* ==============================
   ABOUT SECTIONS
================================ */

.about-section {
    width: 86%;
    max-width: 1200px;

    margin: 110px auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}


/* Image */

.about-image {
    overflow: hidden;

    border-radius: 25px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.12);
}

.about-image img {
    height: 450px;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.06);
}


/* Text */

.about-content {
    padding: 20px;
}

.small-title {
    display: inline-block;

    color: #0b6b4f;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 12px;
}

.about-content h1,
.about-content h2 {
    font-size: clamp(35px, 4vw, 52px);

    line-height: 1.15;

    margin-bottom: 25px;

    color: #15251f;
}

.about-content p {
    color: #667085;

    font-size: 17px;

    margin-bottom: 18px;
}


/* Reverse section */

.about-section.reverse {
    grid-template-columns: 1fr 1fr;
}

.about-section.reverse .about-content {
    order: 1;
}

.about-section.reverse .about-image {
    order: 2;
}


/* ==============================
   MISSION
================================ */

.mission {
    background: #f5f8f7;

    padding: 100px 8%;
}

.mission-title {
    text-align: center;

    margin-bottom: 55px;
}

.mission-title h2 {
    font-size: clamp(35px, 5vw, 55px);

    color: #15251f;
}

.mission-container {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 30px;
}

.mission-card {
    background: white;

    padding: 45px;

    border-radius: 22px;

    text-align: center;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.06);

    transition: 0.35s ease;
}

.mission-card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.12);
}

.icon {
    font-size: 42px;

    margin-bottom: 15px;
}

.mission-card h3 {
    font-size: 26px;

    margin-bottom: 15px;

    color: #15251f;
}

.mission-card p {
    color: #667085;
}


/* ==============================
   CTA
================================ */

.about-cta {
    padding: 100px 20px;

    text-align: center;

    background: #0b6b4f;

    color: white;
}

.about-cta h2 {
    font-size: clamp(32px, 5vw, 50px);

    margin-bottom: 12px;
}

.about-cta p {
    font-size: 18px;

    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;

    padding: 14px 32px;

    background: white;

    color: #0b6b4f;

    text-decoration: none;

    border-radius: 50px;

    font-weight: 700;

    transition: 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-4px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.2);
}


/* ==============================
   FOOTER
================================ */

footer {
    text-align: center;

    padding: 45px 20px;

    background: #101916;

    color: white;
}

footer h3 {
    margin-bottom: 10px;
}

footer p {
    color: #b7c1bd;
}

.copyright {
    margin-top: 20px;

    font-size: 14px;
}


/* ==============================
   RESPONSIVE
================================ */

@media (max-width: 800px) {

    .header {
        flex-direction: column;

        gap: 15px;
    }

    nav {
        gap: 15px;

        flex-wrap: wrap;

        justify-content: center;
    }


    .about-section,
    .about-section.reverse {
        grid-template-columns: 1fr;

        gap: 35px;

        margin: 70px auto;
    }

    .about-section.reverse .about-content {
        order: 2;
    }

    .about-section.reverse .about-image {
        order: 1;
    }


    .about-image img {
        height: 330px;
    }


    .mission-container {
        grid-template-columns: 1fr;
    }


    .about-content {
        padding: 0;
    }

}


@media (max-width: 500px) {

    .about-hero {
        min-height: 360px;
    }

    .about-hero h1 {
        font-size: 40px;
    }

    .about-hero p {
        font-size: 16px;
    }

    .about-section {
        width: 90%;
    }

    .mission {
        padding: 70px 5%;
    }

    .mission-card {
        padding: 30px 22px;
    }

}

