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

.promo-box {
  border: 2px dashed #00AEEF;
  border-radius: 10px;
  padding: 25px;
  max-width: 800px;
  margin: auto;
  background: #fff;
}

.promo-box h2 {
  text-align: center;
  color: #003366;
  margin-bottom: 20px;
  font-size: 24px;
}

.promo-box .highlight {
  color: #e60000;
  font-weight: bold;
}

.promo-box ol {
  color: #990000;
  font-size: 16px;
  padding-left: 20px;
  margin-bottom: 25px;
}

.promo-box .model {
  color: #000;
  font-weight: bold;
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  text-align: center;
}

.btn.red {
  background-color: #e60000;
}

.btn.blue {
  background-color: #007bff;
}

@font-face {
    font-family: 'mitsu-bold';
    src: url('/wp-content/themes/flatsome-child/fonts/MMC-Bold.woff2') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'mitsu-regular';
    src: url('/wp-content/themes/flatsome-child/fonts/MMC-Regular.woff2') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Áp dụng font này cho toàn bộ website */
body {
    font-family: 'mitsu-regular', sans-serif;
}

h1, h2, h3, h4 {
    font-family: 'mitsu-bold', cursive;
}

/*************** 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: 15px;
    max-width: 100%;
}

.gallery-item {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.gallery-item 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;
	font-family: 'mitsu-bold', cursive;
	
}
.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;
    font-size: 23px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
	background-color: #ed0000;
	color: white;
  	border-radius: 10px;
	padding-bottom: 15px;
	align-items: baseline;
}

.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: #ed0000;
	color: white;
  	border-radius: 10px;
	padding-bottom: 15px;
	
}

@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  ***************/


}