@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo/static/Cairo-Regular.ttf') format('truetype');
    font-weight: 400;
}
  
@font-face {
    font-family: 'Cairo';
    src: url('/fonts/Cairo/static/Cairo-Bold.ttf') format('truetype');
    font-weight: 700;
}
  
@font-face {
    font-family: 'Saira';
    src: url('/fonts/Saira/static/Saira-Regular.ttf') format('truetype');
    font-weight: 400;
}
  
@font-face {
    font-family: 'Saira';
    src: url('/fonts/Saira/static/Saira-Bold.ttf') format('truetype');
    font-weight: 700;
}



:root {
    --header: 70px;
    --sidebar: 15rem;
    --padding: 8rem;
    --padding-m: 2rem;
  
    --primary-color: #0077b6;
    --logo-color: rgb(3, 3, 135);
    --secondary-color: #218bc4;
    --accent-color: #028c75;
    --accent-color-hover: #0f7060;
    --dark-color: #1F1F1F;
    --light-color: #F9F9F9;
    --white-color: #fff;
    --bg-color: #eee;
  
    --font-family-ar: 'Cairo', sans-serif;
    --font-family-en: 'Saira', sans-serif;
  
    --font-xs: 12px;
    --font-sm: 14px;
    --font-md: 16px;
    --font-lg: 20px;
    --font-xl: 28px;
    --font-xxl: 36px;
    --font-3xl: 40px;
  
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-bold: 700;
    --font-weight-extra-bold: 900;
  }
  
  /* للأجهزة اللوحية - تابلت (768px أو أقل) */
  @media (max-width: 768px) {
    :root {
      --padding: 4rem;
      --font-lg: 18px;
      --font-xl: 24px;
      --font-xxl: 30px;
      --font-3xl: 34px;
      --sidebar: 12rem;
    }
  }
  
@media (max-width: 480px) {
    :root {
      --padding: 2rem;
      --font-lg: 16px;
      --font-xl: 20px;
      --font-xxl: 24px;
      --font-3xl: 28px;
      --sidebar: 10rem;
    }

    input,
    textarea,
    select {
      font-size: 16px;
    }

}
  


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: var(--font-family-ar);
}


li {
    list-style: none;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: var(--dark-color);
}

input, button, select {
    outline: none;
    border: none;
    font-family: var(--font-family-ar);
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

input[type="checkbox"] {
    width: 15px;
    height: 15px;
}


/* 1-  */
#main {
    min-height: 100vh;
    background-color: var(--light-color);
    width: 100%;
    position: relative;
}


/* 3-  */
#main .mainData {
    height: 100vh;
}

#main .mainData .swiper {
    width: 100%;
    height: 100%;
}

#main .mainData .swiper .swiper-slide {
    display: flex;
}

.mainData .box {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.mainData .img {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mainData .img .container {
    width: 80%;
}

.mainData .img img {
    max-width: 100%;
}


.mainData h1 {
    font-size: 2.5rem;
    text-align: center;
}

.mainData #secondH1 {
    background: linear-gradient(90deg, #0077b6, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: none;
    transition: opacity 0.5s ease-in-out;
    font-size: 55px;
}

.mainData #firstH1 {
    font-size: 2.5rem;
    color: var(--dark-color);
}

.mainData .firstH1 {
    font-size: 20px;
    color: gray;
}


.mainData .secondH1 {
    color: var(--primary-color);
}


.mainData p {
    color: gray;
    font-size: 14px;
}

.mainData a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 55px;
    background: linear-gradient(to left, var(--primary-color), var(--secondary-color));
    width: 22rem;
    font-size: 20px;
    color: var(--white-color);
    cursor: pointer;
    transition: .4s;
}

.mainData i {
    transform: rotate(180deg);
    font-size: 18px;
    padding-bottom: 5px;
}

.mainData a:hover {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}


.mainData .swiper-pagination-bullet {
    background: gray;
    opacity: 0.5;
    width: 15px;
    height: 2px;
    border-radius: 5px;
}

.mainData  .swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
}
  

/* ----------------  cards ----------- */
#cards {
    padding: 2rem var(--padding);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-color: var(--light-color);
}

#cards .container {
    display: grid;
    gap: 1rem;
    position: relative;
}

