/*------------------------------------*\
    HEADER
\*------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
.clr{
    clear: both;
}

.menu {
    display: none;
}
#header {
    margin: 10px 0;
}
.logo {
    margin-left: 50px;
}
.logo img {
    width: 100px;
    margin-top: 10px;
}
.nav1 h1 {
    margin: 0 0 20px;
    font-family: inherit;
    font-weight: 600;
    color: #161a1d;
    text-transform: none;
    font-size: 35px;
}
.dky {
    margin-top: 70px;
    margin-bottom: 30px;
}
.dky{
    background: #1ba558;
    border: none;
    border-radius: 100px;
    width: 65%;
}
.dky  .dky1 {
    display: inline-block;
    padding: 10px;
}
.dky  .dky1 img {
    width: 38px;
}
.dky  .text {
    display: inline-block;
    font-size: 30px;
    color: #ffff;
    padding: 10px 20px 10px 20px;
    top: -7px;
    position: relative;
}
.nav2 img {
    padding: 20px;
}
.nav-b2 .b4 {
    padding: 30px 0;
    line-height: 50px;
    border-top: 1px solid #000000;
}
.box-4b .text {
    display: inline-block;
    font-size: 18px;
}
.box-4b .img {
    display: inline-block;
    float: right;
}
.box-4b .img img {
    width: 20px;
}
.box-4b .des {
    font-size: 16px;
    line-height: 30px;
}
.box-3 .text-b3 h3, .text-b4 h3 {
    margin: 0 0 20px;
    font-family: inherit;
    font-weight: 600;
    color: #161a1d;
    text-transform: none;
    font-size: 25px;

}
.box-3 .text-b3 .des,.text-b4 .des {
    font-size: 16px;
}
.box-3 .text-b3 .des ul,.text-b4 .des ul {
    margin-left: 20px;
}
.box-3 .text-b3 .des ul li,.text-b4 .des ul li {
    list-style: disc;
}
.boxs2-1  {
    margin-top: 20px;
}
.boxs2-1 .text h3 {
    margin: 0 0 20px;
    font-family: inherit;
    font-weight: 600;
    color: #161a1d;
    text-transform: none;
    font-size: 30px;
}
.navs2 .th1 .img {
    display: inline-block;
    width: 100%;
}
.navs2 .th1 .img-l {
    width: 30px;
    float: left;
    display: inline-block;
}
.navs2 .th1 .img-r {
    width: 30px;
    float: right;
    display: inline-block;
}
.navs2 .th1 {
    margin-right: 4.995%;
    border-radius: 2px;
    background-color: #f9f9f9;
    padding: 21px 16px 24px;
    margin-bottom: 15px;
}
.boxs3 .boxs3-1 {
    margin-top: 40px;
    border-top: 1px solid #000;
    padding-top: 50px;
}
.boxs3 .boxs3-1 .text {
    font-size: 16px;
    line-height: 30px;
}
.heading {
    display: inline-block;
    width: 100%;
}
.heading .text {
    display: inline-block;
}
.heading .acclick {
    display: inline-block;
    float: right;
    margin-top: 10px;
}
.boxs4 {
    margin-top: 30px;
}
.navs4 .heading {
    line-height: 70px;
    font-size: 25px;
    border-top: 1px solid #afafaf;
}
.navs4 .heading .text {
    margin-top: 10px;
}
#contentSection ul li,#contentSection1 ul li,#contentSection2 ul li {
    list-style: disc;
}
.boxs5 {
    background: #f9f9f9;
    padding: 20px 10px;
}
.boxs5 .heading h2 {
    font-size: 30px;
    padding-top: 30px;
    padding-bottom: 30px;
}
.boxs5-1 {
    display: flex;
    flex-wrap: wrap;
}
.boxs5-1 .text {
    font-size: 20px;
    font-weight: bold;
}
.boxs5-1 .des {
    font-size: 16px;
    text-align: justify;
}

.boxs5 .heading  {
        border-bottom: 1px solid #ededed;
    margin-bottom: 10px;
}
.boxs5-1 {
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
    margin-bottom: 10px;
}
.boxs5-1 .more {
        text-align: center;
    font-size: 40px;
    font-weight: bold;
}
#contentSection4 ul {
    margin-left: 25px;
}

#contentSection4 ul li {
    list-style: circle;
}
.boxs6 {
    margin: 30px 10px;
}
.boxs6 .cauhoi {
    font-size: 30px;
    font-weight: bold;
}
/* .modal-content .fr {
    width: 100%;
    display: inline-block;
    border-bottom: 1px solid #ededed;
    margin-bottom: 10px;
    padding-bottom: 10px;
} */
 /* General Modal Styling (if not already defined) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    display: flex; /* Use flexbox to center content */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

