/*
SPACING SYSTEM (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

FONT SIZE SYSTEM (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
*/

/* GENERAL CODE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    color: #444;
    font-size: 14px;
    overflow-x: hidden;

    position: relative;
}
html {
    overflow-x: hidden;
}

h1 {
    /* 36 / 44 / 52 / 62 */
    font-size: 2.6rem;
    line-height: 1.2;
    font-weight: 400;
    margin-bottom: 1rem;
    /* 36 / 44 / 52  */
}

h2 {
    font-size: 32px;
    letter-spacing: -1px;
    font-weight: 700;
    text-align: center;
}

h3 {
    font-size: 18px;
}

.btn {
    text-transform: uppercase;
    padding: 12px 24px;
    font-size: 16px;
    border: 0;
    font-weight: 700;
    letter-spacing: 0.6px;
    /* background-color: #c92a2a; */
    background-color: #e67700;

    color: #f7f7f7;
    /* color: #000; */
    border-radius: 2px;
}

strong {
    font-weight: 700px;
    font-size: 22px;
}

/* LINKS styling */
a:link {
    color: #454545;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}
a:visited {
    color: #444;
}
a:hover {
    /* text-decoration: underline 2px #444;  #1098ed */
    color: #e67700;
}
a:active {
    color: #1098ed;
}

/* LVHA done */

/* Mobile Navigation */
.btns-mob-nav {
    border: none;
    background: none;
    cursor: pointer;

    display: none;
}
.icon-mob-nav {
    width: 3.2rem;
    height: 3.2rem;
    color: #333;
}
.icon-mob-nav[name="close-outline"] {
    display: none;
}

.img-h14 {
    height: 14rem;
}

/* Header Section============== */
header {
    /* text-align: center; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 85%;
    margin: 2rem auto;
}

header,
.container,
aside,
section {
    /* / 44 / 52 / 62  */
    margin-bottom: 24px;
}

.nimay-logo {
    width: 120px;
    height: auto;
}

.main-menu {
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-items: center;
    gap: 30px;
}

/* .main-menu a:first-child {
    font-weight: bold;
    color: #e67700;
} */

.menu-item a {
    display: flex;
    justify-content: space-between;
    gap: 5px;
}

.main-menu-icon {
    width: 24px;
    height: 24px;
}

.page-heading {
    background-color: #f7f7f7;
    text-align: left;
    padding: 10px 10%;
    border-top: 2px solid #444;
    border-bottom: 2px solid #444;
}

/* Artical Section ====================*/
.container {
    /* padding: 20px 0; */
    margin: 0 auto;
}
article {
    margin: 20px 5%;
}

/* INTRO SECTION----- */
.intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 96px;
}

/* .intro-img {
  flex: 1 0 50%;
} */

.intro-content {
    width: 50%;
}
.intro-img img {
    border-radius: 12px;
    box-shadow: 0 10px 10px rgba(31, 31, 31, 0.07);
}

.intro p {
    font-size: 14px;
    letter-spacing: 0.8px;
    line-height: 1.4;
    margin-bottom: 1.4rem;
    /* 10 / 12 / 14 /  */
}

.intro-content a {
    color: #fff;
}

.intro-content a:hover {
    text-decoration: none;
}

/* PRODUCT SECTION---- */
.product-img-group {
    margin-bottom: 50px;
    margin-bottom: 80px;
    /* display: flex; */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    justify-content: center;
    gap: 20px;
    /* 48 / 64  */
}

.product-heading {
    margin-bottom: 48px;
}

.product-box {
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    /* background-color: #c92a2a;
  color: #fff; */
}
/* .product-box:hover {
  background-color: #e67700;
  color: #fff;
} */

.product-img {
    justify-self: center;
    max-width: 100%;
    display: block;
}

.product-img-title {
    text-align: center;
    padding: 10px 0;
}

/* ARTICLE SECTION END */

