@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wdth,wght@0,75..100,100..900;1,75..100,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins';
    scrollbar-color: var(--main-color) white;
}

:root {
    --main-color: #438DB8;
    --second-color: #666666;
}

a {
    text-decoration: none;
}

body {
    background-color: #F9F9F9;
}

body::selection {
    color: white;
    background-color: var(--second-color);
}

.top {
    background-color: var(--main-color);
    height: 58px;
    color: #FAFAFA;
    position: relative;
}

.top .group {
    margin: 0 59px;
}

.top .group .follow {
    margin-top: 15px;
}

.top .group .follow p {
    display: flex;
    line-height: 24px;
    font-size: 14px;
    gap: 10px;
}

.top .group .follow p a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--second-color);
    background-color: white;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    transition: .4s;
}

.top .group .mid p {
    margin-top: 15px;
    font-weight: 500;
    line-height: 24px;
    font-size: 16px;
}

.top .group .contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-weight: 200;
    line-height: 24px;
    font-size: 14px;
}

.top .group .contact span i {
    margin: 5px;
    line-height: 24px;
    font-size: 14px;
}


.container-1 {
    margin-top: 10px;
}

.heading {
    margin: 0 59px;
}

.heading h1 {
    font-weight: 700;
    font-size: 36px;
    line-height: 24px;
    color: var(--main-color);
}

.heading .list ul {
    height: 38px;
    gap: 30px;
}

.heading .list:hover a {
    color: var(--second-color);
}

.heading .list ul a {
    position: relative;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    color: black;
    transition: .4s;
}

.heading .list ul a:hover {
    color: black;
}

.heading .list ul a::after {
    content: "";
    width: 100%;
    height: 3px;
    position: absolute;
    left: 0px;
    bottom: -10px;
    background-color: white;
    border-radius: 5px;
    transition: transform 0.4s;
    transform: scaleX(0);
    transform-origin: right;
    background-color: black;
}

.heading .list ul a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.heading .group-search {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.heading .search {
    position: relative;
}

.heading .search input {
    width: 243px;
    height: 38px;
    font-size: 12px;
    padding: 7px 12px;
    border-radius: 5px;
    background-color: rgb(247, 240, 227);
    border: 1px solid #B4B4B4;
    outline: 2px solid transparent;
    transition: .4s;
}

.heading .search input:focus {
    background-color: white;
}

.heading .search input:focus~i {
    transform: rotate(100deg);
}

.heading .search input::placeholder {
    font-size: 14px;
    line-height: 18px;
}

.heading .search i {
    position: absolute;
    top: 25%;
    right: 12px;
    width: 16px;
    color: var(--second-color);
    transition: .4s;
}

.heading .group-search .icons {
    display: flex;
    gap: 16px;
}

.heading .group-search .icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--second-color);
    width: 37px;
    height: 36px;
    border: 1px solid var(--second-color);
    border-radius: 4px;
    transition: .4s;
}

.heading .group-search .icons a:hover {
    color: white;
    background-color: var(--second-color);
}

/* -------------------------Start of Slaiders of Heading----------------------------------- */

.carousel-item {
    margin-top: 10px;
    position: relative;
}

.carousel-item .caption h1 {
    position: absolute;
    top: 40px;
    left: 14%;
    color: white;
    line-height: 150%;
    font-size: 38px;
    font-weight: bold;
    text-align: center;
}

.carousel-indicators button {
    width: 42px !important;
    height: 6px !important;
}

/* =========================================================== */
.offers {
    width: 1239px;
    margin: 70px 59px;
    gap: 31px;
}

.offers .show {
    width: 198px;
}

.offers .show h2 {
    font-size: 20px;
    font-weight: bold;
    line-height: 150%;
    position: relative;
}

.offers .show h2::after {
    position: absolute;
    content: "";
    background-color: var(--main-color);
    height: 5px;
    width: 60px;
    bottom: -12px;
    left: -1px;
    border-radius: 4px;
}

.offers .show p {
    margin-top: 22px;
    font-size: 12px;
    font-weight: 400;
    line-height: 150%;
}

.offers .show button {
    width: 227px;
    font-weight: 600;
    font-size: 14px;
    line-height: 24px;
    padding: 6px 12px;
    color: white;
    background-color: var(--main-color);
    border: none;
    border-radius: 4px;
    transition: .4s;
}

.offers .show button:hover {
    background-color: #285d7c;
}

.offers .left a {
    font-size: 25px;
}

.group-pro {
    gap: 31px;
}

.products {
    width: 214px;
    height: 238px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 0 8px #00000050;
    transition: .2s;
}

.products .image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.products .image img {
    margin-top: 8px;
}

.products .image .fav .f-50 {
    position: absolute;
    top: 14px;
    left: 14px;

    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: white;
    background-color: red;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: .4s;
}

.products .image .fav .love {
    position: absolute;
    top: 14px;
    right: 14px;

    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--second-color);
    background-color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: .4s;
}

.products .image .fav .love:hover {
    color: white;
    background-color: var(--main-color);
}

.products .info {
    display: flex;
    flex-direction: column;
    margin: 0 10px;
    overflow: hidden;
}

.products .info .data h5 {
    font-size: 12px;
    line-height: 24px;
}

.products .info .data .add a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: white;
    background-color: var(--main-color);
    font-size: 12px;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    transition: .4s;
    white-space: nowrap;
}

.products .info .data .add a .ad-cart {
    display: none;
}

.products .info .data .add a:hover {
    width: 100px;
    border-radius: 2px;
}

.products .info .data .add a:hover .fa-cart-shopping {
    display: none;
}

