@media (max-width: 1024px) {
    .container {
        width: calc(100% - 5%);
    }

    .testimonial_section .testimonial_content {
        padding: 45px 20px;
    }

    header ul li a.nav-link,
    .nav-link.dropdown-toggle {
        margin: 15px 5px;
        padding: 0;
    }

    .contact-details .info-item {
        flex-direction: column;
        text-align: center;
    }

    .order-one {
        order: -1;
        margin-bottom: 50px;
    }

    .main-banner-section {
        padding: 150px 0 20px;
    }
}

@media (max-width:991px) {
    .email-input {
        border-top-right-radius: 50rem !important;
        border-bottom-right-radius: 50rem !important;
        background-color: var(--bg-main) !important;
        border: transparent;
        margin-bottom: 15px;
    }

    .email-btn {
        border-top-left-radius: 50rem !important;
        border-bottom-left-radius: 50rem !important;
    }

    .testimonial_section .about_content {
        padding-right: 15px !important;
    }

    .testimonial_section .about_content .background_layer {
        width: 200% !important;
    }

    .testimonial_section .testimonial_box {
        margin-top: 0 !important;
    }

    .testimonial_section .testimonial_box .background_layer {
        width: 200% !important;
        margin-left: -200px;
    }

    .testimonial_section .testimonial_box .about_content {
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-top: 28% !important;
    }

    .testimonial_section .testimonial_box .testimonial_container {
        margin-left: -15px !important;
    }

    .testimonial_section .testimonial_box .testimonial_container .testimonials .images_box {
        display: none;
    }

    .secure-trade-wrapper .trust-left {
        margin-bottom: 40px;
    }

    .secure-trade-wrapper .trust-left h2 {
        font-size: 36px;
    }

    .contact-inner {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-item.full {
        grid-column: span 1;
    }

    .main-banner-section {
        padding: 120px 0 90px;
    }

    .banner-features {
        gap: 20px;
    }

    .volume-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .mt5-bento .hero-card {
        height: 320px;
    }

    .mt5-bento .small-card {
        height: 180px;
    }
}

@media (max-width:768px) {
    .nav-link {
        margin: 20px;
        font-size: 1.125rem;
    }

    .container {
        width: calc(100% - 5%);
    }

    .testimonial_section .testimonial_content {
        width: 100%;
        margin: 0 auto 30px;
    }

    .testimonial_section .testimonial_box .testimonial_container {
        background: transparent;
    }

    .testimonial_section {
        padding: 0;
    }

    br {
        display: none;
    }

    .offcanvas.offcanvas-end {
        width: calc(100% - 40px);
    }

    ul li {
        font-size: 1.125rem;
    }

    .hero-section {
        padding: 100px 0 0px;
        text-align: center;
    }

    .stats-wrapper {
        flex-direction: column;
    }

    .stats-wrapper .flex-fill {
        margin-bottom: 20px;
    }

    .trade-flow {
        padding: 80px 0 0;
    }

    .testimonial_section .testimonial_owlCarousel .testimonials {
        padding: 62px 10px 15px;
    }

    .testimonial_section .testimonial_box .testimonial_container .owl-nav .owl-next,
    .testimonial_section .testimonial_box .testimonial_container .owl-nav .owl-prev {
        bottom: 0;
    }

    .how-works-premium .timeline::before {
        left: 30px;
    }

    .how-works-premium .step {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 60px;
    }

    .how-works-premium .step:nth-child(even) {
        flex-direction: column;
    }

    .how-works-premium .icon,
    .how-works-premium .step {
        margin-bottom: 20px;
    }

    .how-works-premium .content,
    .secure-trade-wrapper .trust-left,
    .secure-trade-wrapper .trust-right {
        width: 100%;
        padding: 15px;
    }

    .platform-image {
        margin-bottom: 20px;
    }

    .market-insights-section,
    .how-works-premium {
        padding: 10px 0;
    }

    .testimonial_section .owl-nav {
        position: absolute;
        left: 143px;
    }

    h2 {
        font-size: 35px !important;
    }

    .display-4 {
        font-size: 40px;
    }

    .faq-wrapper,
    .creative-trade {
        padding: 50px 0px 0;
    }

    .custom-accordion .accordion-button {
        font-size: 16px;
    }

    .mini-card {
        min-width: 220px;
    }

    .navbar .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    header ul li a.nav-link {
        padding: 0px 15px;
    }

    .section-padding,
    .trade-flow {
        padding: 50px 0 30px;
    }

    .message-form {
        padding: 50px 20px;
        margin-top: 50px;
    }

    .mt5-network h2 {
        font-size: 26px;
    }

    .network {
        max-width: 400px;
    }

    .node iconify-icon {
        font-size: 22px;
    }

    .node span {
        font-size: 10px;
    }

    .mobile-trade-section .install-box {
        margin: 0 auto;
    }
}

@media (max-width: 425px) {
    .main-banner-section {
        padding: 150px 0 40px;
    }

    .banner-features {
        flex-direction: column;
        gap: 15px;
    }

    .footer-contact .footer-link {
        justify-content: center;
    }

    .network {
        max-width: 320px;
    }

    .node {
        width: 26%;
        height: 26%;
    }

    .core {
        width: 28%;
        height: 28%;
    }
}