/* Variables */
:root {
    --color-light: #ffffff;
    --color-dark: #1c1c21;
    --color-primary: #ffb8c0; /* Updated text color for buttons in day theme */
    --color-primary-hover: #ff868e; /* Similar color for hover in day theme */
    --color-secondary: #61dafb; /* Updated text color for buttons in dark theme */
    --color-secondary-hover: #21a1f1; /* Similar color for hover in dark theme */
    --color-bg-light: #f1f3f5; /* Updated background color for day theme */
    --color-bg-dark: #282c34;
    --transition: 0.3s ease;
    --font-size-base: 1rem;
    --font-size-small: 0.9rem;
    --font-size-large: 1.2rem;
    --font-size-xlarge: 1.5rem;
    --font-size-xxlarge: 2rem;
}

/* Import custom fonts */
@font-face {
    font-family: 'IRANSansWeb';
    src: url('../fonts/IRANSansWeb.eot');
    src: url('../fonts/IRANSansWeb.eot?#iefix') format('embedded-opentype'),
         url('../fonts/IRANSansWeb.woff2') format('woff2'),
         url('../fonts/IRANSansWeb.woff') format('woff'),
         url('../fonts/IRANSansWeb.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'IRANSansWeb';
    src: url('../fonts/IRANSansWeb-Bold.eot');
    src: url('../fonts/IRANSansWeb-Bold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/IRANSansWeb-Bold.woff2') format('woff2'),
         url('../fonts/IRANSansWeb-Bold.woff') format('woff'),
         url('../fonts/IRANSansWeb-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

html, body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Base Styles */
body {
    background-color: var(--color-bg-light);
    color: var(--color-dark);
    font-family: 'IRANSansWeb', sans-serif;
    font-size: var(--font-size-base);
    transition: background-color var(--transition), color var(--transition);
    overflow-x: hidden; /* Prevent horizontal scroll */
    margin: 0; /* Set margin to 0 */
    direction: ltr; /* Default text direction */
}

body.dark-mode {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-primary-hover);
}

button {
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition);
}

button:hover {
    transform: scale(1.1);
}

/* Footer */
.footer {
    width: 100%; /* Ensure full width */
    background-color: var(--color-bg-light); /* Updated background color */
    color: var(--color-dark);
    padding: 20px 0;
    text-align: center;
    position: relative;
}

body.dark-mode .footer {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px 0;
    width: 100%; /* Ensure full width */
    background-color: var(--color-bg-light);
    color: var(--color-dark);
    transition: background-color var(--transition);
}

body.dark-mode .footer-content {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
}

.footer-section {
    margin: 20px;
    padding: 20px;
    border-radius: 5px;
    transition: background-color var(--transition), transform var (--transition);
}

.footer-section:hover {
    transform: scale(1.05);
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: var(--font-size-xlarge);
}

.footer-section p, .footer-section a {
    margin: 5px 0;
    font-size: var(--font-size-base);
    color: var(--color-primary); /* Updated text color */
}

.footer-section a:hover {
    color: var(--color-primary-hover);
}

body.dark-mode .footer-section a {
    color: var(--color-secondary); /* Updated text color */
}

body.dark-mode .footer-section a:hover {
    color: var(--color-secondary-hover);
}

.language-link {
    display: inline-block;
    margin: 5px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: transform var(--transition);
    color: var(--color-primary); /* Updated text color */
}

.language-link:hover {
    background-color: var(--color-primary);
    color: var(--color-light);
    transform: scale(1.1);
}

body.dark-mode .language-link {
    color: var(--color-secondary); /* Updated text color */
}

body.dark-mode .language-link:hover {
    color: var(--color-secondary-hover);
}

.language-transition {
    transition: all var(--transition);
}

.theme-toggle-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.theme-toggle-btn img {
    width: 30px;
    height: 30px;
}

/* Bottom Navigation */
.bottom-nav {
    width: 100%; /* Ensure full width */
    height: 152px;
    background-color: var(--color-bg-light); /* Updated background color */
    color: var(--color-dark);
    padding: 10px 0;
    text-align: center;
    position: relative;
    background-image: none;
}

body.dark-mode .bottom-nav {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Ensure full width */
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Add gap between buttons */
    margin-right: 140px; /* Move buttons slightly to the left */                  
}

.nav-link {
    color: var(--color-primary); /* Updated text color */
    text-decoration: none;
    font-size: var(--font-size-large);
    margin: 0 10px;
    transition: color var(--transition), transform var(--transition);
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.nav-link:hover {
    color: var(--color-primary-hover); /* Swap text color on hover */
    transform: translateY(5px);
}

body.dark-mode .nav-link {
    color: var(--color-secondary); /* Updated text color */
}

body.dark-mode .nav-link:hover {
    color: var(--color-secondary-hover); /* Swap text color on hover */
}

.search-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    margin-right: auto;
    margin-left: 20px;
    margin-top: 80px;
}

.search-input {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: var(--font-size-base);
    margin-right: 10px;
    background-color: #f0f0f0;
    color: var(--color-dark);
    transition: background-color var(--transition), color var(--transition);
}

.search-input:focus {
    background-color: #e0e0e0;
    outline: none;
}

body.dark-mode .search-input {
    background-color: #333;
    color: var(--color-secondary);
}

body.dark-mode .search-input:focus {
    background-color: #444;
}

.search-btn {
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    background-color: var(--color-primary); /* Updated background color */
    color: var(--color-light);
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition);
}

.search-btn:hover {
    background-color: var(--color-primary-hover); /* Swap background color on hover */
}

body.dark-mode .search-btn {
    background-color: var(--color-secondary); /* Updated background color */
}

body.dark-mode .search-btn:hover {
    background-color: var(--color-secondary-hover); /* Swap background color on hover */
}

.new-buttons {
    position: absolute;
    top: -20px;
    left: 20px;
    display: flex;
    gap: 0.1px;
    margin-bottom: 10px; /* Add margin to bring buttons closer to the carousel */
}

.new-btn {
    color: var(--color-primary); /* Updated text color */
    text-decoration: none;
    font-size: var(--font-size-large);
    padding: 10px 20px;
    border-radius: 5px;
    background-color: transparent;
    border: none;
    transition: color var(--transition), transform var(--transition);
    animation: pulse 2s infinite;
}

.new-btn:hover {
    color: var(--color-primary-hover); /* Swap text color on hover */
    transform: translateY(5px);
}

body.dark-mode .new-btn {
    color: var(--color-secondary); /* Updated text color */
}

body.dark-mode .new-btn:hover {
    color: var(--color-secondary-hover); /* Swap text color on hover */
}

.pattern {
    width: 30px;
    height: 30px;
    background: url('../images/lego/c7892ebbb139886662c6f2fc8c450710.png') no-repeat;
    margin-left: 10px;
}

.separator {
    align-self: center;
    margin: 0 5px; /* Adjust this value to move the separator closer to the buttons */
}

/* Logo */
.logo-container {
    position: absolute;
    right: 100px;
    top: 50%;
    transform: translateY(-50%);
}

.logo {
    width: 50px;
    height: 72px;
}

/* Advertisement Slider */
.ad-slider {
    position: relative;
    width: 100%; /* Ensure full width */
    height: 600px;
    overflow: hidden;
    margin: 0; /* Remove margin to make it flush with the edges */
    padding: 0; /* Remove padding to make it flush with the edges */
    border: none;
    border-radius: 0; /* Make corners straight */
    box-shadow: none;
}

.ad-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease-in-out;
}

.ad-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-light);
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

#prev-btn {
    left: 10px;
    animation: prevBtnAnimation 1s infinite alternate;
}

#next-btn {
    right: 10px;
    animation: nextBtnAnimation 1s infinite alternate;
}

@keyframes prevBtnAnimation {
    0% {
        transform: translateY(-50%) scale(1);
    }
    100% {
        transform: translateY(-50%) scale(1.1);
    }
}

@keyframes nextBtnAnimation {
    0% {
        transform: translateY(-50%) scale(1);
    }
    100% {
        transform: translateY(-50%) scale(1.1);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* New Section Below Slider */
.new-section {
    width: 100% !important;
    background-color: var(--color-bg-light);
    padding: 25px;
    margin: 0px auto;
    text-align: center;
    color: var(--color-dark);
    margin-bottom: 5px;
}

body.dark-mode .new-section {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
}

/* New Section Below the Line */
.new-section-below {
    width: 100%;
    background-color: #262626;
}

/* New Black Section Below the Red Section */
.new-black-section {
    width: 100%;
    height: 52px;
    background-color: var(--color-bg-light); /* Use variable for background color */
}

body.dark-mode .new-black-section {
    background-color: #1f1f1f; /* Use variable for background color */
}

/* New Black Section Below the Red Section */
.new-black-sectionn {
    width: 100%;
    height: 52px;
    margin: 20px 0; /* Add margin to create spacing */
    background-color: var(--color-bg-light); /* Use variable for background color */
    margin-bottom: 0;
}

body.dark-mode .new-black-sectionn {
    background-color: #1f1f1f; /* Use variable for background color */
}

/* Product Carousel */
.product-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0; /* Remove padding to bring products closer to the top */
    transition: background-color var(--transition);
}

body.dark-mode .product-carousel {
    background-color: var(--color-bg-dark);
}

.product-carousel .product-container {
    display: flex;
    justify-content: center; /* Center the products horizontally */
    flex-wrap: nowrap; /* Ensure items are in a single line */
    overflow: hidden; /* Hide overflow */
    gap: 10px; /* Increase spacing between products */
    height: auto; /* Ensure the container takes full height */
}

body.fa .product-container {
    flex-direction: row-reverse;
}

.product-carousel .product-card {
    width: 350px; /* Set width to match image width */
    height: auto; /* Adjust height to fit content */
    margin: 0 5px;
    background-color: #1c1c21;
    color: #b8b8e0;
    border-radius: 5px;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--color-dark);
    flex: 0 0 280px; /* Ensure fixed width */
    text-align: center; /* Center the text */
    display: none; /* Hide by default */
    flex-direction: column;
    justify-content: flex-start; /* Align content to the top */
}

