.title_appmobile {
  color: #222a57;
  font-size: 1.2rem !important;
  text-align: right;
  width: 1000px;
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.dark-mode .title_appmobile {
  color: #fff;
}

/* تنسيق divider خاص بصفحة تطبيقات الهاتف */
.container-us .divaider {
  border: 0.5px solid #000 !important;
  width: 1000px;
  margin: 10px auto 20px auto;
  background-color: #222a57;
}

.dark-mode .container-us .divaider {
  border: 0.5px solid #fff !important;
  background-color: #fff;
}

.appmobile {
  background: transparent !important;
  width: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.divaider {
  border: 0.5px solid #000000;
  width: 100%;
  margin: 3px 0;
}

#lottie-contact,
.title_subtitle {
  display: none !important;
}

.container-us {
  background: transparent !important;
}

.container-us h2 {
  align-items: center;
  justify-self: end;
}

.posts_app {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 1000px;
  margin: 0 auto 5px auto;
}

.posts_app button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  height: 350px;
  padding: 10px;
  border-radius: 8px;
  background-color: #fff;
  color: #222a57;
  font-weight: 500;
  text-align: center;
  transition: 0.15s ease;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e5e5;

  &:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transform: translateY(-2px);
  }

  &:active {
    scale: 0.98;
  }
}

.dark-mode .posts_app button {
  background-color: #1e1a35;
  color: #fff;
  border: 1px solid #1e1a35;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dark-mode p {
  color: #bec7ff;
}

.dark-mode .posts_app button:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.dark-mode .text_post_app h4:hover {
  color: #ef8d65;
}

.img_post_app {
  width: 100%;
  flex: 1;
  overflow: hidden;
  margin-bottom: 0;
  cursor: pointer;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.img_post_app img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text_post_app {
  width: 100%;
  text-align: right;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

.text_post_app h4 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 5px;
  cursor: pointer;
  transition: color 0.3s ease;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.text_post_app p {
  font-size: 10px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

.bottom_contact {
  margin-top: 45px;
}

.container_side_post {
  display: block;
  position: fixed;
  top: 0;
  right: -100%;
  width: 40%;
  height: 100%;
  background: #fff;
  z-index: 5000;
  transition: right 0.15s ease-in-out;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.dark-mode .container_side_post {
  background-color: #1e1a35;
}

.container_side_post.panel-open {
  right: 0;
}

/* طبقة الخلفية المضللة */
.container_side_post::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  backdrop-filter: blur(3px);
  /* هنا البلور */
  background-color: transparent;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
  /* متتضغطش */
  transition: opacity 0.15s ease-in-out;
}

/* لما يفتح */
.container_side_post.panel-open::before {
  opacity: 1;
  pointer-events: auto;
  /* تبدأ تستقبل الضغط */
}

/* خلي المحتوى واصل للنهاية */
.side_post {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.post-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 70px;
}

.post-side img {
  width: 90%;
  object-fit: cover;
  margin-bottom: 30px;
}

.content_post {
  text-align: center;
  width: 60%;
}

.content_post h4 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 25px;
  margin-top: -10px;
  color: #ef8d65;
  font-weight: 600;
}

.post-side p {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.links_import {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
  margin-left: 30px;
  margin-bottom: 30px;
}

.box_bottom1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0px;
  flex-wrap: wrap;
}

.box_bottom2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.links_import a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.15s ease;
}

/* تنسيق الزر الجديد */
.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  background: transparent;
  border: 2px solid #000000;
  border-radius: 8px;
  color: #000000;
  margin-right: 5px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 150px;
}

.download-btn i {
  font-size: 1.2rem;
}

.download-btn:hover {
  border-color: #ef8d65;
  color: #ef8d65;
  background: rgba(239, 141, 101, 0.1);
}

.download-btn:active {
  transform: scale(0.95);
  background: rgba(239, 141, 101, 0.2);
}

/* الوضع المظلم */
.dark-mode .download-btn {
  border-color: #fff;
  color: #fff;
}

.dark-mode .download-btn:hover {
  border-color: #ef8d65;
  color: #ef8d65;
  background: rgba(239, 141, 101, 0.1);
}

.links_import img {
  padding: 0px;
  max-width: 170px;
  min-width: 25px;
}

img.gplay {
  max-width: 190px !important;
}

.close-side {
  position: fixed;
  font-size: 30px;
  padding: 15px;
  cursor: pointer;
  color: #ef8d65;
}

@media (max-width: 440px) {
  .appmobile {
    margin-right: 350px !important;
  }

  .posts_app {
    flex-direction: column;
    align-items: center;
    margin: 0 0px;
  }

  .posts_app button {
    width: 90%;
  }

  .post-side {
    margin-right: 443px;
  }

  .container_side_post {
    width: 100%;
  }

  .links_import {
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-right: 488px;
    margin-top: 15px;
    margin-bottom: auto;
  }

  .download-btn {
    min-width: 120px;
    font-size: 0.9rem;
    padding: 10px 20px;
  }

  .box_bottom2 {
    display: flex;
    flex-direction: column;
  }

  .box_bottom2 {
    display: flex;
    flex-direction: column;
  }
}
