@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');


:root{
    --mainColor: #066329;
    --secColor: #d9a441;
    --whiteColor: #ededdd;
    --colorBlack: #011d01;
    --mainfont: "Markazi Text", serif;
    --secfont: "Amiri", serif;
}
.secColor{
    color: #d9a441;
}
body{
    font-family: var(--mainfont);
}

h1, h2, h3, h4, h5, h6, a{
    font-family: var(--secfont);
}
ul{
    list-style: none;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: content-box;
}
.header{
    position: sticky;
    top: 0;
    z-index: 9999;
}
.navbar {
    background-color:var(--mainColor);
   
    position: relative;
    z-index: 10;
    border-bottom: 2px solid #1c1c1c;

  }
.navbar-brand{
    margin-top: -25px;
    margin-bottom: -25px;
}
.navbar-brand img{
    width: 190px;
    height: 120px;
}
.nav-link {
    color: var(--secColor);
    font-weight: 500;
    margin-left: 15px;
  }
  .nav-link:hover{
     color: var(--whiteColor);
  }

i {
    font-size: 18px;
    margin-left: 15px;
    color: var(--secColor);
    cursor: pointer;
  }
.icon{
    border-radius: 50%;
    font-size: 15px;
    border: 0.5px solid var(--secColor);
    padding: 9px;
  }
.icon:hover{
    color: var(--whiteColor);
    border: 0.5px solid var(--whiteColor);
  }
  form {
    border-radius: 10px;
    background-color: var(--whiteColor);
  }
  .form-control {
    border: none;
    background-color: transparent;
  }
  .btn {
    border: none;
  }
  
  .navbar-nav{
    font-size: 20px;
  }
  .collapse{
    flex-grow: 0.5;
  }
  .collapse .active{
    color: var(--secColor) !important;
  }
  .collapse .active:hover{
    color: var(--whiteColor)!important;
  }
  .dropdown-menu {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    padding: 15px;
    border: 0.5px solid var(--mainColor);
    text-align:center;
    z-index: 99999 !important;
  }
  
  .dropdown-item {
    font-size: 18px;
    padding: 15px 0px;
  }
  
  .dropdown-item:hover {
    color:var(--mainColor);
  }
.main{
    background-image: url(./../img/public/img-background.jpg);
    background-size: cover;
    background-position: center;
    height: 430px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: var(--whiteColor);
    position: relative;
}
.main-btn{
    padding: 7px 25px;
    font-size: 21px;
    font-weight: 700;
    border-radius: 6px;
    color: var(--whiteColor);
    background: transparent;
    border: 1px solid var(--whiteColor);
    margin-top: 30px;
}
.main-btn:hover{
    cursor: pointer;
    background-color: var(--whiteColor);
    color: #6e6a6a;
}

.hero{
    background-color: #2b2b2b;
    display: block;
    position: relative;
    /*top: 84px;*/
    z-index: 9;
}
.hero-item i,a{
    color:var(--whiteColor);
    font-size: 15px;
    text-decoration-line: none;
}
.hero-item a{
    font-weight: 400;
}
.hero-contentEnd i{
    color: var(--whiteColor);
    font-size: 15px;
}
.hero-item:hover{
    i{
        color: var(--secColor);
    }
    a{
        color: var(--secColor);
    }
}
.hero-contentEnd i:hover{
    color: var(--secColor);
}

@media screen and (max-width:768px){
    .hero{
        display: none;
    }
    .navbar-brand img{
        width: 150px;
    }
    .main-content h2,h3,button{
        font-size: 20px;
    }
    .main-content button{
        font-weight: 500;
    }
}
@media screen and (max-width:425px){
    .navbar-brand{
        margin-top: -30px;
        margin-bottom: -30px;
    }
}
.footer{
    background-color: var(--mainColor);
}
.footer-brand img{
    width: 190px;
    height: 120px;
}
.mini-line {
    width: 60px;
    height: 2px;
    background-color: var(--whiteColor);
    border: none;
    margin: 10px; 
  }
  .footer-column{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }
  .footer-column h4{
    color: var(--secColor);
    font-size: 27px;
  }
  .footer-column a{
    color: var(--whiteColor);
    font-size: 18px;
  }
  .footer-column i{
    color: var(--whiteColor);
    font-size: 16px;
  }
  .logo-footer p{
    font-size: 18px;
    color: var(--whiteColor);
    text-align: center;
  }
  .footer-bottom {
    background-color: #1c1c1c;
    color: var(--whiteColor);
    text-align: center;
    font-size: 14px;
    padding: 10px 0;
  }
  .footer a:hover {
    color: var(--secColor);
    text-decoration: underline;
  }
  .footer p:hover{
    color: var(--secColor);
  }
  .contact:hover i {
    color: var(--secColor);
  }
  .footer-bottom:hover{
    color: var(--secColor);
  }
  .lib-name {
    color: var(--secColor);
    font-weight: 600;
  }
  
  @media screen and (max-width:425px){
    .footer-bottom{
        font-size: 12px;
    }
    .footer-column a,i{
        font-size: 15px;
    }
    .footer-column h4{
        font-size: 19px;
      }
      .footer .row{
        justify-content: center !important;
      }
      .logo-footer p{
        font-size: 15px;
      }
}

