
html{
    direction: rtl;
    background-color: antiquewhite;

}

body{
    font-family: 'Almarai','Tajawal', Tahoma, Arial, "Times New Roman", serif;
    --font-family-sans-serif: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";;
    font-weight: normal;
    color: #007535;
    font-size: 17px;
    overflow-x: hidden;
}
.fixed-top{
  z-index: 2000 !important;
}
.img-nav{
  width: 40px;
  height: 40px;
}
nav{
    background-color: rgb(255, 255, 255);
    box-shadow:0px 13px 35px -12px rgba(35, 35, 35, 0.15);
    z-index: 9000;  
}

h2{
  font-size: 50px;
  line-height: 1;
}
.dot {
  height: 15px;
  width: 15px;
  background-color: #F39C12;
  border-radius: 50%;
  display: inline-block;
}
.dot1 {
  height: 10px;
  width: 10px;
  background-color: #F39C12;
  border-radius: 50%;
  display: inline-block;
}

.dropdown-item:hover{
  background-color: #F39C12;
  color: #ffffff;
}
.dropdown-item.active {
  background: #F39C12;
  color: #fff;  
}
.navbar .active {
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.22), transparent);
  border-top: 2px solid #F39C12;
color: #F39C12 !important;}

.nav-link.active{
  color: #007535 !important;
}

/* mobile */
@media (max-width: 767px) {
  h2 {
  font-size: 29px;
  line-height: 50px;}
}
@media (max-width: 1000px) {
  h2 {
  font-size: 40px;
  line-height: 50px;}
}
@media (max-width: 767px) {
  h1 {
  font-size: 20px;
  line-height: 50px;}
}

/* main */

  .logo{
    animation-duration: 3s;
    animation-name: logo;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    right: 62%;
  }
@keyframes logo {
  0% {
    translate: 0 0;


  }

  100% {
    translate: 0% 90%;

  }}
.video{
  color: #F39C12;
  font-size:x-large;
}
  .video :hover {
   color: #007535;
  }
  .btn:hover {
    background-color: #F39C12;
    border: #F39C12;
    
  }

/* main */



.sec  .swiper {
  width: 100%;
  height: 100%;
}

.sec  .swiper-slide {
  text-align: center;
  font-size: 18px;
}
.sec .swiper-pagination .swiper-pagination-bullet{
  background-color: #fff;
}


.sec .swiper {
  margin-left: auto;
  margin-right: auto;
}
.sec  .swiper-button-next{
  color: #522902;
}
/* section/2/ */

.sec{
background-color: #007535;
}
/* ////////////////////////// */


/* type */
/* ///////////////////////////////////// */
.type {
    /* Basic dimensions and centering */
    width: 100%;
    height: 100%;
  
  
    /* Dark mode colors and gradient */
    background:  #d2f0cb; /* Fallback for browsers that don't support gradients */
    background: linear-gradient(
      135deg,
      #ffffff 25%,
      #d2f0cb 25%,
      #d2f0cb 50%,
      #ffffff 50%,
      #ffffff 75%,
      #d2f0cb 75%,
      #d2f0cb
    );
    background-size: 40px 40px;
  
    /* Animation */
    animation: move 4s linear infinite;
  }
  
  @keyframes move {
    0% {
      background-position: 0 0;
    }
    100% {
      background-position: 40px 40px;
    }
  }
  

 .type p {

  color:#000000;
font-weight: 800;
font-size: 20px;}





/* type */
/* ///////////////////////////////////// */

/* أقسام الجمعية  */
.helping-area  .helping-box i {
  font-size: 60px;

}
.helping-area   a {
 text-decoration: none;
 color: #007535;

}
.helping-box{

  width: 161px;
  height: 161px;
  border-radius: 60%;

}
.helping-box1{
  background-color: #F39C12;
}
.helping-box2{
  background-color: #522902;
}

.helping-box3{
  background-color: #007535;
}
.helping-box4{
  background-color: #8b8e92;
}
.helping-box5{
  background-color: #d5a700;
}


