/*
Project         :  Resalatulharamain
Version         :  0.1
Author          :  Rowad
Developer       :  Kareem Sultan (HTML-CSS)
Framework       :  Bootstrap 5
Date            :  13/05/2025
*/

/* ============================================ *

 * Contents

 1-  ROOT
 2-  FONT
 3-  FRAMEWORK
 4-  BODY
 5-  MODAL
 6-  BTN - FORMS
 7-  ALIGNING
 8-  DROPDOWN - CARD
 9-  RADIO INPUT
 10- HEADINGS - TEXT-SIZE - TEXT-COLOR
 11- SCROLLBAR
 12- CAROUSEL
 13- CONTAINER
 14- HEADER - MAIN - SECTION
 15- NAVBAR
 16- HERO
 17- LANGUAGE
 18- SHARE QR
 19- SUBJECTS
 20- AYAT - HADITH
 21- FAQ
 22- ABOUT
 23- BOOK PAGE
 24- AUDIO - VIDEO PAGES
 25- ABOUT PAGE
 26- CONTACT
 27- FOOTER

 * ============================================ */

/* ============================================ *
 * ROOT
 * ============================================ */

:root {
    --primary: #3c7768;
    --secondary: #4b5563;
    --black: #1f2937;
    --white: #ffffff;
    --light-green: rgba(60, 119, 104, 0.04);
    --green-100: rgba(208, 220, 217, 1);
    --green-200: rgba(60, 119, 104, 1);
    --green-50: rgba(60, 119, 104, 0.04);
    --gray-25: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-500: #6b7280;
    --yellow-200: #dcb63b;
}

/* ============================================ *
 * FONT
 * ============================================ */

@font-face {
    font-family: "Janna";
    font-style: normal;
    font-weight: normal;
    src: url("../fonts/Janna-regular.woff") format("woff");
}

@font-face {
    font-family: "Janna";
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/Janna-bold.woff") format("woff");
}

@font-face {
    font-family: "Lotus";
    font-style: normal;
    font-weight: normal;
    src: url("../fonts/Lotus.woff") format("woff");
}

@font-face {
    font-family: "Uthmanic";
    font-style: normal;
    font-weight: normal;
    src: url("../fonts/uthmanic.ttf") format("ttf");
}

.ff_lotus {
    font-family: "Lotus", sans-serif;
}

.ff_uthmanic {
    font-family: "Uthmanic", sans-serif;
}

/* ============================================ *
 * BODY
 * ============================================ */

body {
    font: 400 1rem / 1.35 "Janna", sans-serif;
    color: var(--black);
    background-color: var(--white);
    /* height: 5000px; */
}

/* ============================================ *
 * MODAL
 * ============================================ */

.modal-dialog {
    max-width: 610px;
}

.modal-content {
    border-radius: 1.5rem;
    padding: 2.5rem 1.75rem;
    position: relative;
}

.modal-header,
.modal-body,
.modal-footer {
    padding: 0;
    border-bottom: none;
    border-top: none;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.modal-body {
    padding-block: 3.125rem;
}

.modal-header .btn-close {
    background-image: url(../img/close.svg);
    padding: 0.125rem;
    margin: 0;
    opacity: 1;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}

.text_line {
    background-color: var(--gray-200);
    height: 1px;
    margin-top: 2px;
}

.copy_url {
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 0.5rem;
    line-height: 18px;
}

.qr_container {
    width: 155px;
    height: 155px;
}

.qr_container_xl {
    width: 176px;
    min-width: 176px;
    max-width: 176px;
    height: 176px;
    min-height: 176px;
    max-height: 176px;
    padding: 0.5rem;
    border-radius: 1rem;
    border: 1px solid var(--gray-200);
}

/* ============================================ *
 * BTN - FORMS
 * ============================================ */

.btn,
.btn-check:active + .btn:focus,
.btn-check:checked + .btn:focus,
.btn.active:focus,
.btn:active:focus,
.btn-check:focus + .btn,
.btn:focus,
.btn:hover,
.btn:active,
.btn:active:focus,
.form-control,
.form-control:focus,
.form-check-input:focus,
.form-control.is-valid,
.form-control.is-valid:focus {
    box-shadow: none !important;
}

.form-control,
.form-control:focus,
.form-check-input:focus {
    border: none;
    background-color: transparent;
    padding: 0;
    height: 100%;
    font-size: 0.875rem;
}

.btn {
    padding: 0;
    position: relative;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.btn_xl {
    padding: 0.7rem 1rem;
}

.btn_lg {
    padding: 0.5rem 2.5rem;
}

.btn_md {
    padding: 0.625rem 1rem;
}

.btn_sm {
    padding: 0.688rem;
}

.btn_xs {
    padding: 0.25rem 1rem;
}

.btn_outline {
    border-color: var(--gray-100);
}

.btn_outline_gray_200 {
    border-color: var(--gray-200);
}

.dropdown-toggle.btn_outline {
    border-color: var(--gray-200);
    color: var(--black);
    font-weight: bold;
}

.dropdown-toggle.btn_outline::after {
    background-image: url(../img/arrow-bottom-sm-black.svg);
    padding: 4px 5px;
}

.btn_black {
    background-color: var(--black);
    border-color: var(--black);
    color: var(--white) !important;
}

.btn_white {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--black);
}

.btn_white_10 {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(17.4px);
    box-shadow: 0px 2px 8px 0px rgba(255, 255, 255, 0.08) inset !important;
    font-size: 1rem;
    font-weight: bold;
    color: var(--white) !important;
    gap: 0.8rem;
    padding: 0.938rem 3rem;
}

.btn_white_10:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.btn_white:hover,
.btn_white.active {
    background-color: var(--black);
    border-color: var(--black);
    color: var(--white);
}

.btn_light_gray {
    color: var(--secondary);
    background-color: var(--gray-100);
}

.btn_light_gray:hover,
.btn_light_gray.active {
    color: var(--black);
    background-color: var(--white);
    letter-spacing: -0.09px;
    font-weight: bold;
    border-color: var(--gray-200);
}

.btn_yellow {
    background-color: var(--yellow-200);
    border-color: var(--yellow-200);
}

.btn_yellow:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn_primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn_primary:hover {
    background-color: var(--yellow-200);
    color: var(--primary);
}

.btn_outline_primary {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--white);
}