body.dark-mode .product-carousel .product-card {
    background-color: var(--color-dark);
    color: var(--color-light);
}

.product-carousel .product-card img {
    width: 280px; /* Set width to 350 pixels */
    height: 280px; /* Set height to 350 pixels */
    display: block;
    margin: 0 auto; /* Center the image */
}

.product-carousel .product-card h3 {
    font-size: var(--font-size-large);
    margin: 10px 0;
}

.product-carousel .product-card p {
    font-size: var(--font-size-base);
    padding: 8px 10px;
}

.product-carousel .product-card .product-price {
    color: #b7c1cb; /* Set color of the product price */
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-carousel .product-card .product-price .price {
    margin-right: 5px; /* Add some space between the text and the price */
}

.product-carousel .product-card:hover {
    /* transform: scale(1.05); */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.product-carousel .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: var(--color-light);
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.product-carousel .carousel-btn:hover {
    background-color: transparent;
    transform: scale(1.2);
    box-shadow: none;
}

body.dark-mode .product-carousel .carousel-btn {
    background-color: transparent;
}

body.dark-mode .product-carousel .carousel-btn:hover {
    background-color: transparent;
    box-shadow: none;
}

.product-carousel #prev-page-btn {
    left: 130px; /* Move closer to the content */
    animation: prevBtnAnimation 1s infinite alternate;
}

.product-carousel #next-page-btn {
    right: 130px; /* Move closer to the content */
    animation: nextBtnAnimation 1s infinite alternate;
}

/* New Product Carousel Section Below the Last Black Line */
.new-product-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0; /* Remove padding to bring products closer to the top */
    transition: background-color var(--transition);
}

body.dark-mode .new-product-carousel {
    background-color: var(--color-bg-dark);
}

.new-product-carousel .product-container {
    display: flex;
    justify-content: center; /* Center the products horizontally */
    flex-wrap: nowrap; /* Ensure items are in a single line */
    overflow: hidden; /* Hide overflow */
    gap: 10px; /* Increase spacing between products */
    height: auto; /* Ensure the container takes full height */
}

body.fa .new-product-container {
    flex-direction: row-reverse;
}

.new-product-carousel .product-card {
    width: 350px; /* Set width to match image width */
    height: auto; /* Adjust height to fit content */
    margin: 0 5px;
    background-color: #1c1c21;
    color: #b8b8e0;
    border-radius: 5px;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--color-dark);
    flex: 0 0 280px; /* Ensure fixed width */
    text-align: center; /* Center the text */
    display: none; /* Hide by default */
    flex-direction: column;
    justify-content: flex-start; /* Align content to the top */
}

body.dark-mode .new-product-carousel .product-card {
    background-color: var(--color-dark);
    color: var(--color-light);
}

.new-product-carousel .product-card img {
    width: 280px; /* Set width to 280 pixels */
    height: 280px; /* Set height to 280 pixels */
    display: block;
    margin: 0 auto; /* Center the image */
}

.new-product-carousel .product-card h3 {
    font-size: var(--font-size-large);
    margin: 10px 0;
}

.new-product-carousel .product-card p {
    font-size: var(--font-size-base);
    padding: 8px 10px;
}

.new-product-carousel .product-card .product-price {
    color: #b7c1cb; /* Set color of the product price */
    display: flex;
    justify-content: center;
    align-items: center;
}

.new-product-carousel .product-card .product-price .price {
    margin-right: 5px; /* Add some space between the text and the price */
}

.new-product-carousel .product-card:hover {
    /* transform: scale(1.05); */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.new-product-carousel .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: var(--color-light);
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.new-product-carousel .carousel-btn:hover {
    background-color: transparent;
    transform: scale(1.2);
    box-shadow: none;
}

body.dark-mode .new-product-carousel .carousel-btn {
    background-color: transparent;
}

body.dark-mode .new-product-carousel .carousel-btn:hover {
    background-color: transparent;
    box-shadow: none;
}

.new-product-carousel #prev-new-page-btn {
    left: 130px;
    animation: prevBtnAnimation 1s infinite alternate;
}

.new-product-carousel #next-new-page-btn {
    right: 38px; 
    animation: nextBtnAnimation 1s infinite alternate;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-carousel #prev-page-btn,
    .new-product-carousel #prev-new-page-btn {
        left: 100px; /* Adjust for smaller screens */
    }

    .product-carousel #next-page-btn,
    .new-product-carousel #next-new-page-btn {
        right: 100px; /* Adjust for smaller screens */
    }
}

@media (max-width: 768px) {
    .product-carousel #prev-page-btn,
    .new-product-carousel #prev-new-page-btn {
        left: 70px; /* Adjust for tablets */
    }

    .product-carousel #next-page-btn,
    .new-product-carousel #next-new-page-btn {
        right: 70px; /* Adjust for tablets */
    }
}

@media (max-width: 480px) {
    .product-carousel #prev-page-btn,
    .new-product-carousel #prev-new-page-btn {
        left: 40px; /* Adjust for mobile devices */
    }

    .product-carousel #next-page-btn,
    .new-product-carousel #next-new-page-btn {
        right: 40px; /* Adjust for mobile devices */
    }
}

/* Responsive Design */
@media (max-width: 600px) {
    .product-carousel .product-card,
    .new-product-carousel .product-card {
        flex: 0 0 48%; /* Adjust width for two products per row */
        width: 48%; /* Ensure full width */
        margin: 0 1%; /* Add margin between products */
    }

    .product-carousel .product-card img,
    .new-product-carousel .product-card img {
        width: 100%; /* Ensure image takes full width */
        height: auto; /* Adjust height to maintain aspect ratio */
    }

    .product-carousel .product-card h3,
    .new-product-carousel .product-card h3 {
        font-size: var(--font-size-small); /* Reduce font size */
    }

    .product-carousel .product-card p,
    .new-product-carousel .product-card p {
        font-size: var(--font-size-small); /* Reduce font size */
    }

    .product-carousel .product-card .product-price,
    .new-product-carousel .product-card .product-price {
        font-size: var(--font-size-small); /* Reduce font size */
    }
}

/* Responsive Design */
@media (max-width: 600px) {
    .product-carousel .product-card,
    .new-product-carousel .product-card {
        flex: 0 0 48%; /* Adjust width for two products per row */
        width: 48%; /* Ensure full width */
        margin: 0 1%; /* Add margin between products */
        box-sizing: border-box; /* Ensure padding and border are included in the element's total width and height */
    }

    .product-carousel .product-card img,
    .new-product-carousel .product-card img {
        width: 100%; /* Ensure image takes full width */
        height: auto; /* Adjust height to maintain aspect ratio */
        object-fit: cover; /* Ensure image covers the container without distortion */
        display: block;
        margin: 0 auto; /* Center the image */
    }

    .product-carousel .product-card h3,
    .new-product-carousel .product-card h3,
    .product-carousel .product-card p,
    .new-product-carousel .product-card p,
    .product-carousel .product-card .product-price,
    .new-product-carousel .product-card .product-price {
        font-size: var(--font-size-small); /* Reduce font size */
        margin: 10px 0; /* Ensure consistent margin */
    }
}

/* Ensure consistent size for product cards, images, text, and prices */
.product-carousel .product-card,
.new-product-carousel .product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    /* padding: 10px; */
    box-sizing: border-box;
}

.product-carousel .product-card img,
.new-product-carousel .product-card img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensure image covers the container without distortion */
    display: block;
    margin: 0 auto; /* Center the image */
}

.product-carousel .product-card h3,
.new-product-carousel .product-card h3,
.product-carousel .product-card p,
.new-product-carousel .product-card p,
.product-carousel .product-card .product-price,
.new-product-carousel .product-card .product-price {
    margin: 10px 0;
}