.religious{
     padding: 50px 40px;
}

.religious h2{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  font-size: 33px;
}
.book-details {
  height: 80px; 
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.religiousContent{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    row-gap: 40px;
}
.religious-item img{
    width: 220px;
    height: 280px;
    border-radius: 8px;
    margin-top: 10px;
}
.religious-item{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
    width: 240px;
    height: 425px;
    border: 1px solid var(--mainColor);
    border-radius: 10px;
    position: relative;
    transition:  transform 0.3s ease, box-shadow 0.2s ease;
}

.religious-item h3{
    font-size: 20px;
    font-weight: 600;
    color:var(--colorBlack);
}
.religious-item p{
    color: var(--mainColor);
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.action-buttons {
  position: absolute;
  bottom: -20px;
  right: 27%;
  display: flex;
  gap: 8px;
}

.action-btn {
  background-color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 44px;
  height: 36px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  display: flex; 
  align-items: center;
  justify-content: center;
  padding: 0;
}

.action-btn i {
  color: var(--secColor); 
  font-size: 18px;
  line-height: 1;
  transform: translateY(1px);
  transform: translateX(-6px);
}
.action-btn:hover {
  background-color: var(--mainColor);
}

.action-btn:hover i {
  color: var(--whiteColor);
}



.religious-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.5);
   cursor :pointer;
}
.religious-item:hover img {
  transform: scale(1.03);
}
.religious-item h3:hover  {
  color: var(--mainColor);
}



@media screen and (max-width:425px){
  
  .religiousContent{
    justify-content: center;
    gap: 10px;
    row-gap: 30px;
}
 
  .religious-item img{
  width: 140px;
  height: 200px;
  margin-top: 5px;
}
  
.religious-item{
  gap: 0px;
  width: 150px;
  height: 320px;
}
.religious{
  padding: 40px 0px;
}
* {
  box-sizing: border-box;
}
.religious-item h3{
  font-size: 18px;
  font-weight: 600;
}
.religious-item p{
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}
.action-buttons {
  right: 24%;
}
.action-btn {
  width: 34px;
  height: 30px;
}

.action-btn i {
  font-size: 16px;
}
.religious h2{
  margin-bottom: 20px;
  font-size: 30px;
}
}

.socialRomantic{
  padding: 50px 40px;
}

.socialRomantic h2{
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 30px;
font-size: 33px;
}

.socialRomanticContent{
 display: flex;
 flex-wrap: wrap;
 justify-content: space-between;
 gap: 30px;
 row-gap: 40px;
}
.socialRomantic-item img{
 width: 220px;
 height: 280px;
 border-radius: 8px;
 margin-top: 10px;
}
.socialRomantic-item{
 display: flex;
 flex-wrap: wrap;
 flex-direction: column;
 gap: 10px;
 align-items: center;
 text-align: center;
 width: 240px;
 height: 425px;
 border: 1px solid var(--mainColor);
 border-radius: 10px;
 position: relative;
 transition:  transform 0.3s ease, box-shadow 0.2s ease;
}

.socialRomantic-item h3{
 font-size: 20px;
 font-weight: 600;
 color:var(--colorBlack);
}
.socialRomantic-item p{
 color: var(--mainColor);
 font-size: 18px;
 font-weight: 600;
 margin: 0;
}


.socialRomantic-item:hover {
box-shadow: 0 8px 16px rgba(0,0,0,0.5);
cursor :pointer;
}
.socialRomantic-item:hover img {
transform: scale(1.03);
}
.socialRomantic-item h3:hover  {
color: var(--mainColor);
}



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

