html {
  direction: rtl;
  scroll-behavior: smooth;
}

* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  font-size: 1rem;
}

@font-face {
  font-family: 'Droid Arabic Kufi';
  src: url('fonts/DroidKufi-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.decoration-container {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 120px;
  height: 120px;
  pointer-events: none;
  z-index: 999999;
}


:root {
  --link-color: #337ab7;
  --link-hover: #23527c;
  --blue-header: #007bff;
  --main-nav-color: #999999;
  --menu-background-color: rgba(246, 244, 244, 1);
  --red-header-color: #cf0000;
  --gray-content-color: #666666;
  --shadow-color: rgb(140 137 137 / 66%);
  --desktop-normal-fontsize: 1.2rem;
  --desktop-medium-fontsize: 1.1rem;
  --desktop-small-fontsize: 1rem;
  --desktop-title-head: 1.4rem;
  --desktop-title-sub-head: 1.3rem;
  --desktop-title-head-medium: 1.2rem;
  --desktop-title-home: 1.4rem;
  --slogen-header-fontsize: 1.5rem;
  --H2-fontsize: 1.1rem;
  --H3-fontsize: 1rem;
  --slogen-under-header-fontsize: 0.90rem;
  --normal-fontsize: 1rem;
  --medium-fontsize: 0.95rem;
  --small-fontsize: 0.90rem;
  --title-head: 1rem;
  --title-sub-head: 0.95rem;
  --title-head-medium: 1.2rem;
  --title-home: 1.3rem;
  --nav-fontsize: 1.2rem;
  --phone-menu-font-size: 0.9rem;
  --phone-normal-fontsize: 0.95rem;
  --phone-medium-fontsize: 0.75rem;
  --phone-small-fontsize: 0.7rem;
  --phone-title-home: 1rem;
  --phone-title-head: 0.95rem;
  --phone-link-title: 0.95rem;
  --margin-top: 0.4rem;
  --margin-bottom: 0.5rem;
  --margin-right: 0.85rem;
}



/*new part*/
/*google search*/
.search-section {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.search-box {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  border: 1px solid rgba(0, 0, 0, .05);
}

.search-title {
  font-weight: 700;
  color: #007bff;
  letter-spacing: .2px;
}

.search-title i {
  font-size: 1.1em;
}

/* تحسين شكل جوجل سيرش */
.gsc-control-cse {
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

.gsc-input-box {
  border-radius: 12px !important;
  height: 52px !important;
}

.gsc-search-button-v2 {
  border-radius: 12px !important;
  padding: 12px 18px !important;
  background: #007bff !important;
  border-color: #007bff !important;
}

.gsc-search-button-v2:hover {
  background: #0069d9 !important;
  border-color: #0062cc !important;
}

.header-title {
  font-size: 1.3rem;
  color: var(--blue-header);
}

#steps-title h2 {
  margin-right: var(--margin-right);
}

#facebook-title h3 {
  margin-right: var(--margin-right);
}

h3.link-description {
  font-size: var(--H3-fontsize);
  color: var(--gray-content-color);
  padding: 2px;
  line-height: 1.4rem;
}

.preview-img {
  border-radius: 8px;
}



.menu-container {
  position: relative;
  max-width: 100%;
  padding: 0;
}

.carousel-dark {
  box-shadow: -2px 4px 15px #000;
}

.design-hint {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f8f9fa;
  border: 1px solid #e5e5e5;
  border-left: 4px solid #198754;
  padding: 14px 16px;
  border-radius: 6px;
  margin: 20px 0;
}

.hint-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #16a34a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 600;
}

.hint-content {
  flex: 1;
}

.hint-link {
  display: inline-block;
  font-size: var(--normal-fontsize);
  color: #212529;
  text-decoration: none;
}

.design-hint:active,
.design-hint:hover .hint-icon {
  text-decoration: none;
}

.hint-link:hover {
  color: #212529 !important;
}

.hint-sub {
  margin: 6px 0 0;
  font-size: 13px;
  color: #6c757d;
}

.hint-content h3 {
  margin: 0 0 6px;
  font-size: var(--H3-fontsize);
  font-weight: 600;
  color: #1f2937;
}

.hint-content p {
  margin: 0 0 6px;
  font-size: var(--normal-fontsize);
  line-height: 1.6;
  color: #374151;
  padding-left: 3px;
}

.hint-note {
  font-size: var(--small-fontsize);
  color: #065f46;
  font-style: italic;
}

#steps-title.highlight-step {
  background: #e9f7ef;
  transition: background 0.3s ease;
}

#back-to-top {

  position: fixed;
  bottom: 20px;
  left: 10px;
  z-index: 9999;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-header);
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

#back-to-top:hover {
  background: var(--blue-header);
  transform: translateY(-5px);
}

#back-to-top:active {
  transform: translateY(0);
}


#back-to-top.show {
  display: flex;
}


#back-to-top.fade-out {
  opacity: 0;
  pointer-events: none;
}

#back-to-top.fade-in {
  opacity: 1;
}


@media (max-width: 768px) {
  #back-to-top {
    width: 40px;
    height: 40px;
    font-size: 20px;
    bottom: 15px;
    left: 11px;
  }
}

.container-form {
  aspect-ratio: 16 / 9;
  /* For a 16:9 aspect ratio */
  width: 100%;
  height: auto;
}

.bs-faq {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.bs-faq .faq-title {
  font-size: var(--H3-fontsize);
  font-weight: 700;
  color: var(--blue-header);
}

.bs-faq .faq-subtitle {
  font-size: var(--normal-fontsize);
  font-weight: 700;
}

.bs-faq details {
  border: 1px solid #dee2e6;
  border-radius: 0.75rem;
  background: #fff;
  transition: border-color 0.2s ease;
}

.bs-faq details[open] {
  border-color: var(--blue-header);
}

.bs-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  position: relative;
  font-size: var(--normal-fontsize) !important;
}

.bs-faq summary::-webkit-details-marker {
  display: none;
}

.bs-faq summary::after {
  content: "+";
  position: absolute;
  left: 0.3rem;
  top: 45%;
  transform: translateY(-73%);
  font-size: 1.1rem !important;
  color: var(--blue-header);
}

.bs-faq details[open] summary::after {
  content: "−";
}

.bs-faq .faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: var(--normal-fontsize);
  line-height: 1.7;
}