.part{
color: #fff;
line-height:3em; 
}
/* أقسام الجمعية  */
/* ///////////////////////////////////////////////////////// */
  /* contact */

  .btn-contact {
    font-size: medium;
    color: #d5a700;

  }
  /* contact */
  
  /* .bg {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.4) 30%, rgba(0, 0, 0, 0.4) 50%);
  } */

  /* vision and goal */

  .goal{
width:40%;
  }

  /* vision and goal */
  /* # Counts
--------------------------------------------------------------*/ 
.counts .card {
  border-radius: 20px;
  background: #f5f5f5;
  position: relative;
  border: 2px solid #c3c6ce;
  transition: 0.5s ease-out;
  overflow: visible;
 }
 
 .counts .card-details {
  color: black;
  
 }
 
 .counts .card-button {
  transform: translate(-50%, 125%);
  width: 60%;
  border-radius: 1rem;
  border: none;
  background-color:#007535;
  color: #fff;
  font-size: 1rem;
  padding: .5rem 1rem;
  position: absolute;
  left: 50%;
  bottom: 0;
  opacity: 0;
  transition: 0.3s ease-out;
 }
 
 .counts .text-body {
  color: rgb(134, 134, 134);
 }
 
 /*Text*/
 .counts .text-title {
  font-weight: bold;
 }
 
 /*Hover*/
 .counts .card:hover {
  border-color: #007535;
  box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.25);
 }
 
 .card:hover .card-button {
  transform: translate(-50%, 50%);
  opacity: 1;
 }


 .count-box span {
  color: #F39C12;
  font-size: 50px;
  font-weight: 800;
  line-height: normal;
  font-family: 'Almarai', sans-serif !important;
}

.counts .count-box p {
  color: #007535;
}

/* section2 */

/*--------------------------------------------------------------
# Our Portfolio
--------------------------------------------------------------*/
.portfolio p{
color: #8b8e92;
}


.portfolio .portfolio-part {
  margin: 0 auto 35px auto;
  list-style: none;
  text-align: center;
  background: #fff;
  border-radius: 50px;
  padding: 2px 15px;
}

.portfolio .portfolio-part li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 15px 8px 15px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #334240;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: #522902;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(88, 113, 109, 0.6);
  position: absolute;
  left: 30px;
  right: 30px;
  top: 30px;
  bottom: 30px;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 10%;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 3;
  transition: all ease-in-out 0.3s;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: #fff;
  font-weight: 600;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: #ffffff;
  font-size: 14px;
  text-transform: uppercase;
}

.portfolio .portfolio-wrap .portfolio-links {
  opacity: 0;
  left: 0;
  right: 0;
  bottom: 10%;
  text-align: center;
  z-index: 3;
  position: absolute;
  transition: all ease-in-out 0.3s;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: #fff;
  margin: 0 2px;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  color: #56e7d0;
}

.portfolio .portfolio-wrap:hover::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
  top: calc(50% - 48px);
}

.portfolio .portfolio-wrap:hover .portfolio-links {
  opacity: 1;
  bottom: calc(50% - 50px);
}

.portfolio-part li:hover
{
   color: #ffffff;
   background-color: #007535;
}
/* حالات التبرع */
/* ////////////////////////////////////////// */

.link{
  font-weight: 500;
  font-size: 28px;

}
.link:hover{
 color: #F39C12;

}
/* حالات التبرع */
/* ////////////////////////////////////////// */


  
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #007535;
  padding: 0 0 30px 0;
  color: #fff;
  font-size: 14px;
}

#footer .footer-top {
  background: #007535;

  padding: 60px 0 30px 0;
}


#footer .footer-top .footer-info h3 {
  font-size: 24px;
  font-weight: 700;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  font-family: "Roboto", sans-serif;
  color: #fff;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #fff;
  color: #007535;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #F39C12;
  color: #fff;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}


#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 4px;
  color: #F39C12;
  font-size: 20px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {

  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #fff;
  transition: 0.3s;
  display: inline-block;
 
  text-decoration: none;
}