/* ABOUT US SECTION */
.aboutus-box {
    /* border-top: 4px solid #444;
  border-bottom: 4px solid #444; */
    margin-bottom: 80px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    /* background-color: #c92a2a; */
    background-color: #e67700;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.aboutus-box h2 {
    text-align: left;
    margin-bottom: 16px;
    /* / 12 / 16 / 24  */
    color: #fff9db;
}

.aboutus-para {
    color: #fff3bf;
}

.aboutus-img {
    border-radius: 12px;
}

/* HIGHLIGHTS SECTION======================= */
.highlights {
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr 1fr 1fr;
}

.hignlight-icon {
    /* 2 / 4 / 8  */
    width: 4rem;
    stroke: #e67700;
    /* 18 / 20 / 24 */
    margin-bottom: 18px;
}

.highlight-heading {
    text-transform: uppercase;
    /* 4 / 8 / 12 / 16  */
    margin-bottom: 12px;
}

/* Aside Banner Section */
/* aside {
  margin-bottom: 0;
} */

/* FOOTER AREA */
footer {
    background-color: #1f1f1f;
    color: #f7f7f7;
    padding: 5% 10% 0% 10%;
    /* display: flex; */
    display: grid;
    grid-template-columns: 1fr 3fr 1.5fr;
    justify-content: center;
    gap: 30px;
}

.footer-span-2 {
    grid-column: span 3;
    font-size: 0.75rem;
    /* text-align: center; */
}

footer ul {
    margin-left: 20px;
}

footer p,
li {
    color: #bababa;
    line-height: 1.8;
    list-style: none;
}

.footer-img {
    max-width: 8.2rem;
    height: auto;
}

.footer-aboutus {
    text-align: justify;
}

.footer-option {
    /* flex: 1; */
}

.footer-option a {
    display: inline-block;
    color: #bababa;
}

.footer-option h3 {
    margin-bottom: 0.5rem;
}

.footer-icon {
    width: 1rem;
}

/* mobile navigation */

/* Media Queries */
@media (max-width: 985px) {
    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    p {
        font-size: 0.6rem;
    }

    .intro p {
        font-size: 0.6rem;
    }

    /* mobile navigation */
    .btns-mob-nav {
        display: block;
        z-index: 1;
    }
    .main-menu {
        background-color: rgb(255, 255, 255, 0.97);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        transform: translateX(100%);

        justify-content: center;
        flex-direction: column;
        gap: 4.8rem;
        transition: all 0.5s ease-in;

        /* hide element */
        /* Allows no Transitions at all*/
        /* display: none; */

        /* 1) Hide it visually */
        opacity: 0;

        /* 2) Make it unaccessable to mouse and keyboards */
        pointer-events: none;

        /* 3) Hide it from screen readers */
        visibility: none;
    }
    .nav-open .main-menu {
        z-index: 1;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        transform: translateX(0%);
    }
    .nav-open .icon-mob-nav[name="close-outline"] {
        display: block;
    }
    .nav-open .icon-mob-nav[name="menu-outline"] {
        display: none;
    }
    .main-menu a {
        font-size: 1.4rem;
    }
    .main-menu-icon {
        width: 2.2rem;
        height: 2.2 rem;
    }
}

/* media queries below 730px */
@media (max-width: 730px) {
    .intro {
        flex-direction: column;
    }
    .intro-content {
        width: 100%;
    }
    .btn {
        margin-top: 1rem;
        display: inline-block;
    }
    .product-img-group {
        flex-direction: column;
    }
    .aboutus-box {
        flex-direction: column;
    }
    .aboutus-img {
        width: 100%;
    }

    .product-box {
        flex-direction: column;
    }
    .product-img {
        width: 100% !important;
        margin-bottom: 1rem;
    }

    footer {
        /* flex-direction: column; */
        grid-template-columns: 1fr;
    }

    .footer-span-2 {
        grid-column: span 1;
    }

    .highlights {
        grid-template-columns: 1fr;
    }
}
