/**
 * Landing Page Custom Styles
 */

/* General */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Header */
.landing-header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Banner */
.landing-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 500px;
    position: relative;
}

.landing-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.landing-banner .display-3 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.min-vh-50 {
    min-height: 50vh;
}

/* Introduction */
.landing-intro {
    padding: 80px 0;
}

.landing-intro h2 {
    color: #667eea;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.landing-intro h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Features */
.landing-features {
    padding: 80px 0;
}

.landing-features h2 {
    color: #667eea;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.landing-features h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.landing-features .card {
    transition: all 0.3s ease;
}

.landing-features .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.feature-icon {
    transition: transform 0.3s ease;
}

.landing-features .card:hover .feature-icon {
    transform: scale(1.1);
}

/* Contact */
.landing-contact {
    padding: 80px 0;
}

.landing-contact h2 {
    color: #667eea;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.landing-contact h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.landing-contact .card {
    transition: all 0.3s ease;
}

.landing-contact .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Footer */
.landing-footer {
    margin-top: 80px;
}

.landing-footer p {
    margin: 0;
}

/* Buttons */
.btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .landing-banner {
        min-height: 400px;
    }
    
    .landing-banner .display-3 {
        font-size: 2rem;
    }
    
    .landing-banner .lead {
        font-size: 1rem;
    }
    
    .landing-intro,
    .landing-features,
    .landing-contact {
        padding: 50px 0;
    }
}

/* Accessibility */
:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.btn:focus {
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.5);
}

/* Print */
@media print {
    .landing-header,
    .navbar,
    .landing-footer,
    .btn {
        display: none !important;
    }
    
    .landing-banner {
        background: white;
        color: black;
    }
}

.txtreport2024 {
    color: #C8C182;
    font-weight: 700;
    font-size: 38px;
    text-align: center;
    text-transform: uppercase;
}
.txtBHTG {
    color: #B11116;
    font-weight: 500;
    font-size: 17px;
    text-align: center;
    vertical-align: middle;
}
.txtBTN {
    font-weight: 700;
    font-size: 15px;
    line-height: 20px;
    color: #fff
}
.txtFooter p{
    font-weight: 500;
    font-size: 14px;
    color: #fff;
}

/* === Nút mở menu === */
.open-menu-btn {
    cursor: pointer;
    z-index: 1001;
  }
  
  /* === Overlay === */
  .overlay_menu {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 1000;
  }
  
  /* Khi menu mở */
  #toggle-menu:checked ~ .overlay_menu {
    opacity: 1;
    visibility: visible;
  }
  
  /* === NAV MENU === */
  .navbar.custom-menu-mobile {
    position: fixed;
    top: 0;
    right: -1000px; /* Ẩn bên phải */
    width: 100%;
    height: 100vh;
    background: #B8E4FA;
    box-shadow: -2px 0 8px rgba(0,0,0,0.1);
    transition: right 0.4s ease;
    z-index: 1002;
    overflow-y: auto;
    padding-top: 20px;
  }
  
  /* Khi checkbox mở -> menu trượt ra */
  #toggle-menu:checked ~ .navbar.custom-menu-mobile {
    right: 0;
  }
  
  /* Nút đóng */
  .close-menu-btn {
    display: block;
    text-align: right;
    font-size: 28px;
    padding: 10px 20px;
    cursor: pointer;
  }
  
  /* === Menu item === */
  .navbar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .navbar-nav li {
    border-bottom: 1px solid #B8E4FA;
  }
  
.submenu-toggle {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    cursor: pointer;
  }
  
  .navbar-nav a:hover, .submenu-toggle:hover {
    background: #B8E4FA;
  }
  
  /* === Submenu === */
  .nav-mobile-sub {
    max-height: 0;
    overflow: hidden;
    background: #B8E4FA;
    transition: max-height 0.3s ease;
  }
  
  /* Khi submenu mở */
  .has-child input:checked ~ .nav-mobile-sub {
    max-height: 500px; /* tuỳ độ dài menu con */
  }
  
  .submenu-toggle i {
    float: right;
  }
  .nutMobile{
    display: none;
  }
  .nav-mobile-sub {
    list-style: none;
    margin: 0;
    padding-left: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #B8E4FA;
    border-left: 2px solid #ddd;
  }
  
  /* khi được mở (checkbox checked) */
  .has-child input:checked ~ .nav-mobile-sub {
    /* max-height: 1000px; */
    max-height: 100%;
  }
  
  /* toggle */
  .submenu-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px 15px;
    color: #333;
    background: #B8E4FA;
    gap: 100px;
  }
  
  .submenu-toggle:hover {
    background: #B8E4FA;
  }
  
  /* icon mũi tên xoay khi mở */
  .has-child input:checked + .submenu-toggle i {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
  }
  .custom-menu-mobile{
    display: none !important;
  }
  .submenu-toggle a{
    text-decoration: none;
    color: #393939;
    font-size: 14px;
    font-weight: 600;
    box-sizing: border-box;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  

/*MObile*/
@media only screen and (max-width: 46.1877em) {
    .nutMobile{
        display: block !important;
    }
    .nav-desktop{
        display: none;
    }
    .logoHomeDesktop{
        display: none;
    }
    .custom-menu-mobile{
        display: block !important;
    }
    .txtreport2024mobile{
        color: #C8C182;
        font-weight: 700;
        font-size: 14px;
        text-align: center;
        text-transform: uppercase;
    }
    .txtreport2024{
        display: none;
    }
    .nnDesktop{
        display: none;
    }
    .txtBHTG{
        display: none;
    }
    .khungFooter{
        flex-direction: column-reverse;
    }
    #btnScrollToTop{
        right: 0px !important;
    }
}
/* tablet width >= 740px and < 1024px */
/* @media only screen and (min-width: 46.25em) and (max-width: 63.9375em) { */
@media only screen and (min-width: 46.25em) and (max-width: 73.75em) {
    .nutMobile{
        display: block !important;
    }
    .nav-desktop{
        display: none;
    }
    .logoHomeDesktop{
        display: none;
    }
    .custom-menu-mobile{
        display: block !important;
    }
    .txtreport2024mobile{
        color: #C8C182;
        font-weight: 700;
        font-size: 14px;
        text-align: center;
        text-transform: uppercase;
    }
    .txtreport2024{
        display: none;
    }
    .nnDesktop{
        display: none;
    }
    .txtBHTG{
        display: none;
    }
    .navbar.custom-menu-mobile {
        position: fixed;
        top: 0;
        right: -2000px;
        width: 100%;
        height: 100vh;
        background: #B8E4FA;
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
        z-index: 1002;
        overflow-y: auto;
        padding-top: 20px;
    }
}
@media only screen and (min-width: 1364px) and (max-width: 1367px) {
    .toc-bg-image {
        object-position: left !important;
    }
    .toc-container {
        max-width: 800px !important;
    }
}
