/* Existing Navbar CSS (Imported from previous design) */
@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, h1, p, ul, li, a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}
.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:-20px;
}

.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;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between icons */
    position: relative; /* Ensure the left positioning works as expected */
    left: 0; /* 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;
}
@keyframes popIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
/* Checkout Page CSS */
.container {
    margin-top: 100px;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 1400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-family: "Poppins", sans-serif;
}

h1 {
    text-align: left;
    margin-bottom: 20px;
    font-size: 42px;
    font-weight: bold;
}

.checkout-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.cart-items {
    width: 100%;
}

.cart-items h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 28px;
    font-weight: bold;
}

.cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.cart-item img.item-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 20px;
}

.item-details {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.item-name {
    flex: 2;
    font-size: 18px;
    color: #333;
}

.item-price {
    flex: 1;
    font-size: 18px;
    text-align: right;
    color: #666;
}

.item-quantity {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
}

.quantity-value {
    margin: 0 10px;
    font-size: 18px;
}

/* Total Price */
.total-price {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-top: 1px solid #ccc;
    margin-top: 20px;
    gap: 40px;
}

.total-price p {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
}

.price-amount {
    font-size: 24px;
    color: #333;
    transition: color 0.3s ease, transform 0.3s ease;
}

.item-count {
    font-size: 24px;
    color: #333;
    transition: color 0.3s ease, transform 0.3s ease;
}

.price-amount.changed,
.item-count.changed {
    color: #737170;
    transform: scale(1.1);
}

/* Separator */
.separator {
    border: 0;
    height: 1px;
    background: #ddd;
    margin: 40px 0;
}

/* Form Styling */

.btn-container {
    position: relative;
    z-index: 10;
}

.btn {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 20px 30px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 400px;
    border-radius: 20px;
    font-size: 18px;
    font-family: "Poppins", sans-serif;
    z-index: 11;
    position: relative;
    top: 67px;
    left: 160px;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    background-color: #000;
}
.hidden {
    display: none;
}
.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 */
}
.shp{
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 20px 30px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 400px;
    border-radius: 20px;
    font-size: 18px;
    font-family: "Poppins", sans-serif;
    z-index: 11;
    position: relative;
    left:850px;
}
.shp:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    background-color: #000;
}.remove-item-btn {
     background: none;
     border: none;
     color: #e74c3c;
     font-size: 24px;
     cursor: pointer;
     margin-left: 30px;
     padding: 0;
     font-weight: bold;
 }

.remove-item-btn:hover {
    color: #c0392b;
    transform: scale(1.2);
}
@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-20px);
    }
}

.fade-out {
    animation: fadeOut 0.5s forwards;
}

.footer-section {
    position: relative;
    top: 10vh;
    background-color: rgba(59,59,67);
    color: white;
    padding: 40px 0;
    font-family: 'Poppins', sans-serif;
    box-shadow: none; /* Remove any box-shadow if it was applied */
}

.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;
}

/* Ensures there is no unwanted shadow or background */
.footer-section .container,
.footer-section .row,
.footer-section .col-md-3,
.footer-section .col-md-2,
.footer-section .col-md-4 {
    background-color: transparent; /* Ensure these elements are transparent */
    box-shadow: none; /* Remove any shadows */
}
@media (max-width: 1440px) {
    .nav-links {
        gap: 40px; /* Reduce gap for large laptops */
    }

    .logo img {
        height: 65px; /* Slightly reduce logo size */
    }
}

/* For medium laptops (up to 1280px wide) */
@media (max-width: 1280px) {
    .nav-links {
        gap: 35px; /* Reduce gap for medium laptops */
    }

    .logo img {
        height: 60px; /* Reduce logo size */
    }
}

/* For smaller laptops and tablets (up to 1024px wide) */
@media (max-width: 1024px) {
    .navbar {
        flex-direction: column;
        padding: 10px;
    }

    .nav-links {
        gap: 30px; /* Reduce gap for smaller laptops and tablets */
    }

    .logo img {
        height: 55px; /* Further reduce logo size */
    }
}

/* For tablets and large mobile devices (up to 768px wide) */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column; /* Stack links vertically */
        gap: 20px; /* Further reduce gap */
        text-align: center;
    }

    .logo img {
        height: 50px; /* Further reduce logo size */
    }

    .social-icons,
    .shopping-cart {
        gap: 15px; /* Reduce gap between icons */
    }
}

/* For small mobile devices (up to 576px wide) */
@media (max-width: 576px) {
    .navbar {
        padding: 5px;
    }

    .nav-links li a {
        font-size: 14px; /* Smaller font size for links */
    }

    .logo img {
        height: 40px; /* Even smaller logo size */
    }

    .social-icons a img,
    .shopping-cart a img {
        width: 24px; /* Smaller icon size */
        height: 24px;
    }

    .shopping-cart {
        left: 0; /* Reset positioning to align properly on small screens */
    }
}