* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	max-width: 100%;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
	margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden; /* Đảm bảo không có tràn ngang */
    background-color: #f4f4f4;
}
.navbar-brand img {
    max-width: 150px;
}

.navbar-nav .nav-link {
    color: #252525 !important;
    font-weight: bold; /* Chữ in đậm */
    margin-right: 15px;
    transition: background-color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background-color: #e1e1e1; /* Màu đỏ khi hover */
    color: #fff !important;/* Màu chữ chuyển thành trắng khi hover */
    border-radius: 5px; /* Bo góc nhẹ khi hover */
    padding: 5px 10px; /* Thêm padding để có hiệu ứng đẹp hơn khi hover */
}

.special-heading {
    color: black; /* Màu đen */
    font-weight: bold; /* In đậm */
    text-align: center; /* Căn giữa */
    margin-bottom: 4rem; /* Khoảng cách dưới */
}

.product-header-section {
    position: relative;
    background-color: white;
    height: calc(100vh - 80px); /* Giới hạn chiều cao bao gồm menu chính */
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-header-section .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-header-section .text-overlay {
    text-align: left;
    margin-left: 0px;
	margin-top: 20px;
    max-width: 100%;
}

.product-header-section .text-overlay img {
    margin-bottom: 1.5rem;
}

.product-header-section h1 {
    color: black;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.product-header-section h2 {
    color: black;
    margin-bottom: 1.5rem;
}

.product-header-section .header-overlay {
    position: relative;
    height: auto;
    object-fit: contain;
    z-index: 1;
    max-width: 50%; /* Giới hạn chiều rộng của hình ảnh */
    margin-left: auto; /* Đẩy hình ảnh về phía bên phải */
}

@media (max-width: 768px) {
    .product-header-section {
        height: auto;
    }

    .product-header-section .container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .product-header-section .text-overlay {
        padding: 0;
        top: 20px;
        left: 0;
        text-align: center;
        max-width: 100%;
    }

    .product-header-section .text-overlay h2 {
        padding: 0 20px 0;
		font-size:1.2rem;
    }
	.product-header-section .text-overlay h1 {
        padding: 0 20px 0;
		font-size:2rem;
    }

    .product-header-section .header-overlay {
        max-width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }
}

.btn-rounded {
    border-radius: 25px;
}

.btn-outline-danger {
    color: #dc3545;
    background-color: transparent;
    background-image: none;
    border-color: #dc3545;
}

.btn-outline-danger:hover {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

#product-summary {
    background: url('/n5-dual/Selling-Points-Background.png') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 30px 0;
    width: 100%;
	position: relative;
}

.photoset {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 20px;
    width: 1000px; /* Chiều rộng của photoset */
    height: 1100px; /* Chiều cao của photoset */
    margin: 0 auto;
}

.photo {
    position: relative;
    overflow: hidden;
    background-color: #b4b4b4;
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-text {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0);
    color: black;
    padding: 10px;
    text-align: center;
    font-size: 1.5rem;
}

.photo.selling-point-1 .gallery-text,
.photo.selling-point-3 .gallery-text,
.photo.selling-point-6 .gallery-text,
.photo.selling-point-8 .gallery-text {
    color: white;
    font-size: 1.5rem;
    text-align: center;
}

.photo.selling-point-2 .gallery-text,
.photo.selling-point-4 .gallery-text,
.photo.selling-point-5 .gallery-text {
    color: black;
    font-size: 1.5rem;
    text-align: center;
}

.photo.selling-point-1 .gallery-text {
	font-size: 2rem; /* Tăng kích thước chữ */
	font-weight:bold;
    line-height: 1.6; /* Đảm bảo khoảng cách giữa các dòng phù hợp */
    text-align: center; /* Căn giữa văn bản */
    color: white; /* Màu chữ */
    display: block; /* Đảm bảo rằng nội dung nằm trên một dòng riêng */
    margin: 0 auto; /* Căn giữa nội dung */
    background: rgba(0, 0, 0, 0); /* Thêm nền mờ để tăng độ tương phản với hình nền */
    padding: 10px; /* Thêm khoảng đệm xung quanh văn bản */
	top: 50%;
	white-space: nowrap; /* Ngăn chặn việc xuống dòng tự động */
    overflow: hidden; /* Đảm bảo rằng văn bản không tràn ra ngoài khung chứa */
    text-overflow: ellipsis; /* Thêm dấu ba chấm nếu văn bản quá dài */
}
	

.photo.selling-point-2 .gallery-text {
    left: 30%;
    top: 30%;
}

.photo.selling-point-3 .gallery-text {
    font-size: 6rem; /* Tăng kích thước chữ */
    line-height: 1.6; /* Đảm bảo khoảng cách giữa các dòng phù hợp */
    text-align: center; /* Căn giữa văn bản */
    color: white; /* Màu chữ */
    display: block; /* Đảm bảo rằng nội dung nằm trên một dòng riêng */
    margin: 0 auto; /* Căn giữa nội dung */
    background: rgba(0, 0, 0, 0); /* Thêm nền mờ để tăng độ tương phản với hình nền */
    padding: 10px; /* Thêm khoảng đệm xung quanh văn bản */
	top: 50%;
}

.photo.selling-point-3 .gallery-text .sub-text {
    font-size: 1.2rem; /* Kích thước chữ nhỏ hơn cho dòng phụ */
    display: block; /* Đảm bảo rằng nội dung nằm trên một dòng riêng */
    margin-top: 5px; /* Khoảng cách phía trên cho dòng phụ */
}	

.photo.selling-point-4 .gallery-text {
    top: 85%;
	left:50%;
    font-size: 1.35rem;
}

.photo.selling-point-5 .gallery-text {
	top: 85%;
	left:50%;
    font-size: 1.35rem;
}

.photo.selling-point-6 .gallery-text {
	top: 30%;
	left:50%;
	
}

.photo.selling-point-7 .gallery-text {
	color: black;
	top: 30%;
	left:50%;
}

.photo.selling-point-8 .gallery-text {
	top: 30%;
	left:50%;
	white-space: nowrap; /* Ngăn chặn việc xuống dòng tự động */
    overflow: hidden; /* Đảm bảo rằng văn bản không tràn ra ngoài khung chứa */
    text-overflow: ellipsis; /* Thêm dấu ba chấm nếu văn bản quá dài */
}
	

/* Chiều cao của các ảnh */
.photo.selling-point-1 {
    grid-column: span 7;
    grid-row: span 2;
    height: 290px; /* Chiều cao của selling-point-1 */
}

.photo.selling-point-2 {
    grid-column: span 5;
    grid-row: span 2;
    height: 290px; /* Chiều cao của selling-point-2 */
}

.photo.selling-point-3 {
    grid-column: span 7;
    grid-row: span 2;
    height: 310px;	/* Chiều cao của selling-point-3 */
}

.photo.selling-point-4 {
    grid-column: 8 / span 5;
    grid-row: 3 / span 1;
    height: 145px; /* Chiều cao của selling-point-4 để nằm chung dòng với selling-point-3 */
    background-color: #b4b4b4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo.selling-point-5 {
    grid-column: 8 / span 5;
    grid-row: 4 / span 1;
    height: 145px; /* Chiều cao của selling-point-5 để nằm chung dòng với selling-point-3 */
    background-color: #b4b4b4;
    display: flex;
    align-items: center;
    justify-content: center;
}
.photo.selling-point-4 img,
.photo.selling-point-5 img {
    width: 94px;
    height: 65px;
    object-fit: cover;
}

.photo.selling-point-6,
.photo.selling-point-7,
.photo.selling-point-8 {
    grid-column: span 4;
    height: 293px;
}

@media (max-width: 768px) {
	.photoset {
        grid-template-columns: 1fr; /* Điều chỉnh photoset thành một cột trên thiết bị di động */
        grid-template-rows: auto;
        width: 100%; /* Chiều rộng 100% trên thiết bị di động */
        height: auto;
		display: flex;
        flex-wrap: wrap;		/* Chiều cao tự động trên thiết bị di động */
    }

    .photo {
		flex: 1 1 calc(50% - 10px);
        margin: 5px;
        height: auto; /* Chiều cao tự động trên thiết bị di động */
    }
    .gallery-text {
        font-size: 1.35rem; /* Điều chỉnh kích thước chữ cho màn hình nhỏ */
	    word-break: break-word;
	}	
	.overlay-text {
        font-size: 1rem; /* Điều chỉnh kích thước chữ */
        max-width: 90%; /* Đảm bảo chữ không tràn ra ngoài */
    }

    .photo.selling-point-4 img,
	.photo.selling-point-5 img							{
        float: left; /* Căn trái ảnh */
    }

    .photo.selling-point-4,
	.photo.selling-point-5	
	{
        height: 190px; /* Giữ chiều cao như trên web */
    }
	
	 .photo.selling-point-3 .gallery-text .sub-text {
        font-size: 1rem; /* Kích thước chữ nhỏ hơn cho dòng phụ trên thiết bị di động */
    }
    
	
}

@media (max-width: 480px) {
    .gallery-text {
        word-break: break-word;
		white-space: nowrap; /* Ngăn chặn việc xuống dòng tự động */
        overflow: hidden; /* Đảm bảo rằng văn bản không tràn ra ngoài khung chứa */
        text-overflow: ellipsis; /* Thêm dấu ba chấm nếu văn bản quá dài */
}
    }
	.photo.selling-point-1 .gallery-text {
	font-size: 1.5rem; /* Tăng kích thước chữ */
}

#product-details {
    background-color: #f4f4f4; /* Ensure a different background for separation */
    color: black;
    padding: 30px 0;
    width: 100%;
    position: relative; /* Ensure proper positioning */
}

@media (max-width: 768px) {
	#product-details .row {
		margin-left: 0;
		margin-right: 0;
	}
	#product-details .special-heading {
        line-height: 2.5rem;
    }

    #product-details .gradient-text {
        font-size: 1.8rem;
    }

}

