@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Mulish:ital,wght@0,200..1000;1,200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #6c757d;
    --secondary-color: #264027;
    --primary-bg-color: #f8f9fa;
}

/* Navigation */
.nav {
    font-family: "Inter", sans-serif;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 5%;
    flex-wrap: wrap;
    gap: 16px;
}

.navh2 {
    color: #1a4301;
}

.navpart {
    display: flex;
    gap: 24px;
    color: var(--primary-color);
    flex-wrap: wrap;
    justify-content: center;
}

.logo-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.icon-bar {
    font-size: larger;
}

.head-link {
    text-decoration: none;
    color: var(--primary-color);
}

.head-link-2 {
    text-decoration: none;
    color: var(--secondary-color);
}

.head-link-2:active {
    text-decoration: none;
    color: black;
}

.head-link:hover {
    text-decoration: none;
    color: #0d1321;
}

.head-link:active {
    text-decoration: none;
    color: #0d1321;
    scale: 0.95;
    transition: ease-in;
}

/* Main Page */
.main-page {
    background-color: var(--primary-bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5%;
    padding: 10% 5%;
    margin-bottom: 78px;
    flex-direction: column;
}

.button-div {
    display: flex;
    align-items: center;
    /* justify-content: center; */
    gap: 48px;
}

.btn-link {
    text-decoration: none;
}

.pro-video {
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: cover;
}

video {
    mix-blend-mode: color-burn;
    filter: brightness(-2.4) contrast(-2.4);
}

.video-part {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.common {
    font-family: "Inter", sans-serif;
}

.top-head {
    font-weight: 600;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.top-head,
.green {
    color: #4f772d;
}

.down-head {
    font-size: clamp(2rem, 5vw, 3.375rem);
    color: #14213d;
    text-align: center;
}

.main-page-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    width: 100%;
}

.icon-head {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.icon-note {
    font-size: larger;
}

.para-head {
    letter-spacing: 1.5px;
    color: #6c757d;
    margin-bottom: 24px;
    line-height: 24px;
    text-align: center;
}

.btn-main-page {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    padding: 12px 24px;
    background-color: #1a4301;
    color: #ffff;
    font-size: medium;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    border: none;
    cursor: pointer;
    width: fit-content;
    margin: 0 auto;
}

.btn-main-page:hover {
    background-color: #245501;
}

/* Page 2 */
.page-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 5%;
    padding-right: 5%;
    flex-direction: column;
    gap: 18px;
}

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
    text-align: center;
}

.page2-head {
    font-family: system-ui;
    color: #4f772d;
    font-weight: 500;
    letter-spacing: 1px;
}

.about-description {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 84px;
    flex-direction: column;
    text-align: center;
}

.about-img {
    height: 250px;
    width: 250px;
    border-radius: 50%;
    max-width: 100%;
}

.description {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: #14213d;
    font-family: "Inter", sans-serif;
    line-height: 30px;
    max-width: 100%;
}

.icons-des {
    width: 100%;
    max-width: 28ch;
    overflow: hidden;
    white-space: normal;
}

.number-description {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    font-family: "Inter", sans-serif;
    font-weight: 200;
    margin-bottom: 96px;
    flex-wrap: wrap;
}

.desc-icon {
    font-size: clamp(2rem, 8vw, 3rem);
    color: #1a4301;
}

.box-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    align-items: center;
}

/* Page 3 */
.page-3 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 5%;
    padding-right: 5%;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 120px;
}

.zero {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: #d9d9d9;
    font-family: system-ui;
}

.work-container {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Inter", sans-serif;
    font-weight: 200;
    gap: 64px;
    flex-wrap: wrap;
}

