@import url('https://fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&subset=devanagari,latin-ext');
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

.container {
    max-width: 100%; /* Ensure container doesn't exceed the viewport width */
    margin: 0 auto;
    padding: 0 15px; /* Add padding if needed */
    box-sizing: border-box;
}
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    padding: 24px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: rgba(10, 10, 20, 0.4);
    z-index: 1000;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 80px; /* Further increased gap between navigation items */
    margin: 0;
    padding: 0;

}

.nav-links li {
    position: relative;
    left: 550px; /* Remove or adjust this for better alignment */
    top:-5px;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    padding: 3px 3px;
    font-weight: bold;
    transition: color 0.3s ease, box-shadow 0.3s ease;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-links li a:hover {
    color: white;
    text-shadow: 0 0 10px black;
    filter: brightness(0) invert(1) drop-shadow(0 0 5px white);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(10, 10, 20, 0.9);
    min-width: 160px;
    max-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border: none;
    flex-direction: column; /* Ensure the menu items stack vertically */
    margin-top:10px;
}

.dropdown-menu li {
    display: flex;
    align-items: center; /* Ensures icons and text are aligned vertically */
    padding: 20px; /* Adjusts space around each item */
    left:-50px;
}

.dropdown-menu li i {
    margin-right: 10px; /* Consistent spacing between icon and text */
    font-size: 16px; /* Adjust icon size if necessary */
    line-height: 1; /* Ensures icons and text are aligned on the baseline */
}

.dropdown-menu li a {
    color: #fff;
    font-size: 16px; /* Adjust text size */
    text-decoration: none;
    line-height: 1; /* Ensures icons and text are aligned on the baseline */
    display: flex;
    align-items: center; /* Ensures icons and text are aligned vertically */
}

.dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown:hover .dropdown-menu {
    display: flex; /* Flexbox for vertical alignment */
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.nav-links li:hover .dropdown-menu {
    display: block;
}

.logo {
    display: flex;
    align-items: center;
    position: absolute;
    left: 20px;
    transition: all 0.3s ease;
}

.logo img {
    height: 70px;
    transition: all 0.3s ease;
}

.logo p {
    color: transparent;
    font-size: 15px;
    position: absolute;
    left: 70px;
    padding-bottom: 0;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    font-family: 'Poppins', sans-serif;
}

.logo:hover img {
    transform: translateX(-20px) scale(1.1);
    filter: drop-shadow(0 0 10px black);
}

.logo:hover p {
    color: white;
    text-shadow: 0 0 10px black;
    transform: translateX(0);
    opacity: 1;
    padding: 8px;
    font-weight: bold;
    top: -15px;
    left: 50px;
    animation: popIn 0.5s ease forwards;
}
.character {
    position: absolute;
    right:240px; /* Adjust this value to position it where you want within the navbar */
    top: 50%;
    transform: translateY(-50%); /* Centers the character vertically in the navbar */
    cursor: pointer; /* Changes the cursor to a pointer, indicating it's clickable */
    z-index: 1001; /* Ensures it is above other elements in the navbar */
}

/* Style for the character image */
.character img {

    width: 40px; /* Adjust the size as needed */
    height: auto;
    transition: transform 0.3s ease; /* Smooth transition effect */
}

/* Hover effect for the character image */
.character img:hover {
    transform: scale(1.1); /* Slightly enlarges the character on hover */
}

/* Clickable effect */
.character:active img {
    transform: scale(0.95); /* Slightly shrinks the character when clicked */
}
.social-icons {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between icons */
    position: relative; /* Ensure the left positioning works as expected */
    left: 480px; /* Adjust this value to move the icons slightly to the left */
}
.social-icons a img {
    width: 32px; /* Increased size for all icons */
    height: 32px; /* Increased size for all icons */
    filter: brightness(0) invert(1); /* Make the icons white */
    transition: filter 0.3s ease, transform 0.3s ease;

}

.social-icons a img:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 5px white);
    transform: scale(1.1); /* Slightly increase size on hover */
    animation: popIn 0.5s ease forwards;
}
.shopping-cart {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between icons */
    position: relative; /* Ensure the left positioning works as expected */
    left: -400px; /* Adjust this value to move the icons slightly to the left */
}

.shopping-cart a img {
    width: 32px; /* Increased size for all icons */
    height: 32px; /* Increased size for all icons */
    filter: brightness(0) invert(1); /* Make the icons white */
    transition: transform 0.3s ease, filter 0.3s ease;
}

.shopping-cart p {
    color: transparent;
    font-size: 15px;
    position: absolute;
    left: 70px;

    padding-bottom: 0;
    opacity: 0;
    transform: translateX(-50px); /* Text initially positioned to the left */
    transition: opacity 0.5s ease, transform 0.5s ease;
    font-family: 'Poppins', sans-serif;
}

.shopping-cart:hover img {
    transform: translateX(-20px) scale(1.1);
    filter: drop-shadow(0 0 10px black);
}

