@media (max-width: 767px) {
    .hero-title-group {
        font-size: 1.5rem;
    }

    .hero-img,
    .about-img,
    .automation-img,
    .why-img,
    .leadgen-img,
    .how-img {
        max-width: 220px;
    }
}
@media (max-width: 991px) {
    .navbar-nav {
        gap: 0;
        margin-top: 1rem;
    }
    .nav-item {
        margin: 0.5rem 0;
    }
    .btn-login {
        margin-top: 1rem;
        width: 100%;
    }
    .nav-link::after {
        display: none;
    }
    .services-dropdown {
        margin-top: 0;
        width: 100%;
    }
    .services-dropdown::before {
        display: none;
    }
}

/* ────────────  DESKTOP HOVER BEHAVIOUR  ──────────── */
@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    .navbar .dropdown-toggle::after {
        transition: transform 0.2s;
    }
    .navbar .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

@media (min-width: 992px) {
    /* desktop only */
    .services-dropdown {
        top: calc(100% + 10px); /* sit 10 px below the link */
        left: 50%; /* center horizontally */
        transform: translateX(-50%);
        margin-top: 0; /* no extra push */
        z-index: 9999; /* stay above everything */
    }
}

@media (max-width: 991px) {
    .hero-main-title {
        font-size: 2.3rem;
    }

    .hero-gradient-title {
        font-size: 3.1rem;
    }

    .hero-img-main {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .hero-section-custom {
        padding: 40px 0 20px 0;
    }

    .hero-main-title {
        font-size: 2.3rem;
    }

    .hero-gradient-title {
        font-size: 3.1rem;
    }

    .hero-img-main {
        border-radius: 12px;
    }
}

@media (max-width: 480px) { /* mobile portrait */
    .hero-main-title {
        font-size: 1.4rem !important;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    .hero-gradient-title{
        font-size: 1.2rem;
    }
    .hero{
        padding: 50px 0 60px 0;
    }
    .hero-subtitle{
        font-size: 14px;
    }
    .features-demo-btn{
        font-size: 12px;
    }
    .buttonlandingpage{
        display: flex;
        gap: 12px;
    }
    #secound-text{
        font-size: 30px;
    }
    #landing-grad{
        font-size: 1.2rem;
    }
}
@media (max-width: 991px) {
    .feature-card-main {
        max-width: 100%;
        min-height: 0;
        margin-top: 24px;
    }

    .features-title {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .features-section-custom {
        padding: 40px 0 30px 0;
    }

    .feature-card-custom,
    .feature-card-main {
        padding: 20px 12px;
    }

    .features-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 991px) {
    .about-title {
        font-size: 2rem;
    }

    .about-img-main {
        width: 100%;
    }

    .about-img-gradient {
        padding: 4px;
    }
}

@media (max-width: 767px) {
    .about-section-custom {
        padding: 0px 0 20px 0;
    }

    .about-title {
        font-size: 30px;
    }
    .about-subtitle{
        font-size: 18px;
    }

    .about-img-main {
        border-radius: 16px;
    }

    .about-img-gradient {
        border-radius: 18px;
    }
    #secound-title{
        margin-top: 60px;
    }
}

