/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Raleway:wght@400;500;600;700&family=Roboto+Slab:wght@400;500;600;700&display=swap');
/* Variables */
:root {
    --main-color: #8b6f47;
    --text-color: #121212;
    --container-color: #dac292;
    --bg-color: #fff;
    --text-after-color: #27282b;
    --poppins-font: 'Poppins', sans-serif;
    --font-family-1: 'Raleway', sans-serif;
    --font-family-2: 'Roboto Slab', serif;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    scroll-padding-top: 3rem;
    font-family: var(--font-family-2);
}
body {
    color: var(--text-color);
}
a {
    text-decoration: none;
}
li {
    list-style: none;
}
img {
    width: 100%;
}
section {
    padding: 3rem 0 2rem;
}
.container {
    max-width: 960px;
    margin: auto;
    width: 100%;
}
/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}
header.shadow {
    background: var(--bg-color);
    box-shadow: 0 1px 4px hsl(0deg 4% 15% 10%);
    transition: 0.4s;
}
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}
.logo img {
    width: 65px;
}
.navbar {
    display: flex;
    align-items: center;
    column-gap: 1.5rem;
}
.nav-link {
    position: relative;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    font-family: var(--poppins-font);
    transition: 0.3s all cubic-bezier(0.075, 0.82, 0.165, 1);
}
.nav-link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--text-color);
    transition: 0.3s all cubic-bezier(0.075, 0.82, 0.165, 1);
}
.nav-link:hover.nav-link::after {
    width: 100%;
    transition: 0.3s all cubic-bezier(0.075, 0.82, 0.165, 1);
}
.menu-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 5px;
    cursor: pointer;
    z-index: 200;
    transition: 0.3s;
}
.menu-icon div {
    display: block;
    background: var(--text-color);
    height: 3px;
    width: 25px;
    transition: 0.3s;  
}
.move .line1 {
    transform: rotate(-45deg) translate(-5px, 5px);
}
.move .line2 {
    opacity: 0;
}
.move .line3 {
    transform: rotate(45deg) translate(-5px, -5px);
}
/* Form */
.form {
    padding: 10px;
    margin-top: 10px;
}
form input[type="text"] {
    width: 50%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #8b6f47;
    background-color: #F2F1EB;
}
/* btn */
.btn {
    padding: 10px 24px;
    border-radius: 0.2rem;
    font-family: var(--poppins-font);
    transition: 0.3s all linear;
}
/* Home */
.home {
    min-height: 650px;
    background: var(--container-color);
}
.home-img {
    display: none;
}
.home-data {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}
.home-text {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}
.home-text h3 {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
    font-family: var(--poppins-font);
}
.home-text h2 {
    font-size: 2.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    font-family: var(--font-family-2);
}
.home-btns {
    display: flex;
    align-items: center;
    column-gap: 1.5rem;
    margin-top: 1.5rem;
}
.order-btn {
    border: 1px solid var(--text-color);
    color: var(--bg-color);
    background: var(--main-color);
    border-radius: 1.5rem;
}
.order-btn:hover {
    color: var(--main-color);
    background: transparent;
}
.home-bg {
    position: relative;
    width: 500px;
    height: 500px;
    bottom: -140px;
    z-index: 2;
}
.home-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.home-bg::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: -2rem;
    left: -2rem;
    border: 1px solid var(--main-color);
    background: transparent;
    z-index: -1;
}
.contact 
.contact-info {
    display: inline-block;
    margin-top: 0.5rem;
}
.contact-info-box {
    display: inline-flex;
    align-items: center;
    column-gap: 0.5rem;
}
.contact-info-box .bx {
    font-size: 1.3rem;
}
.contact-info-box .span {
    font-size: 0.875rem;
}
/* About */
.about-text {
    text-align: center;
    margin-top: 4rem !important;
}
.heading {
    position: relative;
    display: inline-flex;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 1px;
    font-family: var(--poppins-font);
}
.heading::after {
    content: "";
    position: absolute;
    right: -12px;
    width: 40px;
    height: 40px;
    bottom: 0;
    background: var(--main-color);
    z-index: -1;
    clip-path: polygon(
     50% 0%,
     83% 12%, 
     100% 43%, 
     94% 78%, 
     68% 100%, 
     32% 100%, 
     6% 78%, 
     0% 43%, 
     17% 12%
    );
}
.about-text h1 {
    font-size: 1.8rem;
    letter-spacing: 1px;
    margin: 1rem 0;
}
.about-text p {
    max-width: 600px;
    margin: auto;
    font-size: 1.075rem;
    color: var(--text-after-color);
    margin-bottom: 1.5rem;
}
.learn-more {
    display: inline-flex;
    align-items: self-end;
    color: var(--text-color);
}
.learn-more .bx {
    font-size: 1.2rem;
    margin-left: 0.4rem;
    transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
}
.learn-more:hover .bx {
    margin-left: 0.8rem;
    transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
}
.about-data {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(290px, auto));
    gap: 2rem;
    margin-top: 2rem;
}
.about-box {
    position: relative;
    width: 100%;
    height: 280px;
}
.about-box::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 7px;
    left: 7px;
    border: 1px solid var(--main-color);
    background: transparent;
    z-index: -1;
}
.about-box img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: hsl(33, 69%,94%,0.7);
    padding: 15px;
    clip-path: circle(0% at 50% 50%);
    transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
}
.overlay-text h2 {
    font-size: 1.2rem;
    margin-top: 0.5rem;
}
.overlay-text p {
    font-size: 0.978rem;
}
.about-box:hover .about-overlay {
    clip-path: circle(70.7% at 50% 50%);
    transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
}
.heading2 {
    text-align: center;
    justify-content: center;
}
.heading2 h2 {
    font-size: 1.8rem;
    text-transform: uppercase;
}
.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, auto));
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
    object-position: center;
    padding: 20px;
    margin: 30px;
}
.products-container .box {
    position: relative;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
}
.products-container img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    object-position: center;
    padding: 20px;
    background: #f1f1f1;
    border-radius: 0.5rem;
}
.products-container .box h3 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0.5rem 0 0.5rem;
}
.products-container .box .content {
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.products-container .box .content span {
    padding: 0 1rem;
    text-align: center;
    color: var(--bg-color);
    background: var(--main-color);
    border-radius: 4px;
    font-weight: 500;
}
.products-container .box .content a {
    padding: 0 1rem;
    color: var(--text-color);
    border: 2px solid var(--main-color);
    border-radius: 4px;
    text-transform: uppercase;
}
.testimonial .heading {
    margin-bottom: 1.8rem;
}
.testimonial h3 {
    font-size: 1.8rem;
    letter-spacing: 1px;
    font-weight: 500;
}
.testimonial-data {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.t-img {
    width: 100%;
    height: 280px;
    position: relative;
    margin-bottom: 1.5rem;
}
.t-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.t-img video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.t-img .bx {
    font-size: 1.2rem;
    position: absolute;
    bottom: -1.2rem;
    right: 1rem;
    padding: 15px;
    color: var(--bg-color);
    background: #8b6f47;
}
.t-box h2 {
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}
.t-box p {
    font-size: 1.02rem;
}
/* Footer */
.footer {
    background: #8b6f47;
    color: #f6f6f6;
    border-top: 2px solid #dac292;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.footer-container .logo {
    color: var(--bg-color);
    margin-bottom: 1rem;
}
.footer-container .logo:hover {
    color: var(--bg-color);
}
.footer-container .footer-box {
    display: flex;
    flex-direction: column;
}
.social {
    display: flex;
    align-items: center;
}
.social a {
    font-size: 24px;
    color: var(--bg-color);
    margin-right: 1rem;
}
.social a:hover {
    color: #dac292;
}
.footer-box h3 {
    font-size: 1.1 rem;
    font-weight: 400;
    margin-bottom: 1rem;
}
.footer-box a {
    color: #f1f1f1d3;
    margin-bottom: 10px;
}
.footer-box a:hover {
    color: #dac292;
}
.copyright {
    padding: 20px;
    text-align: center;
    color: var(--text-color);
    background: var(--container-color);
}
/* Making Responsive */
@media (max-width:985px) {
    .container {
        margin: 0 auto;
        width: 90%;
    }
    .home {
        min-height: 600px;
        padding-top: 7rem;
    }
    .home-bg {
        width: 420px;
        height: 420px;
        bottom: -150px;
    }
}
@media (max-width: 875px) {
    .nav {
        padding: 15px 0;
    }
    .home-bg {
        width: 350px;
        height: 350px;
        bottom: -154px;
        transform: translateX(38px);
    }
    .testimonial-data {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-container {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 864px) {
    .home-bg {
        position: unset;
        transform: translateX(0);
    }
    .home-bg::after {
        top: -1rem;
        left: -1rem;
    }
}
@media (max-width: 800px) {
    .nav {
        padding: 14px 0;
    }
    .home-img {
        display: initial;
    }
    .home-bg {
        display: none;
    }
    .home-data {
        grid-template-columns: 1fr;
    }
    .home-img {
        position: relative;
        width: 350px;
        height: 350px;
        z-index: 2;
        margin-top: 1.5rem;
    }
    .home-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    .home-img::after {
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        top: -1rem;
        left: -1rem;
        border: 1px solid var(--main-color);
        background: transparent;
        z-index: -1;
    }
    .home-text h3 {
        font-size: 1rem;
    }
    .home-text h2 {
        font-size: 2.4rem;
    }
    .menu-icon {
        display: flex;
    }
    .navbar {
        position: absolute;
        top: 0;
        right: 0;
        width: 300px;
        min-height: 100vh;
        background: var(--main-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 50px 0;
        clip-path: polygon(100% 0, 100% 0%, 100% 100%, 100% 100%);
        transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
    }
    .open-menu {
        clip-path: polygon(0 0, 100% 0%, 100% 100%, 0 100%);
        transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
    }
    .nav-link {
        display: block;
        margin: 1rem 0;
    }
    .register-btn {
        margin: 1.5rem 0 0 0;
    }
    .heading,
    .heading2,
    .testimonial .heading {
        font-size: 1.3rem;
    }
    .about-text {
        margin-top: 0 !important;
    }
    .heading::after {
        width: 35px;
        height: 35px;
    }
    .about-text h1,
    .box-data h2,
    .testimonial h3 {
        font-size: 1.5rem;
    }
    .t-box h2 {
        font-size: 1.2rem;
    }
    .about-text p,
    .box-data p {
        font-size: 1.02rem;
    }
}
@media (max-width: 680px) {
    .home {
        padding-top: 5rem;
    }
    .about-data {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 445px) {
    .about-data {
        grid-template-columns: repeat(1, 260px);
        justify-content: center;
    }
    .testimonial-data,
    .footer-container {
        grid-template-columns: 1fr;
    }
}