#footer .footer-top .footer-links ul a:hover {
  color: #F39C12;
}
.btn-volunteer{
  background-color: #007535;
  color:#fff;

}
.btn-volunteer:hover{
 
  color:#fff;

}
.btn-footer:hover{
  background-color: #F39C12 ;
  color: #fff;
  font-size: 18px;
}
.footer-info ul{
  display: inline-block;
}
#footer a {
  color: #007535;
  text-decoration: none;
}
 #footer .btn-footer a:hover{
  color: #fff;
}

#footer .directly {
  background-color: #F39C12;}

  #footer .details{
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
  }
  #footer .btn:hover{
    color: #007535;
    background-color: #fff;
  }
/* section-medical */
/* ////////////////////////////////////// */

/* 1 img */

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

/* section2  p */
.def p{
  color: black;
  line-height: 2rem;
}

.section-med {
  line-height: 3;
}


  /* خدمات */
  .bg-serv{
    background-color: #e3e6f0;
  }
  .bg-serv h2{
    line-height: 2;
  }
  
  .card1 {
    position: relative;
    width: 200px;
    height: 150px;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 5px 5px 15px #bebebe, -5px -5px 15px #ffffff;
    color: #000000;
  }
  .card1 p , .card1 span{
    z-index: 3;
    line-height: 1;
  }
  
  .bg1 {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 190px;
    height: 140px;
    z-index: 2;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(24px);
    border-radius: 10px;
    overflow: hidden;
    outline: 2px solid white;
  }
  
  .blob {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #F39C12;
    opacity: 1;
    filter: blur(12px);
    animation: blob-bounce 5s infinite ease;
  }
  
  @keyframes blob-bounce {
    0% {
      transform: translate(-100%, -100%) translate3d(0, 0, 0);
    }
  
    25% {
      transform: translate(-100%, -100%) translate3d(100%, 0, 0);
    }
  
    50% {
      transform: translate(-100%, -100%) translate3d(100%, 100%, 0);
    }
  
    75% {
      transform: translate(-100%, -100%) translate3d(0, 100%, 0);
    }
  
    100% {
      transform: translate(-100%, -100%) translate3d(0, 0, 0);
    }
  }

    /* حالات التبرع */
/* ////////////////////////////////////////// */

.link{
  font-weight: 500;
  font-size: 28px;

}

/* section-medical */
/* ////////////////////////////////////// */


/* حالات التبرع  */
/* /////////////////////////////// */

.donation h2{
  line-height: 2;
}

 .carddonation.hide{
  display: none;
} 
.filter-buttons button {
  cursor: pointer;

  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: all 0.3s ease-in-out;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  border:2px  solid #007535;
  color: #007535;
}

.filter-buttons button:hover
{
   color: #ffffff;
   background-color: #F39C12;
   border: 2px solid #F39C12  ;
}
.filter-buttons .active
{
 color: #ffffff;
 background-color: #F39C12 ;
 border: 2px solid #F39C12  ;
}
 

/* /////////////////////////////// */
/* حالات التبرع  */

/* form */
/* //////////////////////////////////////// */
/* فورم تطوع */
.form{
  background: #eee;
  direction: rtl;
  
}

.title {
  color: #F39C12;
  font-family: sans-serif;
  font-size: 36px;
  font-weight: 600;
  margin-top: 30px;
}

.subtitle {
  color: #F39C12;
  font-family: sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-top: 10px;
}

.input-container {
  height: 50px;
  position: relative;
  width: 100%;
}

.ic1 {
  margin-top: 40px;
}

.ic2 {
  margin-top: 30px;
}

.input {
  background-color: #fff;
  border-radius: 12px;
  border: 0;
  color: #eee;
  font-size: 18px;
  height: 100%;
  outline: 0;
  padding: 4px 20px 0;
  width: 100%;
}

.cut {
  background-color: #eee;
  border-radius: 10px;
  height: 20px;
  left: 20px;
  position: absolute;
  top: -20px;
  transform: translateY(0);
  transition: transform 200ms;
  width: 76px;
}

.cut-short {
  width: 50px;
}