.fa-check-square {
  width: 20px;
  height: 20px;
  border: 2px solid #ffffff;
  border-radius: 4px;
  position: relative;
  display: inline-block;
}

.fa-check-square::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.desktop-warning {
  margin: 0 auto;
}

.orange-star {
  color: #FFA500;
  font-size: 24px;
}

/*end new part of css at 28-01-2026*/
.hide {
  display: none;
}

label {
  font-size: var(--normal-fontsize);
  font-weight: 700;
}

/*nice arrow and it's animation*/
.side-arrow {
  font-size: 2rem;
  color: var(--blue-header);
  margin-bottom: 10px;
  animation: side-animation 1.5s infinite;
  display: inline-block;
  position: absolute;
  top: 2px;
  margin-right: 14px;
  flex-direction: column;
  align-items: center;
}

@keyframes side-animation {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(0);
  }

  40% {
    transform: translateX(-10px);
  }

  60% {
    transform: translateX(-5px);
  }
}

.main-nav {
  color: var(--red-header-color);
  margin-left: 3px;
  display: inline-block;
}

.main-nav .title-category {
  background: var(--blue-header);
  padding-left: 15px;
  padding-right: 13px;
  padding-top: 5px;
  padding-bottom: 5px;
  color: #fff;
  border-radius: 35px;
}

.main-nav span {
  position: relative;
  top: 2px;
  font-size: var(--nav-fontsize) !important;
}

.description {
  border: 1px solid rgb(221, 221, 221);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  /* padding: 15px; */
  margin-bottom: 20px;
}

.p-how-to-design {
  padding: 5px;
}

.p-how-to-design p strong {
  font-size: var(--small-fontsize) !important;
}

.designdownload .p-how-to-design p {
  padding: 4px !important;

}

.p-content p strong {
  font-size: var(--small-fontsize) !important;
}

.hidden {
  display: none;
}

.hide-text {
  display: flex;
  flex-direction: row;
  justify-items: right;
  padding: 7px 2px;
}

.hide-text a {
  color: var(--blue-header);
  font-size: var(--phone-title-head);
  font-weight: 700;
}

.hide-text a:hover {
  text-decoration: none;
  color: var(--blue-header);
}

.hide-text a i {
  margin-left: 2px;
  position: relative;
  top: 2px;
  font-size: 1.4rem;
}

.hide-text h6 {
  color: #212529;
  /* font-weight: 700; */
  font-size: var(--title-head);
}

.description p {
  font-size: var(--small-fontsize);
  /* display: inline-block; */
  padding: 3px;
  color: rgb(0, 0, 0);
  line-height: 1.5rem;
  margin-top: 0px;
  margin-bottom: 2px;
}

.p-content {
  margin-top: 10px;
}

.p-content p,
.p-content ul li {
  font-size: var(--normal-fontsize);
  margin-bottom: 7px;
  padding-left: 10px;
  margin-right: var(--margin-right);
}

.p-content ul li {
  margin-bottom: 10px !important;
}

.p-content ul {
  padding: 0 !important;
  margin: 0 !important;
}

.p-content ul li {
  list-style: none;
}

.warning-box {
  background: linear-gradient(135deg, #fff3cd 0%, #ffefc1 100%);
  border-left: 5px solid #d9534f;
  color: #7a5900;
  padding: 15px 20px;
  margin-top: 20px !important;
  margin-right: var(--margin-right);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px !important;
}

.warning-icon i {
  font-size: 30px;
  color: #d9534f;
}

.warning-text {
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.6;
}

.box-container {
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  /* padding: 8px 8px; */
  margin-bottom: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  margin-bottom: 22px;
}

.helpcontent {
  margin-top: 5px;
  margin-bottom: 10px;
}

.whatsappchannel {
  display: flex;
  flex-direction: column;
  padding: 8px;
  color: #fff;
  background-color: #198754;
  border-radius: 10px;
  /* text-align: center; */
  /* justify-items: center; */
  align-items: center;
  margin-bottom: 8px;
  margin-right: var(--margin-right);
}

.websitecontact {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
  padding: 7px;
  margin-right: var(--margin-right);
}


.websitecontact a,
.whatsappchannel a {
  color: #fff;
}

.websitecontact a:hover,
.whatsappchannel a:hover {
  color: #fff;
}

.box-header-description {
  /* justify-content: center; */
  align-items: center;

  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  margin-right: 4px;
  margin-top: 12px;
}

.box-header-description h2,
.box-header-description h3,
.box-header-description h5 {
  font-size: var(--H2-fontsize);
  font-weight: 700;
  color: var(--blue-header);
  margin-bottom: 0;
}

.box-header-description h3,
.box-header-description h5 {
  font-size: var(--H3-fontsize) !important;
  margin-right: var(--margin-right);
}

.shadow {
  box-shadow: 0 .2rem 2.2rem rgba(0, 0, 0, .15) !important;
}

.hashtag-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
  padding: 10px;
}

.hashtag-title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.hashtag-category {
  margin-bottom: 20px;
}

.hashtag-category h3 {
  font-size: var(--H3-fontsize);
  color: #555;
  margin-bottom: 10px;
}

.btn-hashtag {
  display: inline-block;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  padding: 8px 12px;
  margin: 5px;
  border-radius: 20px;
  font-size: var(--normal-fontsize);
  color: #333;
  text-decoration: none;
  text-align: right;
}

.btn-hashtag:hover {
  background-color: #e9ecef;
  border-color: #ccc;
}

.left-back {
  position: absolute;
  left: 8px;
  top: 25px;
  width: 80px;
  z-index: 999999;
}

.left-back i {
  color: #000;
  font-size: 2.5rem;
  font-style: normal;
}

.scomment-container {
  max-width: 100%;
  padding: 10px;
}

.scomment-container .lbl-title {
  margin: 6px;
}

.social-icons {
  margin-top: 10px;
}

.social-icons a {
  color: #000;
  text-decoration: none;
  margin: 0 10px;
  font-size: 20px;
}

.cropped {
  border: 6px solid var(--blue-header);
  padding: 6px;
  border-radius: 8px;
}

body {
  direction: rtl;

  font-family: "Droid Arabic Kufi", Arial !important;
  /*Ramadan Decoration*/
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh
}

/*START Ramadan Decoration*/
/* improve text effects*/
.link-title,
.link-description,
.test-button {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  /* ظل للنصوص */
}

.ramadan-decoration {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
}

.decoration-1 {
  top: 10%;
  left: 5%;
  animation: floating 4s ease-in-out infinite;
}

