@media (max-width: 991px) {
    .navbar-container {
        padding-left: 5%;
        padding-right: 5%;
    }

    .logo-img {
        height: 50px;
    }

    .custom-toggler {
        display: flex;
    }

    .navbar-collapse {
        display: none !important;
        /* Hide bootstrap menu items on mobile */
    }

    .contact-item {
        display: none !important;
        /* Hide contact info in header on mobile */
    }

    .social-links {
        display: none !important;
        /* Hide top social links on mobile */
    }

    .main-navbar .btn-demo {
        display: none !important;
    }

    /* Hero Responsive */
    .hero-section {
        padding: 50px 20px;
        text-align: center;
    }

    .hero-container {
        flex-direction: column;
        gap: 50px;
        padding: 0;
    }

    .hero-left,
    .hero-right {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hero-heading {
        font-size: 2.3rem;
        line-height: 1.25;
    }

    .hero-subtext {
        margin: 0 auto 30px;
        font-size: 16px;
    }

    .hero-cta {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .btn-try-easy,
    .btn-live-demo {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 17px 20px;
    }

    /* Main Dashboard Only on Mobile */
    .dashboard-peek {
        display: none !important;
    }

    .dashboard-main {
        width: 100% !important;
        margin: 0;
    }

    .reviews-carousel-outer::before {
        left: 0;
        background: linear-gradient(90deg,
                #FFFFFF 0%,
                #FFFFFF 0%,
                rgba(255, 255, 255, 0.9) 0%,
                rgba(255, 255, 255, 0) 0%);
    }

    .reviews-carousel-outer::after {
        right: 0;
        background: linear-gradient(-90deg,
                #FFFFFF 0%,
                #FFFFFF 0%,
                rgba(255, 255, 255, 0.9) 0%,
                rgba(255, 255, 255, 0) 0%);
    }

    .brand-origin {
        padding: 4px 7px;
    }

    .country-name {
        font-size: 12px;
    }

    .country-flag {
        width: 18px;
    }

    .brand-unit {
        flex: 0 0 50%;
        padding: 0px;
        gap: 8px;
        margin: 0;
        overflow: visible;
    }

    /* Features Overview Mobile */
    .overview-title {
        font-size: 30px !important;
        margin-bottom: 40px !important;
        line-height: 1.3 !important;
        padding: 0 10px;
    }

    .feature-overview-box {
        padding: 35px 25px !important;
        /* text-align: center; */
        /* align-items: center !important; */
    }

    .box-title {
        font-size: 20px !important;
    }

    .big-cloud-asset.cloud-1 {
        width: 180% !important;
        left: -40% !important;
    }

    .big-cloud-asset.cloud-2 {
        width: 180% !important;
        right: -40% !important;
    }

    .footer-bottom {
        font-size: 12px;
    }

    .footer-logo {
        max-width: 250px;
    }

    .marketing-thread-line,
    .marketing-tick {
        display: none !important;
    }
}

/* Tablet Specific Overrides (Portrait) */
@media (min-width: 768px) {
    .hero-heading {
        font-size: 3.2rem;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-subtext {
        font-size: 1.2rem;
        max-width: 650px;
    }

    .hero-cta {
        flex-direction: row;
        justify-content: flex-start;
        gap: 20px;
    }

    /* Keep buttons centered only on Portrait Tablet */
    @media (max-width: 991px) {
        .hero-cta {
            justify-content: center;
        }
    }

    .btn-try-easy,
    .btn-live-demo {
        width: auto;
        min-width: 200px;
    }

}

@media (max-width: 768px) {
    .scroll-animate.slide-left {
        transform: translateX(-30px);
    }

    .scroll-animate.slide-right {
        transform: translateX(30px);
    }

    .scroll-animate.fade-up {
        transform: translateY(30px);
    }

    .scroll-animate.drop-down {
        transform: translateY(-40px);
    }
}

/* TABLET LANDSCAPE (992px to 1199px)*/
@media (min-width: 992px) and (max-width: 1400px) {
    .navbar-container {
        padding-left: 4% !important;
        padding-right: 4% !important;
    }

    .hero-section {
        padding: 40px 4% !important;
    }

    .main-navbar .gap-lg-5 {
        gap: 1.5rem !important;
    }

    .main-navbar .ms-lg-5 {
        margin-left: 1.5rem !important;
    }

    .main-navbar .ms-lg-3 {
        margin-left: 1rem !important;
    }

    .nav-custom-link {
        font-size: 15px;
        white-space: nowrap;
    }

    .contact-item {
        font-size: 15px;
        white-space: nowrap;
    }

    .social-links {
        gap: 0.75rem !important;
    }

    .social-links a {
        font-size: 20px;
    }

    .phone-number {
        font-size: 14px;
    }

    .flag-icon {
        width: 22px;
    }

    .btn-demo {
        padding: 10px 20px;
        font-size: 15px;
        width: 170px;
    }

    .logo-img {
        height: 60px;
    }

    .hero-container {
        padding: 0 !important;
        gap: 30px;
    }

    .hero-left {
        flex: 0 0 45%;
        max-width: 45%;
        text-align: left;
    }

    .hero-heading {
        font-size: 2.8rem;
        line-height: 1.15;
    }

    .hero-subtext {
        font-size: 16px;
        line-height: 26px;
        max-width: 100%;
        margin-left: 0;
    }

    .hero-cta {
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
    }

    .btn-try-easy,
    .btn-live-demo {
        font-size: 1rem;
        padding: 14px 20px;
        width: auto;
    }

    .hero-right {
        flex: 1;
    }

    .dashboard-main {
        width: 100% !important;
        margin: 20px 0;
        transform: none;
    }

    .dashboard-peek {
        display: block !important;
        opacity: 0.7;
    }

    .dashboard-peek--top {
        height: 60px;
    }

    .dashboard-peek--bottom {
        height: 60px;
    }

    /* Brands Slider Tablet Landscape */
    .brand-unit {
        flex: 0 0 25%;
        padding: 0 15px;
    }

    .brand-card {
        width: 190px;
        height: 90px;
    }
}

/* Hero & Navbar Adjustment for Large Tablet Landscape & Standard Desktop (992px to 1900px) */
@media (min-width: 992px) and (max-width: 1900px) {
    .navbar-container {
        padding-left: 4% !important;
        padding-right: 4% !important;
    }

    .hero-section {
        padding: 40px 4% !important;
    }

    .hero-heading {
        font-size: 3rem !important;
        line-height: 1.15;
    }

    .hero-subtext {
        font-size: 17px !important;
        line-height: 28px;
        max-width: 500px;
    }

    .hero-cta {
        display: flex;
        flex-direction: row;
        gap: 15px;
        justify-content: flex-start;
    }

    .btn-try-easy,
    .btn-live-demo {
        padding: 15px 22px !important;
        font-size: 1rem !important;
        width: auto !important;
    }

    /* Brands Slider Tablet Landscape */
    .brand-unit {
        flex: 0 0 20%;
        /* 4 columns for tablet landscape */
        padding: 0 15px;
    }

    .brand-card {
        width: 190px;
        height: 90px;
    }
}