@media (max-width: 768px) {
    .card>.flex {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 6px;
    }

    /* First row: Home > Services */
    .card>.flex a:nth-of-type(1),
    .card>.flex span:nth-of-type(1),
    .card>.flex a:nth-of-type(2) {
        white-space: nowrap;
        font-size: 1.3rem;
    }

    /* Second row: > Web & App Development */
    .card>.flex span:last-child {
        width: 100%;
        display: block;
        font-size: 1.3rem;
    }

    .outer {
        height: 320px;
    }

    .topl {
        top: 6%;
    }

    .bottoml {
        bottom: 6%;
    }

    .capability-card {
        width: 275px;
    }

    .presence {
        padding: 19px 1rem !important;
        margin: 30px 2rem !important;
        width: auto !important;
    }

    .presence h2 {
        font-size: 2.3rem !important;
    }

    .presence p {
        font-size: 1.1rem !important;
        padding: 0.7rem;
    }

    .leftl {
        left: 3%;
    }

    .rightl {
        right: 3%;
    }

    .video-section-row {
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
    }

    .video-section video {
        width: 100% !important;
        max-width: 340px;
    }

    .video-section {
        margin: 0.7rem 0 !important;
    }
}