/*
Project         :  guidancecontent
Version         :  0.1
Author          :  Rowad
Developer       :  Kareem Sultan (HTML-CSS)
Framework       :  Bootstrap 5
Date            :  4/11/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: #F8FDFF;
  --green-100: #3B7597;
  --green-200: #6B8E80;
  --gray-25: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-500: #6B7280;
  --yellow-200: #DCB63B;
  --gold: #c3a46d;
}

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

@font-face {
  font-family: 'Almarai';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/Almarai-Light.woff2') format('woff');
}

@font-face {
  font-family: 'Almarai';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Almarai-Regular.woff2') format('woff2');
}


@font-face {
  font-family: 'Almarai';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/Almarai-Bold.woff2') format('woff2');
}

@font-face {
  font-family: 'Almarai';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/Almarai-ExtraBold.woff2') format('woff2');
}

@font-face {
  font-family: 'Noto';
  font-style: normal;
  font-weight: 100 900;
  src: url('../fonts/NotoSans-VariableFont_wdth\,wght.woff2') format('woff2');
}

@font-face {
  font-family: 'Lotus';
  src: url('../fonts/Lotus.woff') format('woff');
  src: local('â˜º'), url('../fonts/Lotus.woff') format('truetype'), url('../fonts/Lotus.woff') format('svg');
  font-weight: normal;
  font-style: normal;
}

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

body {
  font: 400 1rem / 1.35 "Almarai", "Noto", sans-serif;
  color: var(--black);
  background-color: var(--white);
  scroll-behavior: smooth;
}

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

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

.modal-content {
  border-radius: 1rem;
  padding: 2.5rem 1.75rem;
  position: relative;
  border-top: 6px solid var(--green-100);
  border-bottom: 6px solid var(--green-100);
}

.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;
}

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

.btn,
.btn.active:focus,
.btn:active:focus,
.btn:focus,
.btn:hover,
.btn:active,
.btn:active:focus,
.form-control,
.form-control:focus {
  box-shadow: none !important;
}

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

.btn {
  padding: 0;
  position: relative;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  transition: all .2s ease-in-out;
}

.btn_xl {
  padding: 0.7rem 1rem;
}

.btn_lg {
  padding: 0.5rem 2.5rem;
}

.btn_sm {
  padding: .75rem;
}

.btn_xs {
  padding: 0.25rem 1rem;
}

.btn_gold {
  background-color: var(--green-100);
  color: var(--white);
  border-color: var(--green-100) !important;
}

.btn_gold:hover {
  background-color: var(--white);
  color: var(--green-100);
}

.btn_gold:hover svg path {
  fill: var(--green-100);
}

.btn svg path {
  transition: fill 0.2s ease-in-out;
}

.btn_outline_gold {
  border: 1px solid var(--green-100);
  color: var(--green-100);
}

.btn_hover_gold:hover img,
.btn_hover_gold[aria-expanded="true"] img,
.social_link:hover img {
  filter: brightness(0) saturate(100%) invert(40%) sepia(43%) saturate(637%) hue-rotate(158deg) brightness(93%) contrast(82%);
}

.btn_outline_gold:hover,
.btn_outline_gold.active {
  background-color: var(--green-100);
  color: var(--white);
}

.lang_btn {
  padding: .5rem;
  color: var(--secondary);
  gap: .5rem;
  border: 1px solid var(--green-100);
}

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

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

.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);
}

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

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

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

.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: 70px;
  width: 70px;
  max-width: 70px;
  min-height: 70px;
  height: 70px;
  max-height: 70px;
}

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

.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: .25rem;
  min-width: 312px;
  background-color: var(--white);
  border: 1px solid var(--green-100);
  text-align: start;
}

.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(--white);
  border: 1px solid var(--green-100);
  padding-block: 0.312rem;
  padding-inline: 1rem 0;
  border-radius: 0.25rem;
  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-top: 1px solid var(--green-100);
  border-bottom: 1px solid var(--green-100);
  background-color: var(--light-green);
  border-radius: 6px;
}

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

.radio_card .circle {
  background-color: var(--white);
  color: var(--secondary);
  border: 1px solid var(--green-100);
}

.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(--green-100) !important;
  background-color: rgba(80, 190, 255, 0.13) !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,
h5,
p {
  line-height: 150%;
  margin-bottom: 0;
}

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

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

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

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

a {
  text-decoration: none;
  color: var(--green-100);
}

a:hover {
  color: var(--black);
}

.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_primary {
  color: var(--green-100);
}

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

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

.link_primary {
  color: var(--green-100) !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(--green-100);
}

.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(--green-100);
  border-radius: 50em;
}

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

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

.scroll>* {
  direction: rtl;
}

.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-theme .owl-nav {
  margin-top: 1rem;
}

.owl-dots {
  margin-top: .5rem;
}

.owl-carousel {
  direction: ltr;
}

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

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

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

.owl_nav_container .owl-nav button.owl-next,
.owl_nav_container .owl-nav button.owl-prev {
  line-height: 0;
  border: 1px solid var(--green-100);
  transition: 0.2s ease-in-out;
  padding: 0.844rem 0.688rem !important;
}

.owl_nav_container .owl-nav button.owl-next:hover,
.owl_nav_container .owl-nav button.owl-prev:hover {
  background: var(--green-100) !important;
}

.owl_nav_container .owl-nav button.owl-next:hover img,
.owl_nav_container .owl-nav button.owl-prev:hover img,
.btn_borderd:hover img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7480%) hue-rotate(345deg) brightness(106%) contrast(101%);
}

/* ============================================ *
 * 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;
}

.section_wrapper {
  border-radius: .5rem;
  background-color: var(--white);
  padding: 2rem 1.5rem;
  border: 1px solid #f7f3ec;
  box-shadow: 0px 5px 13px 0px rgba(238, 238, 238, 0.329);
}

.main_content {
  padding-top: 145px;
}

.main_content_lg {
  padding-top: 200px;
}

.pt_main {
  padding-top: 7rem;
}

.page_inner_header {
  padding: 5rem 0 3rem;
  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_xl {
  max-width: 670px;
}

.title_container_lg {
  max-width: 600px;
}

.title_container_md {
  max-width: 580px;
}

.title_container_sm {
  max-width: 540px;
}

.title_container_xxs {
  max-width: 330px;
}

/* ============================================ *
 * NAVBAR
 * ============================================ */