.gradient-text {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3rem;
	line-height: 1.5;
	font-weight: bold;
}

.detail-highlight {
    display: block;
    color: #6a11cb;
    font-size: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.position-relative {
    position: relative;
}

.full-width-image-section {
    position: relative;
    width: 100vw; /* Đảm bảo phần tử tràn ra toàn bộ chiều rộng của cửa sổ */
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.full-width-image-section img.full-width-image {
    width: 100vw; /* Đảm bảo ảnh tràn ra toàn bộ chiều rộng của cửa sổ */
    height: auto;
    object-fit: cover; /* Đảm bảo ảnh dạng cover */
    min-height: 667px; /* Chiều cao tối thiểu cho điện thoại */
}

.overlay-text {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background-color: rgba(0, 0, 0, 0); /* Tạo nền mờ cho văn bản */
    padding: 0px;
    text-align: center;
    border-radius: 10px;
    max-width: 90%;
}

.button-overlay {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 10px;
    justify-content: center;
}

.button-overlay a.btn {
    background-color: rgba(0, 0, 0, 0.5); /* Tạo nền mờ cho nút */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .full-width-image-section img.full-width-image {
        min-height: 667px; /* Chiều cao tối thiểu cho điện thoại */
    }

    .full-width-image-container img.full-width-image {
        height: auto; /* Đảm bảo ảnh dạng cover */
        min-height: 667px; /* Chiều cao tối thiểu */
    }

    .overlay-text {
        top: 10%; /* Điều chỉnh vị trí văn bản */
		left: 30%;
		margin-left:20px;
		text-align: left;
        transform: translate(-50%, 0%);
        font-size: 14px; /* Điều chỉnh kích thước chữ nhỏ lại cho phù hợp với màn hình nhỏ */
    }

    .overlay-text h3 {
        font-weight: bold;
		font-size: 1.5rem; /* Điều chỉnh kích thước chữ tiêu đề */
    }

    .overlay-text p {
        font-size: 1rem; /* Điều chỉnh kích thước chữ nội dung */
    }
	.button-overlay {
        flex-direction: column; /* Chuyển sang dạng cột trên điện thoại */
        top: 80%; /* Điều chỉnh vị trí nút */
    }

    .button-overlay a.btn {
        margin-bottom: 5px; /* Khoảng cách giữa các nút */
    }

    .button-overlay a.btn:last-child {
        margin-bottom: 0; /* Xóa khoảng cách cho nút cuối cùng */
    }
}
@media (max-width: 768px) {
	#nightvis .gradient-text {
        font-size: 1.8rem;
    }
}


#smart-parking .smart-parking-heading {
    font-size: 2rem; /* Kích thước chữ to hơn */
    font-weight: bold; /* In đậm */
    margin-top: 20px; /* Khoảng cách trên */
}

