
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400..700&display=swap');

.poppins-thin {
    font-family: "Poppins", serif;
    font-weight: 100;
    font-style: normal;
  }
  
  .poppins-extralight {
    font-family: "Poppins", serif;
    font-weight: 200;
    font-style: normal;
  }
  
  .poppins-light {
    font-family: "Poppins", serif;
    font-weight: 300;
    font-style: normal;
  }
  
  .poppins-regular {
    font-family: "Poppins", serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .poppins-medium {
    font-family: "Poppins", serif;
    font-weight: 500;
    font-style: normal;
  }
  
  .poppins-semibold {
    font-family: "Poppins", serif;
    font-weight: 600;
    font-style: normal;
  }
  
  .poppins-bold {
    font-family: "Poppins", serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .poppins-extrabold {
    font-family: "Poppins", serif;
    font-weight: 800;
    font-style: normal;
  }
  
  .poppins-black {
    font-family: "Poppins", serif;
    font-weight: 900;
    font-style: normal;
  }
  
  .poppins-thin-italic {
    font-family: "Poppins", serif;
    font-weight: 100;
    font-style: italic;
  }
  
  .poppins-extralight-italic {
    font-family: "Poppins", serif;
    font-weight: 200;
    font-style: italic;
  }
  
  .poppins-light-italic {
    font-family: "Poppins", serif;
    font-weight: 300;
    font-style: italic;
  }
  
  .poppins-regular-italic {
    font-family: "Poppins", serif;
    font-weight: 400;
    font-style: italic;
  }
  
  .poppins-medium-italic {
    font-family: "Poppins", serif;
    font-weight: 500;
    font-style: italic;
  }
  
  .poppins-semibold-italic {
    font-family: "Poppins", serif;
    font-weight: 600;
    font-style: italic;
  }
  
  .poppins-bold-italic {
    font-family: "Poppins", serif;
    font-weight: 700;
    font-style: italic;
  }
  
  .poppins-extrabold-italic {
    font-family: "Poppins", serif;
    font-weight: 800;
    font-style: italic;
  }
  
  .poppins-black-italic {
    font-family: "Poppins", serif;
    font-weight: 900;
    font-style: italic;
  }

  .noto-naskh-arabic {
    font-family: "Noto Naskh Arabic", serif;
    font-optical-sizing: auto;
    font-style: normal;
  }
  
  
  body{
    font-family: "Noto Naskh Arabic", serif;
  }

/* Global Styles */


button:focus, button:active, .btn {
    outline: none !important;
    border: none !important;
}

li:focus-visible {
    outline: none !important;
}

.hide{
    display: none !important;
}

.h2, h2{
    font-size: 28px;
}

/* Menu */

nav ul li{
    font-size: 1.2rem;
}

/* End Menu */

/* Slider Container */
.slider-container {
    position: relative;
    height: 500px; /* Set the height of the slider container */
    overflow: hidden; /* Ensure no overflow beyond the container */
}

/* Slick Slider */
.slick-slider {
    height: 100%; /* Match the height of the container */
}

.slick-slider .slide img {
    width: 100%;
    height: 100%; /* Make images fill the slider container */
    object-fit: cover; /* Ensures images scale properly without distortion */
}

/* Sticky Text Overlay (50% width, centered) */
.slider-overlay {
    position: absolute;
    top: 0;
    left: 50%; /* Position from the left by 50% */
    transform: translateX(-50%); /* Center the element by shifting it left by 50% of its width */
    width: 70%; /* Set width to 50% */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
    /* text-align: center; */
    z-index: 1; /* Ensure it stays above the slider */
    color: #fff; /* White text for contrast */
}

/* Sticky Text Styles */
.slider-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.7);
    margin: 0;
}

