@font-face {
    font-family: Montserrat-Arabic;
    src: url(../font/alfont_com_Montserrat-Arabic-Regular.ttf);
}
:root {
    --color-primary: #f2994a;
    --color-primary-light: #f1eae5;
    --color-secondary: #2f80ed;
    --color-secondary-light: #56ccf2;
    --color-secondary-very-light: #eef5fe;
    --color-background: #2f80ed14;
    --color-text: #5f5f5f;
    --color-background-ankor: #e8e8e8;
}
* {
    box-sizing: border-box;
}
html {
    font-size: 10px;
    font-family: "Montserrat-Arabic", sans-serif;
}
a {
    text-decoration: none;
}
span {
    color: var(--color-primary);
}
.Service {
    margin-top: 100px;
    width: 100%;
}
.Service img {
    width: 550px;
    height: 550px;
}
.Service-top {
    display: flex;
    align-items: center;
    margin-right: 80px;
    margin-left: 60px;
}
.Service-top-right h1 {
    font-size: 4.8rem;
    font-weight: 500;
}
.Service-top-right p {
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-text);
    line-height: 140%;
    margin-left: 30px;
}
.Advantages-Project {
    margin-right: 80px;
    margin-left: 80px;
}
.Advantages-Project-bottom {
    margin-bottom: 90px;
}
.Develop-program {
    margin-top: 50px;
    margin-right: 60px;
}
.Develop-program h1 {
    font-size: 4rem;
    font-weight: 500;
}
.program-cards {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 40px;
}
.program-cards-card {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
    padding: 24px;
    height: 240px;
    width: 400px;
    border-radius: 16px;
    /* padding-left: 170px; */
}
.program-cards-card ul li {
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--color-text);
    margin-top: 3px;
}
.program-cards-card h1 {
    font-size: 2.4rem;
    font-weight: 500;
}

.blue-bullets {
    list-style: none; /* نخفي النقط الافتراضية */
    padding: 0;
    direction: rtl;
}

.blue-bullets li::before {
    content: "●";
    color: #007bff; /* أزرق */
    margin-left: 10px;
    font-size: 1.2em;
}
.Design-sec {
    margin-right: 60px;
    margin-left: 60px;
    margin-top: 110px;
}
.Design-sec h1 {
    font-size: 4rem;
    font-weight: 500;
    margin-bottom: 40px;
}

.Design-cards-card h1 {
    font-size: 1.7rem;
    line-height: 140%;
    font-weight: 500;
    margin-bottom: 0px;
}
.Design-cards-card p {
    font-size: 1.4rem;
    margin-top: 10px;
    font-weight: 300;
    line-height: 140%;
    margin-bottom: 0px !important;
    color: var(--color-text);
}
.Design-cards-card {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
    padding: 24px;
    height: auto;
    margin-bottom: 0px !important;
    width: auto;
    border-radius: 16px;
    /* margin-left: 50px; */
}
.Design-cards {
    display: flex;
    justify-content: space-around;
    gap: 40px;
}

.course-cards-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    direction: rtl;
}

.course-card {
    width: 370px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
}

.course-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.course-content {
    padding: 16px;
    text-align: center;
}

.course-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.course-duration {
    font-size: 14px;
    color: var(--color-text);
    margin-bottom: 12px;
}

.course-button {
    background-color: var(--color-secondary);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.course-button:hover {
    background-color: #125ec0;
}

.traning-program {
    margin-top: 120px;
    margin-right: 60px;
    margin-bottom: 100px;
}
.traning-program h1 {
    margin-bottom: 40px;
    font-size: 4rem;
    font-weight: 500;
}
/* القسم العام */
.traning-program {
  padding: 60px 20px;
  /* background-color: #f9fafc; */
  text-align: center;
  direction: rtl; /* لدعم اللغة العربية */
}

.traning-program h1 {
  font-size:4rem;
  font-weight: 500;
  margin-bottom: 60px;
  color: black;
  justify-content: flex-start;

}

/* الحاوية العامة للكروت */
.course-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  justify-items: center;
}

