/* Mobile Specific Styles */
@media (max-width:1199.99px) {
    header.fixed-top {
        background-color: rgba(0, 167, 111, 0.7);
        z-index: 1031;
    }

    header.fixed-top.sticky {
        background-color: rgba(255, 255, 255, 0.95);
    }

    .btn-login {
        order: 2;
    }

    #navbarNavDropdown {
        order: 4;
        position: fixed;
        right: -100%;
        top: 83px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 0px;
        width: 300px;
        height: 100vh;
        backdrop-filter: blur(20px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: block !important;
        padding: 20px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        z-index: 1040;
    }

    .fixed-top.sticky #navbarNavDropdown {
        top: 64px;
        background: rgba(255, 255, 255, 0.95);
    }

    #navbarNavDropdown.show {
        right: 0;
    }

    #navbarNavDropdown.collapsing {
        right: -100%;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .navbar-toggler {
        position: relative;
        width: 30px;
        height: 30px;
        box-shadow: none !important;
        border: none !important;
    }

    .navbar-toggler span {
        position: absolute;
        width: 100%;
        height: 2px;
        left: 0;
        top: 0;
        background: #f46516;
        transition: all 0.3s ease-in-out;
    }

    .navbar-toggler span:nth-child(2) {
        top: 12px;
    }

    .navbar-toggler span:last-child {
        top: 24px;
    }

    .navbar-toggler:not(.collapsed) span:nth-child(1) {
        top: 12px;
        transform: rotate(45deg);
    }

    .navbar-toggler:not(.collapsed) span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .navbar-toggler:not(.collapsed) span:nth-child(3) {
        top: 12px;
        transform: rotate(-45deg);
    }

    .navbar-toggler {
        z-index: 1050;
        /* Ensure toggler stays above menu */
    }

    body.menu-open {
        overflow: hidden;
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1030;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        backdrop-filter: blur(2px);
    }

    .menu-overlay.show {
        opacity: 1;
        visibility: visible;
    }

    .feature-card .content-box {
        height: auto;
    }

    .stat-grid {
        grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
    }
}

@media (max-width: 991px) {
    .stat-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .stat-item h2 {
        font-size: 3rem;
    }

    .choose-us-content h2 {
        text-align: center;
    }

    .choose-us-list {
        margin: 0 auto;
    }

    .image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 42px;
        text-align: center;
    }
    .hero-content h2, .hero-content p {
        text-align: center;
    }
    .hero-btns {
        text-align: center;
    }
    .hero-feature-list {
        display: inline-block;
        text-align: left;
        width: 100%;
        max-width: 400px;
        margin: 25px auto;
    }
    .hero-mockup-container {
        height: 400px;
        margin-top: 30px;
    }
}

@media (max-width: 575px) {
    .site-navigation .navbar-brand img {
        max-width: 140px;
    }
    #navbarNavDropdown{
        top:76px;
    }
    .fixed-top.sticky #navbarNavDropdown {
        top: 57px;
    }
    .hero-content h1 {
        font-size: 30px;
        text-align: center;
    }
    .hero-feature-list {
        font-size: 0.95rem;
        max-width: 300px;
    }
    .hero-mockup-container {
        height: 320px;
    }
    .mockup-card {
        padding: 15px;
    }
    .floating-tag {
        font-size: 0.7rem;
        padding: 6px 12px;
    }
}

/* Extracted from landing-custom.css */
@media (max-width: 1300px) {
    .testimonial-carousel .owl-nav .owl-prev {
        left: -20px;
    }

    .testimonial-carousel .owl-nav .owl-next {
        right: -20px;
    }
}

@media (max-width: 1199px) {
    .testimonial-carousel .owl-nav {
        position: static;
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 20px;
        transform: none;
    }

    .testimonial-carousel .owl-nav button {
        position: static;
    }
}

@media (max-width: 991px) {
    .magnetic-hub-container {
        height: 350px;
    }

    .magnetic-wrap {
        width: 220px;
        height: 220px;
    }

    .floating-keyword {
        font-size: 0.7rem;
        padding: 8px 15px;
    }

    .trust-grid-wrapper {
        height: auto;
        flex-direction: column;
        gap: 30px;
    }

    .pillar {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100%;
    }

    .trust-lines {
        display: none;
    }
}

@media (max-width: 768px) {
    .scroll-progress-wrap {
        right: 20px;
        bottom: 20px;
        height: 70px;
        width: 70px;
    }

    .scroll-progress-wrap::after {
        line-height: 70px;
        font-size: 18px;
        height: 70px;
        width: 70px;
    }

    .scroll-progress-wrap .progress-logo {
        width: 60px;
        height: 60px;
    }
}