* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* HEADER */
.header {
    flex-wrap: wrap;
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 5%;
    gap: 10px 20px;
    background:lab(80.43% -14.19 -8.08);
    z-index: 1000;
}

.header.scrolled {
    background:white;
}
/* LOGO */
.logo img {
    height: 80px;
    border-radius: 20px;
}
.logo { 
    display: flex; 
    align-items: center; 
}
.logo span { 
    font-size: 1.8rem; 
    font-weight: bold; 
    color: #000;
    font-family: "Times New Roman", Georgia, serif;
}
/* SEARCH */
.search-bar {
    display: flex;
    gap: 5px;
}

.search-bar input {
    padding: 12px 20px;
    border-radius: 20px;
    border:1px solid black;
}

.search-bar button {
    padding: 10px 30px;
    border: none;
    color: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgb(117, 111, 111);
    background: linear-gradient(to left,#FBC2EB ,red,#FBC2EB);
    background-size: 300% 300%;
    background-position:right;
    transition: all 0.3s ease;
}
.search-bar button:hover{
    background-position:left;

    box-shadow: 0 10px 10px rgba(106,90,249,0.4),
                0 10px 10px rgba(255,110,196,0.4);

}

/* MENU DESKTOP */
.nav-desktop {
    padding: 12px 20px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgb(117, 111, 111);
}

.nav-desktop ul {
    display: flex;
    gap: 25px;
    list-style: none;
    align-items: center;
    justify-content: center;
}

.nav-desktop a {
    display: flex;
    text-decoration: none;
    color: #222;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 25px;
    transition: all 0.3s ease;
    overflow: hidden;
    background: linear-gradient(to left,#FBC2EB ,red,#FBC2EB);
    background-size: 300% 300%;
    background-position:right;

}

.nav-desktop a:hover {
    color: white;
    background-position:left;

    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 10px rgba(106,90,249,0.4),
                0 10px 10px rgba(255,110,196,0.4);
}
/* MENU BUTTON */
.menu-btn {
    display: none;
    
    border: none;
    padding: 20px;
    border-radius: 20px;
    background: linear-gradient(to left,#FBC2EB ,red,#FBC2EB);
    background-size: 300% 300%;
    background-position:right;
    transition: all 0.3s ease;

}

.menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 4px 0;
}

.menu-btn:hover{
    background-position:left;

    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 10px rgba(106,90,249,0.4),
                0 10px 10px rgba(255,110,196,0.4);
}


/* SIDEBAR */
.sidebar {
    position: fixed;
    left: -250px;
    top: auto;
    width: 250px;
    height: 100%;
    background: #333;
    padding-top: 60px;
    transition: 0.3s;
    z-index: 1100;
}

.sidebar.active {
    left: 0;
}

.sidebar a {
    display: block;
    padding: 20px;
    color: white;
    text-decoration: none;
}

.sidebar a:hover {
    background: #555;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    background: none;
    border: none;
    color: white;
}

/* BANNER */
.banner {
    width: 100%;
    margin-top: 100px;
    height: 500px;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: 1s;
}

.slide.active {
    opacity:1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/*TEXT*/
.banner-content {
    position: absolute;
    top: 30%;
    left: 10%;
    text-align: center;
    color: white;
    z-index: 2;
    text-shadow: 0 4px 10px rgba(0,0,0,0.7);
}
.banner-content h1 {
    font-size: 48px; 
    font-weight: 700;
}

.banner-content p {
    font-size: 20px;
    font-weight: 400;
}
/* mặc định ẩn */
.slide .banner-content h1,
.slide .banner-content p,
.slide .banner-btn {
    margin: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease; 
}

/* khi active */
.slide.active .banner-content h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.slide.active .banner-content p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.slide.active .banner-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

/* BUTTON */
.banner-btn {
    display: inline-block;
    padding: 10px 25px;
    background: orange;
    color: white;
    text-decoration: none;
    border-radius: 20px;
}
.banner-btn:hover{
    background: #00bcd4;
}

/* RESPONSIVE */
@media (max-width: 860px) {
    .nav-desktop {
        display: none;
    }
    .banner{
        width: 100%;
    }

    .menu-btn {
        display: block;
    }
    .contact-container {
    flex-direction: column; 
    }
    

}

#prev, #next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    opacity: 0.3;
}

#prev {
    left: 10px;
}

#next {
    right: 10px;
}

#next:hover{
    background-color: aqua;
    opacity: 0.7;
}
#prev:hover{
    background-color: aqua;
    opacity: 0.7;
}
.dots {
    position: absolute;
    bottom: 0; /* sát đáy */
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 5px 10px;
}

.dot {
    height: 12px;
    width: 20px;
    margin: 5px;
    display: inline-block;
    background: gray;
    border-radius: 20px;
}

.dot.active {
    width: 50px;
    background: orange;
    border-radius: 20px;

}
/* Muc I */

/* CONTACT SECTION */

.tieu-de{
    color: red;
    text-align: center;
    margin-top: 50px;
    
}
.contact-section {
    padding: 20px 10%;
    background-color: #f9f9f9;
}

.contact-container {
    display: flex;
    gap: 50px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.map-container {
    width: 100%;
    margin-top: 20px;
    overflow: hidden; 
    border-radius: 10px;
    border: 2px solid #00bcd4; 
}

.map-container iframe {
    height: 200px;
    display: block; 
    width: 100%;
    border: none;
}

.contact-form {
    flex: 1;
}

.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    font-family: inherit;
    resize: vertical; 
}

.contact-form textarea:focus {
    border-color: #00bcd4;
}

.input-group {
    margin-bottom: 15px;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
}

.input-group input:focus {
    border-color: #00bcd4;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: #ff6a00;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
}

.login-btn:hover {
    background: #00bcd4;
}

.duongke{
    border: 0.5px solid darkgray;
    margin: 20px 10%;

}

.home {
    padding: 60px 10%;
    text-align: center;
    background: #f5f5f5;
}

.home-title {
    font-size: 36px;
    margin-bottom: 10px;
}

.home-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.home-box {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.box {
    flex: 1;
    min-width: 250px;
    background: white;
    padding: 25px;
    border-radius: 10px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.box:hover {
    transform: translateY(-10px);
}

.box i {
    font-size: 40px;
    color: #ff6600;
    margin-bottom: 15px;
}

.home-cta {
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, #ff6600, #ff9966);
    color: white;
    border-radius: 10px;
}

.home-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background: white;
    color: #ff6600;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.home-btn:hover {
    background: black;
    color: white;
}

/* ABOUT */
.about {
    padding: 60px 10%;
    background: white;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
}

.about-text h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.about-text p {
    color: #555;
    margin-bottom: 10px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

/* WHY */
.why {
    padding: 60px 10%;
    background: #f5f5f5;
    text-align: center;
}

.why-title {
    font-size: 32px;
    margin-bottom: 40px;
}

.why-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.why-box {
    flex: 1;
    min-width: 220px;
    background: white;
    padding: 25px;
    border-radius: 10px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.why-box:hover {
    transform: translateY(-10px);
}

.why-box i {
    font-size: 35px;
    color: #ff6600;
    margin-bottom: 10px;
}