/* Add styles for the new text */
.category-title {
    text-align: center; 
    font-size: var(--font-size-xlarge);
    color: #b8b8e0;
    margin-bottom: 20px; /* Add margin to separate from buttons */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.category-title .line {
    flex: 1;
    /* height: 3px; */
    background-color: #b8b8e0;
    margin: 0 10px;
}

/* Add styles for the new text */
.category-title {
    text-align: center;
    font-size: var(--font-size-xlarge);
    color: #b8b8e0;
    margin-bottom: 20px; /* Add margin to separate from buttons */
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-title .line {
    flex: 1;
    /* height: 3px; */
    background-color: #b8b8e0;
    margin: 0 10px;
}

body.dark-mode .category-title {
    color: var(--color-secondary);
}

body.dark-mode .category-title .line {
    background-color: var(--color-secondary);
}

/* New Black Line Below Product Categories */
.new-black-line {
    width: 100%;
    height: 52px;
    background-color: var(--color-bg-light); /* Use variable for background color */
    margin: 20px 0; /* Add margin to create spacing */
    text-align: center;
    color: var (--color-dark);
    margin-bottom: 0px;
}

body.dark-mode .new-black-line {
    background-color: #1f1f1f; /* Use variable for background color */
}

/* Styles for images between the black lines */
.images-between-lines {
    display: flex;
    justify-content: center; /* Center the images horizontally */
    align-items: center;
    gap: 25px; /* Add gap between images */
    margin: 0 10px; /* Add margin to the left and right */
}

.images-between-lines img {
    width: 385px; /* Set width to 385px */
    height: 171px; /* Set height to 171px */
    object-fit: cover;
    border-radius: 10px;
    margin: 0;
    text-align: center;
}

@media (max-width: 1300px) {
    .images-between-lines {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 10px;
        justify-items: center; 
    }

    .images-between-lines img:first-child {
        grid-column: 1 / -1;
        width: 100%; /* Full width for the first image */
        max-width: 400px; /* Max width for the first image */
    }

    .images-between-lines img:nth-child(2),
    .images-between-lines img:nth-child(3) {
        width: calc(100% - 2px); /* Increase the width of the smaller images */
        height: auto; /* Maintain aspect ratio */
    }
}

/* New Product Carousel Section Below the Last Black Line */
.new-product-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0; /* Remove padding to bring products closer to the top */
    transition: background-color var(--transition);
}

body.dark-mode .new-product-carousel {
    background-color: var(--color-bg-dark);
}

.new-product-carousel .product-container {
    display: flex;
    justify-content: center; /* Center the products horizontally */
    flex-wrap: nowrap; /* Ensure items are in a single line */
    overflow: hidden; /* Hide overflow */
    gap: 10px; /* Increase spacing between products */
    height: auto; /* Ensure the container takes full height */
}

body.fa .new-product-container {
    flex-direction: row-reverse;
}

.new-product-carousel .product-card {
    width: 350px; /* Set width to match image width */
    height: auto; /* Adjust height to fit content */
    margin: 0 5px;
    background-color: #1c1c21;
    color: #b8b8e0;
    border-radius: 5px;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--color-dark);
    flex: 0 0 280px; /* Ensure fixed width */
    text-align: center; /* Center the text */
    display: none; /* Hide by default */
    flex-direction: column;
    justify-content: flex-start; /* Align content to the top */
}

body.dark-mode .new-product-carousel .product-card {
    background-color: var(--color-dark);
    color: var(--color-light);
}

.new-product-carousel .product-card img {
    width: 280px; /* Set width to 280 pixels */
    height: 280px; /* Set height to 280 pixels */
    display: block;
    margin: 0 auto; /* Center the image */
}

.new-product-carousel .product-card h3 {
    font-size: var(--font-size-large);
    margin: 10px 0;
}

.new-product-carousel .product-card p {
    font-size: var(--font-size-base);
    padding: 8px 10px;
}

.new-product-carousel .product-card .product-price {
    color: #b7c1cb; /* Set color of the product price */
    display: flex;
    justify-content: center;
    align-items: center;
}

.new-product-carousel .product-card .product-price .price {
    margin-right: 5px; /* Add some space between the text and the price */
}

.new-product-carousel .product-card:hover {
    /* transform: scale(1.05); */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.new-product-carousel .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: var(--color-light);
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.new-product-carousel .carousel-btn:hover {
    background-color: transparent;
    transform: scale(1.2);
    box-shadow: none;
}

body.dark-mode .new-product-carousel .carousel-btn {
    background-color: transparent;
}

body.dark-mode .new-product-carousel .carousel-btn:hover {
    background-color: transparent;
    box-shadow: none;
}

.new-product-carousel #prev-new-page-btn {
    left: 130px;
    animation: prevBtnAnimation 1s infinite alternate;
}

.new-product-carousel #next-new-page-btn {
    right: 130px; /* Move closer to the content */
    animation: nextBtnAnimation 1s infinite alternate;
}

/* Another New Product Carousel Section */
.another-new-product-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0; /* Remove padding to bring products closer to the top */
    transition: background-color var(--transition);
}

body.dark-mode .another-new-product-carousel {
    background-color: var(--color-bg-dark);
}

.another-new-product-carousel .product-container {
    display: flex;
    justify-content: center; /* Center the products horizontally */
    flex-wrap: nowrap; /* Ensure items are in a single line */
    overflow: hidden; /* Hide overflow */
    gap: 10px; /* Increase spacing between products */
    height: auto; /* Ensure the container takes full height */
}

body.fa .another-new-product-container {
    flex-direction: row-reverse;
}

.another-new-product-carousel .product-card {
    width: 350px; /* Set width to match image width */
    height: auto; /* Adjust height to fit content */
    margin: 0 5px;
    background-color: #1c1c21;
    color: #b8b8e0;
    border-radius: 5px;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--color-dark);
    flex: 0 0 280px; /* Ensure fixed width */
    text-align: center; /* Center the text */
    display: none; /* Hide by default */
    flex-direction: column;
    justify-content: flex-start; /* Align content to the top */
}

body.dark-mode .another-new-product-carousel .product-card {
    background-color: var(--color-dark);
    color: var(--color-light);
}

.another-new-product-carousel .product-card img {
    width: 280px; /* Set width to 280 pixels */
    height: 280px; /* Set height to 280 pixels */
    display: block;
    margin: 0 auto; /* Center the image */
}

.another-new-product-carousel .product-card h3 {
    font-size: var(--font-size-large);
    margin: 10px 0;
}

.another-new-product-carousel .product-card p {
    font-size: var(--font-size-base);
    padding: 8px 10px;
}

.another-new-product-carousel .product-card .product-price {
    color: #b7c1cb; /* Set color of the product price */
    display: flex;
    justify-content: center;
    align-items: center;
}

.another-new-product-carousel .product-card .product-price .price {
    margin-right: 5px; /* Add some space between the text and the price */
}

.another-new-product-carousel .product-card:hover {
    /* transform: scale(1.05); */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.another-new-product-carousel .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: var(--color-light);
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.another-new-product-carousel .carousel-btn:hover {
    background-color: transparent;
    transform: scale(1.2);
    box-shadow: none;
}

body.dark-mode .another-new-product-carousel .carousel-btn {
    background-color: transparent;
}

body.dark-mode .another-new-product-carousel .carousel-btn:hover {
    background-color: transparent;
    box-shadow: none;
}

.another-new-product-carousel #prev-another-new-page-btn {
    left: 130px; /* Move closer to the content */
    animation: prevBtnAnimation 1s infinite alternate;
}

.another-new-product-carousel #next-another-new-page-btn {
    right: 130px; /* Move closer to the content */
    animation: nextBtnAnimation 1s infinite alternate;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .another-new-product-carousel #prev-another-new-page-btn {
        left: 100px; /* Adjust for smaller screens */
    }

    .another-new-product-carousel #next-another-new-page-btn {
        right: 100px; /* Adjust for smaller screens */
    }
}

@media (max-width: 768px) {
    .another-new-product-carousel #prev-another-new-page-btn {
        left: 70px; /* Adjust for tablets */
    }

    .another-new-product-carousel #next-another-new-page-btn {
        right: 70px; /* Adjust for tablets */
    }
}

@media (max-width: 480px) {
    .another-new-product-carousel #prev-another-new-page-btn {
        left: 40px; /* Adjust for mobile devices */
    }

    .another-new-product-carousel #next-another-new-page-btn {
        right: 40px; /* Adjust for mobile devices */
    }
}

/* Responsive Design */
@media (max-width: 600px) {
    .another-new-product-carousel .product-card {
        flex: 0 0 48%; /* Adjust width for two products per row */
        width: 48%; /* Ensure full width */
        margin: 0 1%; /* Add margin between products */
    }

    .another-new-product-carousel .product-card img {
        width: 100%; /* Ensure image takes full width */
        height: auto; /* Adjust height to maintain aspect ratio */
    }

    .another-new-product-carousel .product-card h3 {
        font-size: var(--font-size-small); /* Reduce font size */
    }

    .another-new-product-carousel .product-card p {
        font-size: var(--font-size-small); /* Reduce font size */
    }

    .another-new-product-carousel .product-card .product-price {
        font-size: var(--font-size-small); /* Reduce font size */
    }
}

/* Responsive Design */
@media (max-width: 600px) {
    .another-new-product-carousel .product-card {
        flex: 0 0 48%; /* Adjust width for two products per row */
        width: 48%; /* Ensure full width */
        margin: 0 1%; /* Add margin between products */
        box-sizing: border-box; /* Ensure padding and border are included in the element's total width and height */
    }

    .another-new-product-carousel .product-card img {
        width: 100%; /* Ensure image takes full width */
        height: auto; /* Adjust height to maintain aspect ratio */
        object-fit: cover; /* Ensure image covers the container without distortion */
        display: block;
        margin: 0 auto; /* Center the image */
    }

    .another-new-product-carousel .product-card h3,
    .another-new-product-carousel .product-card p,
    .another-new-product-carousel .product-card .product-price {
        font-size: var(--font-size-small); /* Reduce font size */
        margin: 10px 0; /* Ensure consistent margin */
    }
}

/* Ensure consistent size for product cards, images, text, and prices */
.another-new-product-carousel .product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    /* padding: 10px; */
    box-sizing: border-box;
}

