/* Global Styles */
:root {
    --primary-color: #1a237e;
    --secondary-color: #ffd700;
    --text-color: #333;
    --light-gray: #f5f5f5;
}

/* Reset CSS */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Header Styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    margin: 0 1rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 570px;
    overflow: hidden;
    padding: 0;
    margin-top: 100px;
}

.hero-slider {
    position: relative;
    width: 99%;
    height: 100%;
    margin: 0 auto;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.hero-banner {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1);
    transform-origin: center;
    border-radius: 50px;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.hero-banner.mobile-banner {
    display: none;
}

.hero-banner.desktop-banner {
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    z-index: 2;
}

.hero-content {
    padding: 20px;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.8rem;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero-content,
    .hero-overlay {
        display: none;
    }

    .hero-banner.mobile-banner {
        display: block;
    }

    .hero-banner.desktop-banner {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 120px; /* Tăng khoảng trống phía trên để tránh bị cắt */
        margin-top: 0;
        height: auto;
        display: flex;
        align-items: flex-start; /* Căn phần banner bắt đầu từ trên */
        justify-content: center; /* Căn giữa theo chiều ngang */
    }

    .hero-slider {
        height: auto;
        width: 100%;
        margin: 50px 0 0; /* Kéo xuống thấp hơn 100px */
    }

    .hero-banner.mobile-banner {
        display: block;
        object-fit: cover;
        height: auto;
        width: 100%;
    }

    .hero-banner.desktop-banner {
        display: none;
    }
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.about-summary {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-summary h3 {
    font-weight: 700;
    margin-bottom: 20px;
    color: #222;
}

.about-summary p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-details {
    margin-top: 30px;
}

.about-company h4,
.about-services h4,
.about-experience h4 {
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #e1e1e1;
    padding-bottom: 8px;
}

.about-company ul,
.about-services ul {
    padding-left: 20px;
}

.about-company li,
.about-services li {
    margin-bottom: 8px;
}

.service-category h5 {
    font-weight: 600;
    color: #444;
    margin-top: 20px;
    margin-bottom: 10px;
}

.about-experience p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

/* Button Styles */
.btn-primary {
    background-color: #003366;
    border-color: #003366;
}

.btn-primary:hover {
    background-color: #002855;
    border-color: #002855;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
}

.service-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Projects Section */
.projects-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.project-gallery {
    margin-top: 2rem;
}

.project-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.project-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-overlay i {
    color: white;
    font-size: 2rem;
}

.project-item:hover img {
    transform: scale(1.05);
}

.project-item:hover .project-overlay {
    opacity: 1;
}

#projectModal .modal-content {
    background-color: transparent;
    border: none;
}

#projectModal .modal-header {
    border: none;
    padding: 0.5rem;
    position: absolute;
    right: 0;
    z-index: 1;
}

#projectModal .btn-close {
    background-color: white;
    opacity: 0.8;
    border-radius: 50%;
    padding: 0.5rem;
}

#projectModal .modal-body {
    padding: 0;
}

#projectModal .modal-body img {
    width: 100%;
    border-radius: 8px;
}

/* Partners Section - New Style */
.partners-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.partners-section .section-title {
    margin-bottom: 50px;
    position: relative;
}

.partners-section .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #ffc107;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.partners-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    width: 240px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.partner-item img {
    max-width: 90%;
    max-height: 130px;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .partner-item {
        width: 210px;
        height: 160px;
    }
    
    .partner-item img {
        max-height: 110px;
    }
}

@media (max-width: 768px) {
    .partners-section {
        padding: 40px 0;
    }
    
    .partners-container {
        gap: 20px;
    }
    
    .partner-item {
        width: 180px;
        height: 140px;
    }
    
    .partner-item img {
        max-height: 90px;
    }
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 1rem;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.5rem;
}

.info-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.info-content p {
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
}

.social-links-section {
    margin-top: 2rem;
    text-align: center;
}

.social-links-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.8rem;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    border-radius: 50%;
}