.slider-subtitle {
    font-size: 2rem;
    margin-top: 10px;
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Increase dot size */
.slick-dots li button:before {
    font-size: 16px; /* Adjust the size of the dots (default is 10px) */
}

/* Change active dot color */
.slick-dots li.slick-active button:before {
    color: #007bff; /* Change to your desired color for active dots */
}

/* Change inactive dot color */
.slick-dots li button:before {
    color: #C0C0C0; /* Change to your desired color for inactive dots */
}

/* Adjust dot spacing if needed */
.slick-dots {
    bottom: -45px; /* Adjust the vertical position of dots */
}

/* Responsive Design */
@media (max-width: 768px) {
    .slider-title {
        font-size: 2rem;
    }
    .slider-subtitle {
        font-size: 1.2rem;
    }
}

.rtl {
    direction: rtl;
    text-align: right;
}

.card:hover,
.card i:hover {
    transform: translateY(-5px);
}

.card,
i {
    transition: transform 0.2s ease-in-out;
}

a {
    text-decoration: none;
}


/* Article List */

.home-article p{
    font-size: 1.2rem;
}

.article-card {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 15px;
}

.article-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.article-meta {
    font-size: 0.85rem;
    color: #777;
}

.article-header {
    margin-top: 20px;
    text-align: center;
}

.article-image {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.article-content {
    margin-top: 20px;
    /* line-height: 1.8; */
}

.article-meta {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #777;
}

/* End Article List */

/* Book Store List */

.home-book-store{
    p{
        font-size: 1.2rem;
    }
}

.book-card {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
}

.book-card:hover {
    transform: translateY(-5px);
}

.book-image {
    width: 100%;
    height: 205px;
    object-fit: fill;
}

.book-content {
    padding: 15px;
}

.book p{
    font-size: 1.2rem;
    margin: 0px;
}

.book-title {
    font-size: 1.2rem;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.book-author {
    font-size: 1.2rem;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.book-author {
    font-size: 1rem;
    color: #555;
}

.book-price {
    font-size: 1.1rem;
    color: #28a745;
}

/* End Book Store List */

/* Loader Full-Screen Background */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Progress Bar Container */
.loader-progress {
    width: 70%;
    height: 10px;
    background-color: #f3f3f3;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Progress Bar */
.progress-bar {
    width: 0%;
    height: 100%;
    background-color: #007bff;
    animation: progressBarAnimation 3s linear infinite;
}

/* Progress Animation */
@keyframes progressBarAnimation {
    0% {
        width: 0%;
    }
    50% {
        width: 50%;
    }
    100% {
        width: 100%;
    }
}

/* End Links List */

.links .link{    
    transition: transform 0.2s ease-in-out;
}

.links .link:hover {
    transform: translateY(-5px);
}

/* End Links List */

/* Contact */

.contact{
    background-image: url('../images/contact.png');
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* height: 555px; */
}

.contact .btn{
    background-color: #007bff;
}

.contact input, .contact textarea{
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.contact :-ms-input-placeholder, ::placeholder{
    font-size: 1.2vw;
}

/* End Contact */

/* Bible Audio and Text */

.bible-audio .audio, .bible-text .text{    
    transition: transform 0.2s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.bible-audio .audio:hover, .bible-text .text:hover {
    transform: translateY(-5px);
}

/* End Bible Audio and Text */

/* Home Page Smooth Slider */
.carousel1-container {
    width: 100%;
    overflow: hidden; /* Ensure items are contained */
}

.carousel1-item img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel1-item{
    margin: 10px;
}
/* End Home Page Smooth Slider */

/* Scripture  */


        /* Full-Screen Modal */
        .search-modal {
            display: flex;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(0, 0, 0, 0.9);
            z-index: 1050;
            justify-content: center;
            align-items: center;
            opacity: 0;
            visibility: hidden;
            transform: scale(0.8);
            transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out, visibility 0.5s;
        }
        .search-modal.show {
            opacity: 1;
            visibility: visible;
            transform: scale(1);
        }
        .search-box {
            /* width: 80%; */
            /* max-width: 600px; */
            text-align: center;
        }
        .search-box input {
            /* font-size: 26px; */
            text-align: center;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            transition: box-shadow 0.3s ease-in-out;
        }
        .search-box input:focus {
            box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
        }
        .close-btn {
            position: absolute;
            top: 20px;
            right: 30px;
            font-size: 30px;
            color: white;
            cursor: pointer;
            transition: transform 0.3s ease-in-out;
        }
        .close-btn:hover {
            transform: rotate(90deg);
        }

.scripture .nav-tabs .nav-link:focus{
    border: 1px solid #007bff !important;
}

 .navbar-brand {
    display: flex;
    align-items: center;
    padding: 2px 20px;
    margin: 0px;
    justify-content: center;
}

 .navbar-brand i {
    margin-left: 8px;
}

.simplebar-content>div:first-child {
    /* margin-bottom: 28px; */
}


.verse-number {
    color: red;
    vertical-align: sup;
}

.major-heading{
    color: #004274;
    font-weight: 500;
    font-size:1.4vw;
}

.bookintro{
   font-size:1.15vw; 
}

.studyheading, .modalheading{
    font-size:1.7vw;
    font-weight: 600;
}

.btn-font{
    font-size: 1.6vw;
}

.study-notes .crossreference{
    font-size: 1.09vw;
}

.modal-title{
    font-weight: 500;
    text-align: center;
    /* font-size:24px; */
}

.section-heading{
   color: #004274;
    font-weight: bold; 
    text-align: center;
    margin: 15px auto;
    font-size: 1.57vw;
}

#study-notes {
    background-color: #f3f3f3;
}

.sid {
    font-style: italic;
}
    /* Custom styling for scrollable sections */
 
.nav-tabs  .nav-item {
    border-radius: 20px;
    width: 22%;
}
.nav-tabs {
/* margin: 0px 0px 10px 0px; */
padding: 0px;
}


.nav-tabs .nav-link.active{
    border-color: #007bff !important;    
    background-color: #007bff !important;
    color: #fff !important;
}

.nav-tabs .nav-item button:hover {
    background-color: #007bff;
    color: #ffffff;
}

.nav-tabs .nav-item button {
    width: 100%;
    border: 1px solid #007bff;
    border-radius: 25px;
    background-color: #ffffff;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#book-select, #chapter-select {
    border-radius: 20px;
}

#simple-bar, #introduction, #resources, #study-notes  {
	/* border: 1px solid #cdc; */
  border-radius: .3rem;
  max-height: 73vh; 
  padding: 10px 10px 50px 10px;
}

.simplebar-track.simplebar-vertical {
  right: auto; /* Reset the default position */
  left: 0; /* Move the scrollbar to the left */
}

.simplebar-track.simplebar-horizontal {
    display: none;
}

.scripture select, .scripture .text-content, .scripture .sidebar-content, .audio-book .btn,
.sidebar-content, .modal button, #study-notes .verse, .next-chapter-book, .previous-chapter-book, 
.navbar-brand, .tooltip-large .tooltip-inner, #footnoteModal .verse, #bibleTabsContent h2, #chartpreviewData, #previewPeopleData, #chartpreviewData h4, #previewPeopleData h4,
.search-result p, .modal-body p, .modal-body ol li, .dictionarybible {
    font-size: 1.5vw;
    line-height: normal;
}

.scripture .Bible-text .verse, .scripture .Bible-text .verse-number sup{
    font-size: 1.7vw;
    line-height: normal;
}

#resourcesModal li {
    /* line-height: 50px; */
}

i.fa-solid.fa-earth-americas {
    color: #008f34;
}

i.fa-regular.fa-calendar {
    color: #ff0000;
}

i.fa-solid.fa-print.pe-2 {
    color: #0600ff;
}

i.fa-brands.fa-megaport {
    color: #000;
}


.scripture .verse .section-heading, .sidebar-category button{
    /* font-size: 1.75rem; */
}

#study-notes h5:first-child{
    /* font-size: 1.85rem; */
    font-weight: 600;
    margin: 15px auto;
}

.audio-book>div:first-child, .audio-book>div:nth-child(2) {
    border-left: 1px solid #fff;
    padding-left: 8px;
    padding-right: 8px;
}

.audio-book .btn, .audio-book i{
color: #fff;
border: none !important;
/* font-size:1.7rem; */
}

.audio-book{
    margin: 0 auto; 
    border: 1px solid #007bff; 
    border-radius: 24px;
    width: max-content;
    background-color: #007bff;

}

/* End Scripture  */

.modal-backdrop {
    /* bug fix - no overlay */    
    display: none;    
}

.modal{
    background-color: #00000070;
}


/* Home Project */

.home-project p{
   font-size: 1.2rem;
}

/* End Home Project */


/* Home about */

.home-about p{
    font-size: 1.2rem;
 }
 
/* End Home about */

 
/* Footer */

footer p{
    font-size: 1.1rem;
}

/* End Footer */

/* Modal Book Lists */

#modalbookchapter select, #modalbookchapter button{
    font-size: 1.2rem;
}

.modal .close{
    font-size: 45px !important;    
    padding: 0px;
}

#modalbookchapter select{
    background-color:rgb(231 231 231);;
}

.modal-book-lists p {
    margin: 0px;
    font-size: 1.1rem;
    padding: 4px;    
    transition: 0.2s ease-in-out;
}

.modal-book-lists p:hover{
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;    
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    border-radius: 10px;
}

.modal-book-list button:hover {
    transform: scale(1.1);
}

.modal-book-list {
    margin: 3px;
}

.book .badge {
    font-size: 1rem;
}

.book-search-filter input, .book-search-filter select {
    font-size: 1.4rem;
}

.modal-book-list button {
    font-size: 1.1vw;
    width: 100%;
    transition: .2s ease-in-out;
    padding: 5px 0px;
}



#openselectbookchapter{
    font-size: 22px;
}

