body {
    font-family: 'Quicksand', sans-serif;
    background-color: #0e0e0e;
}

.main-content {
    margin-top: 0;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 5px rgba(126, 100, 45, 0.616);
}

.hero-content p {
    font-size: 14px;
    color: white;
    z-index: 9999;
}

.hero-content.right {
    position: absolute;
    top: 50%;
    left: 70%;
    transform: translate(-50%, -50%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: end;
    text-align: right;
    width: 250px;
}

.hero-content.left {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: start;
    text-align: left;
    width: 250px;
}

.hero-carousel {
    margin-top: 0;
    padding: 0;
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    background-color: #868686;
    margin-bottom: 20px;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 80vh;
    position: relative;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.459), rgba(0, 0, 0, 0));
    z-index: 2;
    pointer-events: none;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* filter: brightness(90%); */
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 10;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: white;
    font-size: 2.5rem;
    padding: 10px;
    cursor: pointer;
    border: none;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    color:#2e8b57
}

.btn-metallic {
    position: relative;
    padding-top: 8px;
    padding-bottom: 8px;
    background: repeating-linear-gradient(0deg,
            #d6ad60 0%,
            rgb(245, 212, 142) 20%,
            #d6ad60 40%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.h-btn {
    position: relative;
    background-color: transparent;
    text-decoration: none;
    padding: 10px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    border: rgb(255, 255, 255);
    border-style: double;
    border-radius: 35px;
    transition: background 0.3s ease;
}

.h-btn:hover {
    color: #2CC295;
    border: #2CC295;
    border-style: double;
}

.hero-middle {
    margin-top: 0;
    padding: 0;
    position: relative;
    width: 100%;
    height: 40vh;
    overflow: hidden;
    background-color: #000000;
}

.hero-middle-container {
    display: flex;
    height: 100%;
}

.hero-middle-slide {
    min-width: 100%;
    height: 40vh;
    position: relative;
}

.hero-middle-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(80%);
}

.hero-end {
    margin-top: 0;
    padding: 0;
    position: relative;
    width: 100%;
    height: 30vh;
    overflow: hidden;
    background-color: #000000;

}

.h-btn-end {
    padding: 8px 22px;
    background-color: #009261;
    color: #ccc;
    border-radius: 8px;
    border: 1px solid #009261;
}

.h-btn-end:hover {
    background-color: #0da572;
    color: #dbdbdb;
    border: 1px solid #0da572;
}

.hero-end-container {
    display: flex;
    height: 100%;
}

.hero-end-slide {
    min-width: 100%;
    height: 30vh;
    position: relative;
}

.hero-end-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(80%);}

.featured-products-container {
    align-content: center;
    /* background-color: #0e0e0e; */
    margin: 0 auto;
    border-bottom: 2px #050505d8;
    padding: 60px 20px;
}

.featured-products-container h3 {
    text-align: center;
    font-weight: 400;
    font-size: 26px;
    padding: 10px;
    letter-spacing: 1px;
}

.product-cards-container {
    display: flex;
    flex-direction: column;
    padding-bottom: 30px;
    max-width: 1000px;
    margin: 0 auto;
}


.product-cards {
    display: grid;
    grid-template-columns: repeat(4, 250px);
    padding: 20px;
    gap: 1em;
    align-items: center;
    justify-content: center;
}

.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    border-radius: 8px;
    background-color: #222222;
    border-top: 2px solid #2CC295;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.card:hover {
    box-shadow: 0 4px 12px 0 #2CC295;
}

.card img {
    max-width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.container {
    font-family: "Montserrat";
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    letter-spacing: 0.5px;
}

a {
    text-decoration: none;
    color: #fff;
}

.category-carousel {
    align-content: center;
    padding: 60px 20px;
    /* background: #0e0e0e; */
    color: #c7d5e0;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.category-carousel h3 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    padding-bottom: 10px;
    font-weight: 400;
    text-align: center;
    letter-spacing: 1px;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
    padding: 10px;
}

.carousel-track-categories {
    display: flex;
    transition: transform 0.4s ease;
    gap: 10px;
    will-change: transform;
}

.category-card {
    flex: 0 0 calc(25% - 7.5px);
    height: 240px;
    background-color: #212222;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    position: relative;
    box-sizing: border-box;
    padding: 0 5px;
    border-top: 2px solid #2CC295;
    transition: transform 0.3s ease;
}

.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
    border-radius: 8px;
}

.category-card span {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #fff;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    z-index: 2;
    font-family: "Montserrat";
}

.category-card:hover {
    transform: scale(1.03);
}

.category-card:hover::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 2.8rem;
    cursor: pointer;
    z-index: 1;
    border-radius: 50%;
    color: #ffffff
}

.left {
    left: 0;
}

.right {
    right: 0;
}