#smart-parking .smart-parking-subheading {
    font-size: 1.5rem; /* Kích thước chữ to hơn */
	font-weight: bold; /* In đậm */
    display: block;
    margin-top: 10px; /* Khoảng cách trên */
    margin-bottom: 10px; /* Khoảng cách dưới */
}

#smart-parking .gradient-text {
    display: block;
    font-size: 2rem; /* Kích thước chữ to hơn */
    font-weight: bold; /* In đậm */
    background: linear-gradient(to right,#2575fc, #7b0046);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 120px; /* Khoảng cách trên */
    margin-bottom: 20px; /* Khoảng cách dưới */
}

#smart-parking .video-container {
    margin-top: 80px; /* Khoảng cách trên */
}
/* Overlay text on top of the image */
.text-overlay-smart-parking {
    position: absolute;
    top: 50%; /* Điều chỉnh khoảng cách từ đỉnh ảnh */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    z-index: 2;
}
}
/* Điều chỉnh kích thước chữ cho thiết bị di động */
@media (max-width: 768px) {
    #smart-parking .smart-parking-heading {
        font-size: 1.5rem; /* Kích thước chữ nhỏ hơn cho di động */
		margin-top: 10px; /* Khoảng cách trên */
		white-space: nowrap; /* Ngăn chặn việc xuống dòng tự động */
        overflow: hidden; /* Đảm bảo rằng văn bản không tràn ra ngoài khung chứa */
        text-overflow: ellipsis; /* Thêm dấu ba chấm nếu văn bản quá dài */
    }

    #smart-parking .smart-parking-subheading {
        font-size: 1.2rem; /* Kích thước chữ nhỏ hơn cho di động */
    }
}
@media (max-width: 480px) {
	
    .text-overlay-smart-parking {
    top: 10%; /* Điều chỉnh khoảng cách từ đỉnh ảnh */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
	}
	#smart-parking .smart-parking-heading {
        font-size: 1.4rem; /* Kích thước chữ nhỏ hơn cho di động */
		margin-top:50px; /* Khoảng cách trên */
		white-space: nowrap; /* Ngăn chặn việc xuống dòng tự động */
        overflow: hidden; /* Đảm bảo rằng văn bản không tràn ra ngoài khung chứa */
        text-overflow: ellipsis; /* Thêm dấu ba chấm nếu văn bản quá dài */
	}
	 #smart-parking .smart-parking-subheading {
        font-size: 1.1rem; /* Kích thước chữ nhỏ hơn cho di động */
    }
	 #smart-parking .video-container {
        width: 100%;
        max-width: 100%; /* Chiều rộng video bằng 100% màn hình trên di động */
    }
	
	#smart-parking .row {
		margin-left: 0;
		margin-right: 0;
	}
}