.another-new-product-carousel .product-card img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensure image covers the container without distortion */
    display: block;
    margin: 0 auto; /* Center the image */
}

.another-new-product-carousel .product-card h3,
.another-new-product-carousel .product-card p,
.another-new-product-carousel .product-card .product-price {
    margin: 10px 0;
}

/* Fixed Product Carousel Section */
.fixed-product-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0; /* Remove padding to bring products closer to the top */
    transition: background-color var(--transition);
}

body.dark-mode .fixed-product-carousel {
    background-color: var(--color-bg-dark);
}

.fixed-product-carousel .product-container {
    display: flex;
    justify-content: center; /* Center the products horizontally */
    flex-wrap: nowrap; /* Ensure items are in a single line */
    overflow: hidden; /* Hide overflow */
    gap: 10px; /* Increase spacing between products */
    height: auto; /* Ensure the container takes full height */
}

body.fa .fixed-product-container {
    flex-direction: row-reverse;
}

.fixed-product-carousel .product-card {
    width: 350px; /* Set width to match image width */
    height: auto; /* Adjust height to fit content */
    margin: 0 5px;
    background-color: #1c1c21;
    color: #b8b8e0;
    border-radius: 5px;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--color-dark);
    flex: 0 0 280px; /* Ensure fixed width */
    text-align: center; /* Center the text */
    display: none; /* Hide by default */
    flex-direction: column;
    justify-content: flex-start; /* Align content to the top */
}

body.dark-mode .fixed-product-carousel .product-card {
    background-color: var(--color-dark);
    color: var(--color-light);
}

.fixed-product-carousel .product-card img {
    width: 280px; /* Set width to 280 pixels */
    height: 280px; /* Set height to 280 pixels */
    display: block;
    margin: 0 auto; /* Center the image */
}

.fixed-product-carousel .product-card h3 {
    font-size: var(--font-size-large);
    margin: 10px 0;
}

.fixed-product-carousel .product-card p {
    font-size: var(--font-size-base);
    padding: 8px 10px;
}

.fixed-product-carousel .product-card .product-price {
    color: #b7c1cb; /* Set color of the product price */
    display: flex;
    justify-content: center;
    align-items: center;
}

.fixed-product-carousel .product-card .product-price .price {
    margin-right: 5px; /* Add some space between the text and the price */
}

.fixed-product-carousel .product-card:hover {
    /* transform: scale(1.05); */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 600px) {
    .fixed-product-carousel .product-card {
        flex: 0 0 48%; /* Adjust width for two products per row */
        width: 48%; /* Ensure full width */
        margin: 0 1%; /* Add margin between products */
    }

    .fixed-product-carousel .product-card img {
        width: 100%; /* Ensure image takes full width */
        height: auto; /* Adjust height to maintain aspect ratio */
    }

    .fixed-product-carousel .product-card h3 {
        font-size: var(--font-size-small); /* Reduce font size */
    }

    .fixed-product-carousel .product-card p {
        font-size: var(--font-size-small); /* Reduce font size */
    }

    .fixed-product-carousel .product-card .product-price {
        font-size: var(--font-size-small); /* Reduce font size */
    }
}

/* Ensure consistent size for product cards, images, text, and prices */
.fixed-product-carousel .product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    /* padding: 10px; */
    box-sizing: border-box;
}

.fixed-product-carousel .product-card img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensure image covers the container without distortion */
    display: block;
    margin: 0 auto; /* Center the image */
}

.fixed-product-carousel .product-card h3,
.fixed-product-carousel .product-card p,
.fixed-product-carousel .product-card .product-price {
    margin: 10px 0;
}

/* Second Fixed Product Carousel Section */
.second-fixed-product-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0; /* Remove padding to bring products closer to the top */
    transition: background-color var(--transition);
}

body.dark-mode .second-fixed-product-carousel {
    background-color: var(--color-bg-dark);
}

.second-fixed-product-carousel .product-container {
    display: flex;
    justify-content: center; /* Center the products horizontally */
    flex-wrap: wrap; /* Allow wrapping to create space between rows */
    overflow: hidden; /* Hide overflow */
    gap: 10px; /* Increase spacing between products */
    height: auto; /* Ensure the container takes full height */
}

body.fa .second-fixed-product-container {
    flex-direction: row-reverse;
}

.second-fixed-product-carousel .product-card {
    width: 350px; /* Set width to match image width */
    height: auto; /* Adjust height to fit content */
    margin: 0 5px;
    background-color: #1c1c21;
    color: #b8b8e0;
    border-radius: 5px;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--color-dark);
    flex: 0 0 280px; /* Ensure fixed width */
    text-align: center; /* Center the text */
    display: none; /* Hide by default */
    flex-direction: column;
    justify-content: flex-start; /* Align content to the top */
}

body.dark-mode .second-fixed-product-carousel .product-card {
    background-color: var(--color-dark);
    color: var (--color-light);
}

.second-fixed-product-carousel .product-card img {
    width: 280px; /* Set width to 280 pixels */
    height: 280px; /* Set height to 280 pixels */
    display: block;
    margin: 0 auto; /* Center the image */
}

.second-fixed-product-carousel .product-card h3 {
    font-size: var(--font-size-large);
    margin: 10px 0;
}

.second-fixed-product-carousel .product-card p {
    font-size: var(--font-size-base);
    padding: 8px 10px;
}

.second-fixed-product-carousel .product-card .product-price {
    color: #b7c1cb; /* Set color of the product price */
    display: flex;
    justify-content: center;
    align-items: center;
}

.second-fixed-product-carousel .product-card .product-price .price {
    margin-right: 5px; /* Add some space between the text and the price */
}

.second-fixed-product-carousel .product-card:hover {
    /* transform: scale(1.05); */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Center and stack every four products */
.second-fixed-product-carousel .product-container {
    justify-content: center; /* Center the products horizontally */
}

.second-fixed-product-carousel .product-card:nth-child(1),
.second-fixed-product-carousel .product-card:nth-child(2),
.second-fixed-product-carousel .product-card:nth-child(3),
.second-fixed-product-carousel .product-card:nth-child(4) {
    display: flex;
    /* justify-content: center; */
    margin-top: 20px;
}

.second-fixed-product-carousel .product-card:nth-child(5),
.second-fixed-product-carousel .product-card:nth-child(6),
.second-fixed-product-carousel .product-card:nth-child(7),
.second-fixed-product-carousel .product-card:nth-child(8) {
    display: flex;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 600px) {
    .second-fixed-product-carousel .product-card {
        flex: 0 0 90%; /* Adjust width for two products per row */
        width: 48%; /* Ensure full width */
        margin: 0 1%; /* Add margin between products */
    }

    .second-fixed-product-carousel .product-card img {
        width: 100%; /* Ensure image takes full width */
        height: auto; /* Adjust height to maintain aspect ratio */
    }

    .second-fixed-product-carousel .product-card h3 {
        font-size: var(--font-size-small); /* Reduce font size */
    }

    .second-fixed-product-carousel .product-card p {
        font-size: var(--font-size-small); /* Reduce font size */
    }

    .second-fixed-product-carousel .product-card .product-price {
        font-size: var(--font-size-small); /* Reduce font size */
    }
}

/* Ensure consistent size for product cards, images, text, and prices */
.second-fixed-product-carousel .product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    /* padding: 10px; */
    box-sizing: border-box;
}

.second-fixed-product-carousel .product-card img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensure image covers the container without distortion */
    display: block;
    margin: 0 auto; /* Center the image */
}

.second-fixed-product-carousel .product-card h3,
.second-fixed-product-carousel .product-card p,
.second-fixed-product-carousel .product-card .product-price {
    margin: 10px 0;
}

/* Template Section */
.template-section {
    width: 100%;
    background-color: ver(--color-bg-light);
    padding: 20px 0;
    text-align: center;
    margin-top: 20px;
}

body.dark-mode .template-section {
    background-color: #1f1f1f; /* Dark theme background color */
}

/* FAQ Section */
.faq-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 10px;
    padding: 20px;
    
}

.faq-item {
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    background-color: #1c1c21;
    color: #acacd2;
    padding: 10px;
    text-align: left;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: none;
    border: 1px solid #cccccc26;
    border-radius: 5px;
}

.faq-icon {
    font-size: 1.5rem;
    background-color: #262626;
    color: #ffffff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, color 0.3s;
}

.faq-icon:hover {
    background-color: #661921;
    color: #fff;
}

.faq-answer {
    display: none;
    padding: 18px 10px 10px 10px; 
    align-items: center;
    justify-content: center;
    text-align: center; 
    direction: ltr; 
    background-color: #1f1f1f;
    color: #afafd6;
    border: 1px solid #cccccc26;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: none;
    display: flex;
    flex-direction: column; 
}


.faq-question, .faq-answer {
    min-height: 64px;
    box-sizing: border-box;
}

.faq-question:hover, .faq-answer:hover {
    transform: none;
}

body.fa .faq-question, body.fa .faq-answer {
    direction: rtl;
    text-align: right; 
}

/* FAQ Section */
.faq-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 10px;
    padding: 20px;
}

.faq-item {
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    background-color: #1c1c21;
    color: #acacd2;
    padding: 10px;
    text-align: left;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: none;
    border: 1px solid #cccccc26;
    border-radius: 5px;
}

.faq-icon {
    font-size: 1.5rem;
    background-color: #ff8a9a;
    color: #ffffff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, color 0.3s;
}

