html {
  direction: rtl;
  scroll-behavior: smooth;
}
:root {
  --link-color: #337ab7;
  --link-hover: #23527c;
  --blue-header : #007bff;
  --main-nav-color: #999999;
  --red-header-color: #cf0000;
  --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.3rem;
  --slogen-header-fontsize:1.3rem;
  --slogen-under-header-fontsize:0.90rem;
  --normal-fontsize: 0.93rem;
  --medium-fontsize: 0.90rem;
  --small-fontsize: 0.88rem;
  --title-head: 1rem;
  --title-sub-head:0.95rem;
  --title-head-medium: 1rem;
  --title-home: 1.10rem;
  --nav-fontsize: 0.85rem;
  --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;
}
* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  font-size: 1rem;
}
.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: 3px;
  padding-bottom: 3px;
  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;
}

.designdownload .p-how-to-design p{
padding: 4px !important;
font-size: 0.90rem;
}
.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 p,
.p-content ul li{
  font-size: var(--normal-fontsize);
  margin-bottom: 10px;
  padding-left: 10px;
  margin-right: var(--margin-right);
}
.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: 7px;
  color: #fff;
  border-radius: 10px;
  /* text-align: center; */
  /* justify-items: center; */
  align-items: center;
  margin-bottom: 8px;
}
.whatsappchannel a {
  color: #fff;
}
.whatsappchannel a:hover{
  color: #fff;
}
.box-header-description {
  /* justify-content: center; */
  align-items: center;
  padding: 5px 0px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  margin-right: 4px;
}
.box-header-description h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color:var(--blue-header);
  margin-bottom: 0;
}
.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: 1.3rem;
  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: 1rem;
  color: #333;
  text-decoration: none;
}
.btn-hashtag:hover {
  background-color: #e9ecef;
  border-color: #ccc;
}
.left-back {position: absolute;left: 12px;top: 41px;z-index: 999999;}
.left-back i {
  color: #fff;
  font-size: 1.4rem;
}
.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: 7px solid #198754;
    padding: 6px;
    border-radius: 7px;
} */
body {
  direction: rtl;
  font-size: 1rem;
  font-family: "Droid Arabic Kufi", serif !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: rgb(255, 255, 255);
  text-align: center;
  box-shadow: rgba(171, 171, 171, 0.5) 0px 1px 7px;
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  min-height: 61px;
  z-index: 1;
}
#maincontent {
  box-shadow: rgba(171, 171, 171, 0.5) 0px 1px 7px;
  padding: 0px;
  min-height: 100vh !important;
}
.main-container {
  min-height: 60vh;
  max-width: 100%;
  overflow: hidden;
}
.logo img {
  max-width: 320px;
}
/*breadcrumb menu*/
.breadcrumb {
  display: flex;
  flex-direction: column;
  padding-top: 5px;
}
.back-home {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  margin-right: var(--margin-right);
}
.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 h1, .title-design span{color: rgb(153, 153, 153);font-size: var(--small-fontsize)!important;}
.title-design h1{font-size: var(--title-head-medium)!important;color:#000000;}
.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 {
  display: inline-block;
  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: 12px;
  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: flex-start; /* 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;
  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.25rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-weight: 600;
  border: none;
  letter-spacing: .7px;
  max-width: 400px;
  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;
}
.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!important;
  text-align: center; /* Center inline or inline-block children */
  box-sizing: border-box; /* Prevent padding/margin overflow */
}

/* AdSense ad container (not the iframe itself) */
.adsbygoogle {
  width: 100%;
  max-width: 100%; /* Prevent overflow beyond parent */
  min-height: 90px; /* Adjusted for common ad units, e.g., 728x90 */
  margin: 0 !important; /* Center the ad */
  display: block; /* Ensure block-level behavior */
}

/* For responsive ad units */
.ads-responsive .adsbygoogle {
  min-height: 50px; /* Prevent CLS for smaller ads */
  height: auto; /* Allow dynamic height */
  max-width: 100%; /* Respect parent container */
}

/* Auto-placed ads by AdSense */
.google-auto-placed {
  width: 100%;
  max-width: 100vw; /* Strictly constrain to viewport width */
  min-height: 90px; /* Adjusted for common auto-placed ad sizes */
  margin: 0 !important;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center; /* Vertical centering */
  overflow-x: hidden; /* Prevent horizontal overflow */
  box-sizing: border-box; /* Prevent padding/margin issues */
}

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

/* Handle unfilled ads gracefully */
ins.adsbygoogle[data-ad-status="unfilled"] {
  min-height: 0; /* Collapse container */
  height: 0; /* Minimize space */
  overflow: hidden; /* Hide empty space */
}

/* Specific handling for auto-placed unfilled ads */
.google-auto-placed ins.adsbygoogle[data-ad-status="unfilled"] {
  min-height: 0;
  height: 0;
  overflow: hidden;
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 768px) {
  .adsbygoogle {
    min-width: 0; /* Remove min-width constraint for small screens */
    width: 100%; /* Full width within parent */
  }
  .google-auto-placed {
    min-height: 50px; /* Smaller height for mobile */
    max-width: 100vw; /* Ensure ads fit viewport */
    overflow-x: hidden; /* Prevent horizontal overflow */
  }
  .google-auto-placed ins.adsbygoogle {
    max-width: 100%; /* Constrain ad content to container */
    width: auto; /* Allow ad to shrink if needed */
  }
}
.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: 1.05rem;
  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;
}
.link-title {
  margin-right: 0;
  color: var(--blue-header);
}
.link-description {
  margin-right: 0;
  font-size: 0.95rem;
  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: 30px;
  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;
}
.header .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: right;
  padding: 28px 20px;
  position: relative;
  user-select: none;
  margin-top: 8px;
}
.header .menu-icon .navicon {
  background: rgb(255, 255, 255);
  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: rgb(255, 255, 255);
  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;
  border: 1px solid rgb(221, 221, 221);
  justify-content: center;
  position: relative;
  font-size: var(--small-fontsize);
  margin: 5px 0px 0px 20px;
  background: rgb(8, 8, 8);
  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: rgb(255, 210, 0);
  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: rgb(255, 210, 0);
  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: rgb(68, 216, 239);
}
@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;
    background-color: rgb(8, 8, 8);
     display: flex; 
  }
  .logo .textlogo {
    border: 0px;
    float: none;
    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: rgb(8, 8, 8);
  }
  .header .menu ul li {
    padding: 8px;
    text-align: right;
    border-bottom: 1px solid rgb(221, 221, 221);
  }
  .header .menu ul li:last-child {
    border-bottom: none;
  }
  .header .menu ul li a {
    font-size: var(--phone-menu-font-size);
    color: rgb(255, 255, 255);
  }
 
  .logo-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
  }
  .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-left: 7px;
   padding-bottom: 5px;
   max-width: 100%;
   padding-right: 5px;
}
.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;
}
.img-result{
  margin-bottom: 8px;
}

