/* Enhanced Responsive CSS for PlusInfoLab */



/* Mobile Menu Improvements */
.mobile-menu-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e3e3e3;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 80vh;
    overflow-y: auto;
}

#mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#mobile-menu ul li {
    border-bottom: 1px solid #f0f0f0;
}

#mobile-menu ul li:last-child {
    border-bottom: none;
}

#mobile-menu ul li a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
}

#mobile-menu ul li a:hover {
    background-color: #f8f9fa;
    color: var(--theme-color3, #F98600);
}

#mobile-menu .has-dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#mobile-menu .dropdown-toggle {
    font-size: 12px;
    color: #666;
    transition: all 0.3s ease;
}

#mobile-menu .dropdown-toggle:hover {
    color: var(--theme-color3, #F98600);
}

#mobile-menu .submenu {
    background-color: #f8f9fa;
    list-style: none;
}

#mobile-menu .submenu li {
    border-bottom: 1px solid #e9ecef;
}

#mobile-menu .submenu li:last-child {
    border-bottom: none;
}

#mobile-menu .submenu li a {
    padding: 12px 20px 12px 40px;
    font-size: 15px;
    font-weight: 400;
    color: #555;
}

#mobile-menu .submenu li a:hover {
    background-color: #e9ecef;
    color: var(--theme-color3, #F98600);
}

#mobile-menu .mobile-cta {
    padding: 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

#mobile-menu .mobile-cta a {
    background: var(--theme-color3, #F98600);
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

#mobile-menu .mobile-cta a:hover {
    background: #e67a00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 134, 0, 0.3);
}