.btn_outline_primary:hover {
    background-color: var(--yellow-200);
    border-color: var(--yellow-200);
    color: var(--primary);
}

.state_light_gray:hover {
    background-color: var(--light-green);
}

.lang_btn {
    padding-block: 0.25rem;
    padding-inline-start: 0.25rem;
    padding-inline-end: 1.5rem;
    color: var(--secondary);
    background-color: var(--gray-100);
    gap: 1rem;
    border: none;
}

.lang_btn .circle {
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.04);
}

.lang_btn_lg {
    padding-block: 0.5rem;
    padding-inline-start: 0.5rem;
    gap: 0.5rem;
}

.lang_btn_lg,
.lang_btn_lg .circle {
    border: 1px solid var(--gray-100);
}

.lang_btn_lg:hover {
    background-color: var(--gray-200);
}

.shadow {
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.05),
        0px 1px 2px 0px rgba(0, 0, 0, 0.05), 0px 2px 6px 0px rgba(0, 0, 0, 0.05) !important;
}

.shadow_lg {
    box-shadow: -27px 23px 83px 0px rgba(65, 98, 169, 0.06);
}

.shadow_md {
    box-shadow: -10px 18px 20px 0px rgba(0, 0, 0, 0.06),
        -3px 4px 11px 0px rgba(0, 0, 0, 0.06),
        -23px 40px 28px 0px rgba(0, 0, 0, 0.03),
        -42px 70px 33px 0px rgba(0, 0, 0, 0),
        -65px 110px 36px 0px rgba(0, 0, 0, 0);
}

.shadow_inset {
    box-shadow: -3px 0px 7px 0px rgba(219, 219, 219, 0.1) inset,
        -13px -1px 13px 0px rgba(219, 219, 219, 0.09) inset,
        -30px -2px 18px 0px rgba(219, 219, 219, 0.05) inset,
        -53px -4px 21px 0px rgba(219, 219, 219, 0.01) inset,
        -83px -6px 23px 0px rgba(219, 219, 219, 0) inset !important;
}

.shadow_sm {
    box-shadow: 0px 1px 1.5px 0.1px rgba(22, 25, 36, 0.03) !important;
}

/* ============================================ *
 * ALIGNING
 * ============================================ */

.flex_center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.xy_center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.line {
    width: 1px;
    background-color: var(--gray-200);
    height: 38px;
}

.circle,
.square {
    min-width: 40px;
    width: 40px;
    max-width: 40px;
    min-height: 40px;
    height: 40px;
    max-height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
}

.square_lg {
    min-width: 44px;
    width: 44px;
    max-width: 44px;
    min-height: 44px;
    height: 44px;
    max-height: 44px;
}

.square_xl {
    min-width: 100px;
    width: 100px;
    max-width: 100px;
    min-height: 100px;
    height: 100px;
    max-height: 100px;
}

.circle_md {
    min-width: 38px;
    width: 38px;
    max-width: 38px;
    min-height: 38px;
    height: 38px;
    max-height: 38px;
}

.circle_lg {
    min-width: 48px;
    width: 48px;
    max-width: 48px;
    min-height: 48px;
    height: 48px;
    max-height: 48px;
}

.circle_xl {
    min-width: 66px;
    width: 66px;
    max-width: 66px;
    min-height: 66px;
    height: 66px;
    max-height: 66px;
}

.square {
    border-radius: 0.5rem;
}

.border_bottom {
    border-bottom: 1px solid var(--gray-100);
}

/* ============================================ *
 * DROPDOWN - CARD
 * ============================================ */

.dropdown-menu {
    margin-top: 0.5rem !important;
    padding: 1rem;
    box-shadow: 6px 6px 32px 0px rgba(0, 0, 0, 0.06);
    border-radius: 1rem;
    min-width: 312px;
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    text-align: start;
}

