/* === CSS CHUNG === */
a {
    text-decoration: none !important;
}

body {
    font-family: 'Be Vietnam Pro', sans-serif;
    background-color: #e9ecef;
    color: #343a40;
    height: 100vh;
}

.open-services-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #0d6efd, #0dcaf0);
    color: white;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1050;
    transition: transform 0.3s ease;
}
.open-services-btn:hover {
    transform: scale(1.1);
}

.service-card-compact {
    background-color: #ffffff;
    border-radius: 1rem;
    border: 1px solid #dee2e6;
    padding: 20px;
    text-align: center;
    height: 100%;
    display: flex; /* Use flexbox for vertical alignment */
    flex-direction: column; /* Stack children vertically */
    justify-content: space-between; /* Push button to the bottom */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card-compact:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.service-card-compact .icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: inline-block;
    background: linear-gradient(45deg, #0d6efd, #0dcaf0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; 
}
.service-card-compact h3 {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 15px;
}
.btn-service {
    padding: 10px 20px; /* Reduced padding for smaller buttons */
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    width: 100%; /* Make button full width of its container */
    max-width: 200px; /* Max width for the button */
    margin-left: auto; /* Center the button */
    margin-right: auto; /* Center the button */
}
.modal-header {
    border-bottom: 1px solid #dee2e6;
}
.modal-footer {
    border-top: 1px solid #dee2e6;
}

/* === CSS CHO ICON LIÊN HỆ HÌNH TRÒN (ĐÃ GỘP VÀO ĐÂY) === */
.contact-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.6rem; /* Kích thước icon bên trong */
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-icon-circle:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: #fff;
}

/* Màu nền cho từng icon */
.messenger-bg {
    background: linear-gradient(45deg, #0084ff, #00c6ff);
}

.zalo-bg {
    background: linear-gradient(45deg, #0068ff, #00aaff);
}

/* Adjustments for smaller screens */
@media (max-width: 767.98px) {
    .service-card-compact {
        padding: 15px; /* Smaller padding on mobile */
    }
    .service-card-compact .icon {
        font-size: 2.5rem; /* Smaller icon on mobile */
    }
    .service-card-compact h3 {
        font-size: 1.1rem; /* Smaller heading on mobile */
        margin-bottom: 10px;
    }
    .btn-service {
        padding: 8px 15px; /* Even smaller padding for buttons on mobile */
        font-size: 0.9rem; /* Smaller font for buttons on mobile */
    }
    .modal-body {
        padding: 15px; /* Reduced modal body padding */
    }
}