#al-protection .row {
    display: flex;
    align-items: center;
}

#al-protection h3 {
    font-size: 1.5rem;
    font-weight: bold;
}

#al-protection p {
    font-size: 1rem;
}

#al-protection .img-fluid {
    width: 100%;
    height: auto;
}

.text-container {
    background-color: #e1e1e1;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
	height:auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #al-protection .col-md-4, 
    #al-protection .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .text-container {
        padding: 15px;
    }
    
    #al-protection .row {
        flex-direction: column;
    }
    
    #al-protection .img-fluid {
        margin-bottom: 20px;
    }
    
    #al-protection h3 {
        text-align: center;
    }
	#al-protection .row {
		margin-left: 0;
		margin-right: 0;
	}
}

.custom-left-text {
    text-align: left;
}


#d2-save-storage .full-width-image-section {
    position: relative;
    width: 100vw;
    background-color: #e5e5e5;
    overflow: hidden;
	left: 0%;
    right: 0%;
    margin-left: 0vw;
    margin-right: 0vw;


}

#d2-save-storage .full-width-background {
    width: 100%;
    background-color: #e5e5e5;
    position: relative;
    
}

#d2-save-storage .full-width-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Thay đổi từ 'cover' thành 'contain' */
    margin: 0 auto;
}

#d2-save-storage .text-overlay {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -20%);
    color: black;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    background-color: rgba(0, 0, 0, 0); /* Nền mờ để làm nổi bật chữ */
}

