body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #dfeef4;
    padding-top: 70px;
}
html {
    scroll-behavior: smooth;
}
.section {
    scroll-margin-top: 70px;
}
footer .nav-link {
    color: #000000 !important;
    font-weight: 500 !important;
    font-size: 16px !important;
}

.bold-font {
    font-weight: 600;
}
.navbar-dark .navbar-toggler {
    background-color: #dfeef4;
}
.navbar {
    background-color: #dfeef4;
}
.navbar-brand {
    font-weight: bold;
    color: #696cff !important;
    background-color: #dfeef4;
}
.nav-link {
    color: #566a7f !important;
    font-weight: 600;
    background-color: #d8e6f0;
}
.nav-link.active {
    color: #1E2938 !important;
    background-color: #d8e6f0;
}
.container {
    max-width: 1200px;
}
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}
.card-header {
    background-image: url('../images/header_background.jpeg');
    background-size: cover;
    color: #ffffff;
    font-weight: bold;
    text-align: right;
    margin-top: 10px;
    font-size: 24px;
}
.form-control {
    border-radius: 10px;
    border: 1px solid #d9dee3;
    padding: 10px 20px;
}
.btn-custom {
    background-color: #a0a0a0;
    color: #ffffff;
    border-radius: 10px;
    padding: 10px 20px;
    border: none;
}
.btn-custom:hover {
    background-color: #f5f5f9;
}
.table {
    border-radius: 8px;
    overflow: hidden;
}
.table th, .table td {
    text-align: center;
    vertical-align: middle;
}
.table-hover thead .product-name {
    text-align: left !important;
}
.table-hover #result .product-name {
    cursor: pointer;
    text-align: left !important;
}
.table-hover #result .product-name:hover {
    color: #000000;
    text-decoration: underline;
}
.table-icons i {
    font-size: 24px;
    color: #903649;
}
.table-icons i:hover {
    color: #ebdddd;
}

.image-display {
    position: relative;
    height: 100%;
}
.image-display img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}
.modal-body table {
    width: 100%;
}
.modal-body td {
    border: 1px solid #f5f5f9;
}

#productModal .modal-footer table .price {
    color: #28a745;
    font-weight: bold;
    font-size: 30px;
}

.page-link {
    color: #d8e6f0;
}
.page-item.active .page-link {
    background-color: #d8e6f0;
    border-color: #d8e6f0;
}
.scrolling-text {
    height: 30px;  /* Increased height for better visibility */
    position: relative;
    overflow: hidden;
    width: 100%;
    background-color: #d8e6f0;
    padding: 0;  /* Remove padding to allow full width scrolling */
    display: flex;
    align-items: center;
}

.scrolling-text span {
    position: absolute;
    white-space: nowrap;
    line-height: 40px;  /* Match the container height */
    color: #000000;
    font-size: 16px;
    animation: scroll-left 45s linear infinite;  /* Slower animation */
    padding: 0 20px;  /* Add some padding on sides */
}

@keyframes scroll-left {
    0% {
        transform: translateX(70%);  /* Start from right edge */
    }
    100% {
        transform: translateX(-100%);  /* Scroll all the way to left */
    }
}

@keyframes scroll-left-alt {
    0% {
        left: 100%;
    }
    100% {
        left: -100%;
    }
}
.custom-btn-color {
    color: #4495C0;
    border-color: #4495C0;
}

.custom-btn-color:hover {
    background-color: #4495C0;
    color: #DFEEF4;
}

.custom-btn-color:focus {
    box-shadow: unset;
}

.btn-outline-primary:not(:disabled):not(.disabled):active {
    background-color: #4495C0;
}

.btn-outline-primary:not(:disabled):not(.disabled).active {
    background-color: #4495C0;
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='%234495c0' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler {
    border-color: #4495c0 !important;
}

@media (max-width: 991px) {
    .navbar-nav .header-link {
        width: 100% !important;
        display: block;
        margin-bottom: 10px;
        text-align: center;
    }
}