/* Responsive Styles */

/* Navbar Mobile Responsive */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        border-radius: 10px;
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .navbar-nav {
        margin-bottom: 1rem;
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }
    
    .navbar-nav .nav-link {
        text-align: center;
        padding: 0.75rem 1rem !important;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: rgba(248, 176, 8, 0.1);
    }
    
    .navbar-nav .nav-link.active {
        background-color: var(--primary-color);
        color: white !important;
    }
    
    .navbar-nav .nav-link.active::after {
        display: none;
    }
    
    /* Mobile dropdown menu */
    .dropdown-menu {
        border: none;
        box-shadow: none;
        background-color: rgba(248, 176, 8, 0.05);
        margin: 0.5rem 0;
    }
    
    .dropdown-item {
        text-align: center;
        padding: 0.5rem 1rem !important;
    }
    
    /* Right side buttons on mobile */
    .d-flex.ms-auto {
        flex-direction: column;
        gap: 1rem;
    }
    
    .language-dropdown {
        width: 100%;
    }
    
    .language-dropdown .dropdown-toggle {
        width: 100%;
        justify-content: center;
    }
    
    .consultation-btn-oval {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 2rem;
    }
}

/* Tablet Responsive */
@media (min-width: 768px) and (max-width: 991.98px) {
    .consultation-btn-oval {
        padding: 0.6rem 1.5rem;
    }
    
    .consultation-text {
        font-size: 0.9rem;
    }
}

/* Extra small devices */
@media (max-width: 575.98px) {
    .navbar-brand img {
        height: 35px;
    }
    
    .consultation-btn-oval {
        padding: 0.5rem 1.25rem;
    }
    
    .consultation-text {
        font-size: 0.85rem;
    }
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-slider h1 {
        font-size: 2.5rem;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .navbar-nav {
        text-align: center;
        padding-top: 1rem;
    }
    
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: var(--border-radius);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .hero-slider h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    body {
        padding-top: 70px;
    }
    
    .hero-slider {
        height: 70vh;
    }
    
    .slide-content {
        height: 70vh;
    }
    
    .hero-slider h1 {
        font-size: 1.75rem;
    }
    
    .hero-slider p {
        font-size: 1rem;
    }
    
    .brand-item {
        width: 120px;
        height: 70px;
    }
    
    .experience-badge {
        bottom: -15px;
        right: -15px;
        padding: 1rem;
        min-width: 100px;
    }
    
    .experience-badge .years {
        font-size: 2rem;
    }
    
    .service-card,
    .news-card,
    .reference-card {
        margin-bottom: 1.5rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .hero-slider {
        height: 60vh;
    }
    
    .slide-content {
        height: 60vh;
    }
    
    .hero-slider h1 {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .footer .col-md-6 {
        text-align: center;
    }
    
    .footer .text-md-end {
        text-align: center !important;
    }
}

/* Mobile Navigation Menu */
@media (max-width: 991.98px) {
    .dropdown-menu {
        text-align: center;
        border: none;
        box-shadow: none;
    }
    
    .dropdown-item {
        padding: 0.5rem 1rem;
    }
}

/* Brands Slider Responsive */
@media (max-width: 767.98px) {
    .brands-track {
        gap: 1rem;
    }
    
    .brand-item {
        width: 100px;
        height: 60px;
        padding: 0.5rem;
    }
}

/* Animation for mobile */
@media (max-width: 767.98px) {
    .service-card,
    .news-card,
    .reference-card {
        transform: none !important;
    }
    
    .service-card:hover,
    .news-card:hover,
    .reference-card:hover {
        transform: none !important;
    }
}