.decoration-2 {
  top: 70%;
  right: 5%;
  animation: floating 5s ease-in-out infinite;
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

.modalWarning {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1055;
  display: none;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
}

/*END*/

a {
  text-decoration: none;
  color: var(--link-color);
}

a:hover {
  color: var(--red-header-color);
}

label {
  font-size: var(--normal-fontsize);
}

.header {
  min-height: 130px;
}

.logo {
  background-color: var(--menu-background-color);
  text-align: center;
  box-shadow: rgba(171, 171, 171, 0.5) 0px 1px 7px;
  position: fixed;
  left: 0px;
  top: 0px;
  right: 0px;
  min-height: 61px;
  z-index: 99999;
}

#maincontent {
  box-shadow: rgba(171, 171, 171, 0.5) 0px 1px 7px;
  min-height: 100vh !important;
}

.main-container {
  min-height: 60vh;
  overflow-x: visible;
  overflow-y: hidden;
}

.logo img {
  max-width: 320px;
}

/*breadcrumb menu*/
.breadcrumb {
  /* display: flex;
  flex-direction: column;
  padding-top: 5px; */
  padding-top: 5px;
}

ol.breadcrumb-list {
  display: flex;
  flex-direction: column;
}


.back-home {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  /* margin-right: var(--margin-right); */
  padding-right: var(--margin-right);
  margin-right: 0;
}

.back-home a:hover {
  color: var(--red-header-color);
}

ol.breadcrumb-list {
  padding: 0 !important;
  margin: 2px !important;
  list-style: none;
}

.breadcrumb-item {
  padding: 0 !important;
  margin: 0 !important
}

.breadcrumb-item+.breadcrumb-item::before {
  content: none;
}

.title-design {
  margin-top: 7px;
}

.back-home .title-home,
.title-design .title-category {
  font-size: var(--title-home) !important;
  font-weight: 600;
  margin-right: var(--title-margin-right);

}


.title-design span {
  color: rgb(153, 153, 153);
  font-size: var(--small-fontsize) !important;
}

h1.title-design {
  font-size: var(--title-head-medium) !important;
  color: #000000;
  font-weight: 600 !important;
  margin-top: 10px;
}

.title-container {
  margin-top: var(--margin-top);
  width: 100%;
  display: flex;
  flex-flow: wrap;
  align-items: flex-start;
}

.title-container i,
.title-head-link,
.title-head {
  font-size: var(--title-head);
  margin-right: var(--title-margin-right);
  color: var(--link-color);
}

.title-container i {
  position: relative;
  top: 5px;
}

.title-head-link {
  display: inline-block;
}

.title-category {
  font-size: inherit !important;
  margin-right: var(--margin-right);
}

.form-container {
  /* max-width: 100%; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin-top: var(--margin-top);
  /* background: #ddd; */
  padding: 6px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.form-container label {
  margin-bottom: var(--margin-bottom);
  font-size: var(--normal-fontsize);
}

.form-container .row {
  margin-top: 10px !important;
}

/*warning update for max length*/
.form-control {
  transition: border-color 0.3s;
}

/* Highlight input when max length is exceeded */
.form-control.warning-border {
  border-color: red !important;
  animation: shake 0.3s ease-in-out;
}

/* Warning message styling */
.warning {
  color: red;
  font-size: 14px;
  margin-top: 5px;
  display: none;
  /* Initially hidden */
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

/* Warning animation */
.warning.show {
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 1;
}

/* Shake animation */
@keyframes shake {
  0% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  50% {
    transform: translateX(5px);
  }

  75% {
    transform: translateX(-5px);
  }

  100% {
    transform: translateX(0);
  }
}

/*End update button*/

.text-danger {
  display: inline-block;
  font-size: var(--medium-fontsize);
  margin-right: var(--margin-right);
  margin-top: var(--margin-top);
}

.user-info {
  max-width: 100%;
  display: flex;
  flex-direction: column;
}

.user-info .user-tips {
  padding: 18px 2px 0px;
  background-color: rgb(255, 229, 149);
  border-radius: 8px;
  margin-top: var(--margin-top);
  min-width: 300px;
  text-align: right;
}

.user-info .user-tips p {
  font-size: var(--medium-fontsize);
  color: rgb(0, 0, 0);
  margin-right: var(--margin-right);
  padding: 0px;
}

.user-info .user-validations {
  max-width: 100%;
  margin-top: var(--margin-top);
}

.user-info .user-validations span {
  font-size: var(--medium-fontsize);
  margin-right: var(--margin-right);
  font-weight: 500;
}

.images-container {

  display: flex;
  flex-flow: wrap;
  gap: 15px;

  justify-content: center;
  /* Ensures items start from the left */
  align-items: normal;

}

.item-empty {
  visibility: hidden;
}

.choose-img {
  display: none;
  position: absolute;
  left: 4px;
  top: -4px;
  width: 25px !important;
  height: 30px !important;
  padding: 1px !important;
}

.clicked {
  background: rgb(102, 194, 39);
}

.sing-icon {
  background: rgb(102, 194, 39);
  color: rgb(255, 255, 255);
  left: 1px;
  width: 30px !important;
  height: 29px !important;
}

.sing-icon i {
  top: 2px;
  margin-right: 0px;
  position: absolute;
  font-size: 25px;
  font-weight: normal !important;
}

.thumbnail:hover {
  cursor: pointer;
}

.thumbnail {
  /* display: block; */
  /* padding: 4px; */
  margin-bottom: 20px;
  line-height: 1.42857;
  background-color: rgb(255, 255, 255);
  border-radius: 4px;
  position: relative !important;
  border: none !important;
}

.thumbnail>img {
  max-width: 100%;
}

.img-thumbnail {
  border: none;
  max-width: 100%;
  padding: 4px;
  margin-bottom: 10px;
}



.title-span {
  display: block;
  color: var(--link-color);
  padding-top: 8px;
  font-weight: 700;
  margin-right: 4px;
  font-size: 0.8rem !important;
}

.center-block {
  display: flex;
  /* flex-direction: column; */
  /* justify-content: center; */
}

.romantic-ads .images-container,
.prayers-ads .images-container,
.occasions-ads .images-container,
.kids-ads .images-container,
.certificates-ads .images-container {
  border: 1px solid rgb(221, 221, 221);
  border-radius: 4px;
}

.ramadan-ads .img-thumbnail,
.prayers-ads .img-thumbnail,
.romantic-ads .img-thumbnail,
.occasions-ads .img-thumbnail,
.kids-ads .img-thumbnail,
.certificates-ads .img-thumbnail {
  max-width: 100%;
  min-height: 245px !important;
}

.popular-designs-header,
.ads-header-container {
  display: flex;
  flex-direction: column;
  padding: 10px;
}

.popular-designs-header {
  width: 100%;
}

.popular-designs-header h2,
.ads-header-container span {
  display: inline-block;
  font-size: 1rem;
  color: var(--link-color);
  font-weight: 700;
}


@media (min-width: 1201px) {
  .images-container::after {
    content: "";
    flex: 0 0 32%;
    max-width: 100%;
  }
}

.loader-container {
  width: 100%;
  display: flex;
  min-height: 120px;
  flex-direction: column;
  margin-bottom: 8px;
  margin-top: 8px;
  justify-content: center;
  align-items: center;
}

.loader {
  border-width: 6px;
  border-style: solid;
  border-color: rgb(52, 152, 219) rgb(227 225 225) rgb(227 225 225);
  border-image: initial;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: 2s linear 0s infinite normal none running spin;
}

@-webkit-keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*update button container 02/4/2025*/
.button-container {
  margin: 1rem 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.button-container .btn {
  padding: 1em 2.5em;
  font-size: 1.35rem;
  border-radius: 14px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-weight: 600;
  border: none;
  letter-spacing: .7px;
  max-width: 350px;
  width: 100%;
}

/* Active State */
.btn-primary:active,
.btn-primary.active {
  background-color: #0062cc !important;
  border-color: #005cbf !important;
  transform: scale(0.98);
  box-shadow: 0 4px 15px rgba(0, 98, 204, 0.3) !important;

}

/* Hover Effects */
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 98, 204, 0.3);
}

/* Focus State */
.btn-primary:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 98, 204, 0.5) !important;
}