#cards .container.c2 {
    grid-template-columns: repeat(2, 1fr);
}

#cards .container.c3 {
    grid-template-columns: repeat(3, 1fr);
}


#cards .container .card {
    border: 1px solid #ddd;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}


#cards .container.c2 .card {
    height: 18rem;
}

#cards .container.c3 .card {
    height: 23rem;
}

.card .img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: end;
    justify-content: center;
}

.card .img img {
    width: 100%;
    height: 60%;
    object-fit: cover;

}
  
.card .data {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    position: absolute;
    z-index: 100;
    height: 100%;
    padding: 2rem;
    transition: all 0.3s ease;
}

.card .data div {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
  
.card .title {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: #333;
}
  
.card p {
    font-size: 15px;
    color: #666;
    width: 90%;
}

.card .btn-link {
    color: var(--white-color);
    background-color: rgba(6, 6, 6, 0.485);
    font-weight: 500;
    transition: 0.3s;
    height: 40px;
    border-radius: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    bottom: 2rem;
    display: none;
}
  
.card .btn-link:hover {
    text-decoration: underline;
}


#cards .container .card--1 {
    background: linear-gradient(135deg, #f9f9f9, #d1e7ff);
    border-color: #1c6fc7;
}

.card--1 .title {
    color: #1c6fc7;
}
  
#cards .container .card--2 {
    background: linear-gradient(135deg, #fff5f5, #ffd6d6);
    border-color: #d73232;
}

.card--2 .title {
    color: #d73232;
}

  
#cards .container .card--3 {
    background: linear-gradient(135deg, #f0fff4, #c6f6d5);
    border-color: #0ecb4a;
}

.card--3 .title {
    color: #0ecb4a;
}

#cards .container .card--4 {
    background: linear-gradient(135deg, #fef9e7, #ffeaa7);
    border-color: #a88100;
}

.card--4 .title {
    color: #a88100;
}

#cards .container .card--5 {
    background: linear-gradient(135deg, #f3f0ff, #dcd0ff);
    border-color: #9c85e2;
}

.card--5 .title {
    color: #9c85e2;
}

.card:hover .btn-link {
    display: flex;
}

#cards .container .card--1:hover {
    box-shadow: 0 0 10px rgba(28, 111, 199, 0.4);

}

#cards .container .card--2:hover {
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.4);

}

#cards .container .card--3:hover {
    box-shadow: 0 0 10px rgba(39, 174, 96, 0.4);
}

#cards .container .card--4:hover {
    box-shadow: 0 0 10px rgba(241, 196, 15, 0.4);
}

#cards .container .card--5:hover {
    box-shadow: 0 0 10px rgba(142, 68, 173, 0.4);
}
#cards .container .card--1:hover .data {
    backdrop-filter: blur(3px);
    background: #1f1f1f24;
}

#cards .container .card--2:hover .data {
    backdrop-filter: blur(3px);
    background: #1f1f1f24;
}

#cards .container .card--3:hover .data {
    backdrop-filter: blur(3px);
    background: #1f1f1f24;

}

#cards .container .card--4:hover .data {
    backdrop-filter: blur(3px);
    background: #1f1f1f24;
}

#cards .container .card--5:hover .data {
    backdrop-filter: blur(3px);
    background: #1f1f1f24;
}


/* ---------------- #poster --------------------- */
#poster {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem var(--padding);

}
     
#poster #posterCards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

#poster #posterCards .card {
    background-color: var(--white-color);
    border: 1px solid rgb(134, 6, 6);
    padding: 1rem 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: brown;
    transition: .5s;
    font-size: var(--font-xs);
    border-radius: 10px;
}

#poster #posterCards .card:hover {
    box-shadow: 0 0 5px rgba(246, 162, 162, 0.41);
}


#poster #posterCards .card i {
    color: rgb(198, 0, 0);
    font-size: 20px;
}

#poster #posterCards .card p {
    color: rgb(86, 86, 86);
    font-size: 12px;
}

#poster .posterBox {
    height: 20rem;
    border-radius: 1rem;
    border: 1px solid brown;
    width: 100%;
    display: flex;
    background: linear-gradient(90deg, rgb(227, 180, 180), rgb(158, 39, 39));
}