#d2-save-storage p {
    margin-top: 20px;
}

#d2-save-storage .d2-save-span-text {
    font-size: 2rem;
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

#d2-save-storage .button-overlay {
    position: relative;
    top: -20px; /* Đảm bảo nút nằm ngay dưới ảnh */
	margin-top: 100px;
    margin-bottom: 20px; /* Khoảng cách giữa nút và các phần tử bên dưới */
}

#d2-save-storage .button-overlay a {
    margin: 5px;
    display: inline-block;
}

@media (max-width: 768px) {
    #d2-save-storage .text-overlay {
        top: 10%;
        transform: translate(-50%, -10%);
        width: 90%;
        padding: 15px;
    }
	
		
    #d2-save-storage .d2-save-span-text {
        font-size: 1.5rem;
    }

    #d2-save-storage .full-width-image {
        width:100vw;
		margin-top: 200px;
		margin-bottom: 0px; /* Tạo khoảng cách giữa ảnh và phần văn bản bên dưới */
		content: url('/n5-dual/512GB-MicroSD-card-and-32GB-buil.png');
		object-fit: cover; /* Đảm bảo hình ảnh không bị cắt xén */
    }

    #d2-save-storage p {
        margin-top: 20px; /* Khoảng cách giữa đoạn văn và các phần khác */
    }

    #d2-save-storage .button-overlay {
        top: -10px;
        margin-bottom: 10px;
    }

    #d2-save-storage .button-overlay a {
        display: block;
        margin: 5px auto;
    }
	#d2-save-storage .row {
		margin-left: 0;
		margin-right: 0;
	}
	#d2-save-storage .gradient-text {
        font-size: 1.8rem;
    }
}


#supercapacitor .gradient-text {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



#supercapacitor .supercapacitor-span-text {
    font-size: 2rem;
    font-weight: bold;
    display: block;
    margin-top: 10px;
}


#supercapacitor .feature-box {
    border: 2px solid #e5e5e5;
    padding: 40px 40px 40px 120px; /* Tăng khoảng cách trái để tạo chỗ cho biểu tượng */
    margin-bottom: 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
	max-width:60%;
    background-repeat: no-repeat;
    background-position: 20px center; /* Đặt biểu tượng ở vị trí trái */
    background-size: 60px auto; /* Tăng kích thước biểu tượng */
}

/* Custom icons for each list item */
#supercapacitor .temp-icon {
    background-image: url('/n5-dual/Temperature-Icons.png');
}

#supercapacitor .fire-icon {
    background-image: url('/n5-dual/fire-protection.png');
}