.faq-icon:hover {
    background-color: #20afff;
    color: #fff;
}

.faq-answer {
    display: none;
    padding-left: 10px; 
    padding-right: 10px; 
    align-items: center;
    transition: none;
    background-color: #1f1f1f;
    color: #afafd6;
    border: 1px solid #cccccc26;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left; 
    direction: ltr; 
}

.faq-question, .faq-answer {
    min-height: 64px;
    box-sizing: border-box;
}

.faq-question:hover, .faq-answer:hover {
    transform: none;
}

body.fa .faq-question, body.fa .faq-answer {
    direction: rtl;
    text-align: right; 
}

body:not(.dark-mode) .faq-question, body:not(.dark-mode) .faq-answer {
    background-color: #f9f9f9f3;
    color: #32325a;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none; /* Hidden by default for larger screens */
    position: fixed;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 1000;
}

.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #000;
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Overlay Menu */
.overlay-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Initially hidden off-screen */
    width: 100%; /* Cover the entire screen */
    height: 100%;
    background-color: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    transition: right 0.3s ease-in-out;
}

.overlay-menu.active {
    right: 0; /* Slide-in effect */
}

.overlay-menu a {
    padding: 15px 20px;
    text-align: center;
    width: 100%;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
    padding-left: 0;
    padding-right: 0;
    background: #f2f2f2;

}

.overlay-menu a:hover {
    color: var(--color-primary-hover);
}

/* Center text of buttons */
.auth-buttons,
.menu-buttons {
    text-align: center;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.auth-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    /* gap: 10px;  */
    margin-bottom: 5px; /* Add margin to separate from menu buttons */
    margin-top: 75px;
}

.separator {
    margin: 0 5px; /* Adjust this value to move the separator closer to the buttons */
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }

    .nav-links {
        display: none; /* Hide navigation links */
    }
}

/* ...existing code... */

@media (max-width: 1200px) {
    .nav-links,
    .new-buttons {
        display: none; /* Hide navigation links and buttons */
    }

    .hamburger-menu {
        display: block; /* Show hamburger menu */
    }

    .search-container {
        margin-top: 0; /* Adjust margin for search container */
    }

    .logo-container {
        right: 20px; /* Adjust logo position */
    }
}

/* ...existing code... */

/* Responsive Design */
@media (max-width: 1202px) {
    .bottom-nav {
        width: 100%; /* Ensure full width */
        height: 80px;
        background-color: var(--color-bg-light); /* Updated background color */
        color: var(--color-dark);
        padding: 10px 0;
        text-align: center;
        position: fixed;
        background-image: none;
        z-index: 100;
    }
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%; /* Ensure full width */
        text-align: center;
        position: fixed;
        top: 5%;
        left: 49%;
        transform: translate(-50%, -50%);

    }
    .logo-container {
        position: absolute;
        right: 100px;
        top: 25%;
        transform: translateY(-50%);
    }
    .faq-section {
        padding-left: 0;
        padding-right: 0;
    }
    .product-gallery {
        width: 100%; /* Full width for both sections */
        padding: 90px 10px 0 10px; /* Reduce padding */
    }

    .product-info {
        width: 100%; /* Full width for both sections */
        padding: 0px 10px; /* Reduce padding */
    }
}

@media (max-width: 768px) {
    .bottom-nav {
        width: 100%; /* Ensure full width */
        height: 80px;
        background-color: var(--color-bg-light); /* Updated background color */
        color: var(--color-dark);
        padding: 10px 0;
        text-align: center;
        position: fixed;
        background-image: none;
        z-index: 100;
        
    }
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%; /* Ensure full width */
        text-align: center;
        position: absolute;
        top: 70%;
        left: 49%;
        transform: translate(-50%, -50%);
    }
    .logo-container {
        position: absolute;
        right: 100px;
        top: 25%;
        transform: translateY(-50%);
    }
    .faq-section {
        padding-left: 0;
        padding-right: 0;
    }
}
@media (max-width: 600px) {
    .second-fixed-product-carousel .product-card p {
        font-size: var(--font-size-base);
        padding: 20px 10px;
    }
    .second-fixed-product-carousel .product-card h3 {
        padding-top: 6px;
    }
}

@media (max-width: 480px) {
    .bottom-nav {
        width: 100%; /* Ensure full width */
        height: 80px;
        background-color: var (--color-bg-light); /* Updated background color */
        color: var(--color-dark);
        padding: 10px 0;
        text-align: center;
        position: fixed;
        background-image: none;
        padding-top: 0;
        padding-bottom: 0;

        /* position: fixed; */
        top: 0;
        left: 0;
        width: 100%; 
        z-index: 100; 
        background-color: #fff; 
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);  
    }
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%; /* Ensure full width */
        text-align: center;
        position: absolute;
        top: 70%;
        left: 49%;
        transform: translate(-50%, -50%);
    }
    .logo-container {
        position: absolute;
        right: 50px;
        top: 40%;
        transform: translateY(-50%);
    }
    .logo {
        width: 35px;
        height: 55px;
    }
    .hamburger-menu {
        top: 10px;
    }
    .faq-section {
        padding-left: 0;
        padding-right: 0;
    }
    .search-input {
        width: 40%;
        height: 40%;
    }
    .second-fixed-product-carousel .product-card p {
        font-size: var(--font-size-base);
        padding: 20px 10px;
    }
    .second-fixed-product-carousel .product-card h3 {
        padding-top: 6px;
    }
}

/* Responsive Design for Cake Category */
@media (max-width: 480px) {
    .new-product-carousel .product-card {
        flex: 0 0 48%; /* Adjust width for two products per row */
        width: 48%; /* Ensure full width */
        margin: 0 1%; /* Add margin between products */
        box-sizing: border-box; /* Ensure padding and border are included in the element's total width and height */
    }

    .new-product-carousel .product-card img {
        width: 100%; /* Ensure image takes full width */
        height: auto; /* Adjust height to maintain aspect ratio */
        object-fit: cover; /* Ensure image covers the container without distortion */
        display: block;
        margin: 0 auto; /* Center the image */
    }

    .new-product-carousel .product-card h3,
    .new-product-carousel .product-card p,
    .new-product-carousel .product-card .product-price {
        font-size: var(--font-size-small); /* Reduce font size */
        margin: 10px 0; /* Ensure consistent margin */
    }

  
    .new-product-carousel #prev-new-page-btn {
        left: 38px;
        animation: prevBtnAnimation 1s infinite alternate;
    }
    
    .new-product-carousel #next-new-page-btn {
        right: 38px; 
        animation: nextBtnAnimation 1s infinite alternate;
    }
    .second-fixed-product-carousel .product-card p {
        font-size: var(--font-size-base);
        padding: 20px 10px;
    }
    .second-fixed-product-carousel .product-card h3 {
        padding-top: 6px;
    }
    .top-tilte {
        margin-top: 100px;
    }
}

/* Ensure consistent size for product cards, images, text, and prices */
.new-product-carousel .product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

.new-product-carousel .product-card img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensure image covers the container without distortion */
    display: block;
    margin: 0 auto; /* Center the image */
}

.new-product-carousel .product-card h3,
.new-product-carousel .product-card p,
.new-product-carousel .product-card .product-price {
    margin: 10px 0;
}

/* Prevent horizontal scroll on all screen sizes */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Ensure all elements fit within the viewport */
* {
    box-sizing: border-box;
}

/* Restrict large elements from causing horizontal scroll */
.container, .wrapper, .content {
    max-width: 100%;
    overflow: hidden;
}

/* Prevent elements from extending beyond the screen width */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Login Page Styles */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: var(--color-bg-light);
}

body.dark-mode .login-container {
    background-color: var(--color-bg-dark);
}

.login-form {
    background-color: #fff;
    padding: 0 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 400px;
    position: relative;
}

body.dark-mode .login-form {
    background-color: #333;
    color: var(--color-light);
}

.login-form h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

body.dark-mode .login-form h2 {
    color: var(--color-light);
}