.socialRomanticContent{
 justify-content: center;
 gap: 10px;
 row-gap: 30px;
}

.socialRomantic-item img{
  width: 140px;
  height: 200px;
  margin-top: 5px;
}

.socialRomantic-item{
  gap: 0px;
  width: 150px;
  height: 320px;
}
.socialRomantic{
padding: 40px 0px;
}
* {
box-sizing: border-box;
}
.socialRomantic-item h3{
font-size: 18px;
font-weight: 600;
}
.socialRomantic-item p{
font-size: 16px;
font-weight: 600;
margin: 0;
}

.socialRomantic h2{
margin-bottom: 20px;
font-size: 30px;
}

}

.Horrorsuspense{
  padding: 50px 40px;
}

.Horrorsuspense h2{
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 30px;
font-size: 33px;
}

.Horrorsuspense-Content{
 display: flex;
 flex-wrap: wrap;
 justify-content: space-between;
 gap: 30px;
 row-gap: 40px;
}
.Horrorsuspense-item img{
 width: 220px;
 height: 280px;
 border-radius: 8px;
 margin-top: 10px;
}
.Horrorsuspense-item{
 display: flex;
 flex-wrap: wrap;
 flex-direction: column;
 gap: 10px;
 align-items: center;
 text-align: center;
 width: 240px;
 height: 425px;
 border: 1px solid var(--mainColor);
 border-radius: 10px;
 position: relative;
 transition:  transform 0.3s ease, box-shadow 0.2s ease;
}

.Horrorsuspense-item h3{
 font-size: 20px;
 font-weight: 600;
 color:var(--colorBlack);
}
.Horrorsuspense-item p{
 color: var(--mainColor);
 font-size: 18px;
 font-weight: 600;
 margin: 0;
}

.Horrorsuspense-item:hover {
  box-shadow: 0 8px 16px rgba(0,0,0,0.5);
  cursor :pointer;
}
.Horrorsuspense-item:hover img {
  transform: scale(1.03);
}
.Horrorsuspense-item h3:hover  {
  color: var(--mainColor);
}



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

.Horrorsuspense-Content{
  justify-content: center;
  gap: 10px;
  row-gap: 30px;
}

.Horrorsuspense-item img{
  width: 140px;
  height: 200px;
  margin-top: 5px;
}

.Horrorsuspense-item{
  gap: 0px;
  width: 150px;
  height: 320px;
}
.Horrorsuspense{
padding: 40px 0px;
}
* {
box-sizing: border-box;
}
.Horrorsuspense-item h3{
font-size: 18px;
font-weight: 600;
}
.Horrorsuspense-item p{
font-size: 16px;
font-weight: 600;
margin: 0;
}

.Horrorsuspense h2{
margin-bottom: 20px;
font-size: 30px;
}

}

.PsychologySelf{
  padding: 50px 40px;
}

.PsychologySelf h2{
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 30px;
font-size: 33px;
}

.PsychologySelf-Content{
 display: flex;
 flex-wrap: wrap;
 justify-content: space-between;
 gap: 30px;
 row-gap: 40px;
}
.PsychologySelf-item img{
 width: 220px;
 height: 280px;
 border-radius: 8px;
 margin-top: 10px;
}
.PsychologySelf-item{
 display: flex;
 flex-wrap: wrap;
 flex-direction: column;
 gap: 10px;
 align-items: center;
 text-align: center;
 width: 240px;
 height: 425px;
 border: 1px solid var(--mainColor);
 border-radius: 10px;
 position: relative;
 transition:  transform 0.3s ease, box-shadow 0.2s ease;
}

.PsychologySelf-item h3{
 font-size: 20px;
 font-weight: 600;
 color:var(--colorBlack);
}
.PsychologySelf-item p{
 color: var(--mainColor);
 font-size: 18px;
 font-weight: 600;
 margin: 0;
}

.PsychologySelf-item:hover {
  box-shadow: 0 8px 16px rgba(0,0,0,0.5);
  cursor :pointer;
}
.PsychologySelf-item:hover img {
  transform: scale(1.03);
}
.PsychologySelf-item h3:hover  {
  color: var(--mainColor);
}



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

.PsychologySelf-Content{
  justify-content: center;
  gap: 10px;
  row-gap: 30px;
}

