@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* Reset mặc định */
* {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;

}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #fff;
}

/* Banner Image */
.product-banner {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.product-banner img {
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
}

.product-banner img {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;

}

.product-banner img.active {
    opacity: 1;
}

.product-banner img.fade-in {
    opacity: 1;
}

.product-banner img.fade-out {
    opacity: 0;
}

.product-banner img.slide-in {
    animation: slide-in 0.5s forwards;
}

@keyframes slide-in {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

.dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #717171;
}

/* Hero Section */


.hero-title {
    font-size: 2.5em;
}

.hero-subtitle {
    font-size: 1.2em;
}

.hero-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgba(0, 123, 255, 0.8);
    /* Semi-transparent background */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.hero-button:hover {
    background-color: rgba(0, 86, 179, 0.8);
    /* Semi-transparent hover color */
}



@media (min-width: 1920px) {
    .about {
        background: url('/assets/images/about/about.png') no-repeat center center;
        background-size: cover;
    }
}


/* Section About */
.about {
    width: 100%;
    height: auto;
    /* Allow dynamic height based on content */
    background: url('/assets/images/about/about.png') no-repeat center center;
    background-size: cover;
    padding: 60px 20px;
    /* Add padding for better spacing */
    color: #fff;
    text-align: center;
}

/* Container */
.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    align-items: center;
    justify-content: flex-end;
}

.about-content-container {
    max-width: 500px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.411);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgb(1, 216, 254);
    text-align: left;
}

.about-title {
    font-size: 36px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-decoration: wavy;
    color: #015871;
}

.about-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}

/* Highlighted Text */
.about-highlight {
    font-size: 18px;
    font-weight: 700;
    font-style: italic;
    color: #276ef1;
    text-align: center;
    margin-top: 20px;
}

/* Subtitle */
.about-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #276ef1;
    margin-bottom: 20px;
    border-bottom: 3px solid #f24141;
    display: inline-block;
    padding-bottom: 5px;
}

/* Tiêu đề phụ */
.about-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #276ef1;
    text-align: center;
    margin-bottom: 15px;
    border-bottom: 3px solid #f24141;
    display: inline-block;
    padding-bottom: 5px;
}

/* Nội dung */
.about-content {
    font-size: 17px;
    line-height: 1.6;
    color: #444;
    text-align: justify;
    margin-bottom: 15px;
}

/* Làm nổi bật chứng nhận */
.certified {
    font-weight: bold;
    color: #276ef1;
    /* background: #ffe5e5; */
    padding: 2px 6px;
    border-radius: 5px;
}

/* Nhấn mạnh chữ 3T */
.highlight-3T {
    font-weight: bold;
    color: #276ef1;
    /* text-shadow: 1px 1px 4px rgba(214, 27, 27, 0.3); */
}

/* Câu slogan */
.about-highlight {
    font-size: 18px;
    font-weight: 700;
    font-style: italic;
    color: #276ef1;
    text-align: center;
    margin-top: 20px;
}


/* Product Section */
.product {
    padding: auto;
    background: #ffffff;
    text-align: center;
    margin-bottom: 50px;
}

.product-header {
    background-image: url('//bizweb.dktcdn.net/100/448/480/themes/852397/assets/bg_section_product_title.png?1729055058721');
    background-size: cover;
    /* Đảm bảo hình ảnh bao phủ toàn bộ vùng */
    background-position: center;
    /* Canh giữa hình ảnh */
    background-repeat: no-repeat;
    /* Không lặp lại hình ảnh */
    height: 150px;
    filter: hue-rotate(10deg);
    /* Xoay tông màu ảnh */
    /* Điều chỉnh chiều cao phù hợp */
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: visible;
    /* Nếu bạn cần giữ thuộc tính này */
}