.login-form input {
    width: 100%;
    padding: 15px 10px; /* Double the height */
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

body.dark-mode .login-form input {
    background-color: #444;
    color: var(--color-light);
    border: 1px solid #555;
}

.login-form button {
    width: 100%;
    padding: 13px; /* Double the height */
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-form button:hover {
    background-color: var(--color-primary-hover);
}

body.dark-mode .login-form button {
    background-color: var(--color-secondary);
}

body.dark-mode .login-form button:hover {
    background-color: var(--color-secondary-hover);
}

.auth-links a {
    margin: 0 10px;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 16px;
}

body.dark-mode .auth-links a {
    color: var(--color-secondary);
}

.auth-links a:hover {
    text-decoration: underline;
}

.login-form h2 {
    margin-bottom: 10px;
    font-size: 24px;
    color: #333;
    font-weight: bold;
}

.input-instruction {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 18px;
    color: #666;
}

body.dark-mode .input-instruction {
    color: var(--color-light);
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #aaa;
}

.close-btn:hover {
    color: #000;
}

/* ...existing code...*/

.product-card a {
    color: inherit; /* Ensure the link inherits the color of its parent */
    text-decoration: none; /* Remove underline from the link */
}

/* ...existing code...*/

.container {
    display: flex;
    justify-content: center;
    /* padding: 50px 0; */
}

.product-page {
    background: white;
    padding: 20px;
    max-width: 1100px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row-reverse; /* Change to row-reverse to place image on the right */
    gap: 40px;
}

body.dark-mode .product-page {
    background-color: #444a53; /* Change product page background color in dark mode */
}

.product-info {
    flex: 1;
    padding: 20px;
}

.breadcrumb {
    font-size: 14px;
    color: #090926b7;
    margin-bottom: 10px;
}

.product-title {
    font-size: 28px;
    color: #32325d;
    margin-bottom: 10px;
}

.product-price {
    color: var(--color-primary-hover);
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.add-to-cart {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color var(--transition), transform var(--transition);
}

.add-to-cart:hover {
    background: var(--color-primary-hover);
}

.product-description {
    font-size: 16px;
    color: #0c0a50;
    margin-top: 15px;
}

.product-gallery {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.thumbnail-container img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s;
}

.thumbnail-container img:hover {
    transform: scale(1.1);
}

/* Responsive Design for Tablets (iPad) */
@media (max-width: 768px) {
    .product-page {
        flex-direction: column; /* Stack elements vertically */
        align-items: center; /* Center align elements */
        padding: 10px; /* Reduce padding */
    }

    .product-gallery {
        width: 100%; /* Full width for both sections */
        padding: 90px 10px 0 10px; /* Reduce padding */
    }

    .product-info {
        width: 100%; /* Full width for both sections */
        padding: 0px 10px; /* Reduce padding */
    }

    .main-image img {
        max-width: 100%; /* Ensure image takes full width */
    }

    .thumbnail-container {
        justify-content: center; /* Center thumbnails */
    }

    .thumbnail-container img {
        width: 60px; /* Reduce thumbnail size */
        height: 60px; /* Reduce thumbnail size */
    }

    .breadcrumb, .product-title, .product-price, .add-to-cart, .product-description {
        text-align: center; /* Center align text */
    } 
}

/* Responsive Design for Mobile Devices */
@media (max-width: 480px) {
    .product-page {
        flex-direction: column; /* Stack elements vertically */
        align-items: center; /* Center align elements */
        padding: 10px; /* Reduce padding */
    }

    .product-gallery {
        width: 100%; /* Full width for both sections */
        padding: 90px 10px 0 10px; /* Reduce padding */
    }

    .product-info {
        width: 100%; /* Full width for both sections */
        padding: 0px 10px; /* Reduce padding */
    }

    .main-image img {
        max-width: 100%; /* Ensure image takes full width */
    }

    .thumbnail-container {
        justify-content: center; /* Center thumbnails */
    }

    .thumbnail-container img {
        width: 50px; /* Further reduce thumbnail size */
        height: 50px; /* Further reduce thumbnail size */
    }

    .breadcrumb, .product-title, .product-price, .add-to-cart, .product-description {
        text-align: center; /* Center align text */
    }

    .add-to-cart {
        width: 100%; /* Full width for button */
        padding: 10px; /* Adjust padding */
    }
}

/* Contact Form Styles */
.contact-form {
    width: 35%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--color-bg-light);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color var(--transition), color var(--transition);
}

body.dark-mode .contact-form {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
}

.contact-form h2 {
    font-size: var(--font-size-xlarge);
    margin-bottom: 20px;
    color: var(--color-dark);
}

body.dark-mode .contact-form h2 {
    color: var(--color-light);
}

.contact-form label {
    display: block;
    font-size: var(--font-size-base);
    margin-bottom: 5px;
    color: var(--color-dark);
}

body.dark-mode .contact-form label {
    color: var(--color-light);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: var(--font-size-base);
    background-color: #f0f0f0;
    color: var(--color-dark);
    transition: background-color var(--transition), color var(--transition);
}

body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
    background-color: #333;
    color: var(--color-light);
    border: 1px solid #555;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background-color: #e0e0e0;
    outline: none;
}

body.dark-mode .contact-form input:focus,
body.dark-mode .contact-form textarea:focus {
    background-color: #444;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: var(--color-primary);
    color: var(--color-light);
    font-size: var(--font-size-large);
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition);
}

.contact-form button:hover {
    background-color: var(--color-primary-hover);
}

body.dark-mode .contact-form button {
    background-color: var(--color-secondary);
}

body.dark-mode .contact-form button:hover {
    background-color: var(--color-secondary-hover);
}

.contact-color {
    color: inherit !important;
}

/* Contact Page Icons */
.contact-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.contact-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--color-dark);
    transition: color var(--transition);
}

.contact-icon i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-icon:hover {
    color: var(--color-primary-hover);
}

body.dark-mode .contact-icon {
    color: var(--color-light);
}

body.dark-mode .contact-icon:hover {
    color: var(--color-secondary-hover);
}

/* Contact Page Map */
.contact-map {
    width: 100%;
    height: 400px;
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow var(--transition);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.contact-map:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Bootstrap Icons */
.bi {
    font-size: 1.5rem;
    color: var(--color-dark);
    transition: color var(--transition);
}

.bi:hover {
    color: var(--color-primary-hover);
}

body.dark-mode .bi {
    color: var(--color-light);
}

body.dark-mode .bi:hover {
    color: var(--color-secondary-hover);
}

/* Contact Box Styles */
.contact-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid var(--color-dark);
    border-radius: 10px;
    background-color: var(--color-bg-light);
    color: var(--color-dark);
    transition: background-color var(--transition), color var(--transition);
}

body.dark-mode .contact-box {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
    border: 1px solid var(--color-light);
}

.contact-box h3 {
    font-size: var(--font-size-large);
    margin-bottom: 10px;
}

.contact-box p {
    font-size: var(--font-size-base);
    text-align: center;
    margin-bottom: 10px;
}

.contact-box a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: var(--font-size-base);
    transition: color var(--transition);
}

.contact-box a:hover {
    color: var(--color-primary-hover);
}

body.dark-mode .contact-box a {
    color: var(--color-secondary);
}

body.dark-mode .contact-box a:hover {
    color: var(--color-secondary-hover);
}

/* Contact Form Section */
.contact-form-section {
    padding: 20px 0;
    background-color: var(--color-bg-light);
    text-align: center;
}

.contact-form-section h2 {
    font-size: var(--font-size-xxlarge);
    margin-bottom: 20px;
    color: var(--color-dark);
}

.contact-form-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.contact-info-left {
    flex: 1 1 300px;
    position: relative;
}

.contact-info-left img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.contact-form {
    flex: 1 1 300px;
    padding: 30px;
    background-color: var(--color-light);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 65%;
    left: 81%;
    transform: translate(-50%, -50%);
}

.contact-form label {
    display: block;
    font-size: var(--font-size-large);
    margin-bottom: 10px;
    color: var(--color-dark);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: var(--font-size-base);
    background-color: #f0f0f0;
    color: var(--color-dark);
    transition: background-color var(--transition), color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    background-color: #e0e0e0;
    outline: none;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: var(--color-primary);
    color: var(--color-light);
    font-size: var(--font-size-large);
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition);
}

.contact-form button:hover {
    background-color: var(--color-primary-hover);
}

/* Responsive Design for Contact Form */
@media (max-width: 1024px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
        width: 90%; /* Fill the width */
        padding: 20px; /* Increase padding */
    }
}

/* Contact Information Section */
.contact-info-section {
    padding: 50px 0;
    background-color: var(--color-bg-dark);
    text-align: center;
}

.contact-info-section .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.contact-box {
    flex: 1 1 300px;
    padding: 30px;
    background-color: var(--color-light);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: var(--color-dark);
    transition: transform var(--transition);
}

.contact-box:hover {
    transform: scale(1.05);
}

.contact-box h3 {
    font-size: var(--font-size-xlarge);
    margin-bottom: 20px;
}

.contact-box p,
.contact-box a {
    font-size: var(--font-size-base);
    margin-bottom: 10px;
    color: var(--color-dark);
    text-decoration: none;
}

.contact-box a:hover {
    color: var (--color-primary-hover);
}

.contact-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--font-size-large);
}

.contact-map {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.contact-map:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Bootstrap Icons */
.bi {
    font-size: 1.5rem;
    color: var(--color-dark);
    transition: color var(--transition);
}

.bi:hover {
    color: var(--color-primary-hover);
}

body.dark-mode .bi {
    color: var(--color-light);
}

body.dark-mode .bi:hover {
    color: var(--color-secondary-hover);
}

/* Contact Box Styles */
.contact-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid var(--color-dark);
    border-radius: 10px;
    background-color: var(--color-bg-light);
    color: var(--color-dark);
    transition: background-color var(--transition), color var(--transition);
}

body.dark-mode .contact-box {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
    border: 1px solid var(--color-light);
}

.contact-box h3 {
    font-size: var(--font-size-large);
    margin-bottom: 10px;
}

.contact-box p {
    font-size: var(--font-size-base);
    text-align: center;
    margin-bottom: 10px;
}

.contact-box a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: var(--font-size-base);
    transition: color var(--transition);
}

.contact-box a:hover {
    color: var(--color-primary-hover);
}

body.dark-mode .contact-box a {
    color: var(--color-secondary);
}

body.dark-mode .contact-box a:hover {
    color: var(--color-secondary-hover);
}

/* Contact Form Section */
.contact-form-section {
    padding: 20px 0;
    background-color: var(--color-bg-light);
    text-align: center;
}

.contact-form-section h2 {
    font-size: var(--font-size-xxlarge);
    margin-bottom: 20px;
    color: var(--color-dark);
}