#supercapacitor .battery-icon {
    background-image: url('/n5-dual/battery-protection-icon.png');
}
/* Điều chỉnh kích thước hình ảnh nhỏ lại */
#supercapacitor .small-image {
	margin-left: 20px;
    max-width: 100%; /* Giảm kích thước của ảnh xuống 80% so với kích thước gốc */
    height: auto;
}
@media (max-width: 768px) {
    #supercapacitor .feature-box {
        text-align: left;
		max-width:100%;
		
    }

    #supercapacitor .img-fluid {
        margin-top: 20px;
		margin-left:0;
    }
	#supercapacitor .row {
		margin-left: 0;
		margin-right: 0;
	}
	#supercapacitor .gradient-text {
        font-size: 1.8rem;
    }
}


#adas-technology .full-width-background {
    background-color: #e5e5e5;
    padding: 60px 0;
}

#adas-technology .full-width-image-container {
    position: relative;
    width: 100vw;
    
}

#adas-technology .full-width-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

#adas-technology .gradient-text {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    display: block;
    margin-bottom: 20px;
    line-height: 1.5;
}

#adas-technology .adas-technology-span-text {
    font-size: 2rem;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}
#adas-technology p {
	margin-top:20px;
	
}

#adas-technology .row {
    display: flex;
    flex-wrap: wrap;
	align-items: stretch;
}

#adas-technology .col-md-4 {
    display: flex;
    flex-direction: column;
}

#adas-technology .feature-box {
    flex: 1; /* Đảm bảo feature-box chiếm toàn bộ chiều cao của cột */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Căn giữa nội dung theo chiều dọc */
    align-items: center;
    border: 2px solid #9c9c9c;
    padding: 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    text-align: center;
    background-color: transparent;
	min-height:180px;
}

#adas-technology .feature-box .icon {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    background-size: contain;
    background-repeat: no-repeat;
}
#adas-technology .feature-box p {
    margin: 0;
    flex: 1;
    display: flex;
    align-items: center; /* Căn giữa văn bản theo chiều dọc */
    justify-content: center; /* Căn giữa văn bản theo chiều ngang */
}

#adas-technology .custom-column {
    margin-left: 20px;
    margin-right: 20px;
}


#adas-technology .car-side-icon {
    background-image: url('/n5-dual/Front-vehicle-start-alarm.png');
}

#adas-technology .tired-icon {
    background-image: url('/n5-dual/reminder-icon.png');
}

#adas-technology .button-overlay {
    text-align: center;
    margin-top: 150px;
}

#adas-technology .button-overlay a {
    margin: 5px;
    display: inline-block;
}



@media (max-width: 768px) {
	#adas-technology .row {
        flex-direction: column; /* Chuyển sang hướng dọc cho các thiết bị nhỏ */
    }
	#adas-technology .col-md-4 {
        width: 100%;
        margin-bottom: 20px;
    }
	
    #adas-technology .full-width-image {
        width: 100vw;
        height: auto;
        padding-top: 20px; /* Thêm khoảng cách trên */
        padding-bottom: 20px; /* Thêm khoảng cách dưới */
		min-height: auto;
        content: url('/n5-dual/the-vehicel-ahead-has-stated-mov.jpg');
    }

    #adas-technology .feature-box {
        padding: 10px;
		 margin-bottom: 10px;
    }

    #adas-technology .button-overlay {
        margin-top: 180px; /* Giảm khoảng cách phía trên nút */
        margin-bottom: 10px;
    }

    #adas-technology .button-overlay a {
        display: block;
        margin: 5px auto;
    }

    #adas-technology .full-width-image-container {
		min-height: auto;
        margin-bottom: 10px; /* Giảm khoảng cách giữa hình ảnh và feature box */
        padding-top: 0; /* Đặt lại padding trên nếu cần */
        padding-bottom: 0; /* Đặt lại padding dưới nếu cần */
    }

    #adas-technology .full-width-background {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
	#adas-technology .row {
		margin-left: 0;
		margin-right: 0;
	}
	#adas-technology .gradient-text {
        font-size: 1.8rem;
    }
}

#voice-control .gradient-text {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    display: block;
    margin-bottom: 20px;
    line-height: 1.5;
}

#voice-control .voice-control-span-text {
    font-size: 2rem;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}
#voice-control p {
 margin-top: 20px; /* Khoảng cách giữa đoạn văn và các phần khác */
    } 
	
	