.product-title {
    font-size: 36px;
    font-weight: bold;
    color: #ffffff;
    /* Màu chữ trắng để nổi bật trên nền */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

/* Product Container */
.product-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

/* Product Item */
.product-item {
    width: 240px;
    background-color: #fff;
    border-radius: 40px;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Product Image */
.product-image {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 10px;
    object-fit: cover;
}

/* Product Name */
.product-name {
    font-size: 16px;
    font-weight: bold;
    color: #017ea7;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Icon Hover Effect */
.product-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.product-item:hover .product-icon {
    background-color: #017ea7;
    transform: scale(1.1);
}

.product-icon i {
    font-size: 20px;
    color: #017ea7;
    transition: color 0.3s ease;
}

.product-item:hover .product-icon i {
    color: #fff;
}

/* Footer Button */
.product-footer {
    margin-top: 30px;
}

.view-all-btn {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background-color: #017ea7;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.view-all-btn:hover {
    background-color: #015f73;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-item {
        width: 45%;
    }
}

@media (max-width: 480px) {
    .product-item {
        width: 100%;
    }
}


/* Section Technology */
.technology-services {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.technology {
    height: 1455px;
    background: url('/assets/images/banner/banner_1.png') no-repeat center center;
    background-size: cover;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}



.technology-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

/* Title */
.technology-title {
    font-size: 36px;
    font-weight: bold;
    text-transform: uppercase;
    color: #015871;
    margin-bottom: 1200px;
}

/* Content */
.technology-content {
    position: relative;
    width: 100%;
}

/* ----- */

.process-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
    text-align: left;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.process-icon {
    font-size: 32px;
    color: #37bef8;
    flex-shrink: 0;
}

.process-step h4 {
    font-size: 18px;
    color: #015871;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.process-step p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.process-step strong {
    color: #37bef8;
}


.technology-mobile {
    padding: 20px;
    background: linear-gradient(135deg, #f5fafd, #ffffff);
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 20px auto;
    display: none;
}

.technology-title-mobile {
    font-size: 24px;
    color: #015871;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-align: center;
}

.technology-content-mobile h3 {
    font-size: 18px;
    color: #37bef8;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: left;
    text-transform: uppercase;
    border-left: 4px solid #015871;
    padding-left: 10px;
}

.technology-content-mobile p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.technology-content-mobile ul {
    padding-left: 20px;
    list-style-type: disc;
    margin-bottom: 15px;
}

.technology-content-mobile li {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.technology-content-mobile strong {
    color: #015871;
    font-weight: bold;
}

.technology-content-mobile ul li:hover {
    color: #015871;
}

.technology-content-mobile h3:hover {
    color: #015871;
    border-color: #37bef8;
}

.technology-mobile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


/* Responsive Rules */
@media (max-width: 1024px) {

    /* Hiển thị trên tablet và mobile */
    .technology-mobile {
        display: block;
    }

    .technology {
        display: none;
        /* Ẩn giao diện desktop */
    }
}

@media (max-width: 768px) {
    .technology-title-mobile {
        font-size: 1.25rem;
    }

    .technology-content-mobile {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .technology-title-mobile {
        font-size: 1.15rem;
    }

    .technology-content-mobile {
        font-size: 0.8rem;
    }
}

/* @media (max-width: 1920px) {
    .technology {
        background-size: contain;
        background-position: top center;
    }
} */



/* Services Section */
.services {
    height: 1240px;
    background: url('/assets/images/services-bg.png') no-repeat center center;
    background-size: cover;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}



.services-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* background-color: rgba(255, 255, 255, 0.8); */
    /* Semi-transparent white background */
    padding: 30px;
    border-radius: 10px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.385); */
    /* Subtle shadow for depth */
}

.services-content-container {
    max-width: 700px;
    margin-left: 350px;
    text-align: right;
}

.services-title {
    padding: 50px 0;
    font-size: 36px;
    color: #015871;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-align: center;
}

.services-subtitle {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: center;
}

.services-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    text-align: justify;
}

.services-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.services-list li {
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.services-list li:hover {
    transform: translateX(10px);
    color: #015871;
}

.services-list i {
    font-size: 20px;
    color: #37bef8;
    transition: color 0.3s ease;
}

.services-list li:hover i {
    color: #015871;
}

.services-highlight {
    font-size: 18px;
    font-style: italic;
    font-weight: 700;
    color: #ffffff;
    margin-top: 20px;
    text-align: center;
}

/* Blog Section */
.blog-section {
    padding: 50px 20px;
    background-color: #ffffff;
    text-align: center;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-title {
    font-size: 36px;
    color: #015871;
    font-weight: bold;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.blog-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.blog-item-title {
    font-size: 18px;
    color: #015871;
    font-weight: bold;
    margin-bottom: 10px;
}

.blog-description {
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
    flex-grow: 1;
    text-align: left;
}

.blog-link {
    font-size: 14px;
    color: #37bef8;
    text-decoration: none;
    font-weight: bold;
    align-self: flex-start;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: #015871;
}

.blog-footer {
    margin-top: 20px;
}

.view-all-blog {
    font-size: 18px;
    color: #015871;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid #015871;
    border-radius: 25px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.view-all-blog:hover {
    background-color: #015871;
    color: #ffffff;
}




/* Animation */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-right {
    opacity: 0;
    animation: slideInRight 1s forwards;
}

.hidden {
    visibility: hidden;
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slide-in-up {
    opacity: 0;
    animation: slideInUp 1s forwards;
}

.hidden {
    visibility: hidden;
}

/* Responsive */
@media (max-width: 768px) {

    /* navigation */
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }

    /* logo */
    /* .logo-container {
        margin-bottom: 10px;
    } */

    /* about */
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-content {
        text-align: center;
    }

}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        height: 70vh;
        /* Reduce height for mobile */
        background-size: cover;
        padding: 20px;
    }

    .about,
    .services,
    .technology {
        background-size: contain;
        /* Scale down the background */
        padding: 40px 20px;
    }

    .hero h1,
    .about-title,
    .services-title,
    .technology-title {
        font-size: 24px;
        /* Adjust font size for smaller screens */
    }

    .hero p,
    .about-content,
    .services-content {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 50vh;
        /* Further reduce height for very small screens */
        padding: 15px;
    }

    .about,
    .services,
    .technology {
        background-size: cover;
        padding: 30px 10px;
    }

    .hero h1,
    .about-title,
    .services-title,
    .technology-title {
        font-size: 18px;
        /* Smaller font for very small screens */
    }

    .hero p,
    .about-content,
    .services-content {
        font-size: 14px;
    }
}

.services-mobile {
    padding: 20px;
    background: linear-gradient(135deg, #f9f9f9, #ffffff);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    margin: 20px auto;
    max-width: 600px;
    display: none;
}

.services-title-mobile {
    font-size: 24px;
    color: #015871;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    /* center */
    text-align: center;
}

.services-content-mobile {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.services-card-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.service-card i {
    font-size: 32px;
    color: #37bef8;
    flex-shrink: 0;
}

.service-card h3 {
    font-size: 18px;
    color: #015871;
    font-weight: bold;
    margin-bottom: 5px;
}

.service-card p {
    font-size: 14px;
    color: #666;
}

.services-highlight-mobile {
    font-size: 18px;
    color: #37bef8;
    font-style: italic;
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
}

/* Đặt khung popup chiếm toàn bộ màn hình, ẩn mặc định */
#notification {
    position: fixed; 
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%; 
    display: none; /* Mặc định ẩn */
    justify-content: center; 
    align-items: center;
    background-color: rgba(0, 0, 0, 0.4); /* Lớp mờ phía sau popup */
    z-index: 9999; /* Đảm bảo popup nổi trên cùng */
  }

  /* Nội dung của popup */
  .notification-content {
    background-color: #fff; 
    padding: 20px; 
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
  }

  /* Ví dụ chèn ảnh (bạn có thể thay bằng thẻ <img src="...">) */
  .notification-content img {
    max-width: 100%;
    height: auto;
    margin-bottom: 16px;
  }


  .close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
  
    /* Kích thước cố định để tạo hình tròn */
    width: 32px;
    height: 32px;
    
    /* Loại bỏ padding mặc định, nếu có */
    padding: 0;
    margin: 0;
    border: none;
  
    /* Màu sắc, bo tròn, căn giữa “×” */
    background-color: #FFC107; /* Màu vàng ví dụ */
    color: #fff;              /* Màu chữ trắng */
    border-radius: 50%;       /* Hình tròn */
    
    /* Đảm bảo “×” nằm giữa theo chiều dọc */
    font-size: 20px;
    line-height: 32px; /* Bằng chiều cao nút */
    text-align: center;
    cursor: pointer;
  
    /* Tạo bóng đổ nhẹ */
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  
    /* Hiệu ứng hover */
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  .close-btn:hover {
    background-color: #FFB300; /* Vàng đậm hơn khi hover */
    transform: scale(1.05);    /* Phóng to nhẹ */
  }

/* Responsive Rules */
@media (max-width: 1024px) {

    /* Hiển thị trên tablet và mobile */
    .services-mobile {
        display: block;
    }

    .services {
        display: none;
        /* Ẩn giao diện desktop */
    }
}

@media (max-width: 768px) {
    .services-title-mobile {
        font-size: 1.25rem;
    }

    .services-content-mobile,
    .services-list-mobile li {
        font-size: 0.85rem;
    }

    .services-highlight-mobile {
        font-size: 0.9rem;
    }
}