.iLabel {
  color: #65657b;
  font-family: sans-serif;
  left: 20px;
  line-height: 14px;
  pointer-events: none;
  position: absolute;
  transform-origin: 0 50%;
  transition: transform 200ms, color 200ms;
  top: 20px;
}

.input:focus ~ .cut {
  transform: translateY(8px);
}

.input:focus ~ .iLabel {
  transform: translateY(-30px) translateX(10px) scale(0.75);
}

.input:not(:focus) ~ .iLabel {
  color: #808097;
}

.input:focus ~ .iLabel {
  color: #007535;
}

.submit {
  background-color: #08d;
  border-radius: 12px;
  border: 0;
  box-sizing: border-box;
  color: #eee;
  cursor: pointer;
  font-size: 18px;
  height: 50px;
  margin-top: 38px;
  text-align: center;
  width: 100%;
}

.submit:active {
  background-color: #06b;
}

/* form */

.form-vol{
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
}
.person{
background-color:#007535; ;
color: #fff;
}

form{
  color: #000000;
}

.btn-form{ 
background-color:#F39C12; 
color: #fff; }

.btn-form:hover{ 
background-color:#007535;
color: #fff; }

/* //////////////////////////////////////// */
/* form */

/* activity */
/* //////////////////////////////////////// */
.activity-sec h2{
line-height: 3;
}
.activity h2{
  color: #007535;
  border-bottom: 1px #007535 solid;
  line-height: 3;
} 

.cardactivity.hide{
  display: none;
} 



/*--------------------------------------------------------------
# Our Portfolio
--------------------------------------------------------------*/

.portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.portfolio-wrap::before {
  content: "";
  background: rgba(88, 113, 109, 0.6);
  position: absolute;
  left: 30px;
  right: 30px;
  top: 30px;
  bottom: 30px;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

 .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 10%;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 3;
  transition: all ease-in-out 0.3s;
}

 .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: #fff;
  font-weight: 600;
}

 .portfolio-wrap .portfolio-info p {
  color: #ffffff;
  font-size: 14px;
  text-transform: uppercase;
}

.portfolio-wrap .portfolio-links {
  opacity: 0;
  left: 0;
  right: 0;
  bottom: 10%;
  text-align: center;
  z-index: 3;
  position: absolute;
  transition: all ease-in-out 0.3s;
}

 .portfolio-wrap .portfolio-links a {
  color: #fff;
  margin: 0 2px;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}

.portfolio-wrap .portfolio-links a:hover {
  color: #56e7d0;
}

.portfolio-wrap:hover::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
}

.portfolio-wrap:hover .portfolio-info {
  opacity: 1;
  top: calc(50% - 48px);
}

.portfolio-wrap:hover .portfolio-links {
  opacity: 1;
  bottom: calc(50% - 50px);
}
/* details */
/* ////////////////////////////// */
.portfolio-description p{

  color: #000;
}




.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 80%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #F39C12;
}
.portfolio-details .swiper-pagination-bullets.swiper-pagination-horizontal{
  bottom: 0;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color:#F39C12 ;
}

.portfolio-details .portfolio-info {
  box-shadow: 0px 0 30px rgba(88, 113, 109, 0.08);
}

.portfolio-details .portfolio-info h3 {
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}


/* Question and Answer */
/* \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ */
.data{
  width: 15%;
}
.question.hide{
  display: none;
} 
.directly{
  background-color: #b76c14;
}

/* Zakat */

/* //zakat  */
#total_zakat {
  text-align: center;
  margin-top: 100px;
  padding-top: 11%;

  font-size: 25px;
}
.window-total {
  position: relative;
  display: none;
}
.messageTotalZakat {
  background-color: #fff;
  display: block;
  position: relative;
  bottom: 500px;
  width: 60%;
  left: -20%;
  height: 50vh;
  padding: 20px;
  border-radius: 15px;
  border: 3px solid #007535;
  color: #007535;
  z-index: 5;
}
.window-total .closezakat {
  display: none;
  position: absolute;
  top: -40%;
      left: 41%;
  z-index: 5;
  color: #b76c14;
font-size: 20px;
}
@media (max-width:400px){
  #total_zakat {
  font-size: 20px;
  }
  .filter-buttons button{
    font-size: 12px;
  }}
 
  @media (max-width: 800px){
    .window-total .closezakat {
      position: absolute;
      top: -40%;
      left: 41%;
      color: #b76c14;
    }}
    