/* Optional: Gradient version */
.btn-gradient {
  background: linear-gradient(135deg, #007bff, #0062cc);
  border: none;
}

.btn-gradient:hover {
  background: linear-gradient(135deg, #0062cc, #005cbf);
}

/*End Update */
.txt-notvalid {
  border: 1px solid rgb(255, 0, 0);
}

.details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: var(--margin-top);
}

.image-designed {
  display: flex;
  margin-top: 1px;
  flex-direction: column;
  max-width: 100%;
  place-items: center;
  align-items: center;
  justify-content: unset;
  min-height: 300px;
  position: relative;
}

.static-resources {
  margin-bottom: 8px;
}

.image-designed a {
  margin-bottom: 10px;
  padding: 5px;
  /* font-weight: 700; */
  /* font-size: var(--normal-fontsize); */
}

.image-designed i {
  margin-left: 5px;
  position: relative;
  top: 6px;
  margin-right: 3px;
}

.download-image {
  max-width: 100%;
}

.videocontainer #video {
  max-width: 600px;
  width: 100%;
  max-height: 600px;
}

footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  direction: ltr;
  width: 100%;
  /* background: #ddd; */
}

.footer-spliter {
  display: block;
  height: 1px;
  width: 100%;
}

.leaderboard {
  text-align: center;
  margin: 5px auto;
  max-width: 970px;
  max-height: 90px;
  width: 100%;
  height: 90px;
}

.rectangle {
  text-align: center;
  margin: 5px auto;
  width: 100%;
  height: 300px;
  max-width: 320px;
  max-height: 300px;
}


/*this part update for google adsense*/
/* Container for responsive AdSense ads */
.ads-responsive {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  /* Center inline or inline-block children */
  box-sizing: border-box;
  /* Prevent padding/margin overflow */
}

/*this part update for google adsense*/
/* Container for responsive AdSense ads */
.ads-responsive {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  /* Center inline or inline-block children */
  box-sizing: border-box;
  /* Prevent padding/margin overflow */
}

/* AdSense ad container (not the iframe itself) */
/* Hide empty AdSense units */
ins.adsbygoogle[data-google-afma-no-iframe] {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden;
}

.ads-container {
  width: 100%;
  min-width: 300px;
}

.adsbygoogle {
  width: 100%;
  max-width: 100%;
  min-width: 250px;
  margin: 0 auto !important;
  display: block !important;
}

.adsense-lazy-container.ad-collapsing {
  max-height: 0 !important;
  opacity: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: all 0.5s ease-in-out;
  overflow: hidden;
}

/* تأكد أن الحاوية تبدأ بوضوح */
.adsense-lazy-container {
  display: block !important;
  opacity: 1;
  transition: opacity 0.3s;
}

.adsense-lazy-container.ad-loaded {
  min-height: auto;
  background: transparent;
}

ins.adsbygoogle[data-ad-status="unfilled"],
ins.adsbygoogle[data-ad-status="unfilled"] iframe {
  display: none !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

ins.adsbygoogle[data-ad-status="unfilled"],
.adsense-lazy-container.ad-empty {
  display: none !important;
  height: 0 !important;
}

.adsbygoogle {
  clear: both;
}

/* Auto-placed ads by AdSense */

.google-auto-placed {
  width: 100% !important;
  flex: 0 0 100% !important;
  display: block !important;
  clear: both !important;
  contain: layout;
}

.row>.google-auto-placed {
  padding-left: 15px;
  padding-right: 15px;
}

.google-auto-placed[data-ad-status="unfilled"] {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

div[flex],
.d-flex {
  position: relative;
}

.adsbygoogle[data-ad-status="unfilled"] {
  display: none !important;
}

.google-adsense-child-helper,
.google-auto-placed,
ins.adsbygoogle {
  max-width: 100% !important;
  overflow: hidden !important;
}

@media screen and (max-width: 480px) {
  .adsense-lazy-container {
    min-height: 100px;
    /* الإعلانات المتجاوبة على الموبايل غالباً ما تبدأ من ارتفاع 100px */
  }

  .google-auto-placed {
    margin: 5px 0 !important;
    padding: 0 !important;
  }
}

@media screen and (min-width: 769px) {
  .google-auto-placed {
    margin: 20px auto !important;
    max-width: 728px !important;
  }
}

@media screen and (min-width: 769px) {


  .google-auto-placed {
    margin: 20px auto !important;
    max-width: 728px !important;
  }
}

/* small phones 360 px*/
@media (max-width: 360px) {
  :root {
    --slogen-header-fontsize: 1.3rem !important;
    --H2-fontsize: 1rem !important;
    --H3-fontsize: 0.95rem !important;
    --normal-fontsize: 0.95rem !important;
    --medium-fontsize: 0.92rem !important;
    --small-fontsize: 0.90rem !important;
    --title-head: 1rem !important;
    --title-head-medium: 1.16rem !important;
    --title-home: 1.2rem !important;
    --nav-fontsize: 1.1rem !important;
  }

  .button-container .btn {
    max-width: 320px !important;
    font-size: 1.2rem !important;
  }
}


/* Ensure visibility for specific tab-related ads */
.hidden-tab {
  visibility: visible;
  position: relative;
  width: 100%;
  /* Ensure it respects parent width */
}



/* Specific handling for auto-placed unfilled ads */


/* Ensure wrapper collapses too */
#ad-slot-1:empty {
  display: none;
  height: 0;
  min-height: 0;
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 768px) {
  .index-page .col-12 {
    padding-left: 3px !important;
    padding-right: 3px !important;
  }

  .download-page .col-12 {
    padding-left: 7px !important;
    padding-right: 7px !important;
  }

  .images-container {
    justify-content: center !important;
  }
}

/*Finish update css */
.arrow {
  text-align: center;
}

.bounce {
  animation: 2s ease 0s infinite normal none running bounce;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0px);
  }

  40% {
    transform: translateY(-15px);
  }

  60% {
    transform: translateY(-10px);
  }
}