.social-links a:hover {
    transform: translateY(-3px);
    background-color: var(--primary-color);
    color: white;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 1rem;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 35, 126, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 1rem 2rem;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-primary:hover {
    background-color: #151b60;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contact-info, .contact-form {
        margin-bottom: 2rem;
    }
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer h4 {
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        margin-top: 100px;
        padding: 1.5rem 2rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content p {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
    }

    .hero-content {
        margin-top: 100px;
        padding: 1.5rem;
        width: 95%;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.3rem;
    }
}

/* Top Bar */
.top-bar {
    background-color: #1f1f1f;
    color: white;
    padding: 5px 0;
    font-size: 12px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1001;
    transition: transform 0.3s ease;
    height: 25px;
}

.top-bar .container {
    text-align: right;
}

.separator {
    margin: 0 8px;
    opacity: 0.7;
}

.top-bar .phone a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.top-bar .phone a:hover {
    color: #ffd700;
}

/* Header */
.header {
    height: 60px; /* Giảm chiều cao */
    padding: 5px 0; /* Giảm padding */
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: height 0.3s ease, padding 0.3s ease;
}

.header-top {
    background-color: #1a237e;
    color: white;
    padding: 8px 0;
    font-size: 14px;
    transition: all 0.3s ease;
}

.header-top .address, 
.header-top .phone a, 
.header-top .separator {
    color: white;
    text-decoration: none;
}

/* Style cho tên công ty */
.header-top .address strong {
    font-weight: 900;
    letter-spacing: 0.5px;
    font-size: 16px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    color: #ffd700; /* Màu vàng để nổi bật */
}

/* Giữ class scrolled nhưng không thay đổi hiển thị của header-top */
.header.scrolled .header-top {
    opacity: 1; /* Giữ hiển thị khi cuộn */
    visibility: visible; /* Đảm bảo luôn hiển thị */
    height: auto; /* Không thay đổi chiều cao */
    min-height: 25px;
    overflow: visible;
}

.navbar {
    padding: 0;
    margin: 0;
    background-color: white;
}

.navbar-brand {
    padding: 10px 0;
}

.navbar-brand img {
    height: 40px; /* Giảm kích thước logo */
    padding: 0;
    margin: 0;
}

/* Menu item styling with button-like borders */
.nav-link {
    padding: 8px 10px !important; /* Giảm padding */
    margin: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: #f8f9fa;
    border-color: #ccc;
}

.nav-item.active .nav-link {
    border-color: #007bff;
    color: #007bff;
}

/* Hero Section */
.hero-section {
    padding-top: 140px; /* Điều chỉnh padding-top để không bị che bởi header cố định */
    margin-top: 0;
}

/* CSS cho nút Báo giá & tư vấn miễn phí */
.quote-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #ffc107;
    color: #333;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    font-size: 13px;
}

.quote-button i {
    margin-left: 8px;
    font-size: 14px;
}

/* CSS cho nút điện thoại */
.phone-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ff7f00;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    z-index: 1001;
    font-size: 13px;
}

.phone-button i {
    margin-left: 8px;
    font-size: 14px;
}

/* Modal form báo giá */
.quote-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1100;
    display: none;
    align-items: flex-start;
    justify-content: flex-start;
    padding-left: 50px;
    padding-top: 100px;
}

.quote-form {
    width: 80%;
    max-width: 400px;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
}

.quote-form-header {
    background-color: #ffc107;
    color: #333;
    padding: 12px 15px;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quote-form-header .close-btn {
    cursor: pointer;
    font-size: 20px;
}

.quote-form-body {
    padding: 20px;
}

.quote-form-body .form-control {
    margin-bottom: 15px;
    border-radius: 5px;
    padding: 10px 15px;
}

.quote-form-body textarea {
    resize: vertical;
    min-height: 100px;
}

.quote-form-body .btn-submit {
    width: 100%;
    background-color: #a75f00;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 10px;
}

/* Main Header */
.main-header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 15px 0;
}

.navbar-brand img {
    height: 50px;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    padding: 8px 15px !important;
    font-size: 15px;
}

.nav-link:hover {
    color: #ffd700 !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 4px;
}

.dropdown-item {
    padding: 8px 20px;
    font-size: 14px;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #ffd700;
}

.btn-quote {
    background-color: #ffd700;
    color: #333;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 4px;
    margin-left: 15px;
}

.btn-quote:hover {
    background-color: #333;
    color: #ffd700;
}