header.active .navbar>.container-lg {
  margin-top: 0;
  border: 0;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

header.active .navbar {
  box-shadow: 0px 2px 10px rgba(238, 238, 238, 0.38);
}

header .navbar>.container-lg,
header.active .navbar>.container-lg {
  transition: all .4s ease-in-out;
}

.navbar {
  padding-top: 0;
  padding-bottom: 0;
}

.navbar>.container-lg {
  padding-top: 2rem;
  padding-bottom: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--green-100);
  border-bottom: 1px solid var(--green-100);
}

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

.navbar-brand {
  margin-left: auto;
  margin-right: 0;
  padding: 0;
  max-width: 100px;
}

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

.navbar-nav .nav-link {
  color: var(--gray-500) !important;
  padding: 0.5rem 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-weight: bold;
}

.navbar-nav .nav-link:hover {
  color: var(--green-100) !important;
}

.left_menu {
  gap: 0.75rem;
}

#nav_search_input_container {
  width: 38px;
  opacity: 0;
  transition: width 0.5s ease, padding-inline-start 0.5s ease, opacity 0.5s ease;
  overflow: hidden;
  border-radius: 0.25rem;
  min-height: 40px;
  margin-inline-end: -39px;
  background-color: var(--white);
  border: 1px solid var(--green-100);
}