.work-subcontainer {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.container-para {
    line-height: 24px;
    letter-spacing: 1px;
    margin-bottom: 48px;
}

.work-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.box-pad {
    width: 100%;
    max-width: 28ch;
    overflow: hidden;
    white-space: normal;
    display: flex;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    border-radius: 24px;
    height: auto;
    min-height: 214px;
    padding: 10%;
    flex-direction: column;
    font-family: "Inter", sans-serif;
    font-weight: 200;
    gap: 8px;
    transition: 0.1s ease-in-out;
    margin-bottom: 48px;
    text-align: center;
    align-items: center;
}

.box-pad:hover {
    transform: scale(0.95);
}

/* Footer */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.div1,
.div2,
.div3,
.div4 {
    grid-row: span 3 / span 3;
}

.social-media {
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    gap: 18px;
}

.icon-footer {
    color: #979dac;
    margin-top: 18px;
    height: 32px;
    width: 32px;
    cursor: pointer;
}

.footer-icon {
    display: flex;
    gap: 18px;
}

.footer-heading {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #6c757d;
}

.copyright-para {
    font-family: system-ui;
    color: #464853;
    text-align: left;
}

.contact-us {
    font-family: system-ui;
    color: #464853;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-heading {
    font-family: system-ui;
    color: #6c757d;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

.footer-links {
    text-decoration: none;
    color: #6c757d;
}

.footer-main {
    background-color: #f8f9fa;
    padding: 10% 5%;
}

/* Tablet */
@media screen and (min-width: 768px) {
    .main-page {
        flex-direction: row;
        text-align: left;
    }

    .main-page-head,
    .down-head,
    .para-head {
        text-align: left;
    }

    .about-description {
        flex-direction: row;
        text-align: left;
    }

    .description {
        text-align: left;
    }

    .box-container {
        text-align: left;
        align-items: flex-start;
    }

    .btn-main-page {
        margin: 0;
    }

    .icon-head {
        justify-content: flex-start;
    }
}

/* Desktop */
@media screen and (min-width: 1024px) {
    .nav {
        flex-wrap: nowrap;
    }

    .main-page {
        gap: 148px;
        padding: 204px 148px;
    }

    .page-2,
    .page-3 {
        padding-left: 148px;
        padding-right: 148px;
    }

    .footer-main {
        padding: 72px 72px;
    }

    .footer-grid {
        gap: 88px;
    }

    .work-box {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 32px;
        width: 100%;
        justify-items: center;
    }

    .box-pad {
        width: 100%;
        max-width: 340px;
        min-height: 260px;
        padding: 32px;
        margin-bottom: 0;
    }

    .work-subcontainer {
        align-items: center;
        text-align: center;
    }
}

/* Large desktop */
@media screen and (min-width: 1440px) {
    .nav {
        padding: 18px 164px;
    }

    .pro-video {
        width: 280px;
        height: 200px;
        object-fit: cover;
    }
}

/* Tablet spacing */
@media screen and (max-width: 1024px) {
    .page-3 {
        margin-bottom: 90px;
    }
}

/* Mobile */
@media screen and (max-width: 767px) {

    /* Show mobile icon */
    .mobile-menu-icon {
        display: block;
        font-size: 34px;
        position: absolute;
        right: 20px;
        top: 22px;
        z-index: 999;
        cursor: pointer;
        color: var(--secondary-color);
    }

    /* Hide navbar links by default */
    /* .navpart {
        display: none !important;
        flex-direction: column;
        gap: 22px;
        padding: 20px 0;
        width: 100%;
        background: white;
        margin-top: 60px;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    } */

    /* Show navbar when toggled */
    .navpart.active {
        display: flex !important;
    }

    .nav {
        justify-content: center;
        flex-wrap: wrap;
    }

    .number-description,
    .work-box {
        gap: 24px;
    }

    .social-media,
    .contact-us,
    .copyright-para {
        text-align: center;
        align-items: center;
    }
}



/* Default hidden */
.mobile-menu-icon {
    display: none;
    font-size: 34px;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Show menu when active */
.navpart.active {
    display: flex !important;
}