/* Hamburger Menu Button */
.sidebar__toggle {
    background: var(--theme-color3, #F98600);
    border: none;
    border-radius: 5px;
    padding: 12px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar__toggle:hover {
    background: #e67a00;
    transform: translateY(-2px);
}

.sidebar__toggle i {
    color: white;
    font-size: 18px;
}

/* Extra Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Large Desktop (1200px to 1399px) */
@media (max-width: 1399px) {
    .hero-main-container.style1 {
        padding: 60px 40px;
    }

    .custom-heading {
        font-size: 3.5rem;
        line-height: 1.2;
    }
}

/* Medium Desktop (992px to 1199px) */
@media (max-width: 1199px) {
    .service-card.style1 {
        padding: 25px 20px;
    }

    .project-item-wrapper.style1 {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .work-process-card.style1 {
        padding: 25px 15px;
        min-height: 280px;
    }
}

/* Tablet (768px to 991px) */
@media (max-width: 991px) {
    .hero-main-container.style1 {
        padding: 50px 30px;
    }

    .custom-heading {
        font-size: 2.8rem;
        line-height: 1.3;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .service-wrapper .row {
        gap: 30px;
    }

    .service-box-items {
        height: 100%;
    }

    .project-item-wrapper.style1 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .project-wrapper.style1 .row {
        gap: 40px;
    }

    .work-process-wrapper.style1 .row {
        gap: 25px;
    }

    .work-process-card.style1 {
        min-height: 250px;
        margin-bottom: 20px;
    }

    .testimonial-slider3 .swiper-slide {
        padding: 0 15px;
    }

    .about-thumb {
        text-align: center;
    }

    .about-thumb img {
        max-width: 100%;
        height: auto;
    }

    .fancy-box-wrapper.style2 {
        justify-content: center;
        gap: 20px;
    }

    .counter-box-wrapper.style1 {
        justify-content: center;
        gap: 30px;
    }
}

/* Mobile Landscape (576px to 767px) */
@media (max-width: 767px) {
    /* Header Mobile Improvements */
    .header-3 .container {
        padding: 0 15px;
    }

    .header-logo img {
        max-height: 50px;
        width: auto;
    }

    .mean__menu-wrapper {
        order: 3;
        width: 100%;
        margin-top: 20px;
    }

    #mobile-menu ul {
        flex-direction: column;
        gap: 10px;
    }

    #mobile-menu ul li {
        width: 100%;
        text-align: center;
    }

    #mobile-menu ul li a {
        padding: 12px 15px;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .submenu.industries-grid {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none;
        background: rgba(0,0,0,0.05);
        border-radius: 0;
        display: none;
    }

    .menu-item:hover .submenu.industries-grid {
        display: block;
    }

    .submenu.industries-grid li {
        float: none;
        width: 100%;
        text-align: left;
        padding: 10px 20px;
    }

    .submenu.industries-grid li a {
        border-bottom: 1px solid rgba(0,0,0,0.1);
        color: #333;
    }

    .header__hamburger {
        margin-left: auto;
    }

    .sidebar__toggle {
        padding: 10px;
        background: var(--theme-color3);
        border-radius: 5px;
        color: white;
    }

    /* Hero Section Mobile */
    .hero-section {
        padding: 80px 0;
    }

    .hero-main-container.style1 {
        padding: 40px 20px;
        border-radius: 20px;
    }

    .custom-heading {
        font-size: 2.2rem;
        line-height: 1.4;
        margin-bottom: 20px;
    }

    .hero-content.style1 .subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .checklist-wrapper.style3 {
        margin: 30px 0;
    }

    .checklist.style3 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .checklist.style3 li {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .hero-thumb.style1 {
        margin-top: 30px;
        text-align: center;
    }

    .hero-thumb.style1 img {
        max-width: 100%;
        height: auto;
    }

    .fancy-box-wrapper.style5 {
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
    }

    .fancy-box.style5 {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    /* Services Section Mobile */
    .service-section {
        padding: 60px 0;
    }

    .section-title.title-area {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .service-wrapper .row {
        gap: 20px;
    }

    .service-box-items {
        padding: 30px 25px;
        text-align: center;
    }

    .service-box-items .icon {
        margin-bottom: 20px;
    }

    .service-box-items h4 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .service-box-items p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    /* Service Slider Mobile */
    .serviceSliderOne .swiper-slide {
        padding: 0 10px;
    }

    .service-card.style1 {
        padding: 25px 20px;
        text-align: center;
    }

    .service-card.style1 .icon {
        margin-bottom: 15px;
    }

    .service-card.style1 h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .service-card.style1 p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

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

    .about-content {
        text-align: center;
        margin-top: 40px;
    }

    .about-content .section-title {
        margin-bottom: 30px;
    }

    .about-content h2 {
        font-size: 1.8rem;
        line-height: 1.4;
    }

    .about-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .fancy-box-wrapper.style2 {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin: 30px 0;
    }

    .fancy-box.style2 {
        text-align: center;
        padding: 20px;
        border-radius: 10px;
        background: rgba(255,255,255,0.1);
    }

    .counter-box-wrapper.style1 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 40px;
    }

    .counter-box.style1 {
        text-align: center;
        padding: 20px;
    }

    .counter-box.style1 h3 {
        font-size: 2rem;
    }

    /* Project Section Mobile */
    .project-section {
        padding: 60px 0;
    }

    .project-item-wrapper.style1 {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .project-item-card.style1 {
        padding: 30px 25px;
        text-align: center;
        min-height: auto;
    }

    .project-item-card.style1 h5 {
        font-size: 1.1rem;
    }

    .project-wrapper.style1 .row {
        gap: 30px;
    }

    .project-content.style {
        padding: 30px 25px;
        text-align: center;
    }

    .project-content.style h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .project-content.style p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .project-thumb img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }

    /* Work Process Mobile */
    .work-process-section {
        padding: 60px 0;
    }

    .work-process-wrapper.style1 .row {
        gap: 20px;
    }

    .work-process-card.style1 {
        padding: 30px 20px;
        text-align: center;
        min-height: auto;
    }

    .work-process-card.style1 .number {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .work-process-card.style1 .title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .work-process-card.style1 p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* Testimonial Mobile */
    .testimonial-section {
        padding: 60px 0;
    }

    .testimonial-card.style3 {
        padding: 30px 25px;
        text-align: center;
    }

    .testimonial-card.style3 .text {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 25px;
    }

    .profile-box {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .testi-thumb img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        object-fit: cover;
    }

    .testi-content {
        text-align: center;
    }

    .testi-content h3 {
        font-size: 1.1rem;
    }

    .designation {
        font-size: 0.9rem;
    }

    /* Brand Slider Mobile */
    .brand-slider .swiper-slide {
        padding: 0 10px;
    }

    .brand-logo img {
        max-height: 40px;
        width: auto;
        filter: grayscale(100%);
        opacity: 0.7;
        transition: all 0.3s ease;
    }

    .brand-logo:hover img {
        filter: grayscale(0%);
        opacity: 1;
    }
}

/* Mobile Portrait (480px to 575px) */
@media (max-width: 575px) {
    .hero-section {
        padding: 60px 0;
    }

    .custom-heading {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .hero-content.style1 .subtitle {
        font-size: 0.9rem;
    }

    .checklist.style3 li {
        font-size: 0.9rem;
    }

    .service-box-items {
        padding: 25px 20px;
    }

    .service-box-items h4 {
        font-size: 1.2rem;
    }

    .service-box-items p {
        font-size: 0.9rem;
    }

    .about-content h2 {
        font-size: 1.6rem;
    }

    .about-content p {
        font-size: 0.9rem;
    }

    .counter-box-wrapper.style1 {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .project-item-card.style1 {
        padding: 25px 20px;
    }

    .project-content.style h3 {
        font-size: 1.3rem;
    }

    .work-process-card.style1 {
        padding: 25px 15px;
    }

    .work-process-card.style1 .number {
        font-size: 2rem;
    }

    .work-process-card.style1 .title {
        font-size: 1.1rem;
    }

    .testimonial-card.style3 {
        padding: 25px 20px;
    }

    .testimonial-card.style3 .text {
        font-size: 0.9rem;
    }

    .theme-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .gt-btn.style4 {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

/* Small Mobile (320px to 479px) */
@media (max-width: 479px) {
    .container {
        padding: 0 15px;
    }

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

    .custom-heading {
        font-size: 1.6rem;
    }

    .section-title h2 {
        font-size: 1.4rem;
    }

    .service-section,
    .about-section,
    .project-section,
    .work-process-section,
    .testimonial-section {
        padding: 40px 0;
    }

    .service-box-items,
    .project-item-card.style1,
    .project-content.style,
    .work-process-card.style1,
    .testimonial-card.style3 {
        padding: 20px 15px;
    }

    .service-box-items h4,
    .project-item-card.style1 h5,
    .work-process-card.style1 .title {
        font-size: 1.1rem;
    }

    .service-box-items p,
    .project-content.style p,
    .work-process-card.style1 p,
    .testimonial-card.style3 .text {
        font-size: 0.85rem;
    }

    .about-content h2 {
        font-size: 1.4rem;
    }

    .theme-btn,
    .gt-btn.style4 {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .header-logo img {
        max-height: 40px;
    }

    .sidebar__toggle {
        padding: 8px;
        font-size: 0.9rem;
    }
}

/* Landscape Orientation for Mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        padding: 40px 0;
    }

    .work-process-section {
        padding: 40px 0;
    }

    .work-process-wrapper.style1 .row {
        gap: 15px;
    }

    .work-process-card.style1 {
        padding: 20px 15px;
        min-height: 200px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .header-logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }

    .service-box-items .icon img,
    .project-item-card.style1 .project-icon img,
    .work-process-card.style1 .icon img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .menu-item:hover .submenu.industries-grid {
        display: none;
    }

    .menu-item:active .submenu.industries-grid,
    .menu-item:focus-within .submenu.industries-grid {
        display: block;
    }

    .service-box-items:hover,
    .project-item-card.style1:hover,
    .work-process-card.style1:hover {
        transform: none;
    }

    .theme-btn:hover,
    .gt-btn.style4:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Dark Mode Support (if implemented) */
@media (prefers-color-scheme: dark) {
    .submenu.industries-grid {
        background: rgba(0,0,0,0.9);
        border: 1px solid rgba(255,255,255,0.1);
    }

    .submenu.industries-grid li a {
        color: #fff;
        border-bottom-color: rgba(255,255,255,0.1);
    }
}