/* google fonts link  */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    background: #F5F5F5;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

.container {
    width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* header part style  */
nav {
    height: 80px;
    display: grid;
    grid-template-columns: repeat(2, 1fr) 50px;
    align-items: center;
}

#navbar-toggler,
.navbar-toggler-icon {
    display: none;
}

.brand-name {
    color: #3A3A3A;
    font-size: 24px;
    font-weight: 700;
}

nav .navbar {
    display: flex;
    justify-content: flex-end;
}

.navbar li,
.search-view {
    margin-right: 34px;
}

.navbar li a,
.search-view,
.nav-icon {
    color: #3A3A3A;
    font-size: 20px;
    font-weight: 600;
}

#search-bar {
    display: none;
}

#search-tab {
    width: 0;
    border: 0;
    position: absolute;
    right: 52%;
    transition: all 0.6s;
}

#search-bar:checked~#search-tab {
    width: 260px;
    border: 2.5px solid #000;
    border-radius: 5px;
    padding: 5px;
    font-size: 15px;
    font-weight: 600;
    background: #E6E6E6;
    text-transform: capitalize;
}

.search-icon,
.nav-icon {
    cursor: pointer;
}


/* banner part styles */
.banner {
    height: calc(100vh - 80px);
    min-height: 500px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 30px;
    margin-top: 40px;
}

.banner-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.banner-title {
    font-size: 50px;
    font-weight: 700;
}

.banner-text {
    font-size: 16px;
    font-weight: 600px;
    line-height: 1.5;
    margin-top: 18px;
}

.banner-btn,
.feature-btn {
    color: #fff;
    background-color: #E02C6D;
    font-size: 16px;
    font-weight: 600;
    border: 0;
    margin-top: 16px;
    padding: 10px 20px;
    border-radius: 15px;
    cursor: pointer;
    transition: color 1s;
}

button.banner-btn:hover,
.feature-btn:hover {
    color: #00048dc7;
}

.banner-btn span,
.feature-btn span {
    margin-left: 5px;
}

.banner-right {
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(../images/logo/Circle\ design.svg);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: 32em;
}

.banner-right img {
    width: 85%;
}

/* company logo part style  */
.company-logo {
    margin: 100px 0;
}

.logos {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-gap: 30px;
    justify-items: center;
    align-items: center;
    padding: 20px 0;
}

.top-border,
.bottom-border {
    width: 100%;
    height: 1.5px;
    background-image: linear-gradient(to right, rgb(238, 235, 235) 10%, rgb(194, 192, 192) 20%, rgb(221, 221, 221) 90%, rgb(238, 235, 235) 10%);
}

.logo img {
    width: 100%;
}

/* product part style  */

#product {
    margin-top: 100px;
}

.section-title {
    color: #3A3A3A;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
    justify-items: center;
}

.card {
    width: 350px;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px 2px #787885;
}

.card-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: zoom-in;
}

.card-image::before {
    content: "Good Product";
    color: #D9DBE1;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 5;
}

.card-image:hover.card-image::before {
    opacity: 1;
}

.card-image img {
    width: 100%;
    object-fit: scale-down;
    border: 3px solid #000;
    transition: all 0.3s linear;
}

