@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;700&display=swap');

html {
    scroll-behavior: smooth;
}

:root {
    --line: #dde2ea;
    --textHightLight: #5d5d5d;
    --muted: #666;
    --text: #313131;
    --fontBig: 'DM Sans', sans-serif;
    --fontNormalText: 'Helvetica', sans-serif;
    --textColorGreen: #096160;
    --backgroundColor: #FAFAFA;
}

/********************Header Section*****************/

body {
    margin-top: 0;
    padding-top: 0;
    background-color: var(--backgroundColor);
}

.site-header {
    position:sticky;
    top:0px;
    z-index: 1000;
    background-color: var(--backgroundColor);
}

.containerHeader {
    max-width: 1100px;   
    margin: 0 auto;     
    width: 100%;
}

.nav-wrap {
    display: flex;
    padding: 0 4rem;
    height: 70px;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

.brandName img {
    height: 42px;
    width: auto;
    display: block;
}

.nav-list {
    margin: 0;
    padding:0;
    list-style: none;
    display: flex;
    gap: 1 rem;
}

.nav-list li a {
    color: var(--text);
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-family: var(--fontNormalText);
}

.nav-list a.active {
    color: var(--textHightLight);
    font-weight: 700;
}

.nav-list a:hover {
    color: var(--textHightLight);
}

/********************Main Section*****************/

.landing {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150vh;
}

.textLanding {
    text-align: center;
    align-items: center;
}

.textLanding h1 {
    font-size: 3rem;
    font-family: var(--fontBig);
    margin-bottom: 1rem;
    max-width: 600px;
    color: var(--textColorGreen);
    margin: 0 auto;
    margin-bottom: 2rem;
}

.textLanding p {
    font-family: var(--fontNormalText);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 43rem;
    margin: 0 auto;
    color: var(--muted);
}

.textLanding img {
    display: block;
    width: min(80%, 800px);
    height: auto;
    margin: 3rem auto 0;
    object-fit: contain;
}

.landingButtons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-family: var(--fontNormalText);
    font-weight: 700;
    border: 2px solid var(--textColorGreen);
    background-color: var(--textColorGreen);
    color: #ffffff;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--textColorGreen);
}

.btn-secondary:hover {
    background-color: var(--textColorGreen);
    color: #ffffff;
}

.btn:focus-visible {
    outline: 3px solid var(--textHightLight);
    outline-offset: 2px;
}

/* ******************************** */

.missionStatement {
    padding: 4rem;
    text-align: center;
    justify-content: center;
    background-color: var(--textColorGreen);
}
.missionStatement h2 {
    font-size: 2.5rem;
    font-family: var(--fontBig);
    color: white;
    margin-bottom: 1rem;
    margin: 0 8rem;
}
/* .missionStatement p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--fontNormalText);
    color: white;
} */

/********************Features Section*****************/

.MainFeatures {
    padding: 4rem;
    padding-top: 10rem;
    text-align: center;
    justify-content: center;
}

.MainFeatures h2 {
    font-size: 3rem;
    font-family: var(--fontBig);
    color: var(--textColorGreen);
    margin-bottom: 1rem;
}

.MainFeatures p {
    font-size: 1.25rem;
    max-width: 43rem;
    margin: 0 auto;
    font-family: var(--fontNormalText);
    color: var(--textColorGreen);
}


.features {
    padding: 4rem 5%;
    margin: 0 15rem;
}

.featuresHeader h2 {
    text-align: center;
    margin: 4rem 0 2rem;
    font-family: var(--fontBig);
    color: white;
    font-size: 2.5rem;
}
.featuresHeader p {
    text-align: center;
    margin-bottom: 5rem;
    font-family: var(--fontNormalText);
    color: white;
    font-size: 1.5rem;
}

.featureItem {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 5rem;
}

.featureItem.reverse {
    flex-direction: row-reverse;
}

.featureItem .text {
    flex: 1;
}

.featureItem h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--fontBig);
    color: var(--textColorGreen);
}

.featureItem p {
    font-size: 1.5rem;
    max-width: 550px;
    font-family: var(--fontNormalText);
    color: var(--text);
}

.imageContainer {
    flex: 1;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.imageContainer img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* If there are 2 images → split nicely */
.imageContainer img {
    flex: 1;
}

/********************Footer Section*****************/

footer {
    background-color: var(--backgroundColor);
}

.containerFooter {
    display: flex;
    justify-content: center;
}

.containerFooter p {
    color: var(--muted);
    font-size: 0.95rem;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 1.25rem 0;
    color: var(--muted);
    font-size: 0.95rem;
}

@media (max-width: 1600px) {
    .features {
        margin: 0 10rem;
    }

    .featureItem h3 {
        font-size: 2.2rem;
    }

    .featureItem p,
    .featuresHeader p {
        font-size: 1.3rem;
    }
}

@media (max-width: 1280px) {
    .nav-wrap {
        padding: 0 2.25rem;
    }

    .landing {
        min-height: 90vh;
        height: auto;
        padding: 2.5rem 1.5rem;
    }

    .textLanding h1 {
        font-size: 2.5rem;
        max-width: 760px;
    }

    .textLanding p {
        font-size: 1.15rem;
    }

    .features {
        margin: 0 6rem;
        padding: 3.5rem 4%;
    }

    .featuresHeader h2,
    .missionStatement h2 {
        font-size: 2.2rem;
    }

    .featureItem {
        gap: 2rem;
        margin-bottom: 3.5rem;
    }

    .featureItem h3 {
        font-size: 1.9rem;
    }

    .featureItem p,
    .featuresHeader p,
    .missionStatement p {
        font-size: 1.15rem;
    }
}

@media (max-width: 1024px) {
    .nav-wrap {
        padding: 0 1.25rem;
    }

    .features {
        margin: 0 2.25rem;
        padding: 3rem 3%;
    }

    .featureItem {
        align-items: flex-start;
        gap: 1.5rem;
    }

    .featureItem h3 {
        font-size: 1.65rem;
    }

    .featureItem p {
        font-size: 1.05rem;
    }
}

@media (max-width: 900px) {
    .features {
        margin: 0 1rem;
    }

    .featureItem,
    .featureItem.reverse {
        flex-direction: column;
    }

    .featureItem .text,
    .imageContainer {
        width: 100%;
    }

    .imageContainer img {
        max-width: min(100%, 620px);
    }
}

@media (max-width: 760px) {
    .nav-wrap {
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 0.75rem 1rem;
    }

    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.4rem;
    }

    .features {
        margin: 0;
        padding: 2.5rem 1rem;
    }

    .featuresHeader h2,
    .missionStatement h2 {
        font-size: 1.9rem;
    }

    .featuresHeader p,
    .missionStatement p,
    .textLanding p {
        font-size: 1.05rem;
    }

    .textLanding h1 {
        font-size: 2rem;
    }

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

    .textLanding img {
        width: min(88%, 420px);
        margin-top: 1.5rem;
    }
}