/* Responsive Styles */

/* LG - Desktops */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 50px;
    }
}

/* MD - Tablets */
@media (max-width: 991.98px) {
    .header {
        background: var(--bg-white);
        position: fixed;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .navbar-brand,
    .nav-link {
        color: var(--primary-color) !important;
    }

    .navbar-toggler {
        border-color: var(--primary-color);
        background-color: var(--bg-white);
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2826, 26, 46, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .nav-link {
        padding: 10px 0 !important;
        border-bottom: 1px solid #eee;
    }

    /* Dropdown trên mobile: inline, không floating */
    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 0 0 16px !important;
        margin: 0 !important;
        background: transparent !important;
        display: none;
    }

    .dropdown-menu::before {
        display: none;
    }

    .nav-item.dropdown.show>.dropdown-menu {
        display: block;
    }

    .dropdown-item {
        padding: 8px 16px !important;
        font-size: 13px !important;
        border-bottom: 1px solid #f0f0f0;
        border-radius: 0 !important;
    }

    .dropdown-item::before {
        display: none;
    }

    .dropdown-item:hover {
        padding-left: 20px !important;
        background: rgba(226, 177, 59, 0.06);
    }

    .nav-link.dropdown-toggle::after {
        float: right;
        margin-top: 6px;
    }

    .hero-slider,
    .carousel-item {
        height: auto;
        min-height: 500px;
    }

    .hero-title {
        font-size: 40px;
    }

    .section-padding {
        padding: 60px 0;
    }
}

/* SM - Large Phones */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: 32px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .page-banner {
        padding: 120px 0 80px;
    }

    .page-banner h1 {
        font-size: 36px;
    }

    .floating-contact {
        left: 15px;
        bottom: 15px;
    }

    .floating-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* XS - Small Phones */
@media (max-width: 575.98px) {
    .hero-title {
        font-size: 28px;
    }

    .service-card {
        padding: 30px 15px;
    }

    .footer {
        padding: 40px 0 0;
    }

    .footer-widget {
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-widget ul li {
        justify-content: center;
    }

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