/* End Modal Book Lists */

.btn-primary{  
    background-color: #007bff;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

th, td {
    padding: 0.5rem;
    border: 1px solid #ddd;
    vertical-align: top;
}

th {
    background-color: #f0f0f0;
}

/* Table Styles */
.sidebar-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.table-row {
    border-bottom: 1px solid #e0e0e0;
}

.table-cell {
    padding: 1rem;
    vertical-align: top;
    border-right: 1px solid #e0e0e0;
}

/* Header Cells */
.th1, .th2, .th3 {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

/* Different cell styles */
.tc1 { width: 30%; }
.tc2 { width: 50%; }
.tc3 { width: 20%; }

/* Optional: Responsive tables */
@media screen and (max-width: 768px) {
    .sidebar-table {
        display: block;
        overflow-x: auto;
    }
}

.verse:first-of-type .verse-number {
    text-indent: 20px; /* Adjust as needed */
    display: inline-block; /* Ensures the indent applies properly */
}
.verse:first-of-type .verse-number:first-of-type {
    text-indent: 20px;
}

/* audio player */

#audioPlayerContainer {
    /* display: none; */
    position: fixed;
    bottom: -80px; /* Above the navbar */
    left: 0;
    width: 100%;
    background: #f8f9fa;
    padding: 10px;
    text-align: center;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    transition: bottom 0.50s;
}

/* 🔹 Show Player with Slide-Up Animation */
#audioPlayerContainer.show {
    bottom: 6px; /* Slide up */
    transition: bottom 0.50s;
    z-index: 1;
}