/*End Zakat */

/* navbar responsive */
@media (max-width: 1069px) {
  li {
  font-size: 15px;
  }
}
@media (max-width: 1069px) {
  .btn {
  font-size: 15px;
  }
}
.navbar-brand{
  font-size: 18px;
}
@media (max-width: 991px) {
  .navbar-brand {
  font-size: 20px;
  }
}

@media (max-width: 1000px){
  h1 {
      font-size: 24px;
  }
}

@media (max-width: 700px) {
  p {
  font-size: 12px;
  }
}


@media (max-width: 740px){
  .navbar-brand {
      font-size: 18px;
  }}
  @media (max-width: 400px){
    .navbar-brand {
        font-size: 15px;
    }}
   
   

/* end navbar */

/* servecies */
.modal {
  display: none;
  position: fixed;

  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.25);
}

.modal_content {
  z-index: 1121;
  background-color: white;
  position: absolute;
  top: 20%;
  left: 30%;
  width: 40%;
  padding: 20px;
  border-radius: 5px;
  border: 3px solid #007535;
}

.close {
  color: #007535;
  float: left;
  font-size: 25px;

}

.close:hover {
 color: #b76c14;
  cursor: pointer;
}
.js-btn{
  color: #fff;
  background-color: #007535;
}
.js-btn:hover{
  color: #fff;
  background-color: #b76c14;
}
@media (max-width: 500px) {
  h2 {
    font-size: 25px;
    font-weight: 500;

  }
  .type p{
    font-weight: 400;
 
  }
    
  }


@media (max-width: 350px) {
  body {
    overflow-x: hidden !important

  }
  h2 {
    font-size: 24px;
  }
  p {
    font-size: 10px;
  }
  h3 {
    font-size: 17px;
  }
  h4 {
    font-size: 16px;
  }
  .navbar-brand {
    font-size: 14px;
  }
  .navbar-toggler {
    padding: 0;
  }
  .img-nav{
    width: 30px;
    height: 30px;
  }
 }

  .modal_content {
  background-color: white;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%; /* تحديد عرض النافذة */
  max-width: 500px; /* تحديد الحد الأقصى لعرض النافذة */
  padding: 20px;
  border-radius: 5px;
  border: 3px solid #007535;
}
.close {
  color: #007535;
  float: left;
  font-size: 25px;
}

.close:hover {
  color: #b76c14;
  cursor: pointer;
}
.js-btn {
  color: #fff;
  background-color: #007535;
}
.js-btn:hover {
  color: #fff;
  background-color: #b76c14;
}
  /* section */
.modal-1 {
  display: none;
  position: fixed;
  z-index: 1;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.25);
}

.modal_content1 {
  background-color: white;
  position: absolute;
  top: -20%;
  left: 20%;
  width: 40%;
  padding: 20px;
  border-radius: 5px;
  border: 3px solid #007535;
}

.modal-1 {
  display: none;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.25);
}
.modal_content1 {
  background-color: white;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%; /* تحديد عرض النافذة */
  max-width: 500px; /* تحديد الحد الأقصى لعرض النافذة */
  padding: 20px;
  border-radius: 5px;
  border: 3px solid #007535;
}

.close1 {
  color: #007535;
  float: left;
  font-size: 25px;
}

.close1:hover {
  color: #b76c14;
  cursor: pointer;
}
.js-btn1 {
  color: #fff;
  background-color: #007535;
}
.js-btn1:hover {
  color: #fff;
  background-color: #b76c14;
}

/* zakat-btn */

.btn-zakat {
    background-color: #b76c14;
    color: #fff;
}
.btn-zakat:hover {
  background-color: #007535;
  color: #fff;
}


.donate2 .section1 {
  --bs-gutter-x: 0;
}

@media (max-width: 500px) {
  p { 
    font-size: 14px;
    line-height: 2;
  }
}

