/* General Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #0f0f19;
    color: white;
    position: fixed; /* Fixes navbar at the top */
    top: 0;
    width: 100%;
    z-index: 1000; /* Ensures it stays above other elements */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional: Shadow for visual appeal */
}

/* Push the rest of the content down */
body {
    margin-top: 70px; /* Adjust according to navbar height */
}

/* Left Section (Hamburger + Search Icon) */
.left-icons {
    display: flex;
    align-items: center;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-right: 20px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
}

/* Search Icon */
.search-icon {
    font-size: 1.5rem;
    color: #ffffff;
    cursor: pointer;
}

/* Search Popup */
.search-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    display: none;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 8px;
    width: 300px;
    max-width: 90%;
    z-index: 100;
}

.search-popup input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-right: 10px;
}

.search-popup button {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    color: #333;
}

/* Responsive styling for mobile */
@media (max-width: 768px) {
    .left-icons {
        justify-content: flex-end;
    }
    
    .hamburger {
        display: block;
    }
}


/* Logo Styling */
.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    max-width: 250px; /* Adjust size for laptops and larger screens */
    height: auto;
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
    .logo {
        position: static;
        transform: none;
        text-align: center;
        margin: 0 auto;
    }

    .logo img {
        max-width: 200px; /* Smaller size for mobile screens */
    }
}

/* Right Icons (User + Cart) */
.right-icons {
    display: flex;
    gap: 15px;
}

.right-icons i {
    font-size: 20px;
    color: white;
}

/* Navigation Links (for desktop) */
.nav-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    font-size: 19px;
    font-weight: bold;
    padding-top: 80px;
    margin: 0 auto;
}

.nav-links a {
    color: white;
    text-decoration: none;
}

.nav-links a:hover {
    color: #cccccc;
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 10px;
        transition: left 0.3s ease-in-out;
        background-color: white;
    }

    .nav-links.active {
        display: flex;
        background-color: white;
    }

    .nav-links a {
        color: black;
        font-size: 16px;
        padding: 5px 0;
    }

    .hamburger {
        display: flex;
    }
}

header{
    text-align: center;
    margin-bottom: 30px;
}

header h1{
    font-size: 2rem;
    color: #333;
    margin-bottom:10px;
}

/* Navigation Styling */
nav ul{
    list-style: none;
    display: flex;
    justify-content: center;
    gap:20px;
}

nav ul li{
    display: inline;
}

nav ul li a{
    text-decoration:none;
    padding:10px 25px;
    background-color:#0d05a3;
    color:white;
    border-radius:5px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover{
    background-color: #0f6b13;
}

.store{
    margin-bottom:40px;
    text-align: center;
    background-color:white;
    padding:20px;
    box-shadow:0 4px 8px rgba(0,0,0,0.1);
    border-radius:10px;
}

.store h1 {
    font-size: 1.5rem;
    color:#333;
    margin-bottom:20px;
}

.store iframe{
    width: 100%;
    height:300px;
    border: none;
    border-radius: 10px;
}

/*Responsive Design */
@media (min-width:768px){
    .store iframe{
        width: 600px;
        height: 450px;
    }
}

@media (max-width: 767px){
    nav ul{
        flex-direction: column;
        gap: 5px;
    }

    .store iframe{
        height: 250px;
    }

    header h1 {
        font-size: 1.8rem;
    }
}




/* Dots Navigation */
.dots-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: rgba(255, 255, 255, 1);
}

/* Media Query for Mobile Devices */
@media (max-width: 768px) {
    .poster-slider {
        height: 50vh; /* Reduce the height to 50% of the viewport */
    }

    .slide {
        background-size: contain; /* Ensure the image scales properly without cropping */
        background-repeat: no-repeat;
    }

    .slider-controls button {
        font-size: 18px; /* Reduce button size */
        padding: 8px 12px;
    }

    .dot {
        width: 10px; /* Smaller dots */
        height: 10px;
    }
}

.fixed-whatsapp {
    position: fixed; /* Keeps it fixed while scrolling */
    bottom: 20px; /* Distance from the bottom of the screen */
    right: 20px; /* Distance from the right side of the screen */
    z-index: 1000; /* Ensures it's on top of other elements */
}

.fixed-whatsapp .whatsapp-icon {
    width: 80px; /* Adjust size as needed */
    height: 50px;
    border-radius: 50%; /* Makes it circular */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: adds a shadow */
    cursor: pointer;
    transition: transform 0.2s ease; /* Smooth hover animation */
}

.fixed-whatsapp .whatsapp-icon:hover {
    transform: scale(1.1); /* Enlarges slightly on hover */
}


/* Dots Navigation */
.dots-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: rgba(255, 255, 255, 1);
}

/* Media Query for Mobile Devices */
@media (max-width: 768px) {
    .poster-slider {
        height: 50vh; /* Reduce the height to 50% of the viewport */
    }

    .slide {
        background-size: contain; /* Ensure the image scales properly without cropping */
        background-repeat: no-repeat;
    }

    .slider-controls button {
        font-size: 18px; /* Reduce button size */
        padding: 8px 12px;
    }

    .dot {
        width: 10px; /* Smaller dots */
        height: 10px;
    }
}

/* Categories Section */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.container h2{
    text-align: center;
}

.categories {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.category {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    flex: 1 1 calc(20% - 20px); /* Responsive grid for 5 items */
    max-width: 200px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
  
}

.categories img {
    width: 100%;
    height: 150px; /* Set a fixed height for all images */
    object-fit: contain; /* Ensure the image fits within the given width and height without distortion */
}


.category:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.browse-all {
    text-align: center;
    margin-top: 30px;
}

.browse-all a {
    text-decoration: none;
    font-size: 1rem;
    color: #000000;
    font-weight: bold;
}

.browse-all a:hover {
    text-decoration: underline;
}


/*why choose us styling*/

.why{
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.why h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
}

.why h2::after {
    content: "";
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #ffffff, #000000);
    display: block;
    margin: 10px auto 0;
}


@media (max-width: 768px) {
    .card-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px; /* Reduced gap for smaller screens */
    }
}

/* Further adjustments for very small screens (e.g., phones) */
@media (max-width: 480px) {
    .card-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .card{
        padding: 15px;
    }
}


.card-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.card {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    width: calc(25% - 20px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.card img {
    width: 90px;
    height: 70px;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.card p {
    color: #666;
    margin-bottom: 20px;
}

.card a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
}

.card a span {
    font-size: 1.2rem;
    margin-left: 5px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 992px) {
    .card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .card {
        width: 100%;
    }
}


/* Footer Styling */
.footer {
    background-color: #0f0f19;
    color: white;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-left, .footer-middle, .footer-right {
    flex: 1;
    margin: 10px;
    min-width: 200px;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 15px;
}

.footer p {
    margin: 5px 0;
    line-height: 1.6;
}

.footer-middle ul, .footer-right ul {
    list-style: none;
    padding: 0;
}

.footer-middle li, .footer-right li {
    margin-bottom: 10px;
}

.footer-middle a, .footer-right a {
    color: white;
    text-decoration: none;
}

.footer-middle a:hover, .footer-right a:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
}

.footer-payment {
    flex: 2;
}

.payment-methods img, .pay-later img {
    max-width: 50px;
    height: auto;
    margin-top: 10px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    color: white;
    font-size: 20px;
    text-decoration: none;
}

.social-icons a:hover {
    color: #cccccc;
}

.footer-copyright {
    margin-top: 50px;
    text-align: center;
    font-size: 14px;
}