.contact-form-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.contact-info-left {
    flex: 1 1 300px;
    position: relative;
}

.contact-info-left img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.contact-form {
    flex: 1 1 300px;
    padding: 30px;
    background-color: var(--color-light);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 65%;
    left: 81%;
    transform: translate(-50%, -50%);
}

.contact-form label {
    display: block;
    font-size: var(--font-size-large);
    margin-bottom: 10px;
    color: var(--color-dark);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: var(--font-size-base);
    background-color: #f0f0f0;
    color: var(--color-dark);
    transition: background-color var(--transition), color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    background-color: #e0e0e0;
    outline: none;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: var(--color-primary);
    color: var(--color-light);
    font-size: var(--font-size-large);
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition);
}

.contact-form button:hover {
    background-color: var(--color-primary-hover);
}

/* Responsive Design for Contact Form */
@media (max-width: 1024px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
        width: 90%; /* Fill the width */
        padding: 20px; /* Increase padding */
    }
}

/* Contact Information Section */
.contact-info-section {
    padding: 50px 0;
    background-color: var(--color-bg-dark);
    text-align: center;
}

.contact-info-section .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.contact-box {
    flex: 1 1 300px;
    padding: 30px;
    background-color: var(--color-light);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: var(--color-dark);
    transition: transform var(--transition);
}

.contact-box:hover {
    transform: scale(1.05);
}

.contact-box h3 {
    font-size: var(--font-size-xlarge);
    margin-bottom: 20px;
}

.contact-box p,
.contact-box a {
    font-size: var(--font-size-base);
    margin-bottom: 10px;
    color: var(--color-dark);
    text-decoration: none;
}

.contact-box a:hover {
    color: var(--color-primary-hover);
}

.contact-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--font-size-large);
}

.contact-map {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.contact-map:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Bootstrap Icons */
.bi {
    font-size: 1.5rem;
    color: var(--color-dark);
    transition: color var(--transition);
}

.bi:hover {
    color: var(--color-primary-hover);
}

body.dark-mode .bi {
    color: var(--color-light);
}

body.dark-mode .bi:hover {
    color: var(--color-secondary-hover);
}

/* Contact Box Styles */
.contact-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid var(--color-dark);
    border-radius: 10px;
    background-color: var(--color-bg-light);
    color: var(--color-dark);
    transition: background-color var(--transition), color var(--transition);
}

body.dark-mode .contact-box {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
    border: 1px solid var(--color-light);
}

.contact-box h3 {
    font-size: var(--font-size-large);
    margin-bottom: 10px;
}

.contact-box p {
    font-size: var(--font-size-base);
    text-align: center;
    margin-bottom: 10px;
}

.contact-box a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: var(--font-size-base);
    transition: color var(--transition);
}

.contact-box a:hover {
    color: var(--color-primary-hover);
}

body.dark-mode .contact-box a {
    color: var(--color-secondary);
}

body.dark-mode .contact-box a:hover {
    color: var(--color-secondary-hover);
}

/* Contact Form Section */
.contact-form-section {
    padding: 20px 0;
    background-color: var(--color-bg-light);
    text-align: center;
}

.contact-form-section h2 {
    font-size: var(--font-size-xxlarge);
    margin-bottom: 20px;
    color: var(--color-dark);
}

.contact-form-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.contact-info-left {
    flex: 1 1 300px;
    position: relative;
}

.contact-info-left img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.contact-form {
    flex: 1 1 300px;
    padding: 30px;
    background-color: var(--color-light);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 65%;
    left: 81%;
    transform: translate(-50%, -50%);
}

.contact-form label {
    display: block;
    font-size: var(--font-size-large);
    margin-bottom: 10px;
    color: var(--color-dark);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: var(--font-size-base);
    background-color: #f0f0f0;
    color: var(--color-dark);
    transition: background-color var(--transition), color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    background-color: #e0e0e0;
    outline: none;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: var(--color-primary);
    color: var(--color-light);
    font-size: var(--font-size-large);
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition);
}

.contact-form button:hover {
    background-color: var(--color-primary-hover);
}

/* Responsive Design for Contact Form */
@media (max-width: 1024px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
        width: 100%; /* Fill the width */
    }
    .contact-info-left img {
        margin-top: 90px;
    }
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
        width: 100%; /* Fill the width */
    }
    .contact-info-left img {
        margin-top: 90px;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
        width: 100%; /* Fill the width */
        padding: 20px; /* Increase padding */
        margin-top: 0;
    }
    .contact-info-left img {
        margin-top: 90px;
    }
}

/* Contact Information Section */
.contact-info-section {
    padding: 50px 0;
    background-color: var(--color-bg-dark);
    text-align: center;
}

.contact-info-section .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.contact-box {
    flex: 1 1 300px;
    padding: 30px;
    background-color: var(--color-light);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: var(--color-dark);
    transition: transform var(--transition);
}

.contact-box:hover {
    transform: scale(1.05);
}

.contact-box h3 {
    font-size: var(--font-size-xlarge);
    margin-bottom: 20px;
}

.contact-box p,
.contact-box a {
    font-size: var(--font-size-base);
    margin-bottom: 10px;
    color: var(--color-dark);
    text-decoration: none;
}

.contact-box a:hover {
    color: var(--color-primary-hover);
}

.contact-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--font-size-large);
}

.contact-map {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.contact-map:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Bootstrap Icons */
.bi {
    font-size: 1.5rem;
    color: var(--color-dark);
    transition: color var(--transition);
}

.bi:hover {
    color: var(--color-primary-hover);
}

body.dark-mode .bi {
    color: var(--color-light);
}

body.dark-mode .bi:hover {
    color: var(--color-secondary-hover);
}

/* Contact Box Styles */
.contact-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid var(--color-dark);
    border-radius: 10px;
    background-color: var(--color-bg-light);
    color: var(--color-dark);
    transition: background-color var(--transition), color var(--transition);
}

body.dark-mode .contact-box {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
    border: 1px solid var(--color-light);
}

.contact-box h3 {
    font-size: var(--font-size-large);
    margin-bottom: 10px;
}

.contact-box p {
    font-size: var(--font-size-base);
    text-align: center;
    margin-bottom: 10px;
}

.contact-box a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: var(--font-size-base);
    transition: color var(--transition);
}

.contact-box a:hover {
    color: var(--color-primary-hover);
}

body.dark-mode .contact-box a {
    color: var(--color-secondary);
}

body.dark-mode .contact-box a:hover {
    color: var(--color-secondary-hover);
}

/* Contact Form Section */
.contact-form-section {
    padding: 20px 0;
    background-color: var(--color-bg-light);
    text-align: center;
}

.contact-form-section h2 {
    font-size: var(--font-size-xxlarge);
    margin-bottom: 20px;
    color: var(--color-dark);
}

.contact-form-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.contact-info-left {
    flex: 1 1 300px;
    position: relative;
}

.contact-info-left img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.contact-form {
    flex: 1 1 300px;
    padding: 30px;
    background-color: var(--color-light);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 65%;
    left: 81%;
    transform: translate(-50%, -50%);
}

.contact-form label {
    display: block;
    font-size: var(--font-size-large);
    margin-bottom: 10px;
    color: var(--color-dark);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: var(--font-size-base);
    background-color: #f0f0f0;
    color: var(--color-dark);
    transition: background-color var(--transition), color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    background-color: #e0e0e0;
    outline: none;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: var(--color-primary);
    color: var(--color-light);
    font-size: var(--font-size-large);
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition);
}

.contact-form button:hover {
    background-color: var(--color-primary-hover);
}

/* Responsive Design for Contact Form */
@media (max-width: 1024px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
        width: 100%; /* Fill the width */
    }
    .contact-info-left img {
        margin-top: 90px;
    }
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
        width: 100%; /* Fill the width */
    }
    .contact-info-left img {
        margin-top: 90px;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
        width: 100%; /* Fill the width */
        padding: 20px; /* Increase padding */
        margin-top: 0;
    }
    .contact-info-left img {
        margin-top: 90px;
    }
}

/* Contact Information Section */
.contact-info-section {
    padding: 50px 0;
    background-color: var(--color-bg-dark);
    text-align: center;
}

.contact-info-section .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.contact-box {
    flex: 1 1 300px;
    padding: 30px;
    background-color: var(--color-light);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: var(--color-dark);
    transition: transform var(--transition);
}

.contact-box:hover {
    transform: scale(1.05);
}

.contact-box h3 {
    font-size: var(--font-size-xlarge);
    margin-bottom: 20px;
}

.contact-box p,
.contact-box a {
    font-size: var(--font-size-base);
    margin-bottom: 10px;
    color: var(--color-dark);
    text-decoration: none;
}

.contact-box a:hover {
    color: var(--color-primary-hover);
}

.contact-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--font-size-large);
}

.contact-map {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.contact-map:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Bootstrap Icons */
.bi {
    font-size: 1.5rem;
    color: var(--color-dark);
    transition: color var(--transition);
}

.bi:hover {
    color: var(--color-primary-hover);
}

body.dark-mode .bi {
    color: var(--color-light);
}

body.dark-mode .bi:hover {
    color: var(--color-secondary-hover);
}

/* Contact Box Styles */
.contact-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid var(--color-dark);
    border-radius: 10px;
    background-color: var(--color-bg-light);
    color: var(--color-dark);
    transition: background-color var(--transition), color var(--transition);
}