@media (max-width: 768px) {
    #voice-control .gradient-text {
        font-size: 1.5rem;
    }

    #voice-control .voice-control-span-text {
        font-size: 1.2rem;
    }

    #voice-control p {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    #voice-control img.img-fluid {
        width: 100%;
        height: auto;
        margin-top: 20px;
    }

    #voice-control .row {
        margin-left: 0;
        margin-right: 0;
    }

    #voice-control .text-center {
        padding-left: 10px;
        padding-right: 10px;
    }
	#voice-control .row {
		margin-left: 0;
		margin-right: 0;
	}
}	


#gps-log .position-relative {
    position: relative;
}

#gps-log .text-overlay {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: black;
    text-align: left;
    max-width: 40%;
}

#gps-log .text-overlay .text-content {
    padding: 20px;
	margin-left:120px;
    border-radius: 0px;
    background-color: transparent; /* Tạo nền mờ để chữ dễ đọc hơn */    
}

#gps-log .gradient-text {
	font-size:2.5rem;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    margin-bottom: 15px;
}



@media (max-width: 768px) {
    #gps-log .text-overlay {
        left: 5%;
        right: 5%;
        top: auto;
        bottom: 10px;
        transform: translateY(0);
        max-width: 90%;
    }

    #gps-log .text-overlay .text-content {
		margin-left:10px;
        padding: 10px;
		margin-top:10px;
		margin-bottom: 450px;
    }

    #gps-log .gradient-text {
        font-size: 1.5rem; /* Giảm kích thước font khi xem trên di động */
    }

    #gps-log p {
        font-size: 0.9rem; /* Giảm kích thước chữ để phù hợp với màn hình nhỏ */
    }

	#gps-log .full-width-image {
        width: 100vw;
        height: auto;
        padding-top: 20px; /* Thêm khoảng cách trên */
        padding-bottom: 20px; /* Thêm khoảng cách dưới */
		min-height: auto;
        content: url('/n5-dual/GPS-Log-1.png');
    }
	#gps-log .row {
		margin-left: 0;
		margin-right: 0;
	}
}

#bluetooth-connection .gradient-text {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    display: block;
    margin-bottom: 20px;
    line-height: 1.5;
}

#bluetooth-connection .bluetooth-connection-span-text {
    font-size: 2rem;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}
#bluetooth-connection p {
 margin-top: 20px; /* Khoảng cách giữa đoạn văn và các phần khác */
    } 
	
	
@media (max-width: 768px) {
    #bluetooth-connection .gradient-text {
        font-size: 1.5rem;
    }

    #bluetooth-connection.voice-control-span-text {
        font-size: 1.2rem;
    }

    #bluetooth-connection p {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    #bluetooth-connection img.img-fluid {
        width: 100%;
        height: auto;
        margin-top: 20px;
    }

    #bluetooth-connection .row {
        margin-left: 0;
        margin-right: 0;
    }

    #bluetooth-connection .text-center {
        padding-left: 10px;
        padding-right: 10px;
    }
	
}	

#n-series-comparison .btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px; /* Đặt chiều cao phù hợp để giữ vị trí của nút */
}
#n-series-comparison .hidden-btn {
    visibility: hidden; /* Ẩn nút nhưng vẫn giữ không gian */
}

#n-series-comparison .btn-outline-danger {
    width: fit-content; /* Nút có chiều rộng vừa với nội dung */
    margin: 0 auto; /* Căn giữa nút trong cột */
}

#n-series-comparison .comparison-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

#n-series-comparison .model-column {
    border: 1px solid #ddd;
    padding: 20px;
    background-color: transparent;
}

#n-series-comparison .shadow-box {
    box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.2);
    z-index: 2;
}
#n-series-comparison .model-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

#n-series-comparison .model-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

#n-series-comparison .spec-title {
    font-weight: bold;
    margin-bottom: 5px;
    padding-bottom: 5px;
}

#n-series-comparison .spec-detail {
    margin-bottom: 15px;
    color: #555;
}