.dropdown-toggle::after {
    background-image: url("../img/arrow-bottom.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-top: none;
    border-right: none;
    border-bottom: none;
    border-left: none;
    padding: 6px 8px;
    margin: 0;
}

.categories_dropdown_menu {
    min-width: auto;
    width: 100%;
    max-width: 852px;
    border: none;
    box-shadow: 0px 0px 80px 0px rgba(0, 0, 0, 0.06);
    border-radius: 1.5rem;
    padding: 1.5rem;
    margin-top: 0 !important;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: none;
    pointer-events: none;
}

.dropdown-item.active,
.dropdown-item:active,
.dropdown-item:focus {
    color: initial;
    background-color: initial;
}

.topic_dropdown {
    min-width: 180px;
    padding: 0.6rem;
}

.topic_dropdown .dropdown-item {
    padding: 0.5rem 0.8rem;
    border-radius: 0.5rem;
    cursor: pointer;
}

.topic_dropdown .dropdown-item:hover,
.topic_dropdown .dropdown-item:focus {
    background-color: var(--gray-25);
}

/* Show on hover */
.categories_dropdown.show .dropdown-menu {
    display: block;
    pointer-events: auto;
}

.categories_dropdown.animate .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
}

.card {
    text-decoration: none;
    color: initial;
}

/* ============================================ *
 * RADIO INPUT
 * ============================================ */

.radio_card_wrapper,
.radio_card,
.radio_card label {
    display: flex;
}

.radio_card_wrapper {
    flex-direction: column;
    max-height: 388px;
    gap: 0.75rem;
    padding-inline: 0 0.5rem;
    margin-block-start: 1rem;
    margin-inline-end: -0.75rem;
}

.search_input_container {
    background-color: var(--gray-25);
    padding-block: 0.312rem;
    padding-inline: 1rem 0;
    border-radius: 0.5rem;
    height: 3rem;
}

.radio_card label,
.radio_card input {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.radio_card label {
    padding: 0.6rem 0.75rem;
    align-items: center;
    flex: 1;
    justify-content: space-between;
    border-radius: 1rem;
    border: 1px solid var(--gray-200);
}

.radio_card label .label_text {
    color: var(--black);
    padding-inline-start: 1rem;
    font-weight: bold;
    margin-left: auto;
    font-size: 0.875rem;
}

.radio_card .circle {
    background-color: var(--gray-25);
    color: var(--secondary);
    border: 1px solid var(--gray-200);
}

.radio_card input,
.radio_card input:after,
.radio_card input:checked:after,
.radio_card input:checked:before {
    content: "";
    display: inline-block;
}

.radio_card input {
    position: relative;
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    text-align: left;
}

.radio_card:has(input:checked) .primary_label,
.radio_card:hover .primary_label {
    border-color: var(--primary) !important;
    background-color: var(--light-green) !important;
}

.radio_card:hover .primary_label .circle,
.radio_card:has(input:checked) .primary_label .circle {
    background-color: var(--light-green);
    color: var(--primary);
    border-color: var(--green-100) !important;
}

.radio_card input:after,
.radio_card input:checked:after {
    height: 100%;
    width: 100%;
}

.radio_card input:checked:after {
    background-repeat: no-repeat;
    background-position: center;
}

.radio_card input.radio_circle:checked:after {
    background-image: url(../img/checked.svg);
    background-size: contain;
}

/* ============================================ *
 * HEADINGS - TEXT-SIZE - TEXT-COLOR
 * ============================================ */

h1,
h2,
h3,
h4,
h5,
h6,
p {
    line-height: 150%;
    margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

h1,
.heading_lg {
    font-size: 3rem;
}

h2,
.heading_md {
    font-size: 2.25rem;
}

h3,
.heading_sm {
    font-size: 2rem;
}

h4,
.heading_xs {
    font-size: 1.5rem;
}

.text_xl {
    font-size: 1.25rem;
}

.text_lg {
    font-size: 1.125rem;
}

.text_base,
.title_secondary {
    font-size: 1rem;
}

.text_sm {
    font-size: 0.875rem;
}

.text_xs {
    font-size: 0.75rem;
}

.text_primary {
    color: var(--primary);
}

.text_secondary,
.title_secondary {
    color: var(--secondary);
}

.text_gray_500 {
    color: var(--gray-500);
}

.text_yellow {
    color: var(--yellow-200);
}

.link_primary {
    color: var(--primary) !important;
    gap: 0.3rem;
    font-weight: bold;
    padding-bottom: 0.01rem;
    border-bottom: 2px solid transparent;
    text-decoration: none;
    transition: border-bottom-color 0.1s ease;
}

.link_primary:hover {
    border-bottom-color: var(--primary);
}

.badge {
    font-size: 0.875rem;
    line-height: 150%;
    color: var(--secondary);
    align-self: center;
    background-color: var(--gray-25);
    font-weight: normal;
    border-radius: 0.5rem;
}

.badge_title {
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--white);
    padding: 0.25rem 0.75rem;
    background-color: var(--yellow-200);
    border-radius: 50em;
}

.lang_badge {
    align-self: end;
    margin-inline-start: auto;
    border: 1px solid var(--gray-100);
}

.ellipsis * {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ============================================ *
 * SCROLLBAR
 * ============================================ */

.scroll {
    direction: ltr;
    overflow: auto;
}

.scroll > * {
    direction: rtl;
}

.scroll_left {
    direction: rtl;
}

.scroll_left > * {
    direction: ltr;
}

.scroll::-webkit-scrollbar {
    width: 6px;
}

.scroll::-webkit-scrollbar-thumb {
    background-color: #9ca3af;
    -webkit-border-radius: 0.5rem;
    border-radius: 0.5rem;
}

.scroll::-webkit-scrollbar-track {
    background-color: var(--white);
}

/* ============================================ *
 * OWL CAROUSEL
 * ============================================ */

.owl_nav_container {
    padding-bottom: 1.5rem;
}

.owl_nav_container .owl-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.owl_nav_container .owl-nav [class*="owl-"] {
    margin: 0;
    background: none !important;
}

.owl_nav_container .owl-nav button.owl-next,
.owl_nav_container .owl-nav button.owl-prev {
    padding: 0.844rem 0.688rem !important;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    line-height: 0;
}

.owl_nav_container .owl-nav .disabled {
    opacity: initial;
    border-color: transparent !important;
}

.three_cards_carousel .owl-item {
    opacity: 0.32;
}

.three_cards_carousel .owl-item.active.center {
    opacity: 1;
}

.three_cards_carousel.owl-theme .owl-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    margin-top: 1.2rem;
    padding: 0.2rem;
    background-color: var(--white);
}

.three_cards_carousel.owl-theme .owl-dots .owl-dot,
.three_cards_carousel.owl-theme .owl-dots .owl-dot span {
    width: 6px;
    height: 6px;
    background: var(--green-100);
    background-color: var(--green-100);
    border-radius: 20px;
    margin: 0;
    transition: width 0.5s ease, background-color 0.3s ease;
    overflow: hidden;
}

.three_cards_carousel.owl-theme .owl-dots .owl-dot.active,
.three_cards_carousel.owl-theme .owl-dots .owl-dot.active span {
    width: 20px;
    background: var(--green-200);
    background-color: var(--green-200);
    transition: width 0.5s ease, background-color 0.3s ease;
}

/* ============================================ *
 * CONTAINER
 * ============================================ */

@media (min-width: 768px) {
    .container-md,
    .hero_container {
        max-width: 90%;
    }
}

@media (min-width: 1400px) {
    .container-md {
        max-width: 1248px;
    }

    .hero_container {
        max-width: 1344px;
    }
}

/* ============================================ *
 * HEADER - MAIN - SECTION
 * ============================================ */

header {
    background-color: var(--white);
}

main {
    overflow: hidden;
}

.main_content {
    padding-top: 80px;
}

.main_content_lg {
    padding-top: 112px;
}

.pt_main {
    padding-top: 7rem;
}

.pt_main_sm {
    padding-top: 4rem;
}

.page_inner_header {
    padding: 8.25rem 0;
    background: url(../img/main-section-bg.svg) no-repeat center center;
    background-size: cover;
    box-shadow: inset 0px -20px 40px 10px #ffffff;
}

.title_container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-bottom: 1.5rem;
}