body.dark-mode .contact-box {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
    border: 1px solid var(--color-light);
}

.contact-box h3 {
    font-size: var(--font-size-large);
    margin-bottom: 10px;
}

.contact-box p {
    font-size: var(--font-size-base);
    text-align: center;
    margin-bottom: 10px;
}

.contact-box a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: var(--font-size-base);
    transition: color var(--transition);
}

.contact-box a:hover {
    color: var(--color-primary-hover);
}

body.dark-mode .contact-box a {
    color: var(--color-secondary);
}

body.dark-mode .contact-box a:hover {
    color: var(--color-secondary-hover);
}

/* Contact Form Section */
.contact-form-section {
    padding: 20px 0;
    background-color: var(--color-bg-light);
    text-align: center;
}

.contact-form-section h2 {
    font-size: var(--font-size-xxlarge);
    margin-bottom: 20px;
    color: var(--color-dark);
}

.contact-form-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.contact-info-left {
    flex: 1 1 300px;
    position: relative;
}

.contact-info-left img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.contact-form {
    flex: 1 1 300px;
    padding: 30px;
    background-color: var(--color-light);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 65%;
    left: 81%;
    transform: translate(-50%, -50%);
}

.contact-form label {
    display: block;
    font-size: var(--font-size-large);
    margin-bottom: 10px;
    color: var(--color-dark);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: var(--font-size-base);
    background-color: #f0f0f0;
    color: var(--color-dark);
    transition: background-color var(--transition), color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    background-color: #e0e0e0;
    outline: none;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: var(--color-primary);
    color: var(--color-light);
    font-size: var(--font-size-large);
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition);
}

.contact-form button:hover {
    background-color: var(--color-primary-hover);
}

/* Responsive Design for Contact Form */
@media (max-width: 1024px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
        width: 100%; /* Fill the width */
    }
    .contact-info-left img {
        margin-top: 90px;
    }
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
        width: 100%; /* Fill the width */
    }
    .contact-info-left img {
        margin-top: 90px;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
        width: 100%; /* Fill the width */
        padding: 20px; /* Increase padding */
        margin-top: 0;
    }
    .contact-info-left img {
        margin-top: 90px;
    }
}

/* Contact Information Section */
.contact-info-section {
    padding: 50px 0;
    background-color: var(--color-bg-dark);
    text-align: center;
}

.contact-info-section .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.contact-box {
    flex: 1 1 300px;
    padding: 30px;
    background-color: var(--color-light);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: var(--color-dark);
    transition: transform var(--transition);
}

.contact-box:hover {
    transform: scale(1.05);
}

.contact-box h3 {
    font-size: var(--font-size-xlarge);
    margin-bottom: 20px;
}

.contact-box p,
.contact-box a {
    font-size: var(--font-size-base);
    margin-bottom: 10px;
    color: var(--color-dark);
    text-decoration: none;
}

.contact-box a:hover {
    color: var(--color-primary-hover);
}

.contact-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--font-size-large);
}

.contact-map {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.contact-map:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Bootstrap Icons */
.bi {
    font-size: 1.5rem;
    color: var(--color-dark);
    transition: color var(--transition);
}

.bi:hover {
    color: var(--color-primary-hover);
}

body.dark-mode .bi {
    color: var(--color-light);
}

body.dark-mode .bi:hover {
    color: var(--color-secondary-hover);
}

/* ...existing code... */

body.dark-mode {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
}

body.dark-mode a {
    color: var(--color-secondary);
}

body.dark-mode a:hover {
    color: var(--color-secondary-hover);
}

body.dark-mode button {
    color: var(--color-light);
}

body.dark-mode .footer {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
}

body.dark-mode .footer-content {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
}

body.dark-mode .footer-section a {
    color: var(--color-secondary);
}

body.dark-mode .footer-section a:hover {
    color: var(--color-secondary-hover);
}

body.dark-mode .language-link {
    color: var(--color-secondary);
}

body.dark-mode .language-link:hover {
    color: var(--color-secondary-hover);
}

body.dark-mode .bottom-nav {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
}

body.dark-mode .nav-link {
    color: var(--color-secondary);
}

body.dark-mode .nav-link:hover {
    color: var(--color-secondary-hover);
}

body.dark-mode .search-input {
    background-color: #333;
    color: var(--color-secondary);
}

body.dark-mode .search-input:focus {
    background-color: #444;
}

body.dark-mode .search-btn {
    background-color: var(--color-secondary);
}

body.dark-mode .search-btn:hover {
    background-color: var(--color-secondary-hover);
}

body.dark-mode .new-btn {
    color: var(--color-secondary);
}

body.dark-mode .new-btn:hover {
    color: var(--color-secondary-hover);
}

body.dark-mode .product-carousel {
    background-color: var(--color-bg-dark);
}

body.dark-mode .product-carousel .product-card {
    background-color: var(--color-dark);
    color: var(--color-light);
}

body.dark-mode .new-product-carousel {
    background-color: var(--color-bg-dark);
}

body.dark-mode .new-product-carousel .product-card {
    background-color: var (--color-dark);
    color: var(--color-light);
}

body.dark-mode .another-new-product-carousel {
    background-color: var(--color-bg-dark);
}

body.dark-mode .another-new-product-carousel .product-card {
    background-color: var(--color-dark);
    color: var(--color-light);
}

body.dark-mode .fixed-product-carousel {
    background-color: var(--color-bg-dark);
}

body.dark-mode .fixed-product-carousel .product-card {
    background-color: var(--color-dark);
    color: var(--color-light);
}

body.dark-mode .second-fixed-product-carousel {
    background-color: var(--color-bg-dark);
}

body.dark-mode .second-fixed-product-carousel .product-card {
    background-color: var(--color-dark);
    color: var(--color-light);
}

body.dark-mode .template-section {
    background-color: #1f1f1f;
}

body.dark-mode .faq-question, body.dark-mode .faq-answer {
    background-color: #1f1f1f;
    color: #afafd6;
}

body.dark-mode .hamburger-menu .bar {
    background-color: #fff;
}

body.dark-mode .overlay-menu {
    background-color: #333;
}

body.dark-mode .overlay-menu a {
    background: #444;
    color: #fff;
}

body.dark-mode .category-title {
    color: var(--color-secondary);
}

body.dark-mode .category-title .line {
    background-color: var(--color-secondary);
}

body.dark-mode .new-black-line {
    background-color: #1f1f1f;
}

body.dark-mode .contact-form {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
}

body.dark-mode .contact-form h2 {
    color: var(--color-light);
}

body.dark-mode .contact-form label {
    color: var(--color-light);
}

body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
    background-color: #333;
    color: var(--color-light);
    border: 1px solid #555;
}

body.dark-mode .contact-form input:focus,
body.dark-mode .contact-form textarea:focus {
    background-color: #444;
}

body.dark-mode .contact-form button {
    background-color: var(--color-secondary);
}

body.dark-mode .contact-form button:hover {
    background-color: var(--color-secondary-hover);
}

body.dark-mode .contact-icon {
    color: var(--color-light);
}

body.dark-mode .contact-icon:hover {
    color: var(--color-secondary-hover);
}

body.dark-mode .contact-box {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
    border: 1px solid var(--color-light);
}

body.dark-mode .contact-box a {
    color: var(--color-secondary);
}

body.dark-mode .contact-box a:hover {
    color: var(--color-secondary-hover);
}

body.dark-mode .contact-info-section {
    background-color: var(--color-bg-dark);
}

body.dark-mode .bi {
    color: var(--color-light);
}

body.dark-mode .bi:hover {
    color: var(--color-secondary-hover);
}

/* ...existing code... */

/* ...existing code... */

.article-text {
    margin-left: 100px;
    margin-right: 100px;
    text-align: justify;
    margin-top: 0;
}

/* ...existing code... */

.about-us-section h1, .about-us-section h2 {
    color: #444;
    margin-bottom: 25px;
}

.team-section {
    margin-top: 50px;
    text-align: center; /* Center align text */
}

.values-section {
    margin-top: 100px; /* Move section lower */
    background-color: #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.values-section h2 {
    margin-bottom: 15px;
}

.values-list {
    list-style-type: none;
    padding: 0;
}

.values-list li {
    background-color: #fff;
    color: #444;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.about-image-section {
    text-align: center;
    margin-top: 50px;
    width: 100%; /* Full width */
}

.about-image-section img {
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
}

/* Dark Mode Styles */
body.dark-mode .about-us-section {
    background-color: #333;
    color: #ddd;
    border: 1px solid #555;
}

body.dark-mode .about-us-section h1, body.dark-mode .about-us-section h2 {
    color: #ffb8c0;
}

body.dark-mode .about-text {
    color: #ccc;
}

body.dark-mode .values-section {
    background-color: #282c34;
    color: #ddd;
    /* border: 1px solid #555; */
}

body.dark-mode .values-list li {
    background-color: #3f3f3fce;
    color: #ddd;
}

body.dark-mode .about-image-section img {
    border: 1px solid #555;
}

.about-m {
    margin-top: 100px;
}

.centered-heading {
    text-align: center;
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .article-text {
        margin-left: 15px;
        margin-right: 15px;
    }
}

@media (max-width: 768px) {
    .article-text {
        margin-left: 15px;
        margin-right: 15px;
    }
}

@media (max-width: 480px) {
    .article-text {
        margin-left: 15px;
        margin-right: 15px;
    }
}

/* ...existing code... */