.card-image:hover.card-image img {
    transform: scale(1.35);
    transition: all 0.3s linear;
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.card-title {
    color: #18191F;
    font-size: 24px;
    font-weight: 500;
    margin-top: 16px;
}

.price {
    color: #000;
    font-size: 24px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    margin-top: 6px;
}

.fa-star,
.fa-star-half-stroke {
    font-size: 12px;
    font-weight: 400;

}

.filled {
    color: #FB8200;
}

.empty {
    color: #E6E6E6;
}

.rating {
    margin-top: 6px;
}

.rating span {
    color: #5E6366;
    margin-left: 8px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
}

.card-text {
    color: #787885;
    font-size: 14px;
    font-weight: 700;
    margin-top: 5px;
    line-height: 20px;
    font-family: 'Inter', sans-serif;

}

.link-btn {
    margin-top: 45px;
    text-align: right;
}

.link {
    color: #E02C6D;
    font-size: 16px;
    font-weight: 700;
    padding: 5px;
    text-transform: capitalize;
}

.link span {
    margin-left: 8px;
}

/* feature part style  */

.feature {
    margin: 100px 0;
}

.items {
    display: grid;
    grid-template-columns: 1fr;
}

.item {
    display: flex;
    align-items: center;
}

.photo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo img {
    width: 100%;
    border: 13px double #000;
    border-radius: 22px;
}

.feature-content {
    flex: 2;
    margin-left: 95px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.feature-title {
    color: #0A0826;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-text {
    color: #6C6C6C;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
}

.feature-btn {
    border-radius: 0;
    text-transform: capitalize;
}

/* footer part styles */

footer {
    background: #0A0826;
    padding: 50px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-title {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 3px;
}

.footer-text {
    color: #D9DBE1;
    font-size: 14px;
    font-weight: 700;
    line-height: 2;
}

.social-icons {
    margin-top: 17px;
}

.social-icons i {
    color: #fff;
    margin-right: 16px;
    padding: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

/* responsive part styles start */
/* xx-large device responsive part style start  */
@media screen and (min-width:1400px) {
    .container {
        width: 1320px;
    }
}

/* xx-large device responsive part style end  */
/* x-large device responsive part style start */
@media screen and (min-width:1200px) and (max-width:1399.98px) {
    .container {
        width: 1140px;
    }
}

/* x-large device responsive part style end  */
/* large device responsive part style start  */
@media screen and (min-width:992px) and (max-width:1199.98px) {
    .container {
        width: 960px;
    }

    nav {
        height: 111px;
        grid-template-columns: 0.5fr 1fr 50px;
        align-items: center;
    }

    .banner {
        height: calc(100vh - 111px);
        grid-template-columns: 1.5fr 1fr;
        grid-gap: 30px 40px;
    }

    #search-tab {
        /* right: 23%; */
        right: 17%;
        top: 11.5%;
    }

    #search-bar:checked~#search-tab {
        width: 386px;
    }

    .card {
        width: 285px;
    }

    .feature-content {
        margin-left: 50px;
    }
}

/* large device responsive part style end  */
/* medium device responsive part style start */
@media screen and (max-width:991.98px) {
    .container {
        width: 720px;
    }

    nav {
        grid-template-columns: 50px 1fr 50px;
    }

    .navbar-toggler-icon {
        color: #1B1B1B;
        font-size: 20px;
        display: inline-block;
        text-align: center;
    }

    .navbar {
        width: 100%;
        position: absolute;
        top: 80px;
        left: 0;
        justify-items: center;
        align-items: center;
        flex-direction: column;
        background: #065281d9;
        transform: translateY(-550px);
        transition: all 0.5s;
    }

    .navbar li {
        margin: 12px 0 0;
    }

    .navbar li a {
        color: #a1784b;
        padding: 10px 0;
    }



    #navbar-toggler:checked~.navbar {
        transform: translateY(0);
    }

    .search-view {
        color: #000;
        margin: 12px 0 20px;
    }

    #search-tab {
        color: #0A0826;
        width: 260px;
        border: 2.5px solid #000;
        border-radius: 5px;
        padding: 5px;
        font-size: 15px;
        font-weight: 600;
        background: #E6E6E6;
        text-transform: capitalize;
        position: static;
        margin-right: 5px;
    }

    .banner {
        height: fit-content;
        text-align: center;
        grid-template-columns: 1fr;
    }

    .banner-left {
        order: 2;
        margin-top: 15px;
        text-align: center;
    }

    .banner-btn,
    .feature-btn {
        margin: 16px auto 0;
    }

    .banner-right img {
        width: 60%;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .card {
        width: 315px;
    }

    .card:nth-last-child(1):nth-child(odd) {
        grid-column: 1/ -1;
    }

    .item {
        flex-direction: column;
        text-align: center;
    }

    .feature-content {
        margin: 15px 0 0;
        align-items: center;
    }




}

/* medium device responsive part style end  */
/* small device responsive part style start  */
@media screen and (max-width:767.98px) {
    .container {
        width: 540px;
    }

    nav {
        justify-items: center;
    }

    .banner-right {
        background-size: 24em;
    }

    .top-border,
    .bottom-border {
        display: none;
    }

    .company-logo,
    .feature {
        margin: 70px 0;
    }

    .logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo:nth-last-child(1):nth-child(odd) {
        grid-column: 1 / -1;
    }

    .section-title {
        font-size: 25px;
    }

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

    .card {
        width: 300px;
    }

    .card-title {
        font-size: 28px;
        font-weight: 700;
    }

    .price {
        font-weight: 700;
    }

    .rating span {
        font-weight: 500;
    }

    .card-text {
        font-weight: 400;
    }

    .feature-title {
        font-size: 32px;
    }

    .footer-title {
        font-size: 20px;
        font-weight: 700;
    }

    .footer-text {
        font-size: 12px;
    }
}

/* small device responsive part style end  */
/* x-small device responsive part style start */
@media screen and (max-width:575.98px) {
    .container {
        width: 100%;
    }

    .brand-name {
        font-size: 20px;
    }

    .banner-title {
        font-size: 38px;
    }

    .banner-text {
        font-size: 14px;
        margin-top: 15px;
    }

    .card {
        width: 280px;
    }
}

@media screen and (max-width:343px) {
    .container {
        width: 100%;
    }

    .brand-name {
        font-size: 16px;
    }
}

/* x-small device responsive part style end  */