#poster .img {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#poster .img img {
    max-width: 100%;
    max-height: 100%;
}


#poster .slideBox {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    padding: 2rem;
    width: 50%;
}

.slideBox span {
    font-weight: var(--font-weight-bold);
    font-size: 20px;
    color: var(--white-color);
}

.slideBox p {
    font-weight: var(--font-weight-bold);
    font-size: 14px;
    color: rgb(228, 227, 227);
}

.slideBox ul {
    font-size: var(--font-sm);
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--light-color);
}

.slideBox .btnLoginRegister {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
}

.slideBox a {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--white-color);
    border: 1px solid brown;
    width: 250px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: var(--font-weight-bold);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, .1);
    transition: .5s;
    color: brown;
}


.slideBox a P {
    color: brown;
}

.slideBox a:hover {
    transform: translateX(5px);
}


  




/*  */

#services_page {
    height: 100vh;
    padding: var(--padding);
    background-color: var(--light-color);
}

#services {
    margin-bottom: 3rem;
}

.services_bar .swiper-wrapper {
    display: flex;
    gap: 1rem;
    position: relative;
}
  
.services_bar::before,
.services_bar::after {
    content: '';
    position: absolute;
    top: 0;
    width: 40px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to right, rgb(249, 249, 249), rgba(255, 255, 255, 0));
}
  
.services_bar::after {
    right: 0;
    transform: scaleX(-1);
}
  
.services_bar::before {
    left: 0;
}
  

#services  .services_bar .card {
    border: 1px solid #ddd;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    padding: 0 1rem;
    cursor: pointer;
    transition: .5s;
    max-width: 200px;
}


#services  .services_bar .card:hover {
    transform: translateX(-5px);
    border-color: var(--accent-color);
}

#services  .services_bar .card.active {
    background-color: var(--accent-color);
    color: var(--white-color);
}

#services  .services_bar .card.active i {
    color: var(--white-color);
}


.service_content {
    height: 25rem;
    border-radius: 1rem;
    border: 1px solid #ddd;
    display: flex;
    overflow: hidden;
}


.service_content .modelsData {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
}

.service_content .modelsData h3 {
   font-size: var(--font-lg);
   color: #031a82;
}

.service_content .modelsData h2 {
   font-size: var(--font-xxl);
   color: var(--accent-color-hover);
}

.service_content .modelsData p {
    width: 90%;
}

.service_content .modelsData div {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 2rem;
}

.service_content .modelsData div a {
    min-width: 200px;
    height: 40px;
    border: 2px solid var(--accent-color-hover);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color-hover);
    gap: 15px;
    transition: .5s;
}

.service_content .modelsData div a i {
    font-size: var(--font-sm);
    transition: .5s;
}
.service_content .modelsData div a:hover {
    transform: scale(1.03);
}

.service_content .modelsData div a:hover i {
    transform: rotate(-360deg);
}

.service_content .modelsPaner {
    background-color: var(--white-color);
    overflow: hidden;
    width: 50%;
    height: 100%;
    border-radius: 0 0 80% 0;
    padding: 0 var(--padding) 0 0;
    display: flex;
    align-items: center;
    justify-content: end;
}

.service_content .modelsPaner img {
    width: 85%;
}


/* -------------------------------------------------------------- */
#more_cards_cont {
    width: 100%;
    height: 110vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #0076b61c;
}

#more_cards {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 1rem;
    height: 120vh;
    width: 120%;
    position: relative;
}

#more_cards .wide-card {
    grid-column: span 2;
}


#more_cards::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to right, rgba(160, 159, 159, 0.8), transparent);
}

#more_cards::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to left, rgba(160, 159, 159, 0.8), transparent);
}

#more_cards_top {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 200px;
    width: 100%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(160, 159, 159, 0.8), transparent);
}

#more_cards_bottom {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 200px;
    width: 100%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to top, rgba(160, 159, 159, 0.8), transparent);
}

#more_cards .card {
    border: 1px solid #ddd;
    height: 120px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--white-color);
    box-shadow: 0 0 2px rgba(0, 0, 0, .1);
    text-align: center;
}

#more_cards .card:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* =============================================================== */
#select_services {
    height: 110vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--padding);
    background: linear-gradient(to top, rgba(17, 138, 208, 0.8), var(--light-color));
}