input[type="radio"]+label,
input[type="radio"]:checked+label {
  margin-right: 7px;
}

.lbl-category {
  font-size: 1.02rem;
  margin-right: var(--margin-right);
  margin-bottom: var(--margin-bottom);
}

.center-content {
  text-align: center;
}

.modal-header {
  background: rgb(51, 122, 183);
  color: rgb(255, 255, 255);
  padding: 10px !important;
}

h5.modal-title {
  font-size: 1.18rem;
}

.help {
  display: inline-block;
  margin-top: 16px;
}

.help h3 {
  font-size: var(--H3-fontsize);
  margin-bottom: 0px;
  color: var(--link-color);
}

.help i {
  position: relative;
  top: 3px;
  margin-left: 3px;
}

.help ul {
  list-style: none;
  padding: 4px;
}

.help p {
  font-size: 0.9rem;
  padding: 0px;
  margin-bottom: 9px;
  margin-top: 9px;
  color: var(--link-color);
}

.help:hover {
  text-decoration: none;
}

.title-category {
  display: block;
}

.plz-wait-index {
  color: rgb(52, 152, 219);
  font-size: var(--small-fontsize);
}

.green {
  color: rgb(11, 155, 11);
}

.fb-shared {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  justify-items: center;
  margin-bottom: 10px;
}

.fb-shared p {
  font-size: 0.95rem;
  font-weight: 700;
  color: #e20c0c !important;
  text-align: center;
  margin-left: 8% !important;
  margin-right: 8% !important;
}

.download-warning {
  background-color: #ffcccc;
  padding: 15px;
  margin-top: 10px;
  border: 1px solid #ff0000;
  border-radius: 5px;
  margin-bottom: 19px;
  margin-right: auto;
  margin-left: auto;
}

.download-warning span {
  font-size: 0.90rem;
}

.fb-follow {
  display: flex;
  flex-direction: row;
  align-items: self-start;
  width: 100%;
  margin-top: 11px;
}

.fb-follow p {
  margin-left: 10px;
  font-size: 0.9rem;
  margin-right: var(--margin-right);
  position: relative;
  top: 4px;
}

.frame-container {
  display: flex;
  flex-basis: 50%;
  flex-direction: row;
}

.frame-container iframe {
  min-width: 85px;
}

.ads-progress-bar {
  width: calc(100% - 6px);
  height: 5px;
  background: rgb(224, 224, 224);
  border-radius: 3px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 3px inset;
}

.progress-bar-fill {
  display: block;
  height: 5px;
  background: rgb(101, 156, 239);
  border-radius: 3px;
  transition: width 18s ease-in-out 0s;
}

hr {
  display: none;
}

.footer-spliter {
  display: block;
  height: 1px;
  width: 100%;
}

.img-card {
  border-radius: 20px;
  border: 1px solid rgb(221, 221, 221);
  padding: 13px;
  max-width: 100%;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  margin-left: 15px;

  box-shadow: 0px 9px 7px var(--shadow-color);
}

/*in download page*/
.popular-download-page .img-card {
  min-height: 300px;
}

.link-title {
  margin-right: 0;
  color: var(--blue-header);
}

.link-description {
  margin-right: 0;
  font-size: var(--small-fontsize);
  max-width: 290px;
  margin-bottom: -1px;
  /* margin-top: 5px; */
  /* height: 60px; */
  max-width: 300px;
}

.img-card .thumbnail {
  margin-bottom: 0px !important;
  border: 0px !important;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 23px;
  top: -4px;
}

.switch input {
  opacity: 0;
  width: 0px;
  height: 0px;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0px;
  background-color: rgb(204, 204, 204);
  transition: all 0.4s ease 0s;
}

.slider::before {
  position: absolute;
  content: "";
  height: 14px;
  width: 15px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: all 0.4s ease 0s;
}

input:checked+.slider {
  background-color: rgb(55, 202, 55);
}

input:focus+.slider {
  box-shadow: rgb(55, 202, 55) 0px 0px 1px;
}

input:checked+.slider::before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round::before {
  border-radius: 50%;
}

.test-button {
  padding: 13px;
  margin-bottom: 5px;
  margin-top: 5px;
  border-radius: 15px;
  /* box-shadow: 0px 6px 16px rgba(30, 30, 30, 0.6); */
  font-size: 1.2rem;
  font-weight: 600;
}

.header {
  min-height: 82px;
  margin-bottom: 10px;
}

.logo {
  position: static;
  min-height: 90px;
}

.back-home {
  margin-bottom: 12px;
  max-width: 100%;
}

.title-category {
  margin-right: 6px;
}

.item-empty {
  visibility: hidden;
}

.header ul {
  margin: 0px;
  padding: 0px;
  list-style: none;
  overflow: hidden;
  font-size: var(--phone-menu-font-size);
  background-color: rgb(255, 255, 255);
}

.menu ul li a {
  color: rgb(51, 51, 51);
}

.header .menu {
  transition: max-height 0.2s ease-out 0s;
  padding-left: 0px !important;
}