#nav_search_input_container.expanded {
  width: 220px;
  opacity: 1;
  padding-inline-start: 0.5rem;
  z-index: 1;
  margin-inline-end: -39px;
  transition: width 0.5s cubic-bezier(0.33, 1, 0.68, 1), padding-inline-start 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 {
  padding: 6.25rem 0 12.75rem;
  background: linear-gradient(0deg, #eff9ff 0%, rgb(255 255 255) 50%, rgb(255 255 255 / 0%) 100%);
  margin-bottom: -250px;
}

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

.languages {
  padding-top: 10rem;
}

.languages .section_wrapper {
  border-top: none;
}

.search_input_container.lang_search {
  padding-inline: 1rem 0.2rem;
  border: 1px solid var(--green-100);
  max-width: 400px;
  gap: 1rem;
  margin: auto;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lang_card {
  padding: 0.75rem;
  color: var(--black) !important;
  border-top: 1px solid var(--green-100);
  border-bottom: 1px solid var(--green-100);
  border-right: none;
  border-left: none;
  border-radius: .5rem;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  transition: all 0.1s ease-in;
  background: var(--light-green);
}

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

.lang_card:hover {
  background: rgba(80, 190, 255, 0.13);
}

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

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

.qr .section_wrapper {
  padding: 1rem 1.5rem;
  box-shadow: none;
  border: none;
  border-top: 1px solid var(--green-100);
  border-bottom: 1px solid var(--green-100);
}

.qr .btn {
  position: relative;
}

.qr .btn img:last-child {
  position: absolute;
  left: .75rem;
  top: .75rem;
  opacity: 0;
  transition: opacity 0.15s ease-in-out;
}

.qr .btn:hover img:last-child {
  opacity: 1;
}

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

.subjects .section_wrapper {
  box-shadow: 0px 0px 13px 0px rgba(238, 238, 238, 0.329);
}

.type_nav_tab {
  gap: 0.75rem;
}

.subject_card {
  padding: 1rem;
  border-radius: .5rem;
  border-top: 1px solid var(--green-100);
  border-bottom: 1px solid var(--green-100);
  border-right: none;
  border-left: none;
  gap: .5rem;
  background: var(--light-green);
  height: 100%;
}

.subject_card .card_body {
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 1rem !important;
  display: flex;
  gap: 1rem
}

.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;
}

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

.carousel_card {
  border-radius: 1rem;
  align-items: center;
  text-align: center;
  color: var(--black);
  gap: .5rem;
  border-radius: 0;
  border: none;
  background-color: var(--light-green);
}

.share_container {
  padding: 1rem;
  border-radius: .5rem;
  background: url(../img/share-bg-1.png) no-repeat center center / 100% 100%;
  position: relative;
  overflow: hidden;
}

.share_container.share_bg_1 {
  background-image: url(../img/share-bg-1.png);
}

.share_container.share_bg_2 {
  background-image: url(../img/share-bg-2.png);
}

.share_container.share_bg_3 {
  background-image: url(../img/share-bg-3.png);
}

.share_container.share_bg_4 {
  background-image: url(../img/share-bg-4.png);
}

.carousel_card .share_container {
  direction: rtl;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.share_header {
  display: flex;
  align-items: center;
  position: relative;
}

.carousel_card .share_header {
  width: 100%;
  justify-content: center;
}

.share_header img.logo {
  max-width: 4.5rem;
}

#share .share_header {
  justify-content: space-between;
  padding-bottom: 1rem;
}

.surah_text_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .25rem;
  font-family: "Lotus", sans-serif;
  color: var(--white);
  position: relative;
}

.carousel_card .surah_text_container {
  text-align: start;
}

.carousel_card .surah_text_container * {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

#share .surah_text_container {
  text-align: center;
  padding: 1rem 0;
}

#share .surah_text_container,
#share .explain {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

#share .explain {
  padding-top: .5rem;
  margin-top: .5rem;
}

.surah_text {
  font-size: 2rem;
}

.carousel_card .surah_text {
  -webkit-line-clamp: 4;
}

.surah_name {
  font-size: 1rem;
  color: #B9A55D;
  font-weight: bold;
}

.explain {
  font-size: 1.125rem;
}

.carousel_card .explain {
  -webkit-line-clamp: 5;
}

.share_container .share_footer {
  border-top: 1px solid #666666;
  padding-top: 1rem;
}

.share_container .share_footer img.logo {
  max-width: 7.5rem;
}

.share_btn_container {
  width: 100%;
}

.qr_box {
  width: 2.625rem;
  height: 2.625rem;
  padding: .25rem;
  border-radius: .5rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--gray-25);
}

#share .modal-content {
  max-height: calc(100vh - 4rem);
  padding: 1rem 1.75rem;
  position: relative;
}

#share .modal-body {
  margin-block: 1rem;
  margin-inline-end: -1.25rem;
  padding-block: 0;
  padding-inline-end: .5rem;
}

.share_overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) -111.63%, rgba(0, 0, 0, 0.4) 106.01%);
}

.share_options {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem;
}

.bg_btn {
  height: 4.25rem;
  width: 4.25rem;
  border: 2px solid transparent !important;
  border-radius: .75rem;
  background-color: var(--white);
  padding: .125rem;
  overflow: hidden;
}

.bg_btn:hover,
.bg_btn:focus,
.bg_btn.active {
  border-color: var(--green-100) !important;
}

.bg_btn img {
  border-radius: .5rem;
}

.add_explanation {
  padding: .75rem;
  margin-top: 1rem;
  width: 100%;
}

.add_explanation:not(.collapsed) {
  background-color: transparent;
  color: var(--green-100);
}

.remove_exp_content {
  display: none;
}

.add_explanation:not(.collapsed) .remove_exp_content {
  display: flex;
}

.add_explanation:not(.collapsed) .add_exp_content {
  display: none;
}

.langs {
  margin-top: 1.5rem;
}

.langs .dropdown-menu {
  min-width: 12.5rem;
  padding-inline-start: .5rem;
}

.langs .lang_ul {
  max-height: 12.5rem;

}