.modal-content {
    background-color: #fefefe;
    margin: auto; /* Center the modal box */
    padding: 30px;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); /* Subtle shadow */
    width: 90%; /* Could be a responsive width */
    max-width: 500px; /* Max width for larger screens */
    position: relative; /* For positioning the close button */
}

/* Close button styling */
.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

/* Form container styling */
.form-dky {
    padding: 20px 0;
}

/* Styling for input fields */
.form-dky input[type="text"] {
    width: calc(100% - 20px); /* Full width minus padding */
    padding: 12px 10px;
    margin-bottom: 15px; /* Space between inputs */
    border: 1px solid #ddd; /* Light grey border */
    border-radius: 5px; /* Slightly rounded corners */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-dky input[type="text"]:focus {
    border-color: #007bff; /* Blue border on focus */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.2); /* Subtle blue shadow on focus */
    outline: none; /* Remove default outline */
}

/* Styling for the submit button */
.form-dky button[type="submit"] {
    padding: 20px;
    /* padding: 12px; */
    background-color: #29bd5e;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.form-dky button[type="submit"]:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: translateY(-2px); /* Slight lift effect */
}

.form-dky button[type="submit"]:active {
    transform: translateY(0); /* Return to original position on click */
}
.fr img {
    width: 50px;
    float: right;
}
#s11 {
    background: #00280c;
}
.boxs11 .text {
        font-size: 25px;
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 30px 0;
}
.boxs11 .dky {
    text-align: center;
}
#footer {
    background-color: #eaeff2;
    color: #363a45;
    padding: 40px 0;
    text-align: left;
}
.des-logoft {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 20px;
}
.des-ft {
    margin-bottom: 20px;
}
.form-dky form input {
    border: 1px solid #ededed;
    /* display: inline-block; */
    line-height: 50px;
    border-radius: 32px;
    margin: 10px 0;
}
.form-dky form select {
     border: 1px solid #ededed;
    /* display: inline-block; */
    line-height: 50px;
    border-radius: 32px;
    margin: 10px 0;
    font-size: 16px;
    padding: 20px;
}
.form-dky form button {
    text-align: center;
    margin: 0 auto;
    /* line-height: 50px; */
    padding: 15px 39px;
    border: 1px solid #ededed;
    background: #35935f;
    color: #fff;
    border-radius: 30px;
}
.form-dky form input::placeholder {
    padding-left: 15px;
}

#toggleButton,#toggleButton1,#toggleButton2,#toggleButton3,#toggleButton4,#toggleButton5,#toggleButton6,#toggleButton7,#toggleButton8,#toggleButton9,#toggleButton10,#toggleButton11 {
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    color: #5b5656;
    border: none;
    border-radius: 5px;
    margin-bottom: 20px;
    background: none;
    font-size: 50px;
}
.content-section p {
    padding: 10px;
    text-align: justify;
}

#contentSection,#contentSection1,#contentSection2,#contentSection3,#contentSection4,#contentSection5,#contentSection6,#contentSection7,#contentSection8,#contentSection9,#contentSection10,#contentSection11 {
    font-size: 16px;
    line-height: 30px;
    padding: 20px;
}

.slider .text {
    z-index: 9999;
    top: 50px;
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    text-align: center;
}
.tab-headers .img {
    background: #fff;
border-radius: 30px;
}
.tab-headers .text {
    margin: 10px 0;
}
.tab-headers .text p {
    text-align: left;
    margin-top: 10px;
}









