
    /* General Reset and Body Styling */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: Arial, sans-serif;
    }

   /* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: rgb(81, 81, 233);
    color: #fff;
}

.navbar .title {
    font-size: 1.6em;
    font-weight: bold;
    white-space: nowrap;
}

.navbar .search {
    flex: 1;
    max-width: 500px; /* Limit the maximum width of the search bar */
    margin: 0 auto; /* Center the search bar */
    position: relative; /* For positioning the icon inside */
}

.navbar .search input {
    width: 100%; /* Ensure input takes up the full width of the container */
    padding: 8px 15px;
    padding-right: 40px; /* Add space for the icon on the right */
    border: none;
    border-radius: 20px;
    font-size: 0.9em;
    outline: none;
}

.navbar .search .icon {
    position: absolute;
    top: 50%;
    right: 10px; /* Position the icon inside the input on the right */
    transform: translateY(-50%); /* Vertically center the icon */
    font-size: 1.2em;
    color: #888;
    pointer-events: none;
}

.navbar .icons {
    display: flex;
    align-items: center;
}

.navbar .icons button {
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 1.2em;
    margin-left: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.navbar .icons .cart {
    position: relative;
}

.navbar .icons .cart .badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: #ff0000;
    color: white;
    padding: 2px 6px;
    border-radius: 50%;
    font-size: 0.8em;
}

/* Mobile View Adjustments */
@media (max-width: 768px) {
    .navbar .search input {
        font-size: 0.8em; /* Adjust font size for mobile */
    }

    .navbar .search .icon {
        font-size: 1em; /* Slightly smaller icon for mobile */
    }
}


    /* Second Navbar Styles */
    .navbar-2 {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px;
        background-color: rgb(81, 81, 233);
        color: #fff;
    }

    .navbar-2 .categories {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .navbar-2 .categories a {
        color: #fff;
        text-decoration: none;
        font-size: 0.9em;
        padding: 5px 10px;
        border-radius: 4px;
        background-color: rgba(255, 255, 255, 0.2);
        transition: background-color 0.3s ease;
    }

    .navbar-2 .categories a:hover {
        background-color: rgba(255, 255, 255, 0.4);
    }

    .navbar-2 .info {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .navbar-2 .info a {
        color: #fff;
        text-decoration: none;
        font-size: 0.9em;
        padding: 5px 10px;
        border-radius: 4px;
        background-color: rgba(255, 255, 255, 0.2);
        transition: background-color 0.3s ease;
    }

    .navbar-2 .info a:hover {
        background-color: rgba(255, 255, 255, 0.4);
    }

    /* Mobile View Adjustments */
    @media (max-width: 768px) {
        /* First Navbar */
        .navbar {
            flex-direction: column;
            align-items: flex-start;
        }

        .navbar .title {
            font-size: 1.4em;
            margin-bottom: 10px;
        }

        .navbar .search {
            width: 100%;
            margin: 10px 0;
        }

        .navbar .search input {
            width: calc(100% - 40px);
        }

        .navbar .icons {
            width: 100%;
            justify-content: space-between;
            margin-top: 10px;
        }

        /* Second Navbar */
        .navbar-2 {
            flex-direction: column;
            align-items: flex-start;
            padding: 10px;
        }

        .navbar-2 .categories,
        .navbar-2 .info {
            width: 100%;
            flex-direction: column;
            align-items: flex-start;
            gap: 5px;
        }

        .navbar-2 .categories a,
        .navbar-2 .info a {
            width: 100%;
            text-align: left;
            padding: 8px 12px;
            font-size: 1em;
        }
    }
/* </style> */

/* Hero Section Styles */
.hero-section {
    position: relative;
    width: 100%;
    height: 80vh; /* Full screen height */
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Make the image cover the full height */
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    font-size: 1.2em; /* Smaller font size for mobile */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    max-width: 90%; /* Adjust text width for smaller screens */
    line-height: 1.4em; /* Improve readability on smaller screens */
    text-align: center; /* Center align the text for mobile */
}

.hero-button {
    display: inline-block;
    background-color: #fb4f06;
    color: white;
    padding: 10px 15px; /* Adjust padding for mobile */
    border: none;
    font-size: 0.9em; /* Slightly larger font for touch-friendly design */
    cursor: pointer;
    border-radius: 5px;
    margin-top: 15px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
}

.hero-button:hover {
    background-color: #ff6600;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: 60vh; /* Reduce height for smaller screens */
    }

    .hero-text {
        font-size: 1em; /* Smaller font for compact screens */
        left: 5%; /* Adjust left padding */
        max-width: 80%; /* Limit text width */
    }

    .hero-button {
        font-size: 0.8em; /* Slightly smaller button text */
        padding: 8px 12px; /* Reduce padding */
    }
}


/* Two Cards Section */
.cards-section {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 20px;
    padding: 50px;
    background-color: #a7dec4;
}

.card {
    position: relative;
    height: 400px; /* Height for larger screens */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card:nth-child(1) {
    background: url('/images/laptop1.jpeg') no-repeat center/cover;
}

.card:nth-child(2) {
    background: url('/images/mobile4.webp') no-repeat center/cover;
}

.card-content {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    max-width: 60%;
}

.card h2 {
    font-size: 2em;
    margin-bottom: 15px;
}

.card p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.card-button {
    background-color: #ff9900;
    color: white;
    padding: 10px 20px;
    border: none;
    font-size: 1em;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    text-transform: uppercase;
    transition: background-color 0.3s ease-in-out;
}

.card-button:hover {
    background-color: #ff6600;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .cards-section {
        grid-template-columns: 1fr; /* Stack cards vertically on smaller screens */
        gap: 15px; /* Reduce gap for compact layout */
        padding: 20px; /* Reduce padding for smaller screens */
    }

    .card {
        height: 250px; /* Reduced height for smaller screens */
    }

    .card-content {
        top: 60%; /* Adjust position for readability */
        left: 10px; /* Adjust padding for smaller screens */
        max-width: 90%; /* Increase content width for smaller screens */
    }

    .card h2 {
        font-size: 1.5em; /* Adjusted for smaller screens */
    }

    .card p {
        font-size: 1em; /* Smaller font for readability */
    }

    .card-button {
        font-size: 0.9em; /* Smaller button text */
        padding: 8px 15px; /* Adjust padding for mobile-friendly design */
    }
}

/* Features Section */
.features {
    background-color: #e3a2a2;
    padding: 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 1700px;
    padding: 10px 20px;
    box-sizing: border-box;
}

.feature-card {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: auto; /* Allow flexible height for content */
    background-color: f19494;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    gap: 15px; /* Add gap between features for spacing */
}

.feature {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 22%;
}

.feature .icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.feature .text {
    font-weight: bold;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 1.5em;
    color: #333;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .feature-card {
        flex-direction: column; /* Stack features vertically */
        align-items: center;
        text-align: center;
        gap: 20px; /* Add spacing between stacked features */
    }

    .feature {
        width: 100%; /* Make each feature take full width */
        flex-direction: column; /* Stack icon and text */
        align-items: center; /* Center content */
        margin-bottom: 15px;
    }

    .feature .icon {
        margin-bottom: 10px; /* Add space below the icon */
    }

    .feature .text {
        font-size: 1.2em; /* Adjust font size for smaller screens */
    }
}