.products .info .data .add a:hover .ad-cart {
    display: inline;
}

.products .info .data .add a i {
    transition: .4s;
    margin: 2px 0 0 0;
}

.products .info .data p {
    font-weight: 500;
    font-size: 12px;
    line-height: 24px;
}

.products .info .data p span {
    text-decoration: line-through;
    font-weight: 200;
}

.products .info .rate span {
    font-weight: 600;
    line-height: 21px;
}

/* =============================================== */

.container-2 {
    width: 1239px;
    margin: 0px 59px;
}

.container-2 .group-3 {
    gap: 14px;
}

.container-2 .group-2 {
    gap: 12px;
}

.pic {
    position: relative;
}

.pic .data {
    position: absolute;
    top: 35%;
    right: 0px;
    width: 272px;
    height: 93px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: #00000015;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.pic .data .info {
    font-size: 14px;
    font-weight: 200;
    padding-top: 10px;
}

.pic .data .info p {
    font-size: 16px;
    font-weight: bold;
}

/* =================================== */

.container-3 {
    width: 1239px;
    margin: 70px 62px;
}

.container-3 .title h1 {
    font-size: 36px;
    position: relative;
}

.container-3 .title h1::after {
    position: absolute;
    content: "";
    background-color: var(--main-color);
    height: 5px;
    width: 60px;
    bottom: -25px;
    right: 48%;
    border-radius: 4px;
}

.container-3 .group-like {
    width: 1234px;
    gap: 25px;
    flex-wrap: wrap;
}

/* ========================================== */
.container-4 {
    position: relative;
}

.container-4 .show-pro {
    position: absolute;
    top: 0;
    right: 208px;
    width: 318px;
    height: 345px;
    color: white;
    background-color: #00000015;
}

.container-4 .show-pro h2 {
    width: 198px;
    font-size: 26px;
    font-weight: bold;
    line-height: 150%;
    margin-bottom: 31px;
}

.container-4 .show-pro h2 span {
    font-size: 36px;
}

.container-4 .show-pro button {
    width: 191px;
    height: 36px;
    border-radius: 4px;
    color: white;
    border: 1px solid white;
    padding: 12px;
    background-color: transparent;
}

.container-4 .show-pro button i {
    transition: .4s;
    width: 15px;
    height: 15px;
}

.container-4 .show-pro button:hover i {
    transform: translateX(10px);
}

/* ================================================= */

.container-5 {
    margin: 40px 0 20px;
    gap: 56px;
}

.container-5 .sec {
    width: 270px;
    height: 79px;
    gap: 10px;
}

.container-5 .sec .icon {
    width: 50px;
    height: 50px;
}

.container-5 .sec .icon i {
    font-size: 35px;
}

.container-5 .sec .inst span {
    font-size: 16px;
    font-weight: bold;
}

.container-5 .sec .inst p {
    font-size: 14px;
}

/* ============================================== */

footer {
    margin: 0 70px 70px 60px;
    color: black;
    width: 1241px;
    height: 226px;
}

.connection {
    display: flex;
    justify-content: center;
    gap: 55px;
}

.connection .subscribe {
    display: flex;
    flex-direction: column;
    padding: 16px;
    width: 270px;
    height: 216px;
}

.connection .subscribe h2 {
    font-weight: bold;
    font-size: 20px;
    height: 38px;
}

.connection .subscribe p {
    font-size: 14px;
    line-height: 24px;
}

.connection .subscribe span {
    font-size: 16px;
    font-weight: 500;
}

.connection .subscribe .follow {
    width: 168px;
    height: 24px;
    gap: 24px;
    margin-top: 24px;
}

.connection .subscribe .follow .icn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    transition: .1s;
}

.connection .subscribe .follow .icn a {
    text-decoration: none;
    color: var(--second-color);
    font-size: 18px;
}

.fa-facebook-f {
    transition: .4s;
}

.fa-facebook-f:hover {
    color: #4267B2;
}

.fa-twitter {
    transition: .4s;
}

.fa-twitter:hover {
    color: #1DA1F2;
}

.fa-instagram {
    transition: .4s;
}

.fa-instagram:hover {
    color: rgb(252, 82, 110);
}

.fa-linkedin-in {
    transition: .4s;
}

.fa-linkedin-in:hover {
    color: rgb(49, 49, 255);
}

.connection .con-links {
    display: flex;
    padding: 16px;
    flex-direction: column;
    width: 270px;
    height: 205px;
    gap: 10px;
}

.connection .con-links h3 {
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
}

.connection .con-links a {
    text-decoration: none;
    color: black;
    height: 17px;
    font-size: 14px;
    line-height: 24px;
}

.connection .con-links a:hover {
    text-decoration: underline;
}

.rights {
    color: white;
    height: 58px;
    background-color: var(--main-color);
}

.rights p {
    font-size: 14px;
}

/* =======Modal============= */
.modal-content {
    width: 400px;
    height: fit-content;
    margin: auto;
}

.modal-body {
    box-sizing: border-box;
    background-color: #F9F9F9;
    border-radius: 8px;
    padding: 40px;
    color: black;
    display: flex;
    flex-direction: column;
}


#sign {
    background-color: var(--main-color);
    color: white;
    border: none;
    border-radius: 50px;
}

.modal-body button {
    padding: 10px 0;
}

#sign:hover {
    background-color: #285d7c;
}

#rig {
    background-color: var(--second-color);
    color: white;
    border: none;
    border-radius: 50px;
}

#rig:hover {
    background-color: #474747;
}

.modal-body span {
    cursor: pointer;
    margin: 10px auto;
    width: fit-content;
    text-decoration: underline;
    font-weight: 600;
}