.header .menu-icon {
  cursor: pointer;
  display: inline-block;
  padding: 33px 29px;
  position: relative;
  user-select: none;
  margin-top: 12px;
}

.header .menu-icon .navicon {
  background: #000;
  display: block;
  height: 2px;
  position: relative;
  transition: background 0.2s ease-out 0s;
  width: 18px;
}

.header .menu-icon .navicon::before,
.header .menu-icon .navicon::after {
  background: #000;
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  transition: all 0.2s ease-out 0s;
  width: 100%;
}

.header .menu-icon .navicon::before {
  top: 5px;
}

.header .menu-icon .navicon::after {
  top: -5px;
}

.header .menu-btn {
  display: none;
}

/* .header .menu-btn:checked ~ .menu {
  max-height: 500px;
} */
.header .menu-btn:checked~.menu-icon .navicon {
  background: transparent;
}

.header .menu-btn:checked~.menu-icon .navicon::before {
  transform: rotate(-45deg);
}

.header .menu-btn:checked~.menu-icon .navicon::after {
  transform: rotate(45deg);
}

.header .menu-btn:checked~.menu-icon:not(.steps) .navicon::before,
.header .menu-btn:checked~.menu-icon:not(.steps) .navicon::after {
  top: 0px;
}

.logo .textlogo {
  display: flex;
  flex-direction: row;

  justify-content: center;
  position: relative;
  font-size: var(--small-fontsize);
  margin: 5px 0px 0px 20px;
  border-radius: 10px;
}

.slogen-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 2px;

}

span.spliter {
  border-bottom: 1px solid;
  width: 134px;
  margin-right: 3px;
  margin-left: 4px;
  margin-top: 4px;
}

.textlogo div.slogen-header,
.textlogo span {
  margin-bottom: 0px;
  color: var(--blue-header);
  margin-top: 3px;
}

.textlogo div.slogen-header {
  font-size: var(--slogen-header-fontsize);
}

.textlogo span {
  display: inline-block;
  font-size: 1rem;
  margin-bottom: 0px;
  color: var(--blue-header);
  margin-top: 3px;
}

span.slogen {
  font-size: var(--slogen-under-header-fontsize);
  border-bottom: none;
  padding-top: 0px;
  padding-bottom: 0px;
  margin-top: 6px;
  color: var(--blue-header);
}

/*Fix problem of return back*/
.fa-solid.fa-arrow-left-long::before {
  content: "⬅";
}

@media (min-width: 320px) and (max-width: 991px) {

  /* .header .menu {
    max-height: 0px;
    transition: max-height 0.4s ease-out 0s;
    clear: both;
    border-top: 1px solid rgb(221, 221, 221);
    position: relative;
    top: 3px;
  } */
  .container {
    max-width: 100%;
  }

  .link-title {
    font-size: var(--phone-link-title);
  }

  .header .logo {
    position: fixed;
    left: 0px;
    top: 0px;
    display: flex;
  }

  .logo .textlogo {
    border: 0px;
    margin: 5px 0px;
  }

  h1.slogen-header,
  span.slogen-header {
    font-size: var(--slogen-under-header-fontsize);
  }

  span.spliter {
    width: 134px;
    margin-right: 3px;
    margin-left: 4px;
  }

  span.slogen {
    font-size: var(--slogen-under-header-fontsize);
    margin-top: 6px;
  }

  .header .menu ul {
    background: var(--menu-background-color);
  }

  .header .menu ul li {
    padding: 8px;
    text-align: right;
    border-bottom: 1px solid #000;
  }

  .header .menu ul li:last-child {
    border-bottom: none;
  }

  .header .menu ul li a {
    font-size: var(--phone-menu-font-size);
    color: #000;
  }

  .logo-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }

  .img-logo {
    display: flex;
    flex-direction: column;
    margin-right: 5px;
    align-items: center;
    justify-content: center;
  }

  label {
    font-size: var(--phone-normal-fontsize);
  }

  .user-info .user-tips p {
    font-size: var(--small-fontsize);
  }

  .title-span,
  .form-control,
  .text-danger,
  .user-info .user-validations span {
    font-size: var(--phone-normal-fontsize);
  }

  .title-span {
    font-size: var(--phone-normal-fontsize);
  }

  .form-control {
    font-size: var(--phone-normal-fontsize);
    max-width: 100%;
  }
}

.img-card-header {

  padding-bottom: 5px;
  max-width: 100%;

}

.img-card-header a {
  font-size: var(--normal-fontsize);
}

.img-card-body {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  margin-top: 5px
}

.img-card-body img {
  width: 100% !important;
  height: auto;
  max-height: 400px;
  border-radius: 12px;
}

.img-result {
  margin-bottom: 8px;
}

/*Media queries*/
/* Portrait */
@media only screen and (max-width: 767px) {
  .download-image {
    max-width: 350px;
  }
}

@media only screen and (max-width: 480px) {

  /* CSS rules for portrait orientation */
  .link-description {
    min-height: 0;
    max-width: 400px;
  }

  .thumbnail>img {
    /* border-radius: 33px; */
    /* max-width: 100%; */
  }

  .preview-img {
    max-width: 335px !important;
    height: auto;
  }

  .center-block img {
    /* max-width: 280px !important; */
  }

  .img-card-body .img-thumbnail {
    margin: 0 auto;
  }

  .form-container {
    padding-left: 3px !important;
    padding-right: 3px !important;
  }
}

/* Landscape */
@media only screen and (min-width: 481px) and (max-width: 767px) {

  /* CSS rules for landscape orientation */
}

/* Tablets (Portrait and Landscape) */
@media only screen and (min-width: 768px) and (max-width: 1399px) {
  .menu {
    padding: 0;
  }

  .logo-container {
    /* min-height: 100px;
    margin-top: 10px; */
  }

  /* CSS rules for tablets */
  .img-card {
    max-width: 32%;
    max-height: 650px;
    margin-left: 7px;
  }

  .header-title {
    height: 50px;
    ;
  }

  .link-description {
    height: 100px;
  }

  .img-card-header {
    /* height: 110px; */
  }

  .link-description {
    min-height: 60px;
  }



  .form-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .thumbnail>img {
    max-width: 100%;
  }

  .download-image {
    max-height: 600px;
  }

  .link-description {
    min-height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-wrap: wrap;
  }

  .romantic-ads .images-container,
  .prayers-ads .images-container,
  .occasions-ads .images-container,
  .kids-ads .images-container,
  .certificates-ads .images-container {
    justify-content: right;
  }

  .preview-img {
    max-width: 365px !important;
    height: auto;
  }

  .romantic-ads .img-responsive,
  .prayers-ads .img-responsive,
  .occasions-ads .img-responsive,
  .kids-ads .img-responsive,
  .certificates-ads .img-responsive {
    max-width: 350px !important;
  }

  .download-image {
    max-width: 450px;
  }
}


