/* ================= GENERAL ================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #ffffff;
    font-family: "Inter", sans-serif;
}


/* ================= NAVBAR ================= */

.navbar {
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 40px 0 10px;

    background: rgba(255, 255, 255, 0.90);

    /* IMPORTANT:
       Not fixed on the Vision page */
    position: relative;

    width: 100%;
    z-index: 10;
}


/* ================= LOGO ================= */

.logo {
    width: 300px;
    height: 100px;

    flex-shrink: 0;

    transition: transform 0.35s ease;
}

.logo:hover {
    transform: scale(1.035);
}

.logo img {
    width: 300px;
    height: 100px;

    display: block;
}


/* ================= NAV LINKS ================= */

.nav-links {
    display: flex;
    align-items: center;

    gap: 55px;
}

.nav-links a {
    text-decoration: none;

    color: #668357;

    font-size: 18px;
    font-weight: 500;

    transition:
        transform 0.35s ease,
        color 0.35s ease;
}


/* Hover for Products and Vision */

.nav-links a:not(:last-child):hover {
    transform: scale(1.05);
}


/* Contact button */

.nav-links a:last-child {
    border: 1px solid #dddddd;

    border-radius: 12px;

    padding: 11px 65px;

    color: #668357;
    background: white;

    transition:
        background 0.35s ease,
        color 0.35s ease;
}


/* Contact hover */

.nav-links a:last-child:hover {
    background: #355f2a;
    color: white;
}

/* ================= OUR VISION ================= */

.vision-section {
    width: 100%;
    box-sizing: border-box;

    padding: 50px 13% 60px;

    position: relative;
    overflow: hidden;
}

/* Background image */

.vision-background {
    position: absolute;
    inset: 0;

    z-index: 0;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    overflow: hidden;
}

.vision-background img {
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center top;
    transform: scale(1.19);

    opacity: 0.12;

    display: block;
}

/* Content */

.vision-content {
    position: relative;
    z-index: 1;

    width: 100%;
}

/* Our Vision heading */

.vision-content h1 {
    margin: 0 0 55px;

    font-family: "Caveat", sans-serif;
    font-size: 36px;
    font-weight: 900;

    line-height: 1;
    letter-spacing: normal;

    color: #668357;
}

/* Paragraphs */

.vision-content p {
    margin: 0 0 48px;

    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 400;

    line-height: 1.5;
    letter-spacing: normal;

    color: #4f4f4f;
}

/* Last paragraph */

.vision-content p:last-child {
    margin-bottom: 0;
}

/* ================= BOTTOM BUTTON ================= */

.vision-button-container {
    width: 100%;
    padding: 30px 13% 50px;
}

.vision-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 230px;
    height: 55px;

    background: #668357;
    color: white;

    text-decoration: none;
    border-radius: 9px;

    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 500;

    transition: background 0.35s ease;
}

.vision-button:hover {
    background: #355f2a;
}

.nav-links a.active {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1.5px;
}




/* ================= VISION RESPONSIVE ================= */

@media (max-width: 800px) {

    /* Prevent horizontal overflow */
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* ================= NAVBAR ================= */

    .navbar {
        width: 100%;
        height: 75px;
        padding: 0 15px;
    }

    .logo {
        width: 145px;
        height: 75px;
    }

    .logo img {
        width: 145px;
        height: 75px;
    }

    .nav-links {
        gap: 12px;
        flex-shrink: 0;
    }

    .nav-links a {
        font-size: 13px;
        white-space: nowrap;
    }

    .nav-links a:last-child {
        padding: 7px 12px;
        border-radius: 8px;
    }


    /* ================= VISION SECTION ================= */

    .vision-section {
        width: 100%;
        padding: 35px 25px 40px;
        overflow: hidden;
    }

    .vision-background {
        width: 100%;
        height: 100%;
    }

    .vision-background img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        transform: scale(1.05);
        opacity: 0.10;
    }


    /* ================= CONTENT ================= */

    .vision-content {
        width: 100%;
        max-width: 100%;
    }

    .vision-content h1 {
        margin: 0 0 35px;

        font-size: 34px;
        line-height: 1;
    }

    .vision-content p {
        width: 100%;
        max-width: 100%;

        margin: 0 0 35px;

        font-size: 16px;
        line-height: 1.55;

        overflow-wrap: break-word;
        word-break: normal;
    }


    /* ================= BUTTON ================= */

    .vision-button-container {
        width: 100%;
        padding: 15px 25px 40px;
        box-sizing: border-box;
    }

    .vision-button {
        width: 100%;
        max-width: 230px;
        height: 52px;

        font-size: 16px;
    }
}


/* ================= SMALL MOBILE ================= */

@media (max-width: 560px) {

    .navbar {
        height: 70px;
        padding: 0 10px;
    }

    .logo {
        width: 125px;
        height: 70px;
    }

    .logo img {
        width: 125px;
        height: 70px;
    }

    .nav-links {
        gap: 8px;
    }

    .nav-links a {
        font-size: 11px;
    }

    .nav-links a:last-child {
        padding: 6px 9px;
        border-radius: 7px;
    }


    .vision-section {
        padding: 30px 20px 35px;
    }

    .vision-content h1 {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .vision-content p {
        font-size: 15px;
        line-height: 1.55;
        margin-bottom: 30px;
    }

    .vision-button-container {
        padding: 10px 20px 35px;
    }

    .vision-button {
        max-width: none;
        width: 100%;
        height: 50px;
        font-size: 15px;
    }
}

/* ================= MOBILE NAVBAR ================= */

@media (max-width: 800px) {

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links.mobile-menu {
        display: flex;
        position: absolute;

        top: 80px;
        right: 20px;

        width: 180px;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        background: white;

        border: 1px solid #dddddd;
        border-radius: 10px;

        padding: 10px 0;

        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);

        z-index: 1001;
    }

    .nav-links.mobile-menu a {
        padding: 14px 20px;
        font-size: 17px;

        color: #668357;
        text-decoration: none;

        transform: none;
    }

    .nav-links.mobile-menu a:hover {
        background: #f4f6ee;
        transform: none;
    }

    .nav-links.mobile-menu a:last-child {
        border: none;
        border-radius: 0;
        padding: 14px 20px;

        background: transparent;
        color: #668357;
    }

}