.title_container_center,
.inner_title_container {
    text-align: center;
    justify-content: center;
    align-items: center;
    margin: auto;
}

.inner_title_container {
    gap: 1rem;
    padding-bottom: 0 !important;
}

.title_container_xxl {
    max-width: 750px;
}

.title_container_xl {
    max-width: 670px;
}

.title_container_lg {
    max-width: 600px;
}

.title_container_md {
    max-width: 580px;
}

.title_container_sm {
    max-width: 540px;
}

.title_container_xs {
    max-width: 500px;
}

.navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-100);
}

.navbar-nav {
    padding-inline-start: 2rem;
    position: relative;
}

.navbar-brand {
    margin-inline-end: auto;
    margin-inline-start: 0;
    padding: 0;
    max-width: 100px;
}

.nav-item,
.nav-link {
    position: static;
}

.navbar-nav .nav-link {
    color: var(--secondary) !important;
    padding: 0.5rem 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.navbar-nav .category_link {
    background-color: var(--gray-25);
    border-radius: 1rem;
    gap: 0.7rem;
    color: var(--black) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem !important;
    text-align: center;
    font-size: 1.125rem;
}

.navbar-nav .category_link {
    transition: background-color 0.2s ease, color 0.1s ease;
}

.navbar-nav .category_link:hover {
    background-color: var(--primary);
    color: var(--yellow-200) !important;
}

.left_menu {
    gap: 0.75rem;
    padding-inline-start: 1rem;
}

#nav_search_input_container {
    width: 38px;
    opacity: 0;
    transition: width 0.5s ease, padding-right 0.5s ease, opacity 0.5s ease;
    overflow: hidden;
    border-radius: 0.5rem;
    min-height: 40px;
    margin-left: -39px;
    background-color: var(--white);
    border: 1px solid var(--gray-200);
}

#nav_search_input_container.expanded {
    width: 220px;
    opacity: 1;
    padding-inline-start: 0.5rem;
    z-index: 1;
    margin-left: -39px;
    transition: width 0.5s cubic-bezier(0.33, 1, 0.68, 1),
        padding-right 0.4s ease, opacity 0.4s ease;
}

