/* Custom styles */
body {
    font-family: Arial, sans-serif;
}

html {
    scroll-padding-top: 70px;
    /* Đặt giá trị này bằng với chiều cao của header để khỏi bị header che mất nội dung */
}

.navbar {
    padding: 15px 0;
}

.hero-section {
    background-image: url('../images/background-image.jpeg');
    background-size: cover;
    background-position: center;
    background-color: #007bff;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.services-section h2,
.products-section h2,
.project-experience-section h2,
.about-section h2,
.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #343a40;
}

.service-box,
.product-box,
.project-experience-box {
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 30px;
    background-color: #ffffff;
}

.service-box:hover,
.product-box:hover,
.project-experience-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.footer {
    background-color: #343a40;
    /* Màu nền xám đậm */
    color: #ffffff;
    /* Màu chữ trắng */
    padding: 20px 0;
    text-align: center;
    border-top: 3px solid #007bff;
    /* Đường viền trên màu xanh dương đậm */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    /* Bóng đổ nhẹ phía trên */
}

.footer p {
    margin: 0;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    transition: background-color 0.3s, border-color 0.3s;
}

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

@media (min-width: 768px) {
    .navbar-brand {
        font-size: 1.5rem;
    }

    .hero-section {
        padding: 150px 0;
    }

    .hero-section h1 {
        font-size: 4rem;
    }

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

    .services-section h2,
    .products-section h2,
    .about-section h2,
    .contact-section h2 {
        font-size: 3rem;
    }
}

.navbar-nav .nav-link.active {
    color: #007bff !important;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

/* Style for the "Liên hệ ngay" button */
.btn-primary {
    background-color: #007bff;
    /* Màu nền chính */
    border-color: #007bff;
    /* Màu viền */
    color: #fff;
    /* Màu chữ */
    padding: 15px 30px;
    /* Tăng kích thước padding */
    font-size: 1.2rem;
    /* Tăng kích thước chữ */
    border-radius: 50px;
    /* Bo tròn nút */
    transition: all 0.3s ease-in-out;
    /* Thêm hiệu ứng chuyển động */
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
    /* Thêm bóng cho nút */
}

.btn-primary:hover {
    background-color: #0056b3;
    /* Màu nền khi hover */
    border-color: #0056b3;
    /* Màu viền khi hover */
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.5);
    /* Bóng đổ mạnh hơn khi hover */
    transform: translateY(-3px);
    /* Hiệu ứng nâng nút lên khi hover */
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
    /* Thêm hiệu ứng cho trạng thái focus */
}