.langs .lang_ul li {
  margin-inline-start: .5rem;
}

.langs .lang_btn {
  width: 100%;
  display: block;
  margin-bottom: .5rem;
  padding: .25rem .5rem;
  color: var(--white);
}

.langs .lang_btn:hover,
.langs .lang_btn.active {
  color: var(--black);
  background-color: var(--gray-100);
}

.langs .lang_btn:hover svg path {
  fill: var(--black);
}

.share_btn {
  padding: .75rem 1rem;
}

#share .modal-footer {
  padding-top: 1rem;
  border-top: 1px solid rgba(195, 164, 109, 0.329);
}

/* ============================================ *
 * FEATURES
 * ============================================ */

.features {
  padding-top: 10rem;
}

.features_cards {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap;
  width: 100%;
  gap: 1rem;
  position: relative;
}

.feature_card {
  padding: 1.5rem;
  border-radius: .5rem;
  gap: .6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--light-green);
  border-top: 1px solid var(--green-100);
  border-bottom: 1px solid var(--green-100);
  width: calc(50% - 10px);
  position: relative;
  z-index: 2;
  text-align: center;
}

.feature_card .website_logo {
  max-width: 180px;
  height: 65px;
  margin: auto;
}

.feature_card .website_logo img {
  width: 100%
}

/* ============================================ *
 * 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-top: 3px solid var(--green-100);
  border-bottom: 3px solid var(--green-100);
}

.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-top: 1px solid var(--green-100);
  border-bottom: 1px solid var(--green-100);
}

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

.text_wrapper {
  padding: 1.5rem;
  border-top: 2px solid var(--green-100);
  border-bottom: 2px solid var(--green-100);
  background-color: var(--light-green);
  border-radius: .5rem;
}

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

.contact_us {
  max-width: 800px;
  margin: auto;
}

.contact_form .form-control {
  border: 1px solid var(--gray-200);
  padding: .75rem;
  height: auto;
}

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

.footer_body {
  background: var(--light-green);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-top: 4px solid var(--green-100);
  border-bottom: 4px solid var(--green-100);
  border-radius: .5rem;
}

.footer_body .title_container>a>img {
  max-width: 150px;
}

.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 .3s ease, color .2s ease;
}

.footer_link:hover {
  color: var(--green-100);
  border-bottom-color: var(--green-100);
}

.footer_links,
.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;
    text-align: center;
    justify-content: center;
    padding: 0;
    overflow: initial;
    gap: 3rem;
  }

}

@media (max-width: 1199px) {

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

@media (max-width: 991px) {

  .navbar-brand {
    margin-right: .5rem;
  }

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

@media(max-width: 767px) {

  .fade {
    transition: opacity 0.0s ease-out;
  }

  .modal.fade,
  .modal.fade .modal-dialog {
    transition: transform 0s ease-out, opacity .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>.container-lg {
    margin-top: 0;
    padding: .25rem;
    border-top: none;
  }

  .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);
    transition: height .0s ease-in, right .7s ease;
    z-index: 1050;
    overflow: hidden;
    padding: 1rem;
  }

  .navbar-collapse.collapse:not(.show) {
    display: block;
    right: -270px;
    transition: height .0s ease-in, right .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 .5s ease;
  }

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

  .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 {
    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(--light-green);
    color: var(--black) !important;
    font-weight: bold;
    border-top: 1px solid var(--green-100);
    border-bottom: 1px solid var(--green-100);
    border-radius: 0;
  }

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

  .navbar-nav .nav-link.active img {
    filter: brightness(0) saturate(100%) invert(40%) sepia(43%) saturate(637%) hue-rotate(158deg) brightness(93%) contrast(82%);
  }

  .left_menu {
    gap: 0;
    padding-left: 2.25rem;
  }

  .left_menu .main_search_form {
    position: absolute;
    left: 0;
  }

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

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

  .section_wrapper {
    padding-inline-start: .5rem;
    padding-inline-end: .5rem;
  }

  .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 {
    padding-top: 3.5rem;
  }

  .title_container {
    text-align: center;
    margin-inline-start: auto;
    margin-inline-end: 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;
  }

  .text_lg {
    font-size: 1rem;
  }

  .title_secondary {
    font-size: 0.875rem;
  }

  .hero {
    padding: 3rem 1rem;
    margin-bottom: 0;
  }

  .lang_card {
    padding: 1rem;
  }

  .carousel_card {
    padding: 0;
  }

  .lang_card .square {
    display: none;
  }

  .languages {
    padding-top: 1rem;
  }

  /*language page*/

  .book_right_side {
    max-width: 200px;
  }

  .book_card_body {
    min-height: auto;
  }

  .page_inner_header {
    padding: 5.625rem 0 3rem;
  }

  .tafseer_container {
    padding: 1rem;
  }

  /*footer*/

  .footer_body {
    padding: 1.5rem 1rem;
  }

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


  .footer_links_list {
    text-align: center;
  }

  .surah_text {
    font-size: 1.25rem;
  }

  .explain {
    font-size: 1rem;
    line-height: 120%;
  }

  .bg_btn {
    height: 3.25rem;
    width: 3.25rem;
  }
}

