@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700&display=swap');
:root{
    --accent-1: #00c7b6;
    --accent-2: #5bc6e0;
    --muted:#6b6b6b;
    --bg:#f5f7f8;
    --text:#0b1020;
    --brand: #3aedde;
    --brand2:#06b6d4;
    --glass:rgba(255,255,255,.12);
    --card-w: min(880px, 92vw); --card-h: 360px; --radius: 28px; --persp: 1200px;
    --shadow: 0px 0px 49px #0000002b;

}
@font-face {
    font-family: 'Cairo', sans-serif;
    font-weight: normal;
    font-style: normal;
}

*{
    font-family: 'Cairo', sans-serif;
}
body {
    font-family: 'Cairo', sans-serif;
}
html {
    scroll-behavior: smooth;
}
*{
    scroll-behavior: smooth;
}
body{
    direction: rtl;
    font-family: 'Tajawal', sans-serif;
    font-size: 18px;
}
main{
  background:   #fbffff;
    width: 100%;
    overflow: hidden;
}
.holder{

    max-width: 920px;
    margin :100px auto;
}
h2{
    font-size: 35px !important;
    color: var(--accent-2);
    font-weight: bold !important;
    font-family: cursive;
    margin-bottom: 20px !important;
}
h2::after {
    content: "";
    position: absolute;
    right: 0px;
    top: 52px;
    width: 0;
    height: 3px;
    background: rgb(91, 198, 224);
    transition: width 0.3s;
    border-radius: 2px;
}
h2:hover::after {
    width:60px;
}
.product-holder{
    max-width: 1100px;
    margin :0 auto;
}
.main_holder {
    margin: 0;
    padding: 0;
    height: auto;
    background: #FFFDFB;
    width: 100%;
    overflow: hidden;
}
.swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 300px;
}

.swiper-slide img {
    display: block;
    width: 100%;
}

 .swiper {
     width: 100%;
     padding-top: 50px;
     padding-bottom: 50px;
 }

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 300px;
}

.swiper-slide img {
    display: block;
    width: 100%;
}

.panel-swiper{

color: black;
max-height: 290px;
    .swiper {
        width: 100%;
        height: 100%;

    }

    .swiper-slide {
        font-size: 18px;
        color: #050000;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        padding: 40px 60px;
    }

    .parallax-bg {
        position: absolute;
        left: 0;
        top: 0;
        width: 130%;
        height: 100%;
        -webkit-background-size: cover;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;

    }

    .swiper-slide .title {
        font-size: 41px;
        font-weight: 300;
    }

    .swiper-slide .subtitle {
        font-size: 21px;
    }

    .swiper-slide .text {
        font-size: 14px;
        max-width: 400px;
        line-height: 1.3;
        p {
            font-size: clamp(12px, 2vw, 16px);
        }
    }
}
.panel-holder
{
    margin-bottom: 150px;
}
.products-home {
    display: flex;
    flex-wrap: wrap;
    margin :10px auto;
      .card {
        background: #59c0dc24;
        width: 23%;
        height: 300px;
        border-radius: 20px;
        margin: 5px 1%;
        transition: all 0.3s ease-in-out;
        cursor: pointer;
        overflow: hidden;

        .image {
            transition: all 0.3s ease-in-out;
            margin: 2px auto;
            background: #fffdfb;
            width: 98%;
            height: 67%;
            border-radius: 20px 20px 0 0;;

            img {
                width: 100%;
                height:100%;
                border-radius: 20px 20px 0 0;
                object-fit: fill;

            }
        }    .image:hover {
                 transform: scale(1.03);
             }


          .content{
              padding: 5px;
              h3{
                  margin-bottom: 8px;
                  font-size: 20px;
                  font-weight: bold;
                  color: #011d23;
              }
              p {
                  font-size: 14px;
                  color: #336870;
                  line-height: 1.5;

              }
          }
          }
    .card:hover {
        transform: scale(1.03);
    }

}
.show-all-products {
    display: block;
    color: #00505db5;
    width: 100%;
    margin: 20px;
}

.we {

transition: all 1s ease-in-out;
    .description{
        transition: all 1s ease-in-out;
        display: inline-block;
       max-width: 50%;
        padding: 10px;
        font-family: 'Tajawal', sans-serif;
        font-size: 18px;
        line-height: 1.8;
        color: #333;
    }
}
.we:hover{
    background: #ffffff;
    border-radius: 20px;
    color: white;
    transform: scale(1.03);

}
.we .img {
    display: inline-block;
    max-width: 40%;
}