.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.control-btn {
    height: 50px;
    width: 50px;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    background: #007bff;
    color: white;
    border: none;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.control-btn:hover {
    background: #0056b3;
}

.pointer{
    cursor: pointer;
}

#introductionModal ul, #resourcesModal ul {
    display: grid;
    justify-items: center;
    gap: 10px;
    align-items: center;
}

#introductionModal ul li, #resourcesModal ul li {
    background-color: #eee !important;
    width: 100%;
    height: 55px;
    font-size: 1.5vw;
    display: flex;
    justify-content: flex-start;
    height: auto;
    align-items: center;
}


#introductionModal ul li:hover, #resourcesModal ul li:hover {
    background-color: #c1c1c1 !important;
}

#bibleSelectorModal .nav-tabs .nav-item {
    width: 30%;
    margin: 0px 3px;
}

/* Smooth fade effect for tab transitions */
.tab-pane {
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
}

.tab-pane.show {
    opacity: 1;
}

/* Smooth hover and click effect for nav-links */
.nav-link {
    transition: all 0.3s ease-in-out;
}

.chaptersidebarModal{
    background-color: #C9DCE9;
    height: fit-content;
    width: 58%;
    float: left;
    text-align: center;
}

/* Search page */

.search .dropdown .btn, .search .dropdown-menu .dropdown-item {
    font-size: 26px;
}

.search .dropdown .dropdown-toggle::after {
    margin-right: 15px;
}

.result i {
    font-size: 20px;
}


.tooltip-large .tooltip-inner {
  max-width: none;     /* Remove Bootstrap's default max-width */
  width: 300px;        /* Set your desired fixed width */
}


/* @keyframes fadeOutUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-100%);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hide-navbar {
  animation: fadeOutUp 0.5s forwards;
}

.show-navbar {
  animation: fadeInDown 0.5s forwards;
} */

/* nav.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100px; 
  background-color: #fff; 
  z-index: 1000;
  transition: transform 0.5s ease;
  transform: translateY(-100%);
  display: flex;
  align-items: center;
  padding: 0 20px; 
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
} */


/* nav.navbar.visible {
  transform: translateY(0); 
}  */

#introductionModal svg ,#resourcesModal svg{
    width: 40px;
    height: auto;
    margin-left: 8px;
}


.custom-footnote-popover {
  background-color: #000000;
  border-color: #F0F0F0;
 
}

.custom-footnote-popover .popover-body {
  color: #ffffff;
  font-size: 1.3vw;
  direction:rtl;
}


.people_svg{
    margin-left: 10px;
}

#booklist {
    display: grid; 
    gap: 16px;
    grid-template-columns: repeat(5, 1fr);
} 

.nostyle
{
    list-style-type:none !important;
}
.li1 {
    padding-inline-end: 16px;   /* base indent */
}

/* second structure → more indent */
.li1:not(:has(ul)) {
    padding-right: 6%;
}


#booklist img{
    object-fit:fill; height: 270px;
}