/*Best sellers */

body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f9f9f9;
}

.best-sellers {
padding: 50px 20px;
text-align: center;
background-color: #ffffff;
}

.best-sellers h2 {
font-size: 2rem;
margin-bottom: 20px;
color: #333;
}

.carousel-wrapper {
position: relative;
overflow: hidden;
}

.carousel {
display: flex;
gap: 20px;
transition: transform 0.5s ease-in-out;
will-change: transform;
}

.product-card {
height: 400px;
flex: 0 0 calc(25% - 20px); /* 4 cards per row */
background: #fff;
border: 1px solid #ddd;
border-radius: 8px;
padding: 20px;
text-align: left;
transition: transform 0.3s, box-shadow 0.3s;
box-sizing: border-box;
}

.product-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-card img {
width: 100%;
height: 200px;
object-fit: cover;
border-radius: 8px;
}

.product-card h3 {
font-size: 1.2rem;
margin: 10px 0;
color: #333;
}

.product-card p {
font-size: 1rem;
color: #666;
margin: 5px 0;
}

.product-card .price {
font-size: 1.2rem;
color: #007bff;
margin: 10px 0;
}

.product-card button {
padding: 10px 15px;
font-size: 1rem;
color: #fff;
background-color: #007bff;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}

.product-card button:hover {
background-color: #0056b3;
}

.carousel-controls {
position: absolute;
top: 50%;
width: 100%;
display: flex;
justify-content: space-between;
transform: translateY(-50%);
}

.carousel-controls button {
background: rgba(0, 0, 0, 0.5);
border: none;
color: #fff;
font-size: 1.5rem;
cursor: pointer;
padding: 10px;
border-radius: 50%;
transition: background 0.3s;
}

.carousel-controls button:hover {
background: rgba(0, 0, 0, 0.8);
}

/* View All Button */
.view-all-container {
margin-top: 30px;
}

.view-all-button {
padding: 12px 20px;
font-size: 1.2rem;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}

.view-all-button:hover {
background-color: #0056b3;
}
/* </style> */

/* Shop by category */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #95c7cb;
}

.shop-by-category {
    background-color: #9df4ee;
    padding: 50px 20px;
    text-align: center;
}

.shop-by-category h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 30px;
}

.category-container {
    display: flex;
    flex-wrap: wrap;
    gap: 70px; /* Horizontal and vertical gap between cards */
    justify-content: center; /* Center the content */
    max-width: 100%;
    margin: 0 auto;
}

/* Add space between the two rows */
.category-container:not(:last-child) {
    margin-bottom: 47px; /* Adds 40px of space between the two rows */
}

.category-card {
    width: 290px; /* Adjusted size */
    height: 290px; /* Adjusted size */
    background-color: #f4f4f4;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.category-card h3 {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #0b0a0a;
    font-size: 1.2rem;
    font-weight: bold;
    z-index: 1;
}

.category-card:hover img {
    opacity: 0.7;
}

/* Add border to cards on hover */
.card, .category-card, .product-card {
    transition: all 0.3s ease;
}

.card:hover, .category-card:hover, .product-card:hover {
    border: 2px solid #007bff; /* Blue border on hover */
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3); /* Optional: add shadow for a more dynamic effect */
}

/* Brands Section */
.brands-section {
height: 320px;
width: 100%;
overflow: hidden;
padding: 20px 0;
background-color: rgb(218, 184, 184);
}

.brands-section h2 {
margin-bottom: 20px;
font-size: 2rem;
color: #333;
text-align: center;
}

/* Container for moving brands */
.brands-container {
display: flex;
gap: 120px; /* Space between logos */
animation: moveBrands 15s linear infinite; /* Smooth scrolling */
width: max-content; /* Allow the container to extend for seamless scroll */
}

/* Each individual brand */
.brand {
flex: 0 0 auto; /* Prevent shrinking or wrapping */
display: flex;
align-items: center;
justify-content: center;
}

.brand img {
max-width: 120px;
height: 150px;
display: block;
}

/* Keyframes for seamless scrolling */
@keyframes moveBrands {
0% {
    transform: translateX(0);
}
100% {
    transform: translateX(-50%);
}
}
/* </style> */
