@media (max-width: 768px) {

    /* HEADER */
    .ti1 {
        padding: 15px;
        text-align: center;
    }

    .logo {
        float: none;
        display: block;
        margin: 0 auto;
        width: 100px;
        max-width: 100px;
        height: auto;
    }

    .headfr {
        padding: 0;
        text-align: center;
    }

    .headfr h1 {
        font-size: 2rem;
        margin: 10px 0 20px;
        white-space: nowrap;
    }

    /* NAVIGATION */
    nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        padding: 0;
        margin: 0;
    }

    nav ul li {
        flex: 0 0 auto;
    }

    .details,
    .details1 {
        margin: 0;
        padding: 0;
    }

    nav ul::-webkit-scrollbar {
        display: none;
    }

    /* HERO SECTION */
    .about {
        height: 350px;
    }

    .anitext {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        padding: 10px;
        text-align: center;
        height: auto;
    }

    .ent1,
    .ent2,
    .ent3 {
        font-size: 2.2rem;
        padding-left: 0;
        text-align: center;
    }

    /* ABOUT SECTION */
    .abt {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .image-grid {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .image-grid img {
        height: 140px;
    }

    .about-content {
        width: 100%;
        font-size: 14px;
        line-height: 1.6;
        text-align: justify;
    }

    .about-title {
        font-size: 28px;
    }

    .bio2 {
        font-size: 14px;
        line-height: 1.6;
        overflow: hidden;
        max-height: 16em;
        text-align: justify;
    }

    /* WHY CHOOSE KRS */
    .card {
        width: 220px;
    }

    .card img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    /* PROCESS SECTION */
    .process-container {
        flex-direction: column;
        align-items: center;
    }

    .process-step img {
        max-width: 250px;
        width: 100%;
        height: auto;
    }

    /* FOOTER */
    .footer {
        padding: 50px 20px 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}