* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}


body {
    font-size: 16px;
    line-height: 1.5;
}

.container {
    
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

/* Header Section */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.logo img {
    width: 115px;
    height: 94px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 24px;
    color: #333;
    font-weight: bold;
}

.search-lang {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    margin-right: 25px;
}

.language-selector {
    margin-bottom: 5px;
}

.language-selector a {
    margin-left: 5px;
}

.search-bar {
    display: flex;
    height: 46px;
    width: 351px;
}

.search-bar input {
    width: 100%;
    padding: 0 10px;
    border: 1px solid #ccc;
    border-right: none;
    outline: none;
    background-color: #f5f5f5;
}

.search-bar button {
    background-color: #f44336;
    color: white;
    border: none;
    padding: 0 12px;
    cursor: pointer;
    font-size: 12px;
    width: 90px;
        white-space: nowrap;

}

/* Navigation and Banner Section - Adjusted for overlap */
.nav-banner-container {
    position: relative;
    margin-bottom: 20px;
}

/* Navigation Menu - Positioned to overlap the banner */
.nav {
    background-color: #0078BE;
    border-radius: 5px;
    margin-left: 25px;
    position: relative;
    width: calc(100% - 50px);
    max-width: 1303px;
    z-index: 10; /* Ensure nav is above banner */
}

.nav ul {
    list-style-type: none;
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav li {
    height: 48px;
    display: flex;
    align-items: center;
}

.nav a {
    color: white;
    text-decoration: none;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 14px;
}

.nav li.active {
    background-color: #f44336;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

 .banner {
    position: relative;
    height: auto;
    min-height: 364px;
    overflow: hidden;
    width: 100%;
    margin-top: -24px; /* Move banner up to create nav overlap */
    padding-top: 48px; /* Add padding to banner top to compensate for nav overlap */
}

.banner-slide-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 500%; /* 5 slides */
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.banner-slide {
    position: relative;
    width: 20%; /* Each slide takes 1/5 of the container */
    height: 100%;
    flex-shrink: 0;
    overflow: hidden;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.banner-text {
    position: absolute;
    top: 90px; /* Adjusted to account for the nav overlap */
    left: 50px;
    color: #005a8e;
    z-index: 2;
}

.banner-text h2 {
    font-size: 32px;
    margin-bottom: 5px;
    color: #0078BE;
    
    padding: 5px 10px;
    display: inline-block;
}

.banner-text p {
    font-size: 18px;
    color: #444;
    margin-bottom: 20px;
    border-bottom: 1px solid #999;
    padding-bottom: 5px;
    width: 320px;
 
    padding: 5px 10px;
}

.banner-text ul {
    list-style-type: none;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px;
    max-width: 400px;
    border-radius: 4px;
}
.banner-text li {
    padding: 3px 0;
    color: #333;
    position: relative;
    padding-left: 15px;
}

.banner-text li:before {
    content: "•";
    color: #f44336;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.banner-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 4;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color:#187ABA;
    transform: scale(1.2);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .banner-text {
        top: 80px;
        left: 30px;
    }
}

@media (max-width: 768px) {
    .banner-text {
        top: 70px;
        left: 20px;
    }
    
    .banner-text h2 {
        font-size: 28px;
    }
    
    .banner-text p {
        font-size: 16px;
        width: 250px;
    }
    
    .banner-text ul {
        max-width: 250px;
    }
}

@media (max-width: 576px) {
    .banner {
        min-height: 300px;
    }
    
    .banner-text {
        top: 60px;
        left: 15px;
    }
    
    .banner-text h2 {
        font-size: 22px;
    }
    
    .banner-text p {
        font-size: 14px;
        width: 200px;
    }
    
    .banner-text ul {
        padding: 8px;
        max-width: 220px;
    }
    
    .banner-text li {
        font-size: 12px;
    }
}
/* Main Content Section */
.main-content {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Sidebar */
.sidebar {
    width: 100%;
    max-width: 250px;
    margin-bottom: 20px;
}

.content {
    flex: 1;
    min-width: 0;
    padding-left: 20px;
}

.section-box {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
    width: 100%;
}

.section-title {
    background-color: #f0f0f0;
    padding: 8px 15px;
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.small-search {
    padding: 10px;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.search-container input {
    width: 100%;
    padding: 5px 30px 5px 10px;
    font-size: 12px;
}

.search-container button {
    position: absolute;
    right: 5px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.category-menu {
    list-style-type: none;
}

.category-menu li {
    border-bottom: 1px solid #e0e0e0;
}

.category-menu li:last-child {
    border-bottom: none;
}

.category-menu a {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    color: #333;
    font-size: 13px;
}

.category-menu a:hover,
.category-menu a.active {
    background-color: #f5f5f5;
    color: #0078BE;
}

/* Product Grid */
.product-grid {
    display: grid;
grid-template-columns: repeat(3, 2fr);
    gap: 10px;
}

.product-item {
    width: 100%;
    padding: 10px;
}

.product-box {
    border: 1px solid #e0e0e0;
    background-color: #fff;
    text-align: center;
    padding: 15px;
    height: 100%;
    transition: box-shadow 0.3s;
    text-decoration: none;
    display: block;
    color: inherit;
}

.product-box:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-name {
    font-size: 13px;
    color: #333;
    font-weight: normal;
    margin-top: 5px;
    text-align: center;
    display: flex;
    justify-content: center;
}

/* Pagination */
.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 40px;
}

.pagination a {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    font-size: 12px;
}

.pagination a.active {
    background-color: #f44336;
    color: white;
    border-color: #f44336;
}

.pagination a:hover:not(.active) {
    background-color: #f5f5f5;
}

.pagination .text-button {
    padding: 5px 8px;
}

/* Responsive Design */
@media (min-width: 576px) {
    .product-item {
        width: 50%;
    }
}

@media (min-width: 768px) {
    .logo {
        margin-bottom: 0;
    }
    
    .search-lang {
        flex-wrap: nowrap;
    }
    
    .product-item {
        width: 33.333%;
    }
    
    .pagination {
        justify-content: flex-end;
    }
}

@media (min-width: 992px) {
    .sidebar {
        width: 25%;
    }
    
    .content {
        width: 75%;
    }
    
    .main-content {
        flex-wrap: nowrap;
    }
}

@media (max-width: 991px) {
    .content {
        padding-left: 0;
        margin-top: 20px;
    }
    
    .nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    .nav li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .menu-toggle {
        display: block;
        position: absolute;
        right: 10px;
        top: 10px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-menu.show {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    
    /* Adjust banner for responsive layout */
    .banner {
        margin-top: -20px;
        padding-top: 30px;
    }
}

@media (max-width: 767px) {
    .logo {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
        width: 100%;
    }
    
    .logo img {
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    .logo h1 {
        font-size: 18px;
    }
    
    .header-top {
        flex-direction: column;
    }
    
    .search-lang {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
    
    .banner-text h2 {
        font-size: 24px;
    }
    
    .banner-text p {
        font-size: 16px;
    }
    
    .nav {
        margin-left: 0;
        width: 100%;
    }
}


 .banner {
    position: relative;
    height: auto;
    min-height: 364px;
    overflow: hidden;
    width: 100%;
    margin-top: -24px; /* Move banner up to create nav overlap */
    padding-top: 48px; /* Add padding to banner top to compensate for nav overlap */
}

.banner-slide-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 500%; /* 5 slides */
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.banner-slide {
    position: relative;
    width: 20%; /* Each slide takes 1/5 of the container */
    height: 100%;
    flex-shrink: 0;
    overflow: hidden;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.banner-text {
    position: absolute;
    top: 90px; /* Adjusted to account for the nav overlap */
    left: 50px;
    color: #005a8e;
    z-index: 2;
}

.banner-text h2 {
    font-size: 32px;
    margin-bottom: 5px;
    color: #0078BE;
    
    padding: 5px 10px;
    display: inline-block;
}

.banner-text p {
    font-size: 18px;
    color: #444;
    margin-bottom: 20px;
    border-bottom: 1px solid #999;
    padding-bottom: 5px;
    width: 320px;
 
    padding: 5px 10px;
}

.banner-text ul {
    list-style-type: none;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px;
    max-width: 320px;
    border-radius: 4px;
}

.banner-text li {
    padding: 3px 0;
    color: #333;
    position: relative;
    padding-left: 15px;
}

.banner-text li:before {
    content: "•";
    color: #f44336;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.banner-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 4;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color:#187ABA;
    transform: scale(1.2);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .banner-text {
        top: 80px;
        left: 30px;
    }
}

@media (max-width: 768px) {
    .banner-text {
        top: 70px;
        left: 20px;
    }
    
    .banner-text h2 {
        font-size: 28px;
    }
    
    .banner-text p {
        font-size: 16px;
        width: 250px;
    }
    
    .banner-text ul {
        max-width: 250px;
    }
}

@media (max-width: 576px) {
    .banner {
        min-height: 300px;
    }
    
    .banner-text {
        top: 60px;
        left: 15px;
    }
    
    .banner-text h2 {
        font-size: 22px;
    }
    
    .banner-text p {
        font-size: 14px;
        width: 200px;
    }
    
    .banner-text ul {
        padding: 8px;
        max-width: 220px;
    }
    
    .banner-text li {
        font-size: 12px;
    }
}