.shopping-cart:hover p {
    color: white;
    text-shadow: 0 0 10px black;
    transform: translateX(0);
    opacity: 1;
    padding: 8px;
    font-weight: bold;
    width: 200px;
    top: -20px;
    left: 30px;
}

@keyframes popIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.offertags {
    
    list-style: none;
    display: flex;
    gap: 100px; /* Increase the gap between the words */
    justify-content: center;
    font-size: 1.40em;
    padding:2%;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
    margin-top:100px;
    background-color: rgb(247,257,250);
}
.h1{
    left:500px;
}
.offertags li {
    position: relative; /* Needed for the absolute positioning of ::after */
    cursor: pointer;
    margin-top:-10px;
}

.offertags li::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0; /* Positioning the line directly under the text */
    width: 0;
    height: 2px;
    background-color: black; /* Color of the underline */
    transition: width 0.3s ease; /* Smooth transition */
}

.offertags li:hover::after {
    width: 100%; /* Line becomes fully under the word on hover */
}

.offertags li:hover {
    text-shadow: 0 0 2px black;

}
/* product section //////////////////////////////////*/

.product_container{
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    padding-top: 3%;
    justify-content: center;
    margin: auto;
}
.card_product {
    font-family: 'Poppins', sans-serif;
    width: 350px;
    height:400px;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;

    font-weight: 400;
    font-size: 0.8rem;
    line-height: 1.43em;
}
.card__media {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    font-family: 'Poppins', sans-serif;
    filter: blur(0);
    transform: scale(1.2) translateY(5%);
    transform-origin: center bottom;
    transition: transform 800ms ease-out, filter 800ms ease-out;
}
.card_product:hover .card__media {
    transform: scale(1.4) translateY(0);
    filter: blur(2px);
}
.card__media::before {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;

    content: "";
    display: block;


    background-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);

    opacity: 0.8;
}
.card__media img {
    width: 100%;
    height: 125%;
    display: block;
    object-fit: cover;
    object-position: bottom center;
}
.card__content {
    --padding : 1rem;
    font-family: 'Poppins', sans-serif;
    position: relative;
    z-index: 2;
    width: calc(100% - var(--padding) * 2);
    height: calc(100% - var(--padding) * 2);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--padding);
    color: white;
}
.card__wrapper{
    transform: translateY(100%);

    transition: transform 350ms ease-out;
}
.card__wrapper h2{
    margin: 0;
    transform: translateY(-100%);
    font-weight: 200;
    font-size: 2rem;
    line-height: 1.3em;
    font-family: 'Poppins', sans-serif;
    transition: transform 150ms ease-out;
}
.card__wrapper a {
    background-color: white;
    display: inline-block;
    padding: 0.8rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: black;
    font-weight: 500;
}
.card_product:hover .card__wrapper{
    transform: translateY(0);
}
.card_product:hover .card__wrapper h2{
    transform: translateY(0);
}
.nav-links .dropdown {
    position: relative; /* Needed to position the dropdown menu */
}

.footer-section {
    position: relative;
    top:10vh;
    background-color:rgba(10, 10, 20, 0.8);
    color: white;
    padding: 40px 0;
    font-family: 'Poppins', sans-serif;

}

.footer-section h6 {
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 15px;
}

.footer-section p,
.footer-section a {
    margin-bottom: 10px;
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
}

.footer-section a:hover {
    color: #ddd;
    text-decoration: underline;
}

.footer-section hr {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

.footer-section .container {
    max-width: 1200px;
    margin: 0 auto;

}

.footer-section .row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section .col-md-3,
.footer-section .col-md-2,
.footer-section .col-md-4 {
    margin-bottom: 20px;
    width:200px;
}

.footer-section .social-icons {
    display: flex;
    justify-content: flex-end;
    left:-10px;
}

.footer-section .social-icons .btn {
    border-radius: 50%;
    font-size: 14px;
    line-height: 35px;
    height: 25px;
    width: 25px;
    margin-left: 20px;
    border-color: white;

}

.footer-section .social-icons .btn i {
    color: white;
}

@media (max-width: 768px) {
    .footer-section .row {
        text-align: center;
        flex-direction: column;
    }

    .footer-section .col-md-3,
    .footer-section .col-md-2,
    .footer-section .col-md-4 {
        margin-bottom: 20px;
    }

    .footer-section .social-icons {
        justify-content: center;
    }
}
.pagination {
    display: flex;  /* Use flexbox for alignment */
    justify-content: center;  /* Center the pagination horizontally */
    padding:5%;
    text-align: center;
    list-style-type: none;  /* If you were using ul/li, this would remove bullet points */
    font-family: 'Poppins', sans-serif;
  }
  
  .pagination a {
    color: #333;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color 0.3s;
    margin: 0 4px;
    border-radius: 5px;
    border: 1px solid #ddd;
  }
  
  .pagination a.active {
    background-color:white;
    color: black;
    border: 1px solid white;
  }
  
  .pagination a:hover:not(.active) {
    background-color: #ddd;
  }
  
  .pagination a.prev,
  .pagination a.next {
    font-weight: bold;
  }
  