*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html,
body {
    position: relative;
    height: 100%;
    margin: auto;
}
body {
    font-family: Arial, sans-serif;
    background-color: #f8f5f0;
}


header {
    background: #fff;
    padding: 0px 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8em;
    font-weight: bold;
    text-transform: uppercase;
}

.logo img {
    height: 90px; /* Tăng kích thước logo nếu cần */
    margin-right: 10px;
    vertical-align: middle; /* Giữ logo căn giữa theo chiều dọc */
}


nav ul {
    list-style: none;
    display: flex;
    gap: 10px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: #535353;
    text-decoration: none;
    font-size: 1em;
    font-weight: 600;
    text-transform: uppercase;
    padding: 5px 10px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #0376be;
}

nav ul li:hover .dropdown {
    display: block;
}

.dropdown {
    display: none;
    position: absolute;
    background: #fff;
    top: 35px;
    left: 0;
    min-width: 150px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.dropdown li {
    display: block;
    padding: 10px;
}

.dropdown li a {
    display: block;
    padding: 10px;
    font-size: 1em;
    text-transform: none;
    color: #535353;
}

.dropdown li a:hover {
    background: #0376be;
    color: white;
}

.icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icons a {
    text-decoration: none;
    color: #535353;
    font-size: 1.5em;
    transition: color 0.3s ease-in-out;
}

.icons a:hover {
    color: #0376be;
}


.search-box {
    display: flex;
    align-items: center;
    background: #f1f1f1;
    border-radius: 10px;
    padding: 0px 5px;
    margin-right: 5px;
    margin-left: 55px;
    
}

.search-box input {
    border: none;
    outline: none;
    background: transparent;
    padding: 5px;
    color: #535353;
}

.search-box {
    display: flex;
    align-items: center;
    background: #f1f1f1;
    border-radius: 10px;
    padding: 0px 5px;
    margin-right: 5px;
    margin-left: 55px;
}
.search-box form {
    display: flex;
    align-items: center;
    margin: 0; /* Xóa margin mặc định của form */
}
.search-box input {
    border: none;
    outline: none;
    background: transparent;
    padding: 5px;
    color: #535353;
}

.search-box i {
    color: #535353;
    font-size: 1em;
}
.search-box button {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font-size: 1.2em;
    color: #333;
    display: flex;
    align-items: center;
}

.banner {
    width: 100%;
    height: 90vh; /* Điều chỉnh chiều cao */
    overflow: hidden;
    position: relative;
}

.slideshow-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Đảm bảo ảnh không bị méo */
}

.fade {
    animation: fadeEffect 1s;
}

@keyframes fadeEffect {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

h1 {
    color: #535353;
}

section.section-gt.py-5 {
    background-color: rgb(243 243 243); 
}
.section-gt.py-5 .row .col-md-6 .card-body {
    padding: 15px; /* Đảm bảo text không chồng lấn */
}

.section-gt.py-5 .row.mt-4 .col-md-4 img {
    width: 100%; /* 100% chiều rộng của cột */
    height: 50%; /* 100% chiều cao của cột */
    object-fit: cover; /* Cắt ảnh */
    
}
.section-gt.py-5 .row.mt-4 .col-md-4 .card-body {
    padding: 10px; /* Điều chỉnh padding */
}
.section-gt.py-5 .card {
    height: 300px; /* Chiều cao cố định cho .card (tùy chỉnh) */
    overflow: hidden; /* Ẩn phần thừa */
}
.section-gt.py-5 .btn-primary {
    margin-top: 10px; /* Khoảng cách nút */
    border-radius: 15px;
}
@media (max-width: 768px) {
    .section-gt.py-5 .row .col-md-6,
    .section-gt.py-5 .row.mt-4 .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
.section-gt.py-5 h1 {
    color: #535353; /* Màu chữ cho tiêu đề lớn */
    font-size: px; /* Tăng kích thước lên 30px */
}
.section-gt.py-5 .card-title {
    color: #535353; /* Màu chữ cho tiêu đề trong card */
    font-size: 25px; /* Tăng kích thước lên 30px */
    text-align: justify;
}
.section-gt.py-5 .card-text {
    color: #535353; /* Màu chữ cho nội dung */
    text-align: justify;
}
.card-img-top {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.card-img-top:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}
.selection-opper {
    max-width: 1270px;
    margin: auto;
    padding: 35px;
}
.selection-opper h1 {
    text-align: center;
    color: #535353;
}
section.option-all {
    background-color:  rgb(243 243 243);
}
.group-product {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 15px;
    justify-content: center;
}
img.cover-img-top {
    height: 290px;
    border-radius: 5px;
}
.cover img {
    transition: transform 0.3s ease-in-out;
}
.cover:hover img {
    transform: scale(1.1);
}
.cover {
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 10px;
}
.cover-body h5, p {
    text-align: left;
}
h5.cover-title {
    padding-top: 20px;
    text-align: left;
}
h5.cover-title a {
    text-decoration: none;
    color: #535353;
}
h5.cover-title a:hover {
    color:#007bff
}
p.cover-text {
    font-weight: normal;
    color: #535353;
    text-align: justify;
    
}
/* Định dạng chung cho footer */
.footer-top {
    background-color:  #0376be; ;
    color: #ffffff;
    padding: 40px 0;
}

.footer-top .container {
    max-width: 1200px;
    margin: auto;
}

.footer-top .row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.footer-top .col {
    flex: 1;
    min-width: 250;
}

.footer-top img {
    border-radius: 15px;
    width: 180px;
    height: 180px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.footer-top img:hover {
    transform: none;
}

.footer-top h3 {
    margin-bottom: 8px;
    color: #ffffff;
}

.footer-top p {
    margin: 5px 0;
}

.footer-top a {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
    display: inline-block;
}

.footer-top a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-top i {
    margin: 8px;
    transition: transform 0.3s ease-in-out;
}

.footer-top a:hover i {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    background-color: #0376be;
    padding: 15px 0;
    color: #ffffff;
    font-weight: bold;
}

.footer-bottom span {
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-main .row {
        flex-direction: column;
    }

    .contact-form,
    .contact-info,
    .contact-map {
        margin-bottom: 20px;
    }
}