.PsychologySelf-item img{
  width: 140px;
  height: 200px;
  margin-top: 5px;
}

.PsychologySelf-item{
  gap: 0px;
  width: 150px;
  height: 320px;
}
.PsychologySelf{
padding: 40px 0px;
}
* {
box-sizing: border-box;
}
.PsychologySelf-item h3{
font-size: 18px;
font-weight: 600;
}
.PsychologySelf-item p{
font-size: 16px;
font-weight: 600;
margin: 0;
}

.PsychologySelf h2{
margin-bottom: 20px;
font-size: 30px;
}

}


.swiper {
  width: calc(100% - 200px);
  height: 200px;
  padding: 50px 0px;
  margin: 0 auto;    
}

.slums {
  text-align: center;
  background: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 5px;
  width: 160px;
  height: 190px;
  transition: ease-in-out ;
}
.slums img {
  border-radius: 8px;
  width: 140px;
  height: 140px;
}
.slums p {
  margin-top: 15px;
  font-weight: bold;
  color: var(--colorBlack);
  font-size: 17px;
}

.slums:hover{
  cursor: pointer;
  transform: scale(1.07);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width:425px){
  .slums{
    width: 120px;
    height: 160px;
  }
  .swiper {
    width: 95%;
    height: auto;
  }
  .slums img {
    width: 110px;
    height: 110px;
  }
  .slums p {
    margin-top: 10px;
    font-weight:normal;
    font-size: 16px;
  }
}


.splide {
  padding: 50px 50px;
  margin: 0px auto;
  direction: ltr;
  width: calc(100% - 180px);
}
.splide h2{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  font-size: 33px;
}

 .splide__slide {
  text-align: center;
  background-color: white;
  border: 1px solid var(--mainColor);
  width: 180px;
  height: 380px;
  position: relative;
}

 .splide__slide img {
  width: 180px;
  height: 240px;
  border-radius: 8px;
  margin-top: 8px;
}

 .splide__slide h3 {
  margin-top: 15px;
  font-size: 20px;
  font-weight: 600;
  color: var(--colorBlack);
}

 .splide__slide p {
  font-size: 22px;
  font-weight: 500;
  color: #e73724;
  position: absolute;
  right: 30px;
}


.btnAddToCart {
  background-color: var(--mainColor);
  color: var(--whiteColor);
  width: 38px;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-decoration: none;
  border: none;
  border-radius: 3px 7px;
  cursor: pointer;
  padding-right: 13px; 
  position: absolute;
  left: 2px;
  bottom: 2px;
}

.btnAddToCart i{
  text-align: center;
  font-size: 16px;
  color: var(--whiteColor);
}
.btnAddToCart::before {
  content: "";
  position: absolute;
  top: 10px;
  right: -2.5px;
  width: 0;
  height: 1px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 7px solid white; 
}