#nav_search_input_container.expanded .form-control {
    padding-inline-end: 0.5rem;
    transition: all 0.5s ease-in;
}

#nav_search_input_container .form-control {
    transition: all 0.5s ease-in;
}

#search_nav_form_btn {
    opacity: 1;
    transition: opacity 0.9s ease;
}

#search_nav_form_btn.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* ============================================ *
 * HERO
 * ============================================ */

.hero_section_banner {
    height: calc(100vh - 116px);
    max-height: 500px;
    position: relative;
}

.hero_section_banner,
.hero_slider_item {
    border-radius: 1.5rem;
    overflow: hidden;
}

.hero_text_container {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    padding: 1.5rem;
    z-index: 11;
}

.hero_carousel,
.owl-carousel .owl-stage-outer,
.owl-stage,
.owl-item,
.hero_slider_item {
    height: 100%;
}

.hero_slider_item {
    padding: 2rem;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.hero_slider_item.hero_slide_1 {
    background-image: url(../img/slider-1.webp);
}

.hero_slider_item.hero_slide_2 {
    background-image: url(../img/slider-2.webp);
}

.hero_slider_item.hero_slide_3 {
    background-image: url(../img/slider-3.webp);
}

.hero_slider_item.hero_slide_4 {
    background-image: url(../img/slider-4.webp);
}

.owl_dots_container .owl-dots {
    height: 26px;
    display: flex;
    gap: 0.5rem;
}

.owl_dots_container .owl-dots .owl-dot {
    border: none;
    background-color: transparent;
    padding: 0;
    vertical-align: middle;
}

.owl_dots_container .owl-dots .owl-dot span {
    display: block;
    height: 8px;
    width: 8px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.38);
}

.owl_dots_container .owl-dots .owl-dot.active span {
    height: 26px;
    border-radius: 5px;
    background-color: var(--white);
    transition: all 0.5s ease;
}

.hero_qr {
    width: 140px;
    height: 140px;
    padding: 0.625rem;
    background-color: var(--white);
    border-radius: 1rem;
    border: 1px solid var(--gray-200);
}

/* ============================================ *
 * LANGUAGE
 * ============================================ */

.search_input_container.lang_search {
    padding-inline: 1rem 0.2rem;
    border-radius: 1rem;
    max-width: 400px;
    gap: 1rem;
    margin: auto;
}

.lang_card {
    padding: 0.75rem;
    color: var(--black);
    border: 1px solid var(--gray-100);
    border-radius: 1rem;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    transition: background-color 0.1s ease-in;
}

.lang_card .qr_square {
    padding: 0.375rem;
    background-color: var(--gray-25);
}

.lang_card .qr_square img {
    width: 100%;
}

.lang_card .ellipsis {
    max-width: 55%;
}

.lang_card:hover {
    background-color: var(--gray-100);
}

.lang_card:hover h3 {
    color: var(--primary);
}

.lang_card:hover .badge {
    border-color: var(--gray-200);
}

/* ============================================ *
 * SHARE QR
 * ============================================ */

.share_qr {
    background-color: var(--green-200);
    background-image: url(../img/illustration.svg), url(../img/share-qr-bg.svg);
    background-position: center, left center;
    background-repeat: no-repeat, no-repeat;
    background-size: auto;
    padding: 1rem 1rem;
    border-radius: 1rem;
}

/* ============================================ *
 * SUBJECTS
 * ============================================ */

.main_nav_tab {
    padding: 0;
    background-color: var(--gray-100);
    border-radius: 0.5rem;
}

.type_nav_tab {
    gap: 0.75rem;
}

.subject_card {
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid var(--gray-100);
    gap: 1rem;
}

.subject_card .card_header {
    min-height: 148px;
    height: 148px;
    max-height: 148px;
    background-color: var(--gray-25);
    border-radius: 0.5rem;
    position: relative;
    padding: 0.875rem;
}

.img_cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0.5rem;
}

.readable_img_cover {
    max-width: 85px;
    border-radius: 0;
}

.subject_link {
    position: absolute;
    bottom: -1.5rem;
    left: 1rem;
    z-index: 1;
}

/* ============================================ *
 * AYAT - HADITH
 * ============================================ */

.carousel_card {
    border-radius: 1rem;
    align-items: center;
    text-align: center;
    color: var(--black);
    gap: 1.5rem;
    padding: 2.5rem;
    border: none;
    background-color: var(--gray-25);
}

.ayat_card {
    background: var(--gray-25) url(../img/ayat-card-bg.svg) no-repeat left top;
}

.hadith_card {
    border: 1px solid var(--gray-200);
    background-image: url(../img/card-illustration-right.png),
        url(../img/card-illustration-left.png);
    background-repeat: no-repeat, no-repeat;
    background-position: right center, left center;
    padding: 1rem 6.563rem;
    background-size: contain;
}

.carousel_card,
.carousel_card .badge {
    transition: all 0.25s ease;
}

.carousel_card:hover {
    background-color: var(--primary);
    color: var(--white);
}

.carousel_card:hover p {
    font-weight: normal !important;
}

.carousel_card:hover .badge {
    background-color: rgba(208, 220, 217, 0.21) !important;
    color: var(--white);
}

