@font-face {
    font-family: Jameel Noori;
    src: url(../fonts/jameel-noori-new.ttf);
}

@font-face {
    font-family: poppins;
    src: url(../fonts/Poppins-Regular.ttf);
}

* {
    font-family: poppins;
    box-sizing: border-box;
}

.fs-jn,
.fs-jn * {
    font-family: Jameel Noori !important;
}

body {
    overflow-x: hidden;
}

.fa,
.fas,
.far,
.fab,
.fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
}

.fa-classic,
.fa-regular,
.fa-solid,
.far,
.fas {
    font-family: "Font Awesome 6 Free" !important;
}

.fa-classic,
.fa-light,
.fa-regular,
.fa-solid,
.fa-thin,
.fal,
.far,
.fas,
.fat {
    font-family: "Font Awesome 6 Pro" !important;
}

.fa-sharp,
.fasl,
.fasr,
.fass,
.fast {
    font-family: "Font Awesome 6 Sharp" !important;
}

a {
    text-decoration: none !important;
}

header .logo img {
    width: 218px;
}

header .uk-navbar-container ul li a {
    font-weight: 500 !important;
    font-size: 14px;
    transition: all 0.3s ease;
    color: #032e44;
    position: relative;
    text-transform: inherit;
}

header .ayat img {
    filter: brightness(0);
}

header .uk-navbar-container ul li a:hover {
    color: #1d7502;
}

header .dropnav-icon {
    font-size: 12px;
}

header .uk-navbar-container .fsa-menu::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
    right: 0;
    background-color: #1d7502;
    border-radius: 14px;
    transform: translateY(10px);
    bottom: -8px;
    opacity: 0;
    transition: 0.3s ease;
    visibility: hidden;
    z-index: 999;
    margin: auto;
}

header .uk-navbar-container .fsa-menu:hover::after {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}
.header-mobile{
    display: none;
}

.main-banner {
    background-image: url(../images/banner.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 400px;

}

.main-banner p {
    font-size: 18px;
    word-spacing: 2px;
    font-weight: 600;
}

.banner-img-box img {
    max-width: 130px;
    margin-bottom: 14px;
    height: 110px;
    object-fit: cover;
    transform: scale(.7) rotate(-25deg);
    transition: transform 0.3s ease;
}

.banner-img-box .image-box:hover>img {
    transform: scale(1) rotate(0deg);
}

.sidebar .accordion {
    max-width: 600px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sidebar .accordion {
    max-width: 800px;
    /* Increased width */
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow-y: scroll;
    height: 480px;
}
.mk .accordion {
    height: unset;
    overflow: unset;
}
.sidebar .accordion-item {
    border-bottom: 1px solid #ddd;

}

.sidebar .accordion-item:last-child {
    border-bottom: none;
}

.sidebar .accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    /* Increased padding for a modern look */
    background-color: #fff;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    transition: background-color 0.3s ease;

}

.sidebar .accordion-header:hover {
    background-color: #f0f0f0;
}

.sidebar .accordion-header span {
    font-family: Jameel Noori !important;

}

.sidebar .accordion-content {
    max-height: 0;
    /* Start closed */
    overflow: hidden;
    /* Hide content when closed */
    transition: 0.2s ease-in-out;
    /* Smooth transition */
    padding: 0 25px;
    /* Set padding for better alignment */
    background-color: #fafafa;
    font-size: 16px;
    color: #555;
}

.sidebar .accordion-content a {
    color: #6a6ba1;
}

.sidebar .accordion-content.open {
    max-height: 100%;
    /* Set an approximate max height for open state */
    padding: 15px 25px;
    /* Add padding back when opened */
    transition: 0.2s ease-in-out;
}

.sidebar .accordion-content p {
    margin: 0;
}

.sidebar .accordion .icon {
    font-size: 18px;
    transition: transform 0.3s ease;
    color: #333;
}

.fatwa-explain .separator {
    width: 10px;
    height: 10px;
    background: #de403f;
    border-radius: 13px;
    margin-inline: 10px;
}
.fatwa-explain > div > div + div {
    font-size: 19px;
}

/* Apply to the entire document */
.sidebar .accordion::-webkit-scrollbar {
    width: 10px;
    /* Width of the scrollbar */
    height: 10px;
    /* Height for horizontal scrollbar */
}

.sidebar .accordion::-webkit-scrollbar-track {
    background: #f4f4f4;
    /* Light background for the track */
    border-radius: 10px;
    /* Rounded corners for the track */
}

.sidebar .accordion::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    /* Light gray color for the scrollbar thumb */
    border-radius: 10px;
    /* Rounded corners for the thumb */
    border: 2px solid #f4f4f4;
    /* Add padding around the thumb */
}

