#search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    border: 1px solid #ddd;
    border-top: none;
    display: none;
    z-index: 1000;
}

#search-results.show {
    display: block;
}

#search-results ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#search-results li {
    padding: 10px;
    cursor: pointer;
}

#search-results li:hover {
    background-color: #f0f0f0;
}
body {
    font-family: "Montserrat", "Roboto", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f9f9f9;
}

.category-container {
    width: 100%;
    overflow: hidden;
    margin-top: 3rem;
    position: relative;
}

.category-container h2 {
    font-size: 2.5rem;
    color: #003b4d;
    margin-bottom: 20px;
    text-align: center;
}

.carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    background-color: #ededed;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
    align-items: stretch;
}

.category-card {
    flex: 1 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    box-sizing: border-box;
    border-right: 1px solid gainsboro;
}

.sub-card {
    width: 100%;
    height: 242px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 8px;
}

.sub-card img {
    width: 100%;
    max-width: 200px;
    height: 150px;
    object-fit: contain;
}

.category-title-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 60px;
    width: 100%;
    text-align: center;
}

.category-title {
    font-size: 0.9rem;
    color: #333;
    text-align: center;
    word-wrap: break-word;
}

.carousel-button {
    background-color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-left: 10px;
}

.carousel-buttons {
    display: flex;
    justify-content: flex-end;
    position: absolute;
    right: 2rem;
    top: 0.5rem;
    z-index: 10;
}

@media screen and (max-width: 1024px) {
    .category-container {
        margin-top: 7rem;
    }

    .category-container h2 {
        font-size: 1em;
    }
}

@media (min-width: 1024px) {
    .category-card {
        flex: 0 0 20%;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .category-card {
        flex: 0 0 50%;
    }
}

@media (max-width: 767px) {
    .category-card {
        flex: 0 0 100%;
    }

    .carousel-buttons {
        right: 3rem;
        top: 4.5rem;
    }
}
.trending-container {
    width: 100%;
    /* padding: 50px 0; */
    margin-top: 3rem;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}
.trending-header {
    text-align: center;
    margin-bottom: 30px;
}
.trending-header h2 {
    font-size: 2.5rem;
    color: #003b4d;
    margin: 0;
}
.trending-header p {
    color: #666;
    margin: 5px 0 20px;
}
.trending-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
}
.trending-slider {
    display: flex;
    transition: transform 1s ease;
}
.trending-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    box-sizing: border-box;
    margin-bottom: 3rem;
    margin-top: 2rem;
}
.trending-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    max-width: 500px;
    height: 300px;
}
.trending-image {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    box-shadow: -10px 10px 20px rgba(0, 0, 0, 0.05),
        -20px 20px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.trending-image img {
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}
.trending-card {
    flex: 1;
    background-color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.trending-card h3 {
    font-size: 1.8rem;
    color: #003b4d;
    margin: 10px 0;
}
.trending-card p {
    color: #666;
    margin: 10px 0 20px;
}
.trending-card .btn {
    display: inline-flex;
    align-items: center;
    background-color: #003b4d;
    color: white;
    padding: 13px 13px;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    max-width: 140px;
}
.trending-card .btn svg {
    margin-left: 8px;
}

@media screen and (max-width: 1024px) {
    .trending-header h2 {
        font-size: 1.5rem;
        color: #003b4d;
        margin: 0;
    }

    .category-card {
        margin-bottom: 0rem;
    }
}
/* Responsive Styles */
@media (max-width: 768px) {
    .trending-slide {
        flex-direction: column;
        gap: 1rem;
    }
    .trending-card {
        margin-top: 20px;
        max-width: 90%;
    }

    .trending-header h2 {
        font-size: 1em;
        color: #003b4d;
        margin: 0;
    }

    .trending-card h3 {
        font-size: 1em;
    }

    .trending-image img {
        height: 100%;
        object-fit: cover;
        border-radius: 20px;
        /* width: 170px; */
    }

    .trending-image-container {
        max-width: 90%;
        height: auto;
        width: 87%;
    }
}
.icon-wrapper {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 5px;
}

.icon-wrapper i {
    color: #003b4d;
    font-size: 18px;
    cursor: pointer;
}

/* New Description Styles */
.product-item-description-wrapper {
    padding: 10px;
    text-align: center;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-item-description {
    margin: 0;
    font-size: 0.8rem;
    color: #666;
    line-height: 1.2;
}
.tech-description-box {
    transition: all 0.3s ease-in-out; /* Adjust timing as needed */
}
.tech-card.active {
    /*Example styling to show active state*/
    border: 2px solid blue;
}
.hidden-description {
    display: none;
}
.contact-section {
    padding: 0px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3rem;
    margin-bottom: 3rem;
}
.contact-header {
    text-align: center;
    margin-bottom: 50px;
}
.contact-header h2 {
    font-size: 2.5rem;
    color: #003b4d;
    margin: 0;
}
.contact-form-container {
    background-color: #f3f3f3;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-group {
    display: flex;
    gap: 20px;
}
.form-group input,
.form-group textarea {
    flex: 1;
    padding: 10px;
    border: none;
    border-bottom: 2px solid #ccc;
    background-color: transparent;
    outline: none;
    font-size: 16px;
}
.form-group textarea {
    resize: none;
    min-height: 100px;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: #003b4d;
}
.submit-btn {
    padding: 10px 20px;
    border: none;
    background-color: #003b4d;
    color: white;
    font-weight: bold;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    align-self: flex-start;
    transition: background-color 0.3s;
}
.submit-btn:hover {
    background-color: #002b39;
}

@media (max-width: 1024px) {
    .contact-header h2 {
        font-size: 1em;
    }

    .contact-section {
        margin-top: 2rem;
    }
}
/* Responsive Design */
@media (max-width: 768px) {
    .form-group {
        flex-direction: column;
    }
}