@media (max-width: 991px) {
    .top-bar {
        font-size: 12px;
    }
    
    .company-title {
        font-size: 12px;
    }
    
    .contact-info {
        gap: 10px;
    }
    
    .navbar-brand img {
        height: 40px;
    }
    
    .btn-quote {
        margin: 10px 0;
        display: inline-block;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .contact-info {
        justify-content: center;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .top-bar {
        font-size: 0.8rem;
    }
    
    .company-info, .contact-info {
        justify-content: center;
        margin-bottom: 5px;
    }
    
    .contact-info {
        text-align: center !important;
    }
}

/* CSS cho thiết bị di động */
@media (max-width: 768px) {
    /* Header */
    .header-top {
        height: auto;
        min-height: 25px;
        padding: 5px 0;
    }
    
    .hero-section {
        padding-top: 120px; /* Điều chỉnh cho phù hợp với mobile */
    }
    
    /* Điều chỉnh nút báo giá và thay thế bằng các icon mới */
    .quote-button {
        display: none;
    }
    
    /* Điều chỉnh nút gọi điện */
    .phone-button {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        right: 15px;
        bottom: 15px;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .phone-button a {
        justify-content: center;
    }
    
    .phone-button a span {
        display: none;
    }
    
    .phone-button i {
        margin: 0;
        font-size: 18px;
    }
    

    .zalo-text {
        display: none;
    }
    
    .zalo-icon {
        margin: 0;
        font-size: 18px;
        width: 24px;
        height: 24px;
        color: #ff7f00;
    }
    
    /* Thêm icon Email */
    .email-button {
        position: fixed;
        bottom: 15px;
        left: 15px;
        background-color: #ffc107;
        color: white;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1001;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }
    
    .email-button i {
        font-size: 18px;
    }
}

/* CSS cho nút Zalo */
.zalo-button {
    position: fixed;
    bottom: 70px;
    right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    background: none; /* Loại bỏ nền */
    border: none; /* Loại bỏ khung */
    padding: 0; /* Loại bỏ khoảng cách bên trong */
    width: auto;
    height: auto;
    box-shadow: none; /* Loại bỏ bóng đổ */
    text-decoration: none; /* Loại bỏ gạch chân */
}

.zalo-icon {
    width: 40px; /* Kích thước icon */
    height: 40px;
    object-fit: contain;
}



.zalo-text {
    color: white;
}

/* Albums Section */
.albums-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.album-card {
    position: relative;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

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

.album-cover {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.service-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.album-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.album-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #333;
}

.album-info p {
    color: #666;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.album-info .btn {
    align-self: flex-start;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.album-description {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.album-description h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.album-description ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.album-description li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.album-description p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.album-card:hover .service-img {
    transform: scale(1.05);
}

/* Video thumbnail styling */
.video-thumbnail {
    position: relative;
    cursor: pointer;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    aspect-ratio: 16/9;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.play-button-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.3));
    opacity: 0.85;
}

.video-thumbnail:hover .play-overlay {
    background-color: rgba(0, 0, 0, 0.25);
}

.video-thumbnail:hover .play-button-icon {
    transform: scale(1.15);
    opacity: 1;
}

/* Modal video */
#videoModal .modal-dialog {
    max-width: 800px;
}

#modalVideo {
    width: 100%;
    border-radius: 4px;
}

/* Thêm CSS cho phần video thumbnail */
.about-video {
    position: relative;
    margin-top: 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    aspect-ratio: 16/9;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.play-button-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.3));
}

.video-thumbnail:hover .play-overlay {
    background-color: rgba(0, 0, 0, 0.4);
}

.video-thumbnail:hover .play-button-icon {
    transform: scale(1.2);
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

#youtubePlayer {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    aspect-ratio: 16/9;
}

#youtubePlayer .ratio {
    width: 100%;
    height: 100%;
}

@media (max-width: 991px) {
    .about-video {
        margin-top: 30px;
    }
    
    .play-button-icon {
        width: 72px;
        height: 72px;
    }
}

@media (max-width: 576px) {
    .play-button-icon {
        width: 56px;
        height: 56px;
    }
}

/* Video trong album */
.album-cover .video-thumbnail {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-cover .video-thumbnail img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.album-cover .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.album-cover .play-button i {
    color: white;
    font-size: 20px;
}

.play-icon {
    font-size: 60px;
    color: #ff0000;
    opacity: 0.9;
    filter: drop-shadow(0px 2px 5px rgba(0, 0, 0, 0.5));
    transition: all 0.3s ease;
}

.video-thumbnail:hover .play-icon {
    transform: scale(1.1);
    opacity: 1;
}

.video-title {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 8px 15px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 10;
    margin: 0;
    border-bottom-right-radius: 5px;
}

.video-title::after {
    display: none;
}

/* Desktop styles */
@media (min-width: 1200px) {
    .hero-section {
        height: auto;
        padding-top: 100px;
    }
    
    .hero-slider {
        padding: 0;
        align-items: center;
        position: relative;
    }
    
    .hero-banner {
        transform: translateY(0);
        max-height: calc(100vh - 200px);
    }
}

/* Hero Overlay và nội dung mới */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 10;
    text-align: left;
    padding: 20px 0;
}

