@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Poppins:wght@400;500&display=swap');

:root {
    --white: white;
    --black: black;
    --price: #ff4081;
    --bg-linear-gardient: linear-gradient(135deg, #ff2129, #fd8e6f);
    --dim-text: #555;
}

html.dark-mode {
    --white: #121212;
    --black: #ffffff;
    --price: #f48fb1;
    --bg-linear-gardient: linear-gradient(135deg, #ef5350, #ff8a65);
    --dim-text: #aaaaaa;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    overflow-x: hidden;
}

.header-cls {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: var(--white);
    position: fixed;
    z-index: 1;
}

.logo img {
    width: 150px;
    padding: 16px;
}

.menu-items {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;

    background-color: var(--white);
}

.btn-close {
    display: none;
}

.hamburger {
    display: none;
}

.btn:hover {
    transform: scale(1.1);
}

.theme-toggle {
    background: var(--black);
    color: var(--white);
    border: none;
    padding: 12px 12px;
    border-radius: 30%;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
    margin-right: 20px;
}

body.dark .theme-toggle {
    background: #ddd;
    color: black;
}

.menu-items a {
    text-decoration: none;
    color: var(--black);
    font-size: 18px;
    letter-spacing: 1px;
    padding: 10px;
}

.menu-items a:hover::after {
    width: 100%;
}

.menu-items a:hover {
    color: #ff4081;
}

.menu-icons {
    display: flex;
    text-decoration: none;
    list-style: none;
    justify-content: space-between;
    gap: 30px;
    cursor: pointer;
    margin-right: 20px;
}

.menu-icons a {
    color: var(--black);
}

.footer {
    margin-top: 5%;
}

.footer-head {
    display: grid;
    grid-template-rows: 6fr 1fr;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: black;
    color: white;
}

.footer-grid h3 {
    color: #0385ff;
}


.footer-content-company {
    margin: 7%;

}

.footer-content-company p {
    text-indent: 35px;
    margin: 0;
}

.footer-nav-grid {
    display: grid;
}

.footer-content-nav a {
    text-decoration: none;
    list-style: none;
    line-height: 50px;
    text-indent: 20px;
    color: white;
    transition: transform 0.5s ease;
}

.footer-content-nav a:hover {
    color: #0385ff;
    transform: translatey(-10px);
}

.footer-content-nav li {
    cursor: pointer;
}

.footer-content-contact a {
    list-style: none;
    text-decoration: none;
    color: white;
    text-indent: 20px;
    transition: color 0.5s ease;

}

.footer-content-contact a:hover {
    color: #0385ff;
}

.footer-content-legal-link a {
    text-decoration: none;
    color: white;
    text-align: justify;

}

.footer-content-legal-link li {
    list-style: none;
    text-indent: 20px;
    text-align: justify;
    transition: transform 0.5s ease;

}

.footer-content-legal-link li:hover {
    color: #0385ff;
    transform: translatey(-10px);
}

.footer-content-legal-link a {
    line-height: 70px;
    cursor: pointer;
    transition: transform 0.5s ease;
    /* color: white; */

}

.footer-content-legal-link a:hover {
    color: #0385ff;
    transform: translatey(-10px);
}

.footer-copy {
    text-align: center;
    background-color: #1C1C1C;
    color: white;
}


#backToTop {
    position: fixed;
    bottom: 120px;
    right: 30px;
    background: var(--black);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    display: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background 0.3s;
    z-index: 1999;
}

#backToTop:hover {
    background: #444;
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .header-cls img {
        width: 40%;
    }

    .menu-icons {
        display: none;
    }

    .sponsor-grid {
        gap: 30px;
    }

    .sponsor-grid img {
        height: 60px;
    }

    .testimonial {
        flex: 0 0 100%;
    }

    .testimonial-container {
        gap: 10px;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .contact-grid-l form {
        grid-template-columns: repeat(2, 50%);

    }

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

}


@media (max-width:768px) {
    .menu-items {
        flex-direction: column;
        background: #000000;
        position: fixed;
        top: 0;
        right: -350px;
        width: 250px;
        height: auto;
        padding: 60px 20px;
        transition: right 0.5s ease;
        z-index: 999;
        /* color: #0385ff; */
    }

    .menu-items a {
        font-size: 18px !important;
        color: white;
    }

    .btn-close {
        display: block;
        color: rgb(0, 0, 0);
        background-color: #0385ff00;
        cursor: pointer;
        border-color: #00000000;
    }

    .hamburger {
        display: block;
        margin-right: 30px;
        cursor: pointer;
        color: var(--black);

    }

    .menu-items.show {
        right: 0;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: flex-start;
        align-content: flex-start;
    }

    .hamburger:hover {
        color: #b82e5e;
    }

    .overlay {
        top: 75%;
        left: 50%
    }

    .menu-icons {
        display: none;
    }

    .menu-items {
        display: none;
    }
}


.products-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./asstes/products-hero.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.products-hero h1 {
    font-size: 46px;
    letter-spacing: 2px;
    margin: 0%;
}

.products-hero p {
    font-size: 20px;
}

.products-hero a {
    padding: 16px;
    color: white;
    text-decoration: none;
    background-color: #82c0fb;
    border-radius: 10px;
}

.products-hero a:hover {
    background-color: #0385ff;
}

.head {
    text-align: center;
    font-size: xx-large;
    color: var(--black);
    margin: 5%;
}

.sub-head {
    font-size: x-large;
    color: var(--black);
    margin-left: 7%;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
    margin: 4%;
    overflow-x: hidden;
}

.cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.cat img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.cat-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    text-align: center;
    background-color: #00000042;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.cat-content a {
    text-decoration: none;
    color: #001eff;
    font-size: 18px;
}