@media (max-width: 991px) {
    .why-title {
        font-size: 2rem;
    }

    .feature-row {
        flex-direction: column;
        align-items: center;
    }

    .feature-card {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .why-section-custom {
        padding: 60px 0 40px 0;
    }

    .video-overlay {
        height: 300px;
    }

    .video-bar {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .video-controls {
        width: 100%;
        justify-content: space-between;
    }

    .feature-card {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .glow-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }

    .glow-cta-text {
        font-size: 1.1rem;
    }

    .glow-cta-btn {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .automation-title {
        font-size: 2rem;
    }

    .automation-img-main {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .automation-section-custom {
        padding: 40px 0 20px 0;
    }

    .automation-title {
        font-size: 1.3rem;
    }

    .automation-img-main {
        border-radius: 12px;
    }

    .automation-feature-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 991px) {
    .how-header {
        position: relative;
        margin-bottom: 3rem;
        text-align: center;
    }

    .step-card {
        flex-direction: column;
        text-align: center;
    }

    .step-content {
        flex-direction: column;
        align-items: center;
    }

    .step-visual {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 767px) {
    .how-title {
        font-size: 2rem;
    }

    .step-card {
        padding: 25px;
    }

    .mockup-card {
        padding: 20px;
    }
}

@media (max-width: 991px) {
    .leadgen-title {
        font-size: 2.5rem;
    }

    .leadgen-hero-img {
        margin-top: 3rem;
    }
}

@media (max-width: 767px) {
    .leadgen-section-custom {
        padding: 60px 0;
    }

    .leadgen-title {
        font-size: 2rem;
    }

    .features-title {
        font-size: 1.8rem;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

@media (max-width: 991px) {
    .cta-title {
        font-size: 2.5rem;
    }

    .cta-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 767px) {
    .contact-cta-section {
        padding: 60px 0;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-subtitle {
        font-size: 1.1rem;
    }

    .cta-description {
        font-size: 1rem;
        padding: 0 20px;
    }

    .btn-book-demo {
        padding: 12px 35px;
        font-size: 0.95rem;
    }
}

@media (max-width: 991px) {
    .footer-card {
        flex-direction: column !important;
        text-align: center;
    }

    .footer-title {
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }
    .footer-custom .col-md-4 {
        margin-bottom: 2rem;
    }

    .footer-custom .col-md-4 {
        margin-bottom: 2rem;
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        align-items: center !important;
    }
}

@media (max-width: 991px) {
    .hero::before,
    .hero::after {
        width: 400px;
        opacity: 0.5;
    }
}

@media (max-width: 767px) {
    .hero::before,
    .hero::after {
        width: 280px;
        opacity: 0.35;
        top: 60%; /* slightly lower for small screens */
    }
}

@media (max-width: 575px) {
    .hero::before,
    .hero::after {
        display: none; /* hide completely on extra-small screens */
    }
}

@media (max-width: 767px) {
    .pricing-section {
        padding: 60px 0;
    }

    .pricing-title {
        font-size: 2rem;
    }

    .pricing-card {
        margin-bottom: 30px;
    }

    .card-content {
        padding: 20px;
    }

    .features-list li {
        font-size: 0.875rem;
    }

    .btn-get-started {
        font-size: 1rem;
        padding: 14px 28px;
    }
}

@media (max-width: 991px) {
    .pricing-title {
        font-size: 2.5rem;
    }

    .card-header {
        padding: 30px 20px 25px;
    }

    .plan-name {
        font-size: 1.25rem;
    }

    .current-price {
        font-size: 1.5rem;
    }

    .ai-avatar {
        width: 80px;
        height: 80px;
    }
}

/*BLOG*/

    @media (max-width: 991px) {
        .section-title {
            font-size: 2.5rem;
        }

        .blog-image {
            height: 220px;
            border-radius: 20px 20px 0 0;
        }

        .blog-content {
            padding: 30px;
        }

        .blog-title {
            font-size: 1.25rem;
        }
    }

    @media (max-width: 767px) {
        .blog-section {
            padding: 60px 0;
        }

        .section-title {
            font-size: 2rem;
        }

        .blog-image {
            height: 200px;
        }

        .blog-content {
            padding: 20px;
        }

        .blog-meta {
            gap: 15px;
        }

        .blog-title {
            font-size: 1.1rem;
        }

        .blog-excerpt {
            font-size: 0.875rem;
        }
    }

    /*blog-details*/

            @media (max-width: 1200px) {
            .blog-content {
                padding: 3rem;
            }
        }

        @media (max-width: 991px) {
            .blog-title {
                font-size: 2.5rem;
            }



            .article-content h2 {
                font-size: 1.875rem;
            }

            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .tech-card {
                flex-direction: column;
                text-align: center;
            }

            .tech-number {
                margin: 0 auto;
            }

            .benefits-showcase {
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
                gap: 20px;
            }

            .step-header {
                flex-direction: column;
                text-align: center;
                gap: 1rem;
            }


        }

        @media (max-width: 767px) {
            .blog-details-section {
                padding: 60px 0;
            }

            .blog-title {
                font-size: 2rem;
            }



            .lead-paragraph {
                font-size: 1.125rem;
            }

            .article-content {
                font-size: 1rem;
            }

            .author-info {
                flex-direction: column;
                gap: 15px;
            }

            .blog-meta-bottom {
                flex-direction: column;
                gap: 15px;
            }

            .blog-content {
                padding: 2rem;
                border-radius: 20px;
            }

            .article-content h2 {
                font-size: 1.5rem;
            }

            .blockquote {
                padding: 1.5rem;
            }

            .blockquote p {
                font-size: 1.125rem;
            }

            .stats-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .stat-number {
                font-size: 2.5rem;
            }

            .benefit-icon {
                width: 60px;
                height: 60px;
                font-size: 2rem;
            }

            .future-trends {
                grid-template-columns: 1fr;
            }

            .cta-section {
                padding: 2rem;
            }

            .cta-section h3 {
                font-size: 1.5rem;
            }

            .btn-cta {
                padding: 14px 30px;
                font-size: 1rem;
            }

            .share-btn {
                width: 45px;
                height: 45px;
                font-size: 1.1rem;
            }
        }

        /* Print Styles */
        @media print {
            .blog-details-section {
                background: white;
                color: black;
            }

            .blog-content {
                background: transparent;
                border: none;
                box-shadow: none;
            }

            .share-section,
            .author-social,
            .reading-progress,
            .cta-section {
                display: none;
            }

            .blog-title,
            .article-content h2,
            .article-content h3 {
                color: black;
            }
        }

         /* feature-blog */
        @media (max-width: 1200px) {
            .blog-card {
                min-width: calc(50% - 15px);
            }
        }

        @media (max-width: 991px) {
            .section-title {
                font-size: 2.5rem;
            }

            .slider-nav {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }

            .slider-prev {
                left: 10px;
            }

            .slider-next {
                right: 10px;
            }
        }

        @media (max-width: 767px) {
            .related-blog-section {
                padding: 60px 0;
            }

            .section-title {
                font-size: 2rem;
            }

            .blog-card {
                min-width: 85%;
            }

            .blog-card-title {
                font-size: 1.1rem;
            }

            .blog-card-content {
                padding: 20px;
            }

            .author img {
                width: 35px;
                height: 35px;
            }
        }


                /* ai-inbound */

        @media (max-width: 991px) {
            .services-title {
                font-size: 3rem;
            }

            .services-subtitle {
                font-size: 1.1rem;
            }

            .laptop-container {
                max-width: 700px;
            }
        }

        @media (max-width: 767px) {
            .services-hero-section {
                padding: 60px 0;
            }

            .services-title {
                font-size: 2.5rem;
            }

            .services-subtitle {
                font-size: 1rem;
            }

            .laptop-frame {
                padding: 4px;
            }

            .laptop-frame::after {
                width: 150px;
                height: 12px;
                bottom: -15px;
            }

            .description-text {
                font-size: 0.9rem;
                text-align: left;
            }

            .description-text.highlight {
                padding: 1rem;
            }
        }

        @media (max-width: 480px) {
            .services-title {
                font-size: 2rem;
            }

            .services-header {
                margin-bottom: 2rem;
            }

            .laptop-container {
                margin-bottom: 3rem;
            }
        }


                @media (max-width: 991px) {
            .section-title {
                font-size: 2.5rem;
            }

            .content-title,
            .importance-title {
                font-size: 1.3rem;
            }

            .ai-visual {
                max-width: 500px;
                margin: 0 auto 3rem;
            }
        }

        @media (max-width: 767px) {
            .ai-inbound-section {
                padding: 60px 0;
            }

            .section-title {
                font-size: 2rem;
            }

            .btn-demo {
                padding: 10px 30px;
                font-size: 0.9rem;
            }

            .content-title,
            .importance-title {
                font-size: 1.2rem;
            }

            .feature-item p,
            .content-description,
            .availability-item p,
            .importance-text {
                font-size: 0.9rem;
            }

            .section-header {
                margin-bottom: 3rem;
            }
        }

                @media (max-width: 991px) {
            .col-lg-4 {
                margin-bottom: 3rem;
            }

            .block-title {
                font-size: 1.25rem;
            }

            .block-text,
            .feature-list li {
                font-size: 0.9rem;
            }
        }

        @media (max-width: 767px) {
            .ai-outbound-section {
                padding: 60px 0;
            }

            .col-lg-4 {
                padding: 0 15px;
            }

            .block-title {
                font-size: 1.1rem;
            }

            .image-block {
                max-width: 400px;
                margin: 0 auto 2rem;
            }
        }

/* pricing */
@media (min-width: 992px) and (max-width: 1372px) {
  #pricing .col-lg-3 {
    flex: 0 0 50%;   /* 2 columns instead of 4 */
    max-width: 50%;
  }
}

/* footer */
@media (max-width: 967px) {
  .footer-custom .footer-card .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center; /* center content */
    margin-bottom: 2rem; /* spacing between blocks */
    margin-top: 20px;
  }

  .footer-custom .footer-card {
    padding: 2rem 1rem; /* reduce padding on small screens */
  }

  /* 🔹 Flags inline with text */
  .footer-custom .footer-location {
    display: inline-flex;      /* keep flag + text in one line */
    align-items: center;       /* vertical alignment */
    gap: 10px;                 /* spacing between flag & text */
    justify-content: center;   /* center whole row under LOCATION */
    margin-bottom: 12px;       /* spacing between locations */
    text-align: left;          /* keep multi-line addresses neat */
  }

  .footer-custom .footer-location img {
    width: 24px;
    height: 24px;
    display: block;
  }

  .footer-custom .footer-links a {
    font-size: 1rem; /* smaller text for links */
  }

  .footer-custom .footer-mission {
    font-size: 1rem;
    max-width: 100%; /* no cut-off */
  }
}

/* testimonial section */

 @media (max-width: 992px) {
            .testimonial-card {
                min-height: 400px;
            }
        }

        @media (max-width: 768px) {
            .testimonial-card {
                flex: 0 0 100%;
            }
        }

        /* brand-responsive */

        @media (min-width: 768px) {
            .logo-carousel .owl-nav {
                position: absolute;
                top: 50%;
                left: -8px;
                right: -8px;
                transform: translateY(-50%);
                margin-top: 0;
                pointer-events: none;
            }

            .logo-carousel .owl-nav button.owl-prev,
            .logo-carousel .owl-nav button.owl-next {
                pointer-events: auto;
                background: #fff;
                border-radius: 999px;
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            }
        }

/* landing page */

@media (max-width: 992px) {

    .hiw-container {
        width: 80%;
    }

    .hiw-steps {
        flex-direction: column;  /* ▼ stack vertically */
        gap: 30px;
    }

    .hiw-step {
        border-right: none !important;
        padding-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
        padding-bottom: 20px;

        text-align: center;  /* ▼ center text on small screens */
    }

    .hiw-step:last-child {
        border-bottom: none;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .hiw-container {
        width: 95%;
    }

    .hiw-title {
        font-size: 2rem;
        text-align: center;
    }

    .hiw-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 1925px) and (min-width: 998px) {
    .hiw-container {
        width: 70%; /* wider than 50% so layout breathes */
    }

    .hiw-steps {
        gap: 20px; /* give more spacing */
    }

    .hiw-step {
        padding-right: 10px;
    }

    .hiw-number {
        font-size: 55px;
    }

    .hiw-heading {
        font-size: 18px;
    }

    .hiw-text {
        font-size: 16px;
        line-height: 20px;
    }
}

/* what make us different */

@media (max-width: 1925px) and (min-width: 998px) {
    .landing-feature-container {
        max-width: 70%;
    }
}
@media (max-width: 998px) {
    .landing-feature-container {
        max-width: 90%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .landing-feature-card {
        flex: 0 0 48%;
    }
}
@media (max-width: 600px) {
    .landing-feature-card {
        flex: 0 0 100%;
        text-align: center;
    }

    .landing-feature-card .icon {
        margin: 0 auto 12px;
    }
}
@media (max-width: 1380px) and (min-width: 995px) {
    .landing-feature-container {
        max-width: 80%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
    }

    .landing-feature-card {
        flex: 0 0 calc(50% - 20px); /* 2 cards per row */
    }
}
/* reduce cost */

@media (max-width: 2000px) and (min-width: 1380px) {
    .productive-container {
        width: 50%;
    }
}

/* 1380px – 995px (Stack left boxes) */
@media (max-width: 1380px) and (min-width: 995px) {
    .productive-content {
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
    }

    .productive-box {
        width: calc(50% - 20px);
    }

    .productive-cost {
        width: 100%;
    }
}

/* Tablet 995px – 600px */
@media (max-width: 995px) and (min-width: 600px) {
    .productive-container {
        width: 80%;
    }

    .productive-content {
        flex-wrap: wrap;
        justify-content: center;
    }

    .productive-box {
        width: calc(50% - 20px);
    }

    .productive-cost-number {
        font-size: 5rem;
    }
}

/* Mobile < 600px */
@media (max-width: 600px) {
    .productive-container {
        width: 100%;
        padding: 30px 20px;
    }

    .productive-title {
        font-size: 1.6rem;
    }

    .productive-content {
        flex-direction: column;
    }

    .productive-box {
        width: 100%;
    }

    .productive-cost-number {
        font-size: 4rem;
    }

    .productive-number{
        text-align: center;
    }

    .productive-text{
        text-align: center;
    }

     .productive-text br {
        display: none;
    }
}
/* why trust us? */
@media (max-width: 1200px) {
    .trust {
        max-width: 70%;
    }
    .trust-wrapper{
        flex-wrap: wrap;
    }
}

/* Mobile + Small Tablet */
@media (max-width: 768px) {
    .trust {
        max-width: 90%;
    }

    .trust-card {
        width: 100%;
    }
    .trust-wrapper{
        flex-wrap: wrap;
    }
}