.show_box {
    width: 100%;
    border: 1px solid var(--white-color);
    border-radius: 1rem;
    height: 30rem;
    padding: 7px;
    margin-right: 10rem;
}

.show_box .show_box_in {
    border: 1px solid var(--white-color);
    border-radius: 10PX;
    width: 100%;
    background-color: var(--white-color);
    height: 100%;
    display: flex;
    justify-content: end;
}

.select_box {
    position: absolute;
    height: 35rem;
    width: 30rem;
    border: 1px solid var(--white-color);
    bottom: 23%;
    right: var(--padding);
    padding: 7px;
    border-radius: 1rem;
}

.select_box .select_box_in {
    border: 1px solid var(--white-color);
    border-radius: 10PX;
    background-color: var(--white-color);
    height: 100%;
    padding: 1rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    box-shadow: 0 1px 5px rgba(0, 79, 125, 0.4);
}


.select_box .title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.select_box .title span {
    font-size: 14px;
    color: rgb(70, 70, 70);
}

.select_box .boxs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
}


.select_box .box {
    border: 1px solid #ddd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem;
    color: gray;
    flex-direction: column;
    position: relative;
    transition: .4s;
}

.select_box .box.active {
    color: var(--primary-color);
}

.select_box .box:hover {
    color: var(--primary-color);
}

.select_box .box input {
    position: absolute;
    top: 10px;
    right: 10px;
}



/* ------------------------------------------ */
#imgs_box {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100vh;
    padding: 3rem var(--padding);
    background-color: var(--light-color);
}


.box_container {
    display: flex;
    align-items: center;
    gap: 2rem;
    height: 48%;
    width: 100%;
}

.box_container .box_lg {
    height: 100%;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-direction: column;
}

.box_container .box {
    border: 2px solid #ddd;
    border-radius: 10px;
    width: 35%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

}

.box_container .box img {
    max-height: 100%;
    max-width: 100%;
}

.box_lg span {
    color: var(--primary-color);
    font-size: 20px;
}

.box_lg h2 {
    font-size: 30px;
}

.box_lg a {
    background: linear-gradient(45deg, rgba(17, 138, 208, 0.8), #0077b6);
    height: 45px;
    border-radius: 10px;
    padding: 5px 3rem;
    font-size: 14px;
    color: var(--white-color);
    transition: .4s;
}


.box_lg a:hover {
    background: linear-gradient(-45deg, rgba(17, 138, 208, 0.8), #0077b6);
}

.team-tools {
    justify-content: end;
}

.team-tools .box {
    border-color: #009688;
}

.team-tools .box_lg a {
    background: linear-gradient(45deg, rgba(17, 138, 208, 0.8), #009688);
}

.team-tools .box_lg a:hover {
    background: linear-gradient(-45deg, #009688, rgba(17, 138, 208, 0.8));
}

.team-tools .box_lg span {
    color: #009688;
}

.team-workflow .box {
    border-color: #3F51B5;
}

.team-workflow .box_lg a {
    background: linear-gradient(45deg, rgba(17, 138, 208, 0.8), #3F51B5);
}

.team-workflow .box_lg a:hover {
    background: linear-gradient(-45deg, #0077b6, rgba(17, 138, 208, 0.8));
}

.team-workflow .box_lg span {
    color: #3F51B5;
}

/* ---------------------------------------------- */

#videos_box {
    height: 100vh;
    background-color: var(--light-color);
    padding: 0 var(--padding);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
}

#videos_box .title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: var(--font-lg);
}

#videos_box .title span {
    color: var(--primary-color);
}

#videos_box .title p {
    color: gray;
    font-size: 18px;
}

#videos_box .title strong {

}

#videos_box .videos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}


#videos_box .videos .video {
    height: 25rem;
    width: 18rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #b9b9b9;
    color: #0077b6;
}

#videos_box .videos .video i {
    font-size: 6rem;
    color: gray;
}


/* ================================================== */
#stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    padding: 3rem var(--padding);
    align-items: center;
    justify-content: center;
    background-color: var(--white-color);
}

#stats .box {
    border: 1px solid #ddd;
    padding: 5px 10px;
    width: 230px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--white-color);
}