@media (max-width: 500px) {
  .hero {
    padding-inline-start: 1rem;
    padding-inline-end: 1rem;
  }

  .feature_card {
    width: 100%;
  }

  .subject_card .link_primary {
    font-size: .875rem;
  }
}

/* ============================================ *
 * MEDIA PLAYER & ATTACHMENTS
 * ============================================ */

.video,
.audio {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
}

.video {
  height: 31.25rem;
  max-height: 31.25rem;
  border: 1px solid var(--gray-200);
}

.video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.audio {
  min-height: 15.25rem;
  max-height: 15.25rem;
  background: linear-gradient(267.33deg, #0A8270 28.13%, #62AFA3 97.99%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem 0;
}

.audio h2 {
  color: #fff;
  text-align: center;
  width: 75%;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.audio audio {
  width: 100%;
  margin-top: auto;
  background-color: transparent;
  filter: invert(1);
  accent-color: var(--white);
}

.pt_main_sm {
  padding-top: 2.5rem;
}

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

.min-w-0 {
  min-width: 0;
}

.btn_outline_gray_200 {
  border: 1px solid var(--gray-200);
  background: transparent;
}

.state_light_gray:hover {
  background-color: rgba(60, 119, 104, 0.08);
}

.lang_btn_lg {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.375rem 1.25rem 0.375rem 0.375rem;
  border-radius: 50rem;
  font-weight: 600;
  font-size: 0.9375rem;
}

html[dir="ltr"] .lang_btn_lg {
  padding: 0.375rem 0.375rem 0.375rem 1.25rem;
}

.attachment_card {
  width: calc(100% / 3 - 0.75rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1.25rem;
  border: 1px solid #E9E9E9;
  color: #1B2537;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  background-color: var(--white);
  box-sizing: border-box;
}

.attachment_card:hover,
.attachment_card:focus,
.attachment_card.active {
  color: var(--primary);
  border-color: var(--primary);
  background-color: rgba(60, 119, 104, 0.04);
}

.video_card_cover_img {
  width: 4.5rem;
  height: 4.5rem;
  min-width: 4.5rem;
  min-height: 4.5rem;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0.75rem;
  background-color: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video_card_cover_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0.75rem;
}

.attachment_card .badge {
  font-size: 0.75rem;
  padding: 0.125rem 0.5rem;
}

h3.attachment_title,
.attachment_title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1B2537;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  line-height: 1.4;
}

.attachment_card:hover h3.attachment_title,
.attachment_card.active h3.attachment_title {
  color: var(--primary);
}

.attachment_btn,
button.attachment_btn,
a.attachment_btn {
  padding: 0.375rem;
  border-radius: 0.5rem;
  border: 1px solid var(--gray-200);
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.attachment_btn:hover,
button.attachment_btn:hover,
a.attachment_btn:hover {
  background-color: var(--gray-200);
}

.attachment_btn img {
  width: 1rem;
  height: 1rem;
}

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

  h3.attachment_title,
  .attachment_title {
    font-size: 0.75rem;
  }

  .attachment_card .badge {
    font-size: 0.625rem;
  }

  .attachment_btn,
  button.attachment_btn,
  a.attachment_btn {
    padding: 0.25rem;
  }

  .attachment_btn img {
    max-width: 0.875rem;
  }
}

@media (max-width: 991px) {
  .attachment_card {
    width: calc(50% - 0.5rem);
  }
}

@media (max-width: 500px) {
  .attachment_card {
    width: 100%;
  }

  .video_card_cover_img {
    width: 3.75rem;
    height: 3.75rem;
    min-width: 3.75rem;
    min-height: 3.75rem;
  }

  .video {
    height: auto;
    max-height: inherit;
    border-radius: 0.75rem;
  }
}
/* Asmaa Allah: the artwork is the card */
.asmaa_card_image {
  height: auto;
  display: block;
  border-radius: .5rem;
}

.share_container.image_only {
  background-image: none;
  background-color: transparent;
  padding: 0;
  gap: 0;
}

.asmaa_modal_image {
  height: auto;
  display: block;
  border-radius: .5rem;
}