.carousel_card:hover img {
    filter: brightness(0) saturate(100%) invert(99%) sepia(0%) saturate(1263%)
        hue-rotate(350deg) brightness(113%) contrast(100%);
}

/* ============================================ *
 * FAQ
 * ============================================ */

.accordion-item {
    border: 1px solid var(--gray-200) !important;
    border-radius: 1rem !important;
    transition: background-color 0.2s ease-in-out;
}

.accordion-item.active {
    background-color: var(--gray-25);
}

.accordion-header {
    position: relative;
    z-index: 1;
}

.accordion-button {
    font-size: 1.125rem;
    background-color: transparent !important;
    border-radius: 0 !important;
    color: var(--black) !important;
    padding: 1.5rem;
    text-align: right;
    gap: 3rem;
    align-items: start;
    position: relative;
    letter-spacing: 0;
    border-radius: 1rem !important;
}

.accordion-button:hover {
    background-color: var(--gray-25) !important;
}

.accordion-button:not(.collapsed) {
    letter-spacing: -0.09px;
    font-weight: bold;
}

.accordion-button::after {
    margin-right: auto;
    margin-left: initial;
    background-image: url("../img/plus-black.svg");
    margin-top: 0.25rem;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("../img/minus-black.svg");
    transform: none;
}

.accordion-collapse {
    transform: translateY(-1rem);
    position: relative;
    z-index: 2;
}

.accordion-body {
    max-width: 90%;
    padding-top: 0;
    padding-bottom: 0.5rem;
    overflow: hidden;
    line-height: 145%;
}

/* ============================================ *
 * ABOUT
 * ============================================ */

.about_card {
    height: 100%;
    background-color: var(--gray-25);
    border: 1px solid var(--gray-200);
    border-radius: 1.5rem;
    padding: 2rem 2.5rem;
    justify-content: end;
}

.about_img_container {
    margin: 0 auto;
}

.about_img_4 {
    margin: 1rem -2.5rem 0;
    opacity: 0.64;
}

.about_img_container img {
    width: 100%;
}

.about_card_1 {
    background-image: url(../img/about-bg-right.svg),
        url(../img/about-card-circle.png);
    background-repeat: no-repeat, no-repeat;
    background-position: right center, center center;
    background-size: contain;
}

.about_title {
    max-width: 430px;
    padding-top: 2.4rem;
    padding-bottom: 0;
    margin-right: 0 !important;
    margin-left: 0 !important;
    gap: 0.5rem;
}

/* ============================================ *
 * BOOK PAGE
 * ============================================ */

.book_right_side {
    max-width: 336px;
    flex: 0 0 336px;
}

.book_card {
    border: none;
    gap: 1.25rem;
}

.book_card_body {
    min-height: 400px;
    background-color: var(--gray-25);
    border-radius: 1.5rem;
    padding: 5.75rem 4.5rem;
}

.book_card_body img {
    width: 100%;
    box-shadow: 0px 18px 40px 0px rgba(0, 0, 0, 0.06);
}

.details_li {
    gap: 90px;
}

.details_title {
    min-width: 62px;
    justify-content: space-between;
}

.tafseer {
    padding-top: 4rem;
}

.tafseer_container {
    padding: 2rem;
    background-color: var(--gray-25);
    border-radius: 1.5rem;
}

.tafseer_text {
    color: var(--secondary);
}

/* ============================================ *
 * AUDIO - VIDEO PAGES
 * ============================================ */

.hero_section_header {
    height: 514px;
    border-radius: 1.5rem;
    padding: 2rem;
    background: url(../img/audio-bg.jpg) no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.hero_overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(39, 40, 43, 0.64);
    backdrop-filter: blur(8px);
    z-index: 1;
}

/* ============================================ *
 * ABOUT PAGE
 * ============================================ */

.about_inner_header {
    padding: 4rem 0 2rem;
    background: #fdfdfd url(../img/about-bg.svg) no-repeat center right;
}

.users_container {
    direction: ltr;
}

.user_circle {
    border: 1px solid var(--white);
    margin-right: -0.8rem;
}

.ticker {
    width: 100%;
    overflow: hidden;
    background: #fff;
    direction: ltr;
}

.ticker_wrapper {
    display: flex;
    width: max-content;
}

.ticker_content {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    padding-right: 1rem;
}