.left:hover,
.right:hover {
    color: #2CC295;
}

.dot-nav {
    margin-top: 1rem;
}

.dot-nav .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    margin: 0 4px;
    cursor: pointer;
    opacity: 0.5;
}

.dot-nav .dot.active {
    background: #2CC295;
    opacity: 1;
}

.end-section {
    height: 50vh;
    background: #141414;
}

@media (max-width: 1450px) {

    .product-cards {
        padding: 10px;
    }

    .card img {
        width: 250px;
    }

    .container {
        font-size: smaller;
    }
}

@media (max-width: 1200px) {
    .carousel-track img {
        width: 220px;
        height: 220px;
    }

    .product-cards {
        grid-template-columns: repeat(2, 250px);
        padding: 10px;
        gap: 1em;
    }

    .card img {
        width: 300px;
    }

}

@media (max-width: 900px) {
    .carousel-track img {
        width: 200px;
        height: 200px;
    }

    .h-btn {
        font-size: 16px;
    }

}

@media (max-width: 768px) {

    .hero-content h1 {
        font-size: 2rem;
    }

    .h-btn {
        font-size: 14px;
    }

    .overlay-item {
        width: 100%;
    }

    .overlay h3 {
        font-size: 20px;
    }

    .overlay p {
        font-size: 14px;
    }

    .image-overlay-section {
        padding: 30px 10px;
    }

    .overlay-text {
        bottom: 10px;
        left: 10px;
    }

    .carousel-track img {
        width: 180px;
        height: 180px;
    }

    .category-card {
        flex: 0 0 calc(33% - 3px);
        height: 200px;
    }

}

@media (max-width: 650px) {

    .h-btn {
        font-size: 12px;
    }

    .product-cards {
        grid-template-columns: 250px;

    }

    .container {
        font-size: smaller;
    }

}

@media (max-width: 576px) {

    .logo {
        color: transparent;
    }

    .h-btn {
        font-size: 10px;
        padding: 8px 22px;
    }
    .hero-carousel {
        height: 50vh;
    }

    .hero-content h1 {
        font-size: 1rem;
    }

    .carousel-slide {
        height: 50vh;
    }

    .carousel-slide img {
        object-fit: cover;
    }

    .featured-products-container h3 {
        font-size: 20px;
    }

    .category-carousel h3 {
        font-size: 20px;
    }

    .category-card {
        flex: 0 0 calc(100%);
        height: 180px;
    }

    .arrow {
        font-size: 1.8rem;
    }

    .h-btn-end {
        padding: 6px 10px;
        font-size: 13px;
    }

    .hero-content p {
        font-size: 10px;
        margin-bottom: 1rem;
    }

    .hero-content h3 {
        font-size: 14px;
    }

    .hero-content.right {
        width: 150px;
    }

    .hero-content.left {
        width: 150px;
    }
}

.featured-printers-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    border-bottom: 2px #050505d8;
    padding: 60px 40px;
    justify-content: center;
}

.featured-printers-container h3 {
    text-align: center;
    font-weight: 400;
    font-size: 26px;
    padding: 10px;
    letter-spacing: 1px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    background-color: transparent;
    margin: 0 auto;
    gap: 8px;
}

.product-container {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 15px;
    padding-left: 15px;

    background-color:#ffffff;
    border-radius: 5px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;

}

.product-container:hover {
    transform: scale(1.03);
}
  

.product-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
    margin-bottom: 20px;
}

.product-image {
    width: 130px;
    height: 130px;
}

.product-image-container img {
    object-fit: cover;
    border-radius: 5px;
}

.product-name {
    font-family: "Quicksand";
    height: 50px;
    margin-bottom: 8px;
    color: rgb(80, 80, 80);
    font-size: 13.5px;
    letter-spacing: 0.2px;
    align-content: center;
    text-align: center;
}

.product-price {
    font-family: "Quicksand";
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    color: rgb(80, 80, 80);
    text-align: center;
}

.product-quantity-container {
    margin-bottom: 15px;
}

.product-spacer {
    flex: 1;
}

.added-to-cart {
    color: green;
    font-size: 16px;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    opacity: 0;
}

.added-to-cart img {
    height: 20px;
    margin-right: 5px;
}

.add-to-cart-button {
    width: 100%;
    padding: 8px;
    border-radius: 8px;
}

.product-link {
    text-decoration: none;
}

@media (max-width: 2000px) {
    .products-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* @media (max-width: 1600px) {
    .products-grid {
        grid-template-columns: repeat(5, 1fr);
    }
} */

@media (max-width: 1300px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1000px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-header h1 {
        font-size: 20px;
    }
}

@media (max-width: 470px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    .product-name {
        font-size: 12px;
    }
    .product-price {
        font-size: 13px;
    }

    .featured-printers-container {
        padding: 20px 10px;
}

    
}