#n-series-comparison .spec-box {
    border-bottom: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
}

#n-series-comparison img.img-fluid {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
}

@media (max-width: 768px) {
    #n-series-comparison .comparison-section .row {
        flex-direction: column;
        align-items: center;
    }

    #n-series-comparison .col-md-4 {
        margin-bottom: 30px;
    }
	#n-series-comparison  .row {
		margin-left: 0;
		margin-right: 0;
	}
	#n-series-comparison .gradient-text {
        font-size: 1.8rem;
    }
}

#product-packaging .section-title {
    color: black;
    text-align: left;
    font-weight: bold;
    font-size: 2rem;
    border-bottom: 2px solid #ddd; /* Border dưới */
    padding-bottom: 10px;
    margin-bottom: 30px;
}

#product-packaging .gradient-text {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    margin-bottom: 30px;
    font-size: 2rem;
}

#product-packaging .packaging-item {
    margin-bottom: 30px;
}

#product-packaging .packaging-box {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

#product-packaging .packaging-box img {
    height: auto; /* Maintain aspect ratio */
    max-height: none; /* Allow image to take its natural height */
    object-fit: contain; /* Ensure the image covers the area (optional) */
}

#product-packaging .packaging-box p {
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}

@media (max-width: 768px) {
    #product-packaging .packaging-item {
        margin-bottom: 20px;
    }
    
    #product-packaging .packaging-box {
        padding: 15px;
    }

    #product-packaging .packaging-box img {
        max-height: 80px;
    }

    #product-packaging .section-title {
        font-size: 1.5rem;
        padding-bottom: 8px;
        margin-bottom: 20px;
    }
	#product-packaging  .row {
		margin-left: 0;
		margin-right: 0;
	}
}
#radar-module-packaging .section-title {
    color: black;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 2rem;
    border-bottom: 2px solid #ddd; /* Border dưới */
    text-align: left; /* Canh trái */
}

#radar-module-packaging .packaging-item {
    margin-bottom: 30px;
}

#radar-module-packaging .packaging-box {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

#radar-module-packaging .packaging-box img {
   height: auto; /* Maintain aspect ratio */
    max-height: none; /* Allow image to take its natural height */
    object-fit: contain; /* Ensure the image covers the area (optional) */
}
}

#radar-module-packaging .packaging-box p {
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}

@media (max-width: 768px) {
    #radar-module-packaging .packaging-item {
        margin-bottom: 20px;
    }
    
    #radar-module-packaging .packaging-box {
        padding: 15px;
    }

    #radar-module-packaging .packaging-box img {
        max-height: 80px;
    }

    #radar-module-packaging .section-title {
        font-size: 1.5rem;
    }
	#radar-module-packaging .row {
		margin-left: 0;
		margin-right: 0;
	}
}

#product-specifications .comparison-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

#product-specifications .section-title {
    color: black;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 2rem;
    border-bottom: 2px solid #ddd;
    text-align: left;
}

#product-specifications .spec-column {
    padding: 20px;
    background-color: transparent;
    text-align: left; /* Canh toàn bộ nội dung về bên trái */
}

#product-specifications .spec-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#product-specifications .spec-title {
    font-weight: bold;
    margin-bottom: 5px;
    padding-bottom: 5px;
    text-align: left; /* Canh tiêu đề về bên trái */
}

#product-specifications .spec-detail {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.6;
    height: 4.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-align: left; /* Canh nội dung về bên trái */
}

#product-specifications .spec-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
    text-align: left; /* Canh toàn bộ nội dung trong box về bên trái */
}


#product-specifications .hidden-spec {
    visibility: hidden; /* Ẩn nút nhưng vẫn giữ không gian */
}

@media (max-width: 768px) {
    #product-specifications .comparison-section .row {
        flex-direction: column;
        align-items: center;
    }

    #product-specifications .col-md-3 {
        margin-bottom: 30px;
    }
	#product-specifications .row {
		margin-left: 0;
		margin-right: 0;
	}
	
}