.we .img img {
    width: 400px;
    max-width: 100%;
}


.location{

    transition: all 1s ease-in-out;
    .image{
        display: inline-block;
        width: 25%;

    }
    .describe   {
        width: 50%;
        display: inline-block;
        padding: 10px;
    }
}

.sections{
    .navbar{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        .sec-name {
            padding: 3px;
            font-weight: bold;
            background: #fbfdfd;
            margin:3px 3px;
            border-radius: 7px 1px;
            box-shadow: -2px 0 3px 0 #8080806e;
            cursor: pointer;
        }
        .sec-name:hover{
            transform: rotateZ(-2deg);
        }
    }
    .content{
        display: flex;
        flex-wrap: wrap;
        .card{
            margin: 5px;
            width: 200px;
            height: 230px;
            transition: all 0.3s ease-in-out;
            cursor: pointer;
            .image{
                border-radius: 5px 3px 0 0;
                width: 100%;
                height: 90%;
                display: flex;
                justify-self: center;

            }
            .footer{
                background:var(--accent-2);
                color: white;
                text-align: center  ;
                box-shadow: 0 3px 4px 0 #a6aeb0;
            }
        }
        .card:hover{
            transform: scale(1.06);
        }
    }
}

.spatial{

    .swiper {
        width: 240px;
        height: 320px;
    }

    .swiper-slide {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 18px;
        font-size: 22px;
        font-weight: bold;
        color: #fff;
        img{
            border-radius: 10px;
            box-shadow: -3px 0 8px 4px #000000;
            width: 100%;
            height: 100%;
        }
    }
}

.branches{

    .image{
        img{
            border-radius: 25px;
        }
    }
    .swiper {
        width: 100%;
        height: 100%;
    }

    .swiper-slide {
        text-align: center;
        font-size: 18px;
        width: 110px;
        height: fit-content;
}
.content{
    background: #07576aab;
    font-size: 14px;
    border-radius: 25px;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    color: white;
    align-content: center;
    font-weight: bold;
    transition:  all 1s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    z-index: -2;
    transform: rotateY(180deg) rotateX(5deg);
    a{
        color:var(--accent-2);
        transition: all 0.3s ease-in-out;
    }
    a:hover{
        transform: scale(1.06);
        color: #a2eaf8;
    }
}
    .content.show{

        opacity: 1;
        z-index: 4;
        transform: rotateY(360deg) rotateX(0deg);
    }

}

.partners-banner {
    margin: 20px 0;
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 2px 0 1px 0 rgb(195 188 188 / 20%);
}

.logos {
    display: flex;
    align-items: center;
}

.logo-slide {
    display: flex;
    animation: scroll 20s linear infinite;
}

.logo-slide img {
    height: 60px;
    margin: 0 40px;
    transition: transform 0.3s;
}

.logo-slide img:hover {
    transform: scale(1.2);
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(100%); }
}
/* ===== Footer ===== */
footer.footer {

    background: linear-gradient(181deg, #000000, #132c31);
    color: #fff;
    padding: 50px 20px 20px;
    margin-top: 40px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    box-shadow: 0 -4px 12px rgba(91, 198, 224, 0.3);
    width: 100%;


    .alert.alert-success {
        position: absolute;
        top: 10px;
        right: 10%;
        background: #215f21b8;
        padding: 30px;
        width: 60%;
        border-radius: 15px;
        font-weight: bold;
    }
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

/* العناوين */
.footer h4 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 5px;
}

/* النصوص */
.footer p {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.9;
}

/* الروابط السريعة */
.shortCuts ul {
    list-style: none;
    padding: 0;
}
.shortCuts li {
    margin: 8px 0;
    cursor: pointer;
    transition: transform 0.2s, color 0.3s;
}
.shortCuts li:hover {
    transform: translateX(-5px);
    color: #ffe;
}

/* مشاركة رأيك */
.shareUs .share-box {
    display: flex;
    margin-top: 10px;
}
.shareUs input {
    color: black;
    flex: 1;
    padding: 10px;
    border-radius: 8px 0 0 8px;
    border: none;
    outline: none;
}
.shareUs input.send {
    background: #fff;
    color: var(--accent-2);
    border: none;
    padding: 10px 11px;
    border-radius:  5px;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: bold;
    height: 39px;
    line-height: 100%;
    align-self: end;
}
.shareUs button:hover {
    background: #eee;
}

/* تواصل معنا */
.contactUs ul {
    list-style: none;
    padding: 0;
}
.contactUs li {
    margin: 8px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.95;
    transition: opacity 0.3s;
}
.contactUs li:hover {
    opacity: 1;
}

/* أسفل الفوتر */
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 15px;
    font-size: 14px;
    opacity: 0.9;
}

