/* ======== Responsive CSS ======== */
/* For all screens */
html {
    scroll-behavior: smooth;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (max-width: 1199px) {
    .banner_title {
        font-size: 50px;
    }

    .why_choose_shadow_text {
        font-size: 8vw;
    }

    .main_menu {
        width: 95%;
        padding: 0 30px;
    }

    .slider {
        --slideWidth: 180px;
    }

    .test_slider {
        flex-wrap: wrap;
        justify-content: center;
    }

    .testimonial-item {
        width: 48%;
        margin-bottom: 20px;
    }
}

/* Medium devices (tablets, 768px to 991px) */
@media only screen and (max-width: 991px) {
    .banner_title {
        font-size: 40px;
    }

    .banner_text {
        padding: 30px 0;
    }

    #why_choose_us {
        padding: 100px 0 80px;
    }

    .chooseUs_heading h2 {
        font-size: 32px;
    }

    .single-tools-feature {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    #features {
        padding: 80px 0;
    }

    .featuers_heading {
        padding-bottom: 40px;
    }

    .featuers_heading span {
        font-size: 10vw;
    }

    .slider {
        --slideWidth: 150px;
        --slideHeight: 80px;
    }

    .other-feature-item {
        height: 70px;
        padding: 0 15px;
    }

    .price_card {
        max-width: 100%;
        margin-bottom: 30px;
    }

    #testimonial {
        padding: 80px 0;
    }

    .testimonial-item {
        width: 100%;
        margin-bottom: 20px;
    }

    #pricing {
        padding: 80px 0;
    }

    .pricing_heading h2 {
        font-size: 30px;
    }

    .faq_heading h2 {
        font-size: 30px;
    }

    .banner_jumpAnim .jump_item {
        display: none;
    }
}

/* Small devices (landscape phones, 576px to 767px) */
@media only screen and (max-width: 767px) {
    #banner {
        padding-top: 120px;
    }

    .banner_title {
        font-size: 32px;
    }

    .banner_text {
        padding: 20px 0;
    }

    .main_menu {
        width: 100%;
        border-radius: 0;
        top: 0;
        padding: 0 20px;
    }

    .main_menu .wrapper {
        height: 60px;
    }

    #why_choose_us {
        padding: 80px 0 60px;
    }

    .chooseUs_heading h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    #features {
        padding: 60px 0;
    }

    .featuers_heading span {
        font-size: 12vw;
    }

    .featuers_heading_des {
        width: 180px;
        font-size: 12px;
    }

    .slider {
        --slideWidth: 130px;
        --slideHeight: 70px;
    }

    .other-feature-item {
        height: 60px;
        padding: 0 10px;
        gap: 8px;
        font-size: 14px;
    }

    #testimonial {
        padding: 60px 0;
    }

    .test_slider {
        gap: 15px;
    }

    .testimonial-item {
        padding: 25px 20px 20px;
    }

    #pricing {
        padding: 60px 0;
    }

    .pricing_heading h2 {
        font-size: 24px;
    }

    .pricing_body .price_model .offer {
        right: -40px;
        top: -30px;
        width: 80px;
    }

    .pricing_body .price_model .nav-item .nav-link {
        padding: 8px 20px;
        font-size: 12px;
    }

    #faq {
        padding: 60px 0;
    }

    .faq_heading h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .accordion-area-one .accordion .accordion-item button {
        font-size: 16px;
        line-height: 24px;
        padding: 12px 15px;
    }
}

/* Extra small devices (phones, 575px and down) */
@media only screen and (max-width: 575px) {
    .banner_title {
        font-size: 28px;
    }

    .banner_text {
        font-size: 14px;
    }

    .banner_btn {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .banner_lptp {
        transform: translateY(50px);
    }

    .why_choose_shadow_text {
        font-size: 10vw;
    }

    .chooseUs_heading h2 {
        font-size: 24px;
    }

    .single-tools-feature {
        padding: 25px 15px;
    }

    .single-tools-feature .icon {
        font-size: 30px;
    }

    .single-tools-feature .title {
        margin-bottom: 15px;
        font-size: 18px;
    }

    .single-tools-feature p.disc {
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 20px;
    }

    .featuers_heading span {
        font-size: 14vw;
    }

    .slider {
        --slideWidth: 110px;
        --slideHeight: 60px;
    }

    .other-feature-item {
        height: 50px;
        font-size: 12px;
    }

    .other-feature-item i {
        font-size: 12px;
    }

    .testimonial-head-info h6 {
        font-size: 14px;
    }

    .testimonial-head-info span {
        font-size: 12px;
    }

    .testimonial-item p {
        font-size: 14px;
        line-height: 22px;
    }

    .price_card .price {
        font-size: 2.5rem;
    }

    .price_card .lists {
        margin-top: 1.5rem;
        font-size: 0.8rem;
    }

    .price_card .action {
        margin-top: 1.5rem;
        padding: 0.5rem 1.25rem;
    }

    .accordion-area-one .accordion .accordion-item button {
        font-size: 14px;
        line-height: 22px;
        padding: 10px 15px;
    }

    .accordion-area-one .accordion .accordion-item .accordion-body {
        font-size: 14px;
    }

    #footer .nav {
        flex-wrap: wrap;
    }

    #footer .nav-item {
        width: 50%;
        text-align: center;
    }
}

/* Fix for very small screens */
@media only screen and (max-width: 375px) {
    .banner_title {
        font-size: 24px;
    }

    .main_menu {
        padding: 0 10px;
    }

    .navbar-brand a {
        font-size: 20px;
    }

    .pricing_body .price_model ul {
        padding: 3px;
    }

    .pricing_body .price_model .nav-item .nav-link {
        padding: 6px 15px;
        font-size: 11px;
    }
}

/* Fix for FontAwesome icons */
@media screen and (max-width: 767px) {
    i.fa-solid, i.fa-brands {
        font-size: 90%;
    }

    /* Mobile sidebar styles */
    .sidebar.close {
        width: 0px !important;
        display: none;
        transition: all 0.3s ease;
    }

    .sidebar.active {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 999;
        min-width: 240px;
        width: 80% !important;
        max-width: 300px;
        display: flex !important;
        transition: all 0.3s ease;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
        height: 100vh;
    }

    /* Improve menu toggle button styling */
    .menu-toggle {
        cursor: pointer;
        padding: 8px;
        border-radius: 4px;
        transition: all 0.2s ease;
    }

    .menu-toggle:hover {
        background-color: rgba(63, 62, 237, 0.1);
    }

    .top_nav .menu-toggle {
        display: block;
        margin-right: 10px;
    }

    .sidebar .sidebar_text {
        font-size: 12px;
        display: block !important;
    }

    .sidebar.active .sidebar_content .title,
    .sidebar.active .ai_model {
        display: block !important;
    }

    .dashboard_content {
        width: 100% !important;
        margin-left: 0;
    }
}

/* Fix menu button placement */
@media screen and (max-width: 970px) {
    .main_menu .wrapper .btn.menu-btn {
        font-size: 24px;
        z-index: 2;
    }

    .navbar-brand {
        position: relative;
        z-index: 2;
    }

    .menu_btn {
        position: relative;
        z-index: 2;
    }

    /* Improve mobile navigation */
    .wrapper .nav-links {
        padding-top: 70px;
    }

    .wrapper .btn.close-btn {
        top: 15px;
        font-size: 24px;
    }
}

/* For video play button responsiveness */
@media screen and (max-width: 767px) {
    .video-play-button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .video-play-button:before {
        width: 45px;
        height: 45px;
    }
}
