/* --------- Responsive Design ----------- */

/* الشاشات الصغيرة: الهواتف */
@media (max-width: 200px)  {
    .hero .clsText h3 span img {
        width: 50% !important;
    }

}
@media (max-width: 368px)  {
    .hero .clsText h3 span img {
        width: 16% !important;
    }

}

@media (max-width: 768px) {

    .hero .clsText h3 span img {
        width: 9%;

    }

    nav {

        padding-top: 2rem !important;
    }

    .hero {
        height: auto;
        padding: 2rem 1rem;
        text-align: center;
    }

    .hero-section {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .hero .clsText h1,
    .hero .clsText h3,
    .hero .clsText p {
        width: 100% !important;
    }

    .logo img {
        width: 15% !important;
        position: absolute;
        bottom: 0;
        left: 15px;
        top: 40px;
    }


    .section-title h2::before {
        width: 86px;
    }

    .Services .ClsCards {
        flex-direction: column;
        gap: 2rem;
    }

    .Services .clsCard {
        width: 70%;
        height: auto;
        padding: 2rem 1rem;
    }

    .swiper-slide img {
        width: 60%;
    }

    .portfolio-car h5 {
        font-size: 15.1px;
    }

    .portfolio-car p {
        font-size: 1px !important;
    }

    .portfolio .row {
        flex-direction: column;
        gap: 2rem;
    }

    .portfolio .card {
        width: 100% !important;
        min-height: 200px;
    }



    .portfolio-title h2::before {
        width: 76px;
        /* عرض الخط */

    }


    footer {
        height: auto;
        padding: 2rem 1rem;
    }

    footer h6 {
        padding: 0;
    }

    a.navbar-brand.logo {
        width: 100%;
        text-align: center;
    }



    .portfolio-card {
        flex-wrap: wrap;
    }




}


/* التابلت والأجهزة المتوسطة */
@media (min-width: 769px) and (max-width: 1024px) {
    .section-title h2::before {
        width: 100px;
    }

    .portfolio-title h2::before {
        width: 90px;
        /* عرض الخط */

    }

    .hero {
        height: auto;
        padding: 2rem 1rem;
        text-align: center;
    }

    .hero .clsText h1,
    .hero .clsText h3,
    .hero .clsText p {
        width: 100% !important;

    }

    .swiper-slide img {
        width: 37%;
    }

    .Services .ClsCards {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }

    .Services .clsCard {
        width: 40%;
    }

    .portfolio .card {

        min-height: 210px;
    }

    .card-body .card-text {
        padding-top: 0.5rem !important;
        width: 150%;
    }

    .card-body h5 {
        font-size: large;
    }
}