/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/* Container của danh sách ảnh */
.tinh-nang-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Chia 4 cột trên desktop */
    gap: 15px; /* Khoảng cách giữa các ảnh */
    justify-content: center;
}

/* Phần tử từng ảnh */
.tinh-nang-item {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* Giữ tỷ lệ 16:9 */
    overflow: hidden;
    border-radius: 10px;
}

/* Hình ảnh */
.tinh-nang-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cắt ảnh để vừa khung mà không méo */
    border-radius: 10px;
}

/* Mô tả hiển thị trên ảnh */
.mo-ta {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 14px;
}

/* Mobile: Hiển thị 1 ảnh mỗi hàng */
@media (max-width: 768px) {
    .tinh-nang-gallery {
        grid-template-columns: repeat(1, 1fr); /* 1 ảnh mỗi hàng */
		padding-left: 5px;
		padding-right: 5px;
    }
}

.tinh-nang {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.8;
/*     max-width: 800px; */
    margin: auto;
	padding-left: 5px;
	padding-right: 5px;
}

.tinh-nang h2 {
    font-size: 24px;
    color: #d71a1a; /* Màu đỏ nổi bật */
    border-bottom: 2px solid #d71a1a;
    padding-bottom: 5px;
    display: inline-block;
}

.tinh-nang ul {
    padding-left: 20px;
}

.tinh-nang ul li {
    list-style: none;
    padding-left: 30px;
    margin-bottom: 10px;
    position: relative;
    font-size: 18px;
}

.tinh-nang ul li::before {
    content: "✔"; /* Biểu tượng check */
    color: #d71a1a;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.noi-that-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 100%;
}

.gallery-item {
    display: block;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

.image-wrapper img:hover {
    transform: scale(1.05);
}

.anchor-menu {
    display: flex;
    justify-content: space-between;
    background-color: #000;
    padding: 10px 20px;
    color: #fff;
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.anchor-menu a {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
}

.anchor-menu a:hover {
    background-color: #444;
}

.anchor-menu .button {
    background-color: red;
    border-radius: 20px;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
}

.anchor-menu .button:hover {
    background-color: darkred;
}

.title-container {
    display: flex;
    align-items: center;
}
.title-text {
    font-weight: bold;
    font-size: 28px;
    margin-right: 15px;
}
.title-line {
    flex-grow: 1;
    border-bottom: 1px solid black;
}

.button-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}
.contact-button {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
	background-color: #1464f4;
	color: white;
  	border-radius: 50px;
}

.contact-button .icon {
    display: flex;
    align-items: center;
    margin-right: 10px;
    font-size: 24px;
}
.register-button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 23px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
	background-color: #1464f4;
	color: white;
  	border-radius: 50px;
}

@media (max-width: 768px) {
    .noi-that-gallery {
        grid-template-columns: repeat(1, 1fr); /* Chuyển thành 1 cột */
		padding-left: 5px;
		padding-right: 5px;
    }
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}