.hero-overlay .hero-content {
    position: relative;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 10px;
    width: 100%;
    margin-top: 0;
    text-align: left;
}

.hero-logo {
    width: 180px;
}

.hero-overlay h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-top: 1rem;
}

.hero-services {
    color: white;
}

.service-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.service-item i {
    color: #ff6b00;
    margin-right: 10px;
    margin-top: 5px;
}

.service-item span {
    font-size: 16px;
    line-height: 1.5;
}

.service-item strong {
    color: #ff6b00;
}

@media (max-width: 768px) {
    .hero-overlay .hero-content {
        padding: 1.5rem;
    }
    
    .hero-overlay h2 {
        font-size: 2rem;
    }
    
    .service-item span {
        font-size: 14px;
    }
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.video-modal-content {
    position: relative;
    margin: auto;
    padding: 15px;
    width: 40%;
    max-width: 400px;
    top: 50%;
    transform: translateY(-50%);
    background: #000;
    border-radius: 8px;
}

.video-modal-close {
    position: absolute;
    right: 10px;
    top: 10px;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    background: rgba(0,0,0,0.5);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-close:hover {
    background: rgba(255,255,255,0.2);
}

#videoPlayer {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Tối ưu cho thiết bị di động */
@media (max-width: 576px) {
    /* Header */
    .header-top {
        font-size: 12px;
        padding: 5px 0;
    }

    .navbar-brand img {
        height: 40px;
    }

    /* Hero Section */
    .hero-section {
        height: auto;
        padding-top: 100px;
        margin-top: 0;
    }

    .hero-slider {
        width: 95%;
        height: auto;
    }

    .hero-banner {
        height: auto;
    }

    .hero-overlay .hero-content {
        padding: 15px;
    }

    .hero-logo {
        width: 120px;
    }

    .hero-services .service-item {
        margin-bottom: 8px;
    }

    .hero-services .service-item span {
        font-size: 13px;
        line-height: 1.4;
    }

    /* About Section */
    .about-section {
        padding: 40px 0;
    }

    .about-summary h3 {
        font-size: 20px;
    }

    .about-summary p {
        font-size: 14px;
    }

    /* Albums Section */
    .albums-section {
        padding: 40px 0;
    }

    .album-card {
        margin-bottom: 20px;
    }

    .album-cover {
        height: 180px;
    }

    .album-info {
        padding: 15px;
    }

    .album-info h3 {
        font-size: 16px;
    }

    .album-info p {
        font-size: 13px;
    }

    /* Projects Section */
    .projects-section {
        padding: 40px 0;
    }

    .project-item {
        margin-bottom: 15px;
    }

    /* Partners Section */
    .partners-section {
        padding: 40px 0;
    }

    .partner-item {
        width: 140px;
        height: 100px;
        padding: 10px;
    }

    /* Contact Section */
    .contact-section {
        padding: 40px 0;
    }

    .contact-info, .contact-form {
        padding: 20px;
        margin-bottom: 20px;
    }

    .info-item {
        margin-bottom: 15px;
    }

    .info-item i {
        font-size: 20px;
    }

    .info-content h4 {
        font-size: 16px;
    }

    .info-content p {
        font-size: 14px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer h4 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .footer-links li {
        margin-bottom: 8px;
    }

    .footer-links a {
        font-size: 14px;
    }

    /* Nút tương tác */
    .quote-button,
    .phone-button,
    .email-button {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .phone-button {
        bottom: 20px;
        right: 20px;
    }


    .email-button {
        bottom: 20px;
        left: 20px;
    }

    /* Section titles */
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    /* Điều chỉnh khoảng cách giữa các section */
    section {
        margin-bottom: 40px;
    }
}

/* Tối ưu cho tablet */
@media (min-width: 577px) and (max-width: 768px) {
    .hero-section {
        height: auto;
        padding-top: 120px;
    }

    .hero-slider {
        width: 95%;
    }

    .hero-overlay .hero-content {
        padding: 20px;
    }

    .hero-logo {
        width: 150px;
    }

    .hero-services .service-item span {
        font-size: 14px;
    }

    .partner-item {
        width: 160px;
        height: 120px;
    }
}

/* Lĩnh vực hoạt động */
.albums-section .album-card {
    transition: transform 0.3s ease;
}
.albums-section .album-card:hover {
    transform: translateY(-5px);
}

/* Đối tác */
.partners-section .partner-item img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}

/* Dự án tiêu biểu */
.projects-section .project-item img {
    transition: transform 0.3s ease;
}
.projects-section .project-item:hover img {
    transform: scale(1.05);
}