#stats .box .img {
    border: 1px solid #ffffff;
    border-radius: 10px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

#stats .box .title {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    font-size: var(--font-sm);
    color: var(--accent-color);
}

#stats .box i {
    font-size: 25px;
    color: var(--accent-color);
    transition: .5s;
}

#stats .title span {
    font-weight: var(--font-weight-bold);
    color: #bc5303;
    font-size: 18px;
}

#stats .box:hover {
    transform: translateY(-5px);
}

#stats .box:hover .img i {
    transform: rotate(360deg);
}




/*  --------------------------------------------  */
.more {
    display: flex;
    gap: 2rem;
    height: 80vh;
    padding: 2rem var(--padding);
    background-color: var(--light-color);
}

.more .moreOne {
    width: 35%;
    background-color: var(--secondary-color);
    border-radius: 10px;
    color: var(--light-color);
    padding: 2rem;
}


.more .box {
    height: 35%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.more .moreOne .title {
    font-weight: var(--font-weight-bold);
    font-size: 20px;
}

.more .moreOne .discription {
    font-size: 13px;
}

.company {
    background-color: var(--light-color);
    color: var(--primary-color);
    width: 100px;
    text-align: center;
    border-radius: 20px;
    font-size: var(--font-sm);
}

.more .moreOne .link {
    text-decoration: underline;
    color: var(--light-color);
    cursor: pointer;
}

.more .moreOne .link:hover {
    text-decoration: none;
}

.more .moreOne .img {
    height: 65%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.more .moreOne .img img {
    height: 100%;
}


.morePart {
    width: 65%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.morePart .moreSmall {
    height: 33.5vh;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: var(--white-color);
    padding: 1rem;
    display: flex;
}


.moreSmall .box {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.moreSmall .box .img {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.moreSmall .box .img img {
    height: 100%;
}


.moreSmall .box .title {
    font-weight: var(--font-weight-bold);
    font-size: 19px;
    width: 70%;
}

.moreSmall .box .discription {
    color: gray;
    font-size: 14px;
    width: 90%;
}

.moreSmall .link {
    color: var(--primary-color);
    text-decoration: underline;
    cursor: pointer;
}


.moreSmall .link:hover {
    text-decoration: none;
}



/* ------------------------------------------------------------ */
.posts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem var(--padding);
    background-color: var(--light-color);
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.section-title span {
    font-weight: var(--font-weight-bold);
}

.section-title a {
    color: var(--logo-color);
    text-decoration: underline;
}

.section-title a:hover {
    color: var(--primary-color);
}


.posts .boxs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;
}

.posts .box {
    min-height: 15rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.posts .box .img {
    border: 1px solid #ddd;
    min-height: 10rem;
    height: 10rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.posts .box .img img {
    height: 100%;
    width: 100%;
}

.posts .box .date {
    font-size: var(--font-sm);
    color: gray;
    margin-top: 10px;
}


.posts .box .title {
    font-weight: var(--font-weight-bold);
    font-size: 15px;
    color: var(--dark-color);
}


/* ------------------------------------------------------------ */
.reviewer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 2rem var(--padding);
    background-color: var(--light-color);
}

.reviewer h2 {
}

.reviewer p {
    color: gray;
    font-size: var(--font-sm);
}

.reviewer .stars {
    margin-bottom: 2rem;
}

.reviewer .boxs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;
}

.reviewer .box {
    border: 1px solid #ddd;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 1rem;
}


.reviewer .box .icon i {
    font-size: 25px;
    color: var(--primary-color);
}


.reviewer .box .comment {
    font-size: var(--font-sm);
    color: rgb(54, 54, 54);
    border-bottom: 1px solid #ddd;
    padding-bottom: 1rem;
}

.reviewer .box .client {
    display: flex;
    gap: 10px;
}

.reviewer .box .client .img {
    width: 50px;
    min-width: 50px;
    height: 50px;
    border: 1px solid #ddd;
    background-color: #ddd;
    border-radius: 50%;
}

.reviewer .box .client .img i {
    font-size: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: gray;
}

.clientData {
    display: flex;
    flex-direction: column;
    font-size: var(--font-sm);
}


.clientData span {
    color: gray;
    font-size: var(--font-xs);
}

/*  --------------------------------------------  */
.offer {
    height: 50vh;
    background-color: var(--white-color);
    display: flex;
    padding: 2rem var(--padding);
}

.offer .box {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.offer .box .img {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer .box .img img {
    height: 100%;
}


.offer .box .title {
    font-weight: var(--font-weight-bold);
    font-size: 20px;
    width: 50%;
}

.offer .box .counters {
    display: flex;
    gap: 1rem;
}

.offer .box .counters .countOne {
    border: 1px solid gray;
    padding: 15px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60px;
    min-width: 55px;
}

.countOne strong {
    font-weight: var(--font-weight-bold);
}

.countOne span {
   color: rgb(84, 84, 84);
   text-transform: uppercase;
   font-size: var(--font-sm);
}

.offer .box .link {
    background-color: #0077b6;
    color: var(--white-color);
    height: 40px;
    width: 120px;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-size: var(--font-sm);
    cursor: pointer;
}


.offer .box .link:hover {
    background-color: var(--accent-color);
}

#select_1 i { color: #4CAF50; }   /* الشركات - أخضر */
#select_2 i { color: #2196F3; }   /* البنوك - أزرق */
#select_3 i { color: #FF9800; }   /* المتاجر - برتقالي */
#select_4 i { color: #E91E63; }   /* المطاعم - وردي */
#select_5 i { color: #9C27B0; }   /* سوبر ماركت - بنفسجي */
#select_6 i { color: #FF5722; }   /* الشحن - برتقالي غامق */
#select_7 i { color: #00BCD4; }   /* العيادات - سماوي */
#select_8 i { color: #3F51B5; }   /* المدارس - أزرق غامق */
#select_9 i { color: #009688; }   /* المواقع - تركواز */
#select_10 i { color: #FF4081; }  /* بيوتي سنتر - بينك فاتح */
#select_11 i { color: #795548; }  /* الملابس - بني */
#select_12 i { color: #607D8B; }  


/* 🎨 ألوان مختلفة لكل خدمة */
.card[data-service="1"] i { color: #4CAF50; }    /* الشركات */
.card[data-service="2"] i { color: #2196F3; }    /* البنوك */
.card[data-service="3"] i { color: #FF9800; }    /* المتاجر */
.card[data-service="4"] i { color: #E91E63; }    /* المطاعم */
.card[data-service="5"] i { color: #9C27B0; }    /* العقارات */
.card[data-service="6"] i { color: #FF5722; }    /* سوبر ماركت */
.card[data-service="7"] i { color: #00BCD4; }    /* الشحن */
.card[data-service="8"] i { color: #607D8B; }    /* الصيدليات */
.card[data-service="9"] i { color: #009688; }    /* العيادات */
.card[data-service="10"] i { color: #795548; }   /* الملاعب */
.card[data-service="11"] i { color: #FF4081; }   /* بيوتي سنتر */
.card[data-service="12"] i { color: #8BC34A; }   /* الكافيهات */
.card[data-service="13"] i { color: #673AB7; }   /* الملابس */
.card[data-service="14"] i { color: #FFC107; }   /* الصالات الرياضية */
.card[data-service="15"] i { color: #3F51B5; }   /* المحاماة */
.card[data-service="16"] i { color: #F44336; }   /* المدارس */
.card[data-service="17"] i { color: #0099cc; }   /* المواقع */






@media (max-width: 768px) {

    /* 1-  */
    #main {
        min-height: 100vh;
        background-color: var(--light-color);
        width: 100%;
        position: relative;
    }

    #main .mainData .swiper .swiper-slide {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        gap: 4rem;
    }

    
    .mainData .box {
        width: 100%;
        padding: 0 2rem;
    }

    .mainData .img {
        width: 100%;
        padding: 0 2rem;
    }

    .mainData .img img {
        width: 100%;
    }

    .mainData .discription {
        text-align: center;
    }

    /* ----------------------------------- */
    #contact_container {
        padding: 0;
    }

    .contant_box {
        border: none;
        border-radius: 0;
        width: 100%;
        height: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 1rem;
    }

    .contant_box .box {
        width: 100%;
    }

    #main #contant_sub {
        display: none;
    }

    #header .logoBtn_links .contant_linkBox {
        display: none;
    }

    .contact_form .inputBox {
        align-items: start;
        flex-direction: column;
        gap: 10px;
    }

    .contact_form .inputBox label {
        width: 100%;
    }

    
    .contact_form .inputBox input {
        width: 100%;
    }


    .contact_form .inputBox textarea {
        max-width: 100%;
        min-width: 100%;
    }


    .contact_form span {
        font-size: 10px;
        width: 100%;
    }

    i.fa-x {
        position: absolute;
        left: 2rem;
        top: 2rem;
        font-size: 25px;
        color: gray;
        cursor: pointer;
        transition: .3s;
    }    

    /* ------------------ main --------------------  */
    #main .mainData {
        gap: 2rem;
    }


    .mainData h1 {
        font-size: 1.8rem;
    }

    .mainData p {
        font-size: 12px;
    }

    .mainData button {
        height: 50px;
        width: 18rem;
        font-size: 18px;
    }

    .mainData i {
        font-size: 17px;
        padding-bottom: 3px;
    }



    /* cards */
    #cards {
        padding: 2rem var(--padding);
        display: flex;
        flex-direction: column;
        gap: 1rem;
        background-color: var(--light-color);
    }

    #cards .container {
        display: grid;
        gap: 1rem;
        position: relative;
    }

    #cards .container.c2 {
        grid-template-columns: repeat(2, 1fr);
    }

    #cards .container.c3 {
        grid-template-columns: repeat(3, 1fr);
    }


    #cards .container .card {
        border: 1px solid #ddd;
        box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
        border-radius: 1rem;
        position: relative;
        transition: all 0.3s ease;
        overflow: hidden;
    }


    #cards .container.c2 .card {
        height: 18rem;
    }

    #cards .container.c3 .card {
        height: 23rem;
    }

    .card .img {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        display: flex;
        align-items: end;
        justify-content: center;
    }

    .card .img img {
        width: 100%;
        height: 60%;
        object-fit: cover;

    }
    
    .card .data {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 1rem;
        position: absolute;
        z-index: 100;
        height: 100%;
        padding: 2rem;
        transition: all 0.3s ease;
    }

    .card .data div {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .card .title {
        font-size: 18px;
        font-weight: var(--font-weight-bold);
        color: #333;
    }
    
    .card p {
        font-size: 15px;
        color: #666;
        width: 90%;
    }

    .card .btn-link {
        color: var(--white-color);
        background-color: rgba(6, 6, 6, 0.485);
        font-weight: 500;
        transition: 0.3s;
        height: 40px;
        border-radius: 10px;
        display: flex;
        gap: 10px;
        align-items: center;
        justify-content: center;
        bottom: 2rem;
        display: none;
    }
    
    .card .btn-link:hover {
        text-decoration: underline;
    }


   
    

    /* ----------------- poster ------------------- */
    #poster {
        min-height: auto;
        flex-direction: column;
        gap: 2rem;
    }


    #poster #posterCards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    

    #poster .posterBox {
        height: 45rem;
        width: 100%;
        align-items: center;
        flex-direction: column-reverse;
        overflow: hidden;
    }

    #poster .img {
        width: 100%;
        height: 30rem;
    }

   

    #poster .slideBox {
        width: 100%;
    }

    #services_page {
        height: 104vh;
    }

   
    
    .services_bar::before,
    .services_bar::after {
        width: 20px;
    }
    
    #services  .services_bar .card {
        height: 47px;
        max-width: 170px;
    }

    .service_content {
        height: 45rem;
        flex-direction: column-reverse;
    }


    .service_content .modelsData {
        width: 100%;
    }

    .service_content .modelsData p {
        width: 100%;
        font-size: 14px;
    }


    .service_content .modelsData div a {
        min-width: 170px;
        font-size: 15px;
    }

    
    .service_content .modelsPaner {
        background-color: transparent;
        width: 100%;
        border-radius: 0 0 0 0;
        padding: 0 0 0 0;
        justify-content: center;
    }

    .service_content .modelsPaner img {
        width: 80%;
    }


    /* -------------------------------------------------------------- */
    #more_cards_cont {
        width: 100%;
        height: 110vh;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        background-color: #0076b61c;
    }

    #more_cards {
        display: grid;
        grid-template-columns: repeat(10, 1fr);
        gap: 1rem;
        height: 120vh;
        width: 120%;
        position: relative;
    }

    #more_cards .wide-card {
        grid-column: span 2;
    }


    #more_cards::before {
        width: 50px;
    }

    #more_cards::after {
        width: 50px;
    }

    #more_cards_top {
        height: 100px;
    }

    #more_cards_bottom {
        height: 100px;
    }


    /* =============================================================== */
    #select_services {
        height: 115vh;
        flex-direction: column;
    }

    .show_box {
        width: 100%;
        border: 1px solid var(--white-color);
        border-radius: 1rem;
        height: 12rem;
        padding: 7px;
        margin-right: 0;

    }


    .select_box {
        position: relative;
        min-height: 42.2rem;
        width: 100%;
        border: 1px solid var(--white-color);
        top: 1rem;
        right: 0;
    }

    .select_box .select_box_in {
        font-size: var(--font-sm);
        gap: 1rem;
        padding: 10px;
    }


    .select_box .boxs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }


    /* ------------------------------------------ */
    #imgs_box {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        height: auto;
        padding: 3rem var(--padding);
        background-color: var(--light-color);
    }


    .box_container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        height: 48%;
        width: 100%;
    }


    .box_container .box {
        width: 100%;
    }

   


    .team-tools {
        justify-content: end;
        flex-direction: column-reverse;
    }

    /* ---------------------------------------------- */

    #videos_box .videos {
        grid-template-columns: repeat(2, 1fr);
    }

    #videos_box .videos .video {
        height: 15rem;
        width: 11rem;
        border-radius: 10px;
    }

    #videos_box .videos .video i {
        font-size: 30px;
    }


    /* ================================================== */
    #stats {
        gap: 2rem;
        padding: 2rem var(--padding);
        grid-template-columns: repeat(1, 1fr);
    }

    #stats .box {
        width: auto;
    }

    #stats .box .img {
        border-radius: 10px;
        width: 60px;
        height: 60px;
    }

    #stats .box i {
        font-size: 25px;
    }

    #stats .title span {
        font-size: 18px;
    }


   /*  --------------------------------------------  */
    .more {
        flex-direction: column;
        height: auto;
        overflow: hidden;
    }

    .more .moreOne {
        width: 100%;
        height: 55vh;
    }


    .more .box {
        height: auto;
    }


    .more .moreOne .img {
        height: auto;
    }

    .more .moreOne .img img {
        max-width: 95%;
        height: auto;
    }
    .morePart  {
        width: 100%;
    }

    .morePart .moreSmall {
        height: auto;
        flex-direction: column;
        width: 100%;
    }


    .moreSmall .box {
        width: 100%;
        height: 15rem;
        flex-direction: column;
        gap: 10px;
    }

    .moreSmall .box .img {
        width: 100%;
        height: auto;
    }

    .moreSmall .box .img img {
        max-width: 100%;
        height: auto;
    }

    /*  --------------------------------------------  */
    .offer {
        height: 74vh;
        gap: 5px;
        display: flex;
        flex-direction: column;
    }

    .offer .box {
        width: 100%;
        height: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
    }


    .offer .box .title {
        font-size: 19px;
        width: 90%;
    }

    
    .offer .box .img {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    
    /* ------------------------------------------------------------ */

    .reviewer h2 {
        text-align: center;
    }

    .reviewer p {
    text-align: center;
    }

    .reviewer .boxs {
        grid-template-columns: repeat(1, 1fr);
    }

    .reviewer .box {
        min-height: 10rem;
    }


/* ------------------------------------------------------------ */

.section-title {
    font-size: var(--font-sm);
}

.posts .boxs {
    grid-template-columns: repeat(1, 1fr);
}

.posts .box {
    min-height: 18rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.posts .box .img {
    border: 1px solid #ddd;
    min-height: 10rem;
    height: 10rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.posts .box .img img {
    height: 100%;
    width: 100%;
}

.posts .box .date {
    font-size: var(--font-sm);
    color: gray;
    margin-top: 10px;
}


.posts .box .title {
    font-weight: var(--font-weight-bold);
    font-size: 15px;
    color: var(--dark-color);
}


    
}

@media (max-width: 480px) {

}