.sidebar .accordion::-webkit-scrollbar-thumb:hover {
    background: #a0a0a0;
    /* Slightly darker gray on hover */
}

.sidebar .accordion::-webkit-scrollbar-corner {
    background: #f4f4f4;
    /* Corner of the scrollbar for resizable areas */
}
footer h4 {
    font-size: 15px;
}
footer .f-menu .nav-item .nav-link{
    font-size: 14px;
}
.cate_col {
    margin-top: -37px;
}
.mb_sidebar_btn{
    display: none !important;
    z-index: 10 !important;
}
/* Detail Page Start */
.post-header{
    background-image: url(/assets/images/fatwa-header.png);
    height: 240px;
    background-size: 100%;
    background-repeat: no-repeat;
    position: relative;
}
.accordion-header a{
	color: #0f6ecd !important;
	text-decoration: underline !important;
}
.post-details-attributes{
	margin-bottom: 14px;
}

/* Detail Page End */

/* Archive Fas-Alu */
.archive-box {
    border: 1px solid #cfcece;
    border-radius: 10px;
}
.archive-box .icon{
    
    width: 100px;
    height: 100px;
    margin: auto;
    margin-block: 16px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
    color: #4c4c4c;
    border: 1px solid #4c4c4c;
    transition: 0.3s ease-in-out;
    z-index: 1;
}
.archive-box .icon i {
    font-size: 55px;
    
}
.archive-box h4 {
    font-size: 22px;
}
.archive-box .counts {
    font-weight: 400;
    font-size: 18px;
    margin-top: 20px;
}

.archive-box .icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid #4c4c4c !important;
    border-radius: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #4c4c4c;
    transform-origin: center;
    transform: scale(0);
    transition: 0.3s ease-in-out;
    z-index: -1;
}
.archive-box:hover .icon{
    color: #fff !important;
}

.archive-box:hover .icon::before{
    transform: scale(1) !important;
    
}
.archive-box:hover h4{
    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 9px !important;
}
/* Archive Fas-Alu */

/* Contact */
.ask_fas_alu_form_container {
    max-width: 700px;
    margin: 50px auto;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  }
  .ask_fas_alu_form_label {
    font-weight: 600;
    color: #333;
  }
  .ask_fas_alu_form_control, 
  .ask_fas_alu_form_select, 
  textarea.ask_fas_alu_form_control {
    border-radius: 10px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
  }
  .ask_fas_alu_form_control:focus, 
  .ask_fas_alu_form_select:focus, 
  textarea.ask_fas_alu_form_control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 8px rgba(13, 110, 253, 0.25);
  }
  .ask_fas_alu_btn {
    background: #0d6efd;
    border: none;
    border-radius: 12px;
    padding: 10px 25px;
    color: #fff;
    font-weight: 500;
    transition: 0.3s;
  }
  .ask_fas_alu_btn:hover {
    background: #0b5ed7;
  }
/* Contact */


.next-pg a, .next-pg span {
    border-radius: 5px 0px 0px 5px !important;
}
.prev-pg a, .prev-pg span {
    border-radius: 0px 5px 5px 0px !important;
    border-left: 0;
}

footer {
	margin-top: 16px;
}