.splide__slide:hover {
  transform: translateY(-6px);
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.btnAddToCart:hover {
  background-color:#1c1c1c;
}
.btnAddToCart:hover i{
  color: var(--secColor);
}

@media screen and (max-width:425px){
  .splide  {
    padding: 50px 60px;
    width:100%;
  }

  .splide__slide {
    width: 140px;
    height: 325px;
  }
  
   .splide__slide img {
    width: 140px;
    height: 200px;
    margin-top: 6px;
  }
  .splide__slide p {
    font-size: 19px;
    right: 20px;
  }
  .splide h2{
    margin-bottom: 17px;
    font-size: 30px;
  }
  .splide__slide h3 {
    margin-top: 10px;
    font-size: 18px;
  }
}

.discount-badge {
  position: absolute;
  top: 12px;
  left: -35px;
  background-color: #e73724;
  color: var(--whiteColor);
  padding: 2px 50px;
  font-size: 16px;
  font-weight: bold;
  transform: rotate(-45deg);
  z-index: 10;
  clip-path: polygon(19% 0%, 80% 0%, 100% 100%, 0% 100%);
}
.splide__slide:hover .discount-badge {
  transform: translateY(5px) rotate(-45deg);
  transition: all 0.3s ease;
}


.splide__slide .oldPrice{
  font-size: 19px;
  font-weight: 400;
  text-decoration: line-through;
  color: #e73724;
  position: absolute;
  right: 32px;
  bottom: 9px;
}
.splide__slide .newPrice{
  font-size: 23px;
  font-weight: 500;
  color: var(--mainColor);
  position: absolute;
  right: 30px;
  bottom: -17px;
}

.rtl{
  direction: rtl;
}
@media screen and (max-width:425px){
  .splide__slide .oldPrice{
    font-size: 16px;
    right: 22px;
  }
  .splide__slide .newPrice{
    font-size: 19px;
    right: 20px;
  }
}

.slums2{
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  gap: 10px;
  width: 155px;
  height: 190px;
  padding-bottom: 40px;
}
.slums2 img{
  border-radius: 50%;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  width: 155px;
  height: 155px;
  transition: border 0.08s ease;
}
.swiper2{
  width: calc(100% - 200px);
  margin: 0 auto;    
  padding: 40px 0px;
  overflow: hidden; 
}
.swiper2 h2{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
  font-size: 31px;
}

.slums2 p {
  margin-top: 12px;
  color: var(--colorBlack);
  font-size: 17px;
}

.slums2:hover{
  cursor: pointer;
}
.slums2:hover img{
  border: 3px solid var(--secColor);
}
.slums2:hover p{
  color: var(--secColor);
}

@media screen and (max-width:576px){
  .swiper2{
    width: 100%;
    padding: 30px 0px;
  }
  .slums2{
    width: 120px;
    height: 150px;
    padding-bottom: 30px;
  }
  .slums2 img{
    width: 120px;
    height: 120px;
  }
}

.faq-section {
  max-width: 500px;
  margin: 30px auto;
  padding: 0px 20px;
  direction: rtl;
  padding-bottom: 20px;
}
.accordion-item{
  font-size: 17px;
}
.accordion-button:not(.collapsed) {
  background-color:var(--mainColor); 
  color: var(--whiteColor); 
  box-shadow: none; 
}
.accordion-button:focus {
  box-shadow: none;
  outline: none;
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1); 
}


.accordion-button::after {
  filter: none;
}


body.dark-mode {
  background-color: #201f1f;
  color: var(--secColor);
}

.dark-mode .accordion-button {
  background-color: #424141;
  color: var(--whiteColor);
  border-color: var(--whiteColor);
}

.dark-mode .accordion-button:not(.collapsed) {
  background-color: #006400; /* أخضر داكن */
  color:  var(--whiteColor);
}

.dark-mode .accordion-body {
  background-color: #201f1f;
  color: var(--whiteColor);
}

.dark-mode .btnAddToCart {
  background-color: var(--mainColor);
}

.dark-mode .btnAddToCart::before {
  border-right: 7px solid #eee;
}
.dark-mode .slums2 p{
  color: var(--whiteColor);
}
.dark-mode .slums2:hover p{
  color: var(--secColor);
}
.dark-mode .slums {
  background: #1f1f1f;
}
.dark-mode .slums p{
 color: var(--whiteColor);
}
.dark-mode .slums img{
  opacity: 0.8;
 }

.dark-mode .splide__slide {
  background-color: var(--whiteColor);
  border: 1px solid var(--secColor);
}

.dark-mode .religious-item{
  border: 1px solid var(--secColor);
  background-color: var(--whiteColor);
 }
 .dark-mode .socialRomantic-item{
  border: 1px solid var(--secColor);
  background-color: var(--whiteColor);
 }
 .dark-mode .Horrorsuspense-item{
  border: 1px solid var(--secColor);
  background-color: var(--whiteColor);
 }
 .dark-mode .PsychologySelf-item{
  border: 1px solid var(--secColor);
  background-color: var(--whiteColor);
 }
 
 .dark-mode .action-btn{
        background-color: var(--whiteColor);
 }
 .dark-mode .action-btn:hover{
  background-color: var(--mainColor);
}

.toggleDarkMode{
  position: fixed;
  top: 50%;
  background-color: white;
  border: none;
  border-bottom-left-radius: 50%;
  border-top-left-radius: 50%;
  padding: 8px 3px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 9999;
  /*font-size: 20px;
  /*transition: background 0.3s ease;*/
}
.moon{
  font-size: 25px;
}
@media screen and (max-width:425px){
  .toggleDarkMode{
     border-bottom-left-radius: 50%;
     border-top-left-radius: 50%;
     padding: 2px 2px;
  }
  .moon{
    font-size: 18px;
  }
}
.dark-mode .toggleDarkMode{
  background-color: #201f1f;
}

.toggleDarkModek:hover {
  background-color: #333;
  color: white;
}