.ticker_animate {
    animation: ticker-scroll linear infinite;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.about_info {
    border-radius: 1.5rem;
    padding: 3.5rem;
    background: rgba(60, 119, 104, 0.04) url(../img/about-info-bg.svg) no-repeat
        bottom left;
}

.about_info.our_goal {
    background: rgba(253, 251, 243, 1);
}

.about_info .title_container {
    padding-bottom: 0;
    max-width: 700px;
}

/* ============================================ *
 * CONTACT
 * ============================================ */

.rating {
    display: flex;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.rating > input {
    display: none;
}

.rating > label {
    cursor: pointer;
    width: 40px;
    height: 40px;
    background-image: url(../img/star-gray.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 76%;
    transition: 0.3s;
}

.rating > input:not(:checked) ~ label:hover,
.rating > input:not(:checked) ~ label:hover ~ label,
.rating > input:checked ~ label,
.rating > input:checked ~ label ~ label {
    background-image: url(../img/star.svg);
}

.contact_input_container {
    border-radius: 1rem;
    background-color: var(--gray-25);
    padding: 1.094rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex: 1 0 0%;
}

.contact_input_container *,
.contact_input_container *:focus {
    font-size: 1rem;
}

.contact_input_container textarea {
    margin-top: -3px;
}

/* ============================================ *
 * FOOTER
 * ============================================ */

.footer_body {
    background-color: var(--gray-25);
    border-radius: 1.5rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.footer_links_list {
    list-style-type: none;
    padding: 0 0 1.5rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer_body .title_container {
    padding-bottom: 2.5rem;
}

.footer_link {
    font-size: 0.875rem;
    border-bottom: 2px solid transparent;
    text-decoration: none;
    color: var(--secondary);
    display: inline-block;
    transition: border-bottom-color 0.3s ease, color 0.2s ease;
}

.footer_link:hover {
    color: var(--yellow-200);
    border-bottom-color: var(--yellow-200);
}

.input_container {
    display: flex;
    align-items: center;
    background-color: var(--white);
    padding: 0.312rem 1rem 0.312rem 0;
    border-radius: 50rem;
}

.input_container .btn {
    line-height: 0;
    padding: 0.564rem 1rem;
}

.input_container .form-control::placeholder {
    color: var(--gray-500);
}

.copyright {
    border-top: 1px solid var(--gray-200);
    padding-top: 1.5rem;
}

.copyright * {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* ============================================ *
 * RESPONSIVE
 * ============================================ */

@media (min-width: 768px) {
    .navbar-expand-md .navbar-collapse {
        display: block !important;
    }

    .navbar-expand-md .navbar-nav {
        align-items: center;
        gap: 1.5rem;
    }

    .navbar-nav.scroll {
        direction: rtl;
        overflow: initial;
    }

    .hero_section_banner .heading_lg,
    .hero_section_banner .title_secondary {
        color: var(--white);
    }

    .hero_section_banner .title_secondary {
        font-size: 1.25rem;
    }

    .border_md_bottom {
        border-bottom: 1px solid var(--gray-100);
    }

    .three_cards_carousel.owl-theme .owl-dots {
        display: none !important;
    }

    .accordion {
        padding-top: 1.5rem;
        padding-bottom: 3rem;
    }

    .footer_link {
        max-width: 180px;
    }
}

@media (max-width: 1199px) {
    .categories_dropdown_menu {
        padding: 0.8rem;
    }

    .navbar-nav .category_link {
        font-size: 0.8rem;
        padding: 0.5rem !important;
    }

    .pt_main,
    .pt_main_sm {
        padding-top: 3.75rem;
    }

    .lang_card .circle_xl {
        min-width: 48px;
        width: 48px;
        max-width: 48px;
        min-height: 48px;
        height: 48px;
        max-height: 48px;
    }

    .lang_card .qr_square {
        padding: 0.625rem;
    }

    .hadith_card {
        padding: 1rem;
        background-image: none;
    }
}

@media (max-width: 991px) {
    .navbar-brand {
        max-width: 100px;
    }

    .categories_dropdown_menu {
        right: 0;
        width: calc(100% + 135px);
    }

    .accordion-collapse {
        transform: translateY(-0.5rem);
    }

    .accordion-button {
        font-size: 1rem;
        padding: 1rem;
    }

    .accordion-button::after {
        margin-top: 0.16rem;
    }

    .accordion-body {
        font-size: 0.75rem;
    }

    .about_card {
        padding: 1.5rem;
        background-image: none;
    }

    .about_img_4 {
        margin: auto -1.5rem;
    }

    .footer_list_title {
        font-size: 1rem;
    }

    .footer_link {
        font-size: 0.75rem;
    }
}

@media (max-width: 767px) {
    .fade {
        transition: opacity 0s ease-out;
    }

    .modal.fade,
    .modal.fade .modal-dialog {
        transition: transform 0s ease-out, opacity 0.1s ease;
        opacity: 1;
    }

    .modal-body {
        padding-block: 1.5rem;
    }

    .modal-content {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .qr_container {
        width: 88px;
        height: 88px;
    }

    .navbar-collapse {
        display: block !important;
        width: 270px;
        height: calc(100vh - 1rem) !important;
        height: calc(100dvh - 1rem) !important;
        position: fixed;
        top: 0.5rem;
        right: 0.5rem;
        bottom: 0.5rem;
        background-color: var(--white);
        border-radius: 0.75rem;
        transition: height 0s ease-in, right 0.7s ease;
        z-index: 1050;
        overflow: hidden;
        padding: 1rem;
    }

    .navbar-collapse.collapse:not(.show) {
        display: block;
        right: -270px;
        transition: height 0s ease-in, right 0.8s ease;
    }

    #nav_overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 1020;
        background-color: rgba(28, 28, 28, 0.32);
        display: none;
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    .navbar-nav {
        padding-inline-start: 0;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }

    .nav_mob_header {
        padding: 0.5rem 0 1.75rem 0;
    }

    .categories_dropdown_menu {
        min-width: auto;
        width: 100%;
        border: none;
        border-radius: 0;
        padding: 0 !important;
        margin-top: 0 !important;
        display: block;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .mob_fixed_bottom {
        position: fixed;
        bottom: 0;
        top: initial !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 100%;
        max-width: 375px;
        min-width: auto;
        border: none;
        z-index: 1080;
        box-shadow: none;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        margin: 0;
        height: 100%;
        max-height: fit-content;
        min-height: auto;
    }

    .navbar-nav {
        height: calc(100% - 80px);
        padding-inline-end: 0.5rem;
        margin-inline-end: -0.5rem;
    }

    .navbar-nav .nav-link,
    .navbar-nav .category_link {
        flex-direction: row;
        justify-content: start;
        padding: 0.75rem !important;
        border-radius: 0.625rem;
        font-size: 1rem;
        color: var(--secondary) !important;
        background-color: var(--white);
        gap: 0.8rem;
    }

    .navbar-nav .nav-link.active {
        background-color: var(--gray-100);
        color: var(--black) !important;
        font-weight: bold;
    }

    .navbar-nav .nav-link img {
        min-width: 25px;
    }

    .navbar-nav .nav-link.active img {
        filter: brightness(0) saturate(100%) invert(14%) sepia(8%)
            saturate(2256%) hue-rotate(176deg) brightness(91%) contrast(93%);
    }

    .navbar-brand {
        max-width: 80px;
    }

    .left_menu {
        flex-direction: row-reverse;
        position: absolute;
        left: 1rem;
    }

    .right_menu {
        flex-direction: row-reverse;
        position: absolute;
        right: 5rem;
    }

    #nav_search_input_container {
        transition: width 0.2s ease-in 0.2s, padding-right 0.2s ease 0.2s,
            opacity 0.1s ease;
    }

    #nav_search_input_container.expanded {
        z-index: 1080;
    }

    .nav_mob_btn {
        background-color: var(--white);
        border: 1px solid var(--gray-200);
        padding: 0;
        border-radius: 0.5rem !important;
    }

    .lang_btn .circle {
        box-shadow: none;
    }

    .lang_btn .circle img {
        max-width: 18px;
    }

    .radio_card_wrapper {
        max-height: 285px;
    }

    .main_content,
    .main_content_lg {
        padding-top: 73px;
    }

    .pt_main,
    .pt_main_sm {
        padding-top: 3.5rem;
    }

    .title_container {
        text-align: center;
        margin-right: auto;
        margin-left: auto;
        padding-bottom: 2rem;
        gap: 1rem;
    }

    h1.heading_lg,
    h1.heading_md {
        font-size: 2rem;
    }

    h2.heading_sm,
    h1.heading_sm,
    h2.heading_md {
        font-size: 1.5rem;
    }

    .text_xl {
        font-size: 1.125rem;
    }

    .heading_xs {
        font-size: 1.125rem;
    }

    .text_lg {
        font-size: 1rem;
    }

    .title_secondary {
        font-size: 0.875rem;
    }

    .hero_text_container {
        background: #fdfdfd url(../img/about-bg.svg) no-repeat center center;
    }

    .lang_card {
        padding: 1rem;
    }

    .lang_card .ellipsis {
        max-width: 35%;
    }

    .hero_qr {
        width: 100px;
        height: 100px;
        padding: 0.2rem;
        border-radius: 0.5rem;
    }

    .share_qr {
        background-image: url(../img/illustration.svg),
            url(../img/share-qr-bg-mobile.svg);
        background-position: center, left bottom;
        padding: 4.5rem 2rem;
    }

    .subjects_nav {
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
        width: 100%;
        border-bottom: 1px solid var(--gray-100);
    }

    .subject_link {
        bottom: -1.25rem;
        min-width: 40px;
        width: 40px;
        max-width: 40px;
        min-height: 40px;
        height: 40px;
        max-height: 40px;
    }

    .carousel_card {
        padding: 1rem;
    }

    .three_cards_carousel .owl-item.active {
        opacity: 1;
    }

    .owl-stage {
        padding-inline-start: 0 !important;
    }

    .accordion {
        padding-top: 0;
        padding-bottom: 2rem;
    }

    .accordion-body {
        max-width: 80%;
        line-height: 160%;
    }

    .about_title {
        text-align: right;
        padding-bottom: 0;
        gap: 0.5rem;
    }

    /*language page*/

    .page_inner_header,
    .hero_text_container {
        padding: 5.625rem 0;
    }

    .tafseer_container {
        padding: 1rem;
    }

    .hero_text_container {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    /*audio - video pages*/

    .play_btn {
        min-width: 56px;
        width: 56px;
        max-width: 56px;
        min-height: 56px;
        height: 56px;
        max-height: 56px;
        border-radius: 50% !important;
        padding: 0;
    }

    /*about*/

    .about_info {
        background-image: none !important;
    }

    /*footer*/

    .footer_body {
        padding: 1.5rem 1rem;
    }

    .footer_body .title_container {
        padding-bottom: 2rem;
    }

    .footer_list_title,
    .footer_links_list {
        text-align: center;
    }
}

@media (max-width: 330px) {
}