/* section details slider */
.portfolio-section .portfolio-details-slider img {
  width: 80%;
}

.portfolio-section .portfolio-details-slider .swiper-pagination {
  position: relative;
}

.portfolio-section .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #F39C12;
}
.portfolio-section .swiper-pagination-bullets.swiper-pagination-horizontal{
  bottom: 0;
}

.portfolio-section .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color:#F39C12 ;
}

.portfolio-section .portfolio-info {
  box-shadow: 0px 0 30px rgba(88, 113, 109, 0.08);
}

.portfolio-section .portfolio-info h3 {
  border-bottom: 1px solid #eee;
}

.portfolio-section .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}


/*  responsive img  */

/*  responsive img section */
.responsive-image {
  width: 100%;           /* Ensures the image takes up the full width of its container */
  height: auto;          /* Maintains the aspect ratio */
  max-height: 500px;     /* Sets a maximum height to ensure consistency */
  object-fit: cover;     /* Crops the image to fit within the container without distorting it */
  border-radius: 8px;    /* Optional: Adds rounded corners */
}

@media (max-width: 768px) {
  .responsive-image {
      max-height: 400px;  /* Adjusts the maximum height for tablets and smaller screens */
  }
}

@media (max-width: 576px) {
  .responsive-image {
      max-height: 300px;  /* Further adjusts the maximum height for mobile devices */
  }
}

/*  responsive img situation */
.card-img {
    min-height: 450px; /* Ensures all cards have a consistent minimum height */
}

.card-img-top {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1; /* Ensures the image remains square */
    object-fit: cover; /* Ensures the image covers the entire container */
}

@media (max-width: 768px) {
    .card-img  {
        min-height: 400px; /* Adjust the minimum height for smaller screens if necessary */
    }

    .card-img-top {
        aspect-ratio: 1/1; /* Maintain the square aspect ratio even on smaller screens */
    }
}

@media (max-width: 576px) {
    .card-img  {
        min-height: 350px; /* Further adjust min-height for extra small screens */
    }

    .card-img-top {
        aspect-ratio: 1/1; /* Ensure the aspect ratio is maintained */
    }
}


.swiper-image {
  max-height: 421px; /* Limit the height of the image */
  width: 100%; /* Make the image responsive to the container's width */
  height: auto; /* Maintain the aspect ratio */
  object-fit: cover; /* Crop the image to fit within the dimensions without distortion */
  border-radius: 8px; /* Optional: Adds rounded corners to the images */
}

@media (max-width: 768px) {
  .swiper-image {
      max-height: 350px; /* Reduce the height for tablets and smaller screens */
  }
}

@media (max-width: 576px) {
  .swiper-image {
      max-height: 300px; /* Further reduce the height for mobile devices */
  }
}

.portfolio-details-slider {
  margin-bottom: 20px; /* Add some spacing below the slider */
}
/*end  responsive img  */




/*  pagination  */
.pagination-container {
  text-align: center; /* Center the pagination horizontally */
}

.custom-pagination {
  margin: 20px 0;
  display: inline-block; /* Ensure the pagination stays inline */
}

.custom-pagination ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.custom-pagination ul li {
  margin: 0 5px;
}

.custom-pagination ul li.disabled span,
.custom-pagination ul li a {
  padding: 8px 12px;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
}

.custom-pagination ul li.active a {
  background-color: #007535;
  color: #fff;
}

.custom-pagination ul li.disabled span {
  color: #777;
}

/* Responsive Styling */
@media (max-width: 768px) {
  .custom-pagination ul li {
    margin: 3px; /* Reduce the margin for smaller screens */
  }

  .custom-pagination ul li a,
  .custom-pagination ul li span {
    padding: 6px 10px; /* Reduce padding for smaller screens */
    font-size: 14px; /* Slightly smaller text */
  }
}

@media (max-width: 480px) {
  .custom-pagination ul li a,
  .custom-pagination ul li span {
    padding: 4px 8px; /* Further reduce padding for very small screens */
    font-size: 12px; /* Smaller text for better fit */
  }
}
/*end  pagination  */