/* الكارد الفردي */
.course-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  max-width: 320px;
  transition: transform 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-align: right;
}

.course-card:hover {
  transform: translateY(-6px);
}

/* صورة الدورة */
.course-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* محتوى الكارد */
.course-content {
  padding: 20px 16px;
}

/* العنوان */
.course-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
}

/* الوصف */
.course-description {
  font-size: 1.3rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* المدة */
.course-duration {
  font-size: 1.3rem;
  color: #777;
  font-weight: 400;
}

@media (max-width: 835px) and (min-width: 500px) {
    .Service img {
        width: 450px;
        height: 450px;
    }
    .Service-top {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        margin-right: 80px;
        margin-left: 60px;
    }
    .Service-top-right h1 {
        font-size: 4.8rem;
        font-weight: 500;
        margin-bottom: 50px;
    }
    .Service-top-right p {
        font-size: 2rem;
        font-weight: 400;
        color: var(--color-text);
        line-height: 140%;
        margin-left: 30px;
        margin-bottom: 90px;
    }

    .Develop-program {
        margin-top: 50px;
        margin-right: 20px;
        margin-left: 20px;
    }
    .Develop-program h1 {
        font-size: 3rem;
        font-weight: 500;
    }
    .program-cards {
        display: flex;
        align-items: center;
        justify-content: space-around;
        margin-top: 40px;
    }
    .program-cards-card {
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
        padding: 24px;
        padding-bottom: 0;
        height: 240px;
        width: 200px;
        border-radius: 16px;
        /* padding-left: 170px; */
    }
    .program-cards-card ul li {
        font-size: 1.2rem;
        font-weight: 300;
        color: var(--color-text);
        margin-top: 3px;
    }
    .program-cards-card h1 {
        font-size: 1.6rem;
        font-weight: 500;
    }

    .blue-bullets {
        list-style: none; /* نخفي النقط الافتراضية */
        padding: 0;
        direction: rtl;
    }

    .Design-sec {
        margin-right: 20px;
        margin-left: 20px;
        margin-top: 90px;
    }
    .Design-sec h1 {
        font-size: 3rem;
        font-weight: 500;
        margin-bottom: 40px;
    }

    .Design-cards-card h1 {
        font-size: 1.8rem;
        font-weight: 500;
        margin-bottom: 0px;
    }
    .Design-cards-card p {
        font-size: 1.5rem;
        font-weight: 300;
        color: var(--color-text);
    }
    .Design-cards-card {
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
        padding: 24px;
        height: 190px;
        width: 291px;
        border-radius: 16px;
    }
    .Design-cards {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 20px;
    }
    .traning-program {
        display: block;
    }  .traning-program {
        margin: 80px 30px 60px;
        padding: 40px 16px;
      }

      .traning-program h1 {
        font-size: 3rem;

      }

      .course-cards-container {
        grid-template-columns: repeat(1, 1fr); /* صفّين بدل 3 */
        gap: 40px;
      }

      .course-card {
        max-width: 100%;
      }

      .course-title {
        font-size: 1.5rem;
      }

      .course-description,
      .course-duration {
        font-size: 1.2rem;
      }
    .ready {
        margin-top: 80px;
    }
}
@media (max-width: 499px) and (max-width: 1000px) {
    .Service img {
        width: 95%;
        height: auto;
    }
    .Service-top {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        margin-right: 80px;
        margin-left: 60px;
    }
    .Service-top-right h1 {
        font-size: 2rem;
        font-weight: 500;
        margin-bottom: 20px;
    }
    .Service-top-right p {
        font-size: 1.4rem;
        font-weight: 400;
        color: var(--color-text);
        line-height: 140%;
        margin-left: 0px;
        margin-bottom: 60px;
    }

    .Develop-program {
        margin-top: 50px;
        margin-right: 20px;
        margin-left: 20px;
    }
    .Develop-program h1 {
        font-size: 3rem;
        font-weight: 500;
    }
    .program-cards {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        flex: 0 0 calc(100% - 20px);
        justify-content: space-around;
        margin-top: 40px;
        gap: 20px;
    }
    .program-cards-card {
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
        padding: 24px;
        padding-bottom: 0;
        height: 200px;
        width: 250px;
        border-radius: 16px;
        /* padding-left: 170px; */
    }
    .program-cards-card ul li {
        font-size: 1.2rem;
        font-weight: 300;
        color: var(--color-text);
        margin-top: 3px;
    }
    .program-cards-card h1 {
        font-size: 1.6rem;
        font-weight: 500;
    }

    .blue-bullets {
        list-style: none; /* نخفي النقط الافتراضية */
        padding: 0;
        direction: rtl;
    }

    .Design-sec {
        margin-right: 20px;
        margin-left: 20px;
        margin-top: 90px;
    }
    .Design-sec h1 {
        font-size: 3rem;
        font-weight: 500;
        margin-bottom: 40px;
    }

    .Design-cards-card h1 {
        font-size: 1.8rem;
        font-weight: 500;
        margin-bottom: 0px;
    }
    .Design-cards-card p {
        font-size: 1.5rem;
        font-weight: 300;
        color: var(--color-text);
    }
    .Design-cards-card {
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
        padding: 24px;
        height: 190px;
        width: 291px;
        border-radius: 16px;
    }
    .Design-cards {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 20px;
    }
    .traning-program {
        margin: 60px 16px 40px;
        padding: 30px 12px;
      }

      .traning-program h1 {
        font-size: 2.4rem;

      }

      .course-cards-container {
        grid-template-columns: 1fr; /* عمود واحد فقط */
        gap: 16px;
      }

      .course-card {
        max-width: 100%;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
      }

      .course-title {
        font-size: 1.4rem;
      }

      .course-description,
      .course-duration {
        font-size: 1.1rem;
      }

      .course-image {
        height: 180px;
      }
    .ready {
        margin-top: 80px;
    }
}
.hokok{
    font-size: 18px;
    font-weight: 400;
    color: var(--color-text);
}

/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
    .Service {
        margin-top: 80px;
    }

    .Service-top {
        flex-direction: row;
        align-items: center;
        margin-right: 40px;
        margin-left: 40px;
        gap: 40px;
    }

    .Service img {
        width: 400px;
        height: 400px;
        object-fit: contain;
    }

    .Service-top-right h1 {
        font-size: 3.6rem;
        margin-bottom: 20px;
    }

    .Service-top-right p {
        font-size: 1.8rem;
        margin-left: 0;
        margin-bottom: 0;
    }
}

/* Adjustments for smaller tablets */
@media (max-width: 835px) {
    .Service-top {
        flex-direction: column-reverse;
        text-align: center;
    }

    .Service-top-right h1 {
        margin-top: 30px;
    }

    .Service img {
        width: 100%;
        max-width: 450px;
        height: auto;
    }
}
/* Mobile Styles (Max-width: 767px) */
@media (max-width: 767px) {
    /* Adjust the main heading */
    .Develop-program h1 {
        font-size: 2.2rem !important;
        text-align: center;
        margin-bottom: 20px;
    }

    /* Stack cards vertically */
    .program-cards {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    /* Adjust card width and height */
    .program-cards-card {
        width: 90% !important;
        max-width: 300px;
        height: auto !important;
        padding: 20px;
        margin: 0 auto;
    }

    /* Adjust card titles */
    .program-cards-card h1 {
        font-size: 1.5rem !important;
        margin-bottom: 10px;
    }

    /* Adjust bullet points */
    .program-cards-card ul li {
        font-size: 1.1rem !important;
        margin-bottom: 5px;
    }

    /* Center-align card content */
    .program-cards-card img {
        display: block;
        margin: 0 auto 15px;
        width: 60px;
        height: auto;
    }
}