/* Desktops (Large) */
@media only screen and (min-width: 1400px) {
  .logo-container {
    min-height: 90px;
    margin-top: 12px;
  }

  .menu {
    padding: 0;
  }

  /* CSS rules for large desktop screens */
  .header-title {
    height: 60px;

  }

  .link-description {
    height: 100px;
  }

  .img-card {
    width: 23%;
    max-width: 100%;
    max-height: 750px;
  }

  .thumbnail>img {
    max-width: 100%;
  }

  .images-container {
    justify-content: normal;
    gap: 1%;
  }

  .images-container::after {
    content: "";
    flex: 1 1 auto;
  }

  .preview-img {
    max-width: 365px !important;
    height: auto;
  }

  /*override max-width*/
  .romantic-ads .img-responsive,
  .prayers-ads .img-responsive,
  .occasions-ads .img-responsive,
  .kids-ads .img-responsive,
  .certificates-ads .img-responsive {
    max-width: 360px !important;
  }

  .download-image {
    max-width: 500px;
  }

}

@media (min-width:481px) and (max-width:767px) {
  .link-description {
    min-height: 60px;
  }

  .images-container {
    justify-content: center !important;
    gap: 1%;
  }
}

@media (min-width: 992px) {
  .header {
    min-height: 195px;
    position: relative;
    margin-top: 0;
  }

  .images-container {
    justify-content: flex-start !important;
    gap: 1%;
  }

  .logo {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .header .menu ul li {
    font-size: var(--medium-fontsize);
    min-height: 33px;
  }

  .header .menu ul li a {
    padding: 18px;
    font-size: var(--normal-fontsize);
    color: rgb(51, 51, 51);
    transition: all 0.2s ease-in-out 0s;
  }

  .header .menu ul li a:hover {
    background: var(--blue-header);
    color: rgb(255, 255, 255);
  }

  .header .menu ul:hover {
    border-bottom: 2px solid var(--blue-header);
    border-top: 2px solid var(--blue-header);
  }

  .header .menu ul {
    display: flex;
    flex-flow: nowrap;
    justify-content: center;
    padding-top: 12px;
    padding-bottom: 9px;
    border: 1px solid rgb(221, 221, 221);
    overflow: hidden;
    /* Hide overflowing items */
    white-space: nowrap;
    /* Keep items in one line */
  }

  .header .menu-icon {
    display: none;
  }

  .back-home,
  .title-design {
    margin-right: var(--margin-right);
    margin-bottom: 12px;
  }

  .link-title {
    font-size: var(--medium-fontsize);
  }

  /* .images-container {
    justify-content: space-around;
  } */
  .logo {
    justify-content: start;
    border: 0px;
  }

  .slogen-container {
    margin-top: 25px;
  }

  div.slogen-header,
  span.slogen-header {
    border-bottom: 0px;
    font-size: var(--slogen-under-header-fontsize);
  }

  div.slogen-header {
    font-size: var(--slogen-header-fontsize) !important;
  }

  .logo .textlogo {
    border: 0px;
    margin: 0px;
    max-width: 100%;
    border-radius: 0px;
    align-items: center;
  }

  span.spliter {
    width: 134px;
    margin-right: 3px;
    margin-left: 4px;
    margin-top: 4px;
  }

  span.slogen {
    margin-top: 6px;
    font-size: var(--slogen-under-header-fontsize);
  }
}


@media (min-width: 768px) and (max-width: 991px) {
  .container {
    max-width: 100%;
  }

  /* .images-container {
    justify-content: space-around;
  } */
}

.ads-top-banner,
.ads-middle,
.ads-images,
.ads-form,
.ads-content,
.ads-bottom,
.ads-header {
  overflow: hidden;
  /* padding: 0px !important;
  margin-left: 0px !important;
  margin-right: 0px !important;
  display: flex;
  justify-content: center;
  width: 100%; */
  min-width: unset;
  width: 100%;

}

.ads-content,
.ads-top-banner {
  max-width: 100%;
}

.ads-images {
  max-width: 100%;
}

.ads-middle p,
.ads-bottom p,
.ads-header p,
.ads-vertical p {
  font-size: var(--small-fontsize);
  text-align: center;
}

.ads-header {
  margin-top: 2px;

  margin-bottom: 5px;
  min-height: 180px;
}

.img-card .img-thumbnail {
  /* min-height: 273px; */

  /* background-image: url("../preview/image_notfond.png"); */
}

.modal-content {
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 8px 0px,
    rgba(0, 0, 0, 0.19) 0px 6px 20px 0px;
}

.modal-body {
  max-height: 450px;
  overflow-y: auto;
}

/* Add these CSS animations to your stylesheet */

/* Animation keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animation classes - add these to your existing elements */
.description {
  animation: fadeInUp 0.8s ease-out forwards;
}

.box-header-description {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: 0.3s;
}

.p-content {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: 0.5s;
}

.helpcontent {
  opacity: 0;
  animation: slideInRight 0.6s ease-out forwards;
  animation-delay: 0.7s;
}

.whatsappchannel {
  opacity: 0;
  animation: slideInRight 0.6s ease-out forwards;
  animation-delay: 0.9s;
}

/* Optional: Add hover animation to boxes */
.box-container:hover {
  transform: translateY(-5px);
  transition: all 0.3s ease-in-out;
}

/* Add this to your existing CSS for smooth transitions */
.box-header-description,
.p-content,
.helpcontent,
.whatsappchannel {
  animation-fill-mode: forwards;
}

.toggle-content:hover {
  transform: scale(1.02);
  transition: all 0.2s ease-in-out;
}

.fa-eye {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animation classes - add these to your existing elements */
.description {
  animation: fadeInUp 0.8s ease-out forwards;
}

.box-header-description {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: 0.3s;
}

.p-content {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: 0.5s;
}

.helpcontent {
  opacity: 0;
  animation: slideInRight 0.6s ease-out forwards;
  animation-delay: 0.7s;
}

.link-title,
.link-description {
  opacity: 0;
  animation: slideInRight 0.6s ease-out forwards;
  animation-delay: 0.7s;
}

.whatsappchannel {
  opacity: 0;
  animation: slideInRight 0.6s ease-out forwards;
  animation-delay: 0.9s;
}



/* Optional: Add hover animation to boxes */
.box-container:hover {
  transform: translateY(-5px);
  transition: all 0.3s ease-in-out;
}

/* Add this to your existing CSS for smooth transitions */

.box-header-description,
.p-content,
.helpcontent,
.link-title,
.link-description,
.whatsappchannel {
  animation-fill-mode: forwards;
}

.toggle-content:hover {
  transform: scale(1.02);
  transition: all 0.2s ease-in-out;
}

.fa-eye-slash,
.fa-eye {
  animation: pulse 2s infinite;
}

.fa-save {
  animation: savealert 2s infinite;
}

@keyframes savealert {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
    color: var(--bs-success);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
    color: var(--red-header-color);
  }

  100% {
    transform: scale(1);
  }
}

/*IMAGES*/

/* Add to your CSS*/
.download-image

/* .sing-icon,
.img-thumbnail, 
.thumbnail*/
  {
  opacity: 0;
  transform: scale(0.95);
  animation:
    imageEntrance 0.6s ease-out forwards,
    gentlePulse 4s ease-in-out infinite;
  animation-delay: calc(var(--delay) * 0.2s);
  border-width: 7px;
  border-style: solid;
  border-color: #2575fc;

  padding: 6px;
  border-radius: 8px;

}

.look-here-arrow {
  font-size: 2rem;
  color: #6a11cb;
  margin-bottom: 10px;
  animation: bounce 1.5s infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------------- Animations ---------------- */

/* ظهور من الأسفل للأعلى */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* نبض الظل */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 117, 252, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 117, 252, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 117, 252, 0);
  }
}