.cat-content a:hover {
    color: rgb(59, 5, 255);
}

.product-card {
    position: relative;
    width: 250px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 300px;
    display: block;
}

.product-info {
    padding: 15px;
    text-align: center;
}

.product-info h3 {
    margin: 5px 0;
    font-size: 18px;
    color: var(--black);
}

.product-info p {
    color: var(--price);
    font-weight: bold;
    font-size: 16px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .overlay {
    opacity: 1;
}

.overlay button,
.overlay span {
    background: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}

.overlay button:hover {
    background: #ff4081;
    color: #fff;
}

.overlay span {
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay span.liked {
    color: red;
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    padding: 40px;
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    padding: 40px;
}

@media (max-width:478px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
}

.featured-col1 {
    grid-row: span 2;
}

.featured-col2 {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

.featured-product-card,
.featured-product-card1 {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.featured-product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.featured-product-card1 img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.featured-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.132);
    padding: 20px 30px;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-product-card:hover .featured-info,
.featured-product-card1:hover .featured-info {
    opacity: 1;
}

.shop-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 18px;
    background: #ff4081;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.shop-btn:hover {
    background: #e73370;
}

.featured-product-card:hover img,
.featured-product-card1:hover img {
    transform: scale(1.05);
}

.offers-content {
    background: linear-gradient(135deg, #ff2129, #fd8e6f);
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    margin: 5%;
    border-radius: 10px;
    color: white;
}

.offers-content a {
    padding: 16px;
    background-color: rgb(255, 142, 4);
    border-radius: 20px;
    color: white;
    text-decoration: none;
}

.customer-assurance {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    padding: 40px 20px;
    margin-top: 40px;
    text-align: center;
    border-radius: 16px;
}

.assurance-item {
    padding: 15px;
    transition: transform 0.3s ease;
}

.assurance-item h4 {
    color: var(--black);
}

.assurance-item:hover {
    transform: translateY(-5px);
}

.icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.assurance-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--black);
}

.assurance-item p {
    font-size: 0.9rem;
    color: var(--dim-text);
}

.access-card {
    background: var(--white);
    border-radius: 15px;
    border: 2px solid var(--border-card);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    width: 260px;
    text-align: center;
    /* height: auto; */
}

.access-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.access-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease-in;
}

.access-card img:hover {
    transform: scale(1.1);
}

.action {
    padding: 15px;
}

.action h3 {
    margin: 5px 0;
    font-size: 1.2rem;
    color: var(--black);
}

.action p {
    margin: 5px 0 15px;
    font-weight: bold;
    color: var(--black);
}

.acc-buttons {
    display: flex;
    justify-content: space-around;
}

.overlay1 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.overlay1 button,
.overlay1 span {
    background: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.overlay1 button:hover {
    background: #ff4081;
    color: #fff;
}

.overlay1 span {
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay1 span.liked {
    color: red;
}