.shortCuts div {
    margin-bottom: 8px;
    cursor: pointer;
}

.shortCuts div:hover {
    color: var(--accent-2);
}

.shortCuts i, .contactUs i {
    margin-left: 8px;
    color:var(--accent-2) ;
}
.shareUs input {
    padding: 8px;
    width: 100%;
    border: none;
    border-radius: 4px;
    margin-top: 5px;
}
.services {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    .left{
        flex:1 1 48%; padding-right:40px; box-sizing:border-box; margin-top: 20px;
    }

    .heading{
        font-size:32px; font-weight:800; margin:0 0 18px; letter-spacing:0.2px;
        cursor:pointer;
    }

    .sub{
        display:flex; gap:12px; align-items:flex-start; margin-bottom:18px; border-right:4px solid rgba(0,0,0,0.1); padding-right:10px; transition:border-color 0.4s ease;
    }
    .sub.active{border-right:4px solid var(--accent-2);background: #d7d7d72e;}

    .sub .title{font-weight:700; margin-top:2px; cursor:pointer; position:relative; transition:  all 1s ease-in-out}

    .sub.active .title::after{transform:rotate(90deg);}

    .sub .content-service{
        margin:0; color:var(--muted); line-height:1.8; max-height:0; overflow:hidden; transition:all 1s ease-in-out; opacity:0;
    }
    .sub .content-service.show{
        max-height:200px; opacity:1; margin-top:6px;
    }


    .step:hover{transform:translateX(-5px);}
    .step .dot{width:8px; height:8px; border-radius:50%; background:#ddd; transition:background 0.3s;}
    .step:hover .dot{background:var(--accent-2)}
    .step p{margin:0; font-weight:700}

    .cta{
        margin-top:26px;
    }

    /* right image */
    .right{flex:auto; width: 40%; display:flex; justify-content:center}
    img.device {
        max-width: 80%;
        border-radius: 13px;
        transition: opacity 0.6s ease;
        opacity: 1;
        object-fit: contain;
    }
    img.device.fade-out {
        opacity: 0;
    }
    /* responsive */



}


@media (max-width: 768px) {
    footer {
        flex-direction: column;
    }

     .services {


         .left {
             padding-right: 0;
             text-align: center;
             width:100%;
         }
         .right{
             width:  100%
         }

         .accent {
             margin: 0 auto
         }

         .step {
             justify-content: center
         }
     }

}

.holder {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}


.holder.show {
    opacity: 1;
    transform: translateY(0);
}
@media only screen and (max-width: 600px) {

.panel-swiper {
.parallax-bg {
background-size: auto;
} }
.we
{ .img,.description {
max-width: 100%;
} }

.location{
.image{
display: block;
width: 100%;


}
.describe{
display: block;
width: 100%;
}
}
.sections{
.content{
.card{
    width: 47%;
    height: 200px;
}
}
}

.branches{
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
}
}


    .products-home {
        height: 500px;
        overflow: auto;
        justify-content: space-around;
        .card {
            width: 45%;
            height: 300px;
            margin-top: 10px;
        }
    }
}

.clients-says{


        background: #5bc6e00a;
        border-radius: 10px;
        min-height: 250px;
        align-items: center;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;

    .testimonials {
        max-width: 600px;
        margin: 0 auto;
        position: relative;
        min-height: 120px; /* علشان ما ينهار السكشن وقت الاختفاء */
        overflow: hidden;
    }

    .t-item {
        opacity: 0;
        transform: translateX(-40px);
        transition: all 1s ease;
        padding: 15px;
        border-radius: 10px;
        position: absolute;
        top: 0;
        left: 0;
        overflow: hidden;
    }

    .t-item.active {
        opacity: 1;
        transform: translateX(0);
        position: relative;
    }

    .sender{
        margin-top: 10px;
        font-size: 20px;
        font-weight: bold;
    }
    .content{
        color: #0000009c;
        font-size: 22px;
    }
}