/* حركة السهم */
@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

.result-title {
  background: linear-gradient(45deg, #6a11cb, #2575fc);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
  font-size: 1.1rem;
  position: absolute;
  top: 33px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(37, 117, 252, 0.4);
  z-index: 10;
  visibility: hidden;
}

.result-title a>* {
  text-decoration: none;
  color: white;
  font-size: 1.1rem;
}

@keyframes imageEntrance {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes gentlePulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }
}

/* Dynamic delay assignment */
.preview-img:nth-child(n) {
  --delay: 0;
}

/* Optional hover enhancement */
.sing-icon,
/* .img-thumbnail, */
.thumbnail:hover {
  animation:
    imageEntrance 0.6s ease-out forwards,
    gentlePulse 2s ease-in-out infinite;

}

@media (min-width: 320px) and (max-width: 991px) {
  .header {
    /* min-height: 95px; */
    margin-bottom: 10px;
    overflow: visible;
    /* Allow scrolling inside the menu */
  }

  .header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: var(--menu-background-color);
  }

  .menu li a {
    color: rgb(51, 51, 51);
    display: block;
    padding: 6px 6px !important;
    /* Better touch target */

  }


  .header .menu {
    position: fixed;
    top: 90px;
    height: calc(100vh - 90px) !important;
    /* Full height minus header */
    transform: translateX(100%) !important;
    transition: right 0.4s ease-out;
    z-index: 99999;
    box-shadow: 0px 8px 14px var(--shadow-color);
    /* padding-top: 1px; */
    width: 200px;
    border-top: 1px solid #d9d2d2;
    overflow-y: auto;
    /* Enable scrolling for the menu */
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
    background-color: var(--menu-background-color);
  }

  .main-container {
    /* transition: transform 0.4s ease-out;  */
  }



  /* Adjust menu icon positioning */
  .header .menu-icon {
    z-index: 9999;
    /* Keep above menu */
    position: relative;
  }

  /* Improve mobile experience */


  .header .menu-btn:checked~.menu {
    transform: translateX(0) !important;
  }




  .wrapper.menu-open,
  .main-container.menu-open {
    transform: translateX(-200px);
    /* Shift content to the left */
    pointer-events: none;
    /* Disable interactions */
    filter: brightness(0.8);
    /* Optional dim effect */
  }


  .header .menu-btn:checked~.wapprer::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99998;
  }

  .wapprer.closing,
  .main-container.closing {
    transform: translateX(0);
    /* Reset content position */
  }




  /* Prevent scrolling when menu is open */
  /* .header .menu-btn:checked ~ * {
    overflow: hidden;
   
  } */
  .header .menu ul {
    height: calc(100vh - 102px);
    /* Full height minus header space */
    overflow-y: auto;
    /* Enable vertical scrolling */
    -webkit-overflow-scrolling: touch;
    /* Smooth iOS scrolling */
    padding: 1px 0;
    /* Add some breathing space */
  }

  /* Optional: Style the scrollbar */
  .header .menu ul::-webkit-scrollbar {
    width: 5px;
  }

  .header .menu ul::-webkit-scrollbar-thumb {
    background: var(--menu-background-color);
    border-radius: 8px;
  }
}


/* Disable scrolling and dragging */
body.no-scroll {
  overflow: hidden;
  /* Hide scrollbars */
  position: fixed;
  /* Prevent scrolling */
  width: 100%;
  /* Fix layout shift */
  height: 100%;
  /* Fix layout shift */
}

/* Prevent horizontal dragging */
body.no-scroll {
  touch-action: none;
  /* Disable touch gestures */
}

/*stars*/
.gold-star {
  color: #FFA701 !important;
}

.fa-star {
  color: #D3D3D3;
  margin-left: 5px;
}

.big-icon {
  font-size: 4rem;
}

#ratingOptions {
  max-width: 55%;
  padding: 8px;
}

#ratingOptions label {
  margin-right: 0px;
  padding: 0;
}

#surveyForm label.form-label {
  font-weight: 700;
}

.check-radio-buttons-warning {
  border: 1px solid red;
}

.search-container {
  padding: 10px;
  max-width: 800px;
  margin: 50px auto;
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.search-title {
  margin-right: var(--margin-right);
  margin-top: var(--margin-top);
  color: var(--blue-header);
}

.cropper-container {
  touch-action: none;
}

@media (hover: none) {

  .zoomin-btn,
  .zoomout-btn,
  .moveleft-btn,
  .moveright-btn,
  .moveup-btn,
  .movedown-btn {
    display: none;
  }
}