@media (max-width: 1399px) {
    .revenue-card h4 {
        font-size: 24px;
    }

    .center-image img {
        min-height: 620px;
    }
}

@media (max-width: 1199px) {
    .process-card {
        padding: 24px 100px 24px 24px;
    }

    .process-card h3 {
        font-size: 24px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }
}

@media (max-width: 991px) {
    .form-title {
        font-size: 34px;
    }

    .left-image {
        margin-bottom: 25px;
        height: 500px;
    }

    .polkadot-banner {
        text-align: center;
        padding-top: 120px;
        padding-bottom: 80px;
    }

    .banner-content {
        text-align: center;
    }

    .banner-content h1 {
        font-size: 40px;
        line-height: 52px;
    }
    .title {
        font-size: 34px;
    }

    .tab-card img {
        height: 260px;
    }

    .left-box {
        margin-bottom: 25px;
    }

    .section-title {
        font-size: 34px;
        /* margin-bottom: 50px; */
    }

    .section-head {
        font-size: 34px;
        /* margin-bottom: 50px; */
    }

    .center-image {
        margin: 30px 0;
    }

    .center-image img {
        min-height: auto;
        height: 500px;
    }

    .left-cards,
    .right-cards {
        gap: 24px;
    }

    .revenue-card h4 {
        font-size: 22px;
    }

    .process-section {
        padding: 70px 0;
    }

    .row-gap-custom {
        row-gap: 24px;
    }

    .process-card {
        padding: 24px 95px 24px 24px;
    }

    .process-card h3 {
        font-size: 22px;
    }
}

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

    .form-box {
        padding: 25px;
    }

    .form-title {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .left-image {
        height: auto;
    }

    .left-image img {
        height: auto;
    }

    .phone-group {
        flex-direction: column;
    }

    .country-code {
        width: 100%;
    }

    .social-buttons {
        gap: 15px;
    }

    .social-btn {
        width: 100%;
    }

    .revenue-section {
        padding: 60px 0;
    }

    .section-title {
        /* font-size: 28px; */
    }

    .revenue-card {
        padding: 24px;
    }

    .revenue-card h4 {
        font-size: 20px;
    }

    .center-image img {
        height: 380px;
        border-radius: 22px;
    }

    .process-section {
        padding: 55px 0;
    }

    .process-card {
        padding: 22px 22px 95px 22px;
        border-radius: 22px;
    }

    .process-card h3 {
        font-size: 20px;
    }

    .process-card p {
        font-size: 13px;
    }

    .step-number {
        top: auto;
        bottom: 18px;
        right: 18px;
        transform: none;
        width: 56px;
        height: 56px;
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .banner-content h1 {
        font-size: 32px;
        line-height: 44px;
    }

    .banner-content p {
        font-size: 16px;
        line-height: 28px;
    }
    .ai-section {
        padding: 50px 0;
    }

    .title {
        font-size: 28px;
    }

    .left-box h3 {
        font-size: 22px;
    }

    .nav-pills {
        height: 200px;
    }

    .nav-pills .nav-link {
        padding: 15px;
        font-size: 14px;
    }

    .arrow {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .tab-card img {
        height: 220px;
    }

    .content h4 {
        font-size: 22px;
    }

    .content p {
        font-size: 14px;
    }
}
@media (max-width: 1100px) {
    .hero {
        flex-direction: column;
    }

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

    .hero-left {
        padding: 80px 30px;
    }

    .main-title {
        font-size: 30px;
    }

    .hero-right {
        height: 50vh;
    }
}

@media (min-width: 992px) {
    .cus-vh-40 {
        min-height: 72vh;
        max-height: 70vh;
    }
}

@media (max-width: 991px) {
    .custom-tabs {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 40px;
    }

    .custom-tabs .nav-link {
        width: auto;
        min-width: 180px;
    }

    .section-title {
        /* font-size: 30px; */
    }

    .tab-content-box {
        text-align: center;
        margin-top: 0px;
    }

    .section-description {
        font-size: 15px;
        padding: 0 15px;
    }

    .stack-card {
        text-align: center;
    }

    .why-choose-section {
        padding: 70px 0;
    }

    .choose-content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 50px;
    }

    .choose-content p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .choose-image img {
        max-width: 420px;
    }
}

@media (max-width: 576px) {
    .custom-tabs .nav-link {
        width: 100%;
        min-width: 100%;
        font-size: 14px;
        padding: 12px;
    }

    .section-title {
        /* font-size: 24px; */
    }

    .tab-content-box {
        margin-top: 220px;
    }

    .ai-service-box {
        top: 0px;
    }

    .tab-content-box h3 {
        font-size: 22px;
    }

    .tab-content-box p {
        font-size: 14px;
    }

    .tech-stack-section {
        padding: 70px 0;
    }

    .section-description {
        font-size: 14px;
    }

    .ai-tech-tabs .nav-link {
        width: 100%;
        text-align: center;
        font-size: 14px;
    }

    .stack-card {
        padding: 24px 15px;
    }

    .stack-logo {
        width: 60px;
        height: 60px;
    }

    .stack-name {
        font-size: 16px;
    }

    .choose-content p {
        font-size: 15px;
        line-height: 1.8;
    }

    .choose-image img {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    #about .card-badge {
        top: 15px;
        left: 15px;
        font-size: 22px;
        padding: 10px 18px;
    }

    #about .overlay-content {
        left: 15px;
        right: 15px;
        bottom: 15px;
        padding: 18px;
    }

    #about .overlay-content h3 {
        font-size: 24px;
    }

    #about .overlay-content p {
        font-size: 14px;
        line-height: 1.6;
    }
}

@media (max-width: 768px) {
    .ai-service-box {
        position: relative;
        height: auto;
        border-radius: 20px;
        top: 20px;
    }

    .ai-service-content {
        padding: 35px 25px;
    }

    .ai-service-title {
        font-size: 34px;
    }

    .ai-service-image-wrap {
        /* height: 320px; */
    }

    .ai-service-content::after {
        width: 250px;
        height: 150px;
    }
}
@media (max-width: 1440px) {
    .submenu {
        width: 850px;
    }
}

@media (max-width: 1200px) {
    .submenu {
        width: 700px;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .navbar-custom {
        padding: 0 20px;
    }

    .navbar-custom.scrolled {
        width: 95%;
        padding: 0 20px;
    }

    .submenu {
        width: 95vw;
        left: 50% !important;
        transform: translateX(-50%) translateY(20px) !important;
    }

    .nav-item-dropdown:hover .submenu,
    .nav-item-dropdown.active .submenu {
        transform: translateX(-50%) translateY(10px) !important;
    }
}

@media (max-width: 767px) {
    .submenu {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .logo img {
        width: 40px;
    }

    .navbar-custom {
        height: 75px;
    }
}