/* Class để ẩn nội dung */
.hidden {
    display: none; /* Quan trọng: ẩn phần tử */
}

/* Class để hiện nội dung (nếu bạn muốn dùng class khác thay vì bỏ class hidden) */
.visible {
    display: block; /* Quan trọng: hiện phần tử */
}


  /* Kiểu cơ bản cho modal */
.modal {
    display: none; /* Ẩn theo mặc định */
    position: fixed; /* Giữ nguyên vị trí */
    z-index: 1; /* Nằm trên cùng */
    left: 0;
    top: 0;
    width: 100%; /* Chiều rộng đầy đủ */
    height: 100%; /* Chiều cao đầy đủ */
    overflow: auto; /* Cho phép cuộn nếu cần */
    background-color: rgba(0,0,0,0.4); /* Màu đen với độ trong suốt */
}

.modal-content {
  background-color: #256b44;
    margin: 30px auto;
    padding: 20px 0;
    border: 1px solid #888;
    width: 90%;
    position: relative;
    text-align: center;
}

.close-button {
    color: #ffffff;
    float: right;
    font-size: 38px;
    font-weight: bold;
    cursor: pointer;
    top: -30px;
    position: relative;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


    /* --- CSS từ ví dụ tab trước (giữ nguyên) --- */


.tab-container {
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.tab-headers {
  display: flex;
  background-color: rgba(0, 177, 64, 0.6);
  background-size: cover;
}

.tab-button {
  background-color: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 20px;
  transition: 0.3s;
  font-size: 16px;
  color: #fff;
  flex-grow: 1;
  text-align: center;
}

.tab-button:hover {
    background-color: #ffffff;
    color: #000;
    border: 1px solid #00b13f;
}

.tab-button.active {
    background-color: #ffffff;
    color: #555;
    border-bottom: 3px solid #29bd5e;
    font-weight: bold;
}

.tab-content {
  padding: 20px;
  border-top: none;
  animation: fadeEffect 0.5s;
}

@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

/* --- CSS ĐÃ ĐIỀU CHỈNH cho tab lồng --- */

.tab-container.nested-tabs {
    margin-top: 20px;
    border: 1px solid #e0e0e0;
    box-shadow: none;
    border-radius: 5px;
    background-color: #f9f9f9;

    /* Này là mới: dùng Flexbox để bố cục ngang */
    display: flex;
    flex-direction: row; /* Xếp các phần tử con theo hàng ngang */
    min-height: 250px; /* Đảm bảo đủ chiều cao cho nội dung */
}

.tab-headers.nested-headers {
    background-color: #f1f1f1;
    border-bottom: none; /* Bỏ border bottom vì giờ nó nằm dọc */
    border-right: 1px solid #ccc; /* Thêm border phải */

    /* Này là mới: làm cho headers nằm dọc */
    flex-direction: column; /* Xếp các nút theo cột dọc */
    flex-basis: 150px; /* Chiều rộng cố định cho sidebar tab con */
    flex-shrink: 0; /* Ngăn không cho co lại */
}

.nested-headers .tab-button {
    font-size: 14px;
    padding: 10px 15px;
    color: #666;
    text-align: left; /* Căn trái chữ trong nút */
    flex-grow: 0; /* Ngăn không cho nút tự giãn */
    border-bottom: 1px solid #eee; /* Viền dưới cho mỗi nút tab con */
}

.nested-headers .tab-button:last-child {
    border-bottom: none; /* Bỏ viền dưới cho nút cuối cùng */
}

.nested-headers .tab-button.active {
    background-color: #fff;
    color: #0056b3;
    border-bottom: none; /* Bỏ viền dưới active cũ */
    border-right: 2px solid #0056b3; /* Gạch chân màu xanh đậm bên phải */
    position: relative; /* Dùng để điều chỉnh gạch chân cho đẹp */
    z-index: 1; /* Để gạch chân active nằm trên border của container */
}

.tab-content.nested-content {
    background-color: #fff;
    border-radius: 0 5px 5px 0; /* Bo góc bên phải */
    border: none;
    flex-grow: 1; /* Cho phép nội dung lấp đầy phần còn lại */
}