/*Media queries*/
/* Portrait */
@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%;
  }
}
/* 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) {
  /* CSS rules for tablets */
  .img-card { max-width: 32%;max-height: 650px;}
  .img-card-header{height: 110px;}
  .link-description { min-height: 60px;}
  .images-container{justify-content: space-around!important;gap:1%;}
  .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;}
  .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) {
  /* CSS rules for large desktop screens */
  .img-card { width: 32%;max-width: 100%; max-height: 650px;}
    .thumbnail > img { max-width: 100%;}
  .images-container {
    justify-content: normal;
    gap: 1%;
  }
  .images-container::after {
    content: "";
    flex: 1 1 auto;
  }
  .img-card-header{max-height: 110px;}
  .link-description { min-height: 60px;}
  .preview-img {max-width: 365px!important;}
  /*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;
  }
}

@media (min-width: 992px) {
  .header {
    min-height: 195px;
    position: relative;
    margin-top: 0;
  }
  .logo {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 180px;
  }
  .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: rgb(239, 18, 40);
    color: rgb(255, 255, 255);
  }
  .header .menu ul:hover {
    border-bottom: 2px solid rgb(239, 18, 40);
    border-top: 2px solid rgb(239, 18, 40);
  }
  .header .menu ul {
    display: flex;
    flex-flow: nowrap;
    justify-content: right;
    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;
    min-height: 180px;
    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;
    width: 100%;
    border-radius: 0px;
    align-items: center;
    min-height: 125px;
  }
  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%;
}
.ads-content,
.ads-top-banner{
  max-width: 100%;
  position: relative;
  z-index: -999 !important;
}
.ads-images{
 max-width: 395px;
}
.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: 0px;
}
.img-card .img-thumbnail {
  /* min-height: 373px; */
  /* margin-bottom: 10px; */
  /* 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);
}

@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: rgb(255, 255, 255);
}

.menu li a {
  color: rgb(51, 51, 51);
  display: block;
  padding: 6px 6px!important; /* Better touch target */
  
}
  .header .menu {
    position: fixed;
        top: 101px;
        right: 0;
        height: calc(100vh - 101px) !important; /* Full height minus header */
        transform: translateX(100%)!important;
        transition: right 0.4s ease-out;
        z-index: 99999;
        box-shadow: -2px 0 15px rgba(0, 0, 0, 0.2);
        padding-top: 1px;
        width: 200px;
        border-top: 0!important;
        overflow-y: auto; /* Enable scrolling for the menu */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  }
 
  .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;
  }

  .wapprer.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:20px 0; /* Add some breathing space */
  }

  /* Optional: Style the scrollbar */
  .header .menu ul::-webkit-scrollbar {
    width: 5px;
  }
  .header .menu ul::-webkit-scrollbar-thumb {
    background: #fff;
    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;
  }
}
@media (max-width: 360px) {
  .container {
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}