/* YOUR CUSTOM STYLES */

header {
	margin-top:20px;
	
}

header nav {
	margin-top:15px;
}

#myCarousel {
	margin:10px auto;	
}

/* CSS Document */

@font-face {
	font-family: 'Usmani';
	src: url('../urdufont/Usmani.ttf') format('truetype');
}

@font-face {
	font-family: 'NafeesNastaleeq';
	src:url('../urdufont/Jameel Noori Nastaleeq.ttf') format('truetype');
}

@font-face {
	font-family: 'NafeesNastaleeqKasheeda';
	src:url('../../fonts/Jameel-Noori-Nastaleeq-Kasheeda.ttf') format('truetype');
}

@font-face {
	font-family: 'NafeesWeb';
	src: url('../urdufont/NafeesWeb.eot');
	src: local('NafeesWeb'), url('../urdufont/NafeesWeb.woff') format('woff'), url('../urdufont/NafeesWeb.ttf') format('truetype');
}




.nastaleeq, h1, h2, h3, h4 {
	font-family:'NafeesNastaleeq' !important;
	direction:rtl;
	font-weight:500;	
	
}

.nastaleeq-text {
	font-family:'NafeesNastaleeq' !important;
	direction:rtl;
}

.lang-ar {
	font-family: 'Usmani';
	direction: rtl;
}

.kasheeda {
	font-family: 'NafeesNastaleeqKasheeda' !important;
	direction: rtl;
}

.urdu-text {
	font-size: 1.5rem;
}

.text1 {
	font-size: 24px;
	line-height: 3;
}

.tiptap-editor {
	font-family: 'NafeesNastaleeq' !important;
	direction: rtl;
	unicode-bidi: plaintext;
	text-align: right;
	line-height: 2.2;
	font-size: 18px;
	min-height: 800px;
	border: solid 2px black;
}

.tiptap-editor.ltr {
    direction: ltr;
    text-align: left;
    font-family: system-ui, sans-serif;
}

.source-view {
	width: 100%;
	min-height: 500px;
	border: 1px solid #ccc;
	padding: 10px;
	direction: ltr;
	background-color: white !important;
	color: black !important;
	font-family: 'NafeesNastaleeq' !important;
	font-size: 18px;
	line-height: 2.2;
}




.nafeesweb {
	font-family: 'NafeesWeb' !important;
	direction:rtl;
}

.nav-link a {
	font-size:14px;
	
}

.padding-15 {
	padding-top:20px;
	padding-bottom:10px;
	margin-bottom:40px !important;	
}

p {
	line-height:35px !important;
}

.contents p, .contents ul, .contents ol {
	font-family:'NafeesNastaleeq' !important;
	direction:rtl;
	font-size:1.75rem !important;	
}

.contents p strong {
	font-weight: 900 !important;
	font-size: 1.9rem;
}

.btn {
	font-size:16px;
}


.carousel-caption h3 {
	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
	font-size:3em;	
	font-weight:400;
	color:#000;
}

.carousel-caption p {
	font-size:1.25em;	
	font-weight:400;
	color:#666;
}

main {
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.extra-margins {
    margin-top: 1rem;
    margin-bottom: 2.5rem;
}

.card-title {
    margin-bottom: .75rem;
}

.card-block {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem;
}

.extra-margins {
    margin-top: 1rem;
    margin-bottom: 2.5rem;
}

.navbar .dropdown-menu a:hover {
    color: #333 !important;
}

.navbar-nav a {
	font-weight:400 !important;
	font-size: 1.25rem !important;
}

.circle-number-fill {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 28px;
    height: 28px;
    padding: 0 8px;

    border-radius: 50%;
    background: #333; /* Bootstrap primary */
    color: #fff;

    font-size: 13px;
    font-weight: 600;
}


@media only screen and (min-width: 768px) {
	.navbar-nav {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 100% !important;
	}
	
	.contents {
		min-height:250px;
	}
	
	.contents p, .contents ul li {
		line-height:1.8em !important;
		
	}
}




/* Card Base

.surah-box {
    position: relative;
    z-index: 1;
}

.surah-box::before {
    pointer-events: none;
    z-index: 0;
}
*/
.surah-box {
    position: relative;
    background: #ffffff;
    color: #333;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    overflow: hidden;
	z-index: 1;
}

/* Subtle Glow Layer */
.surah-box::before {
    content: "";
    position: none;
    inset: 0;
    background: linear-gradient(120deg, rgba(0,192,239,0.08), transparent);
    opacity: 0;
    transition: 0.3s ease;
	z-index: 0;
}

/* Hover Effect */
.surah-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,192,239,0.15);
    border-color: #d9f5fb;
}

.surah-box:hover::before {
    opacity: 1;
}

/* Surah Number Badge */
.surah-number {
    position: absolute;
    top: 20px;
    right: 15px;
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: bold;
	
}

/* Header */
.surah-header {
    border-bottom: 1px solid #f1f1f1;
    margin-bottom: 10px;
    padding-bottom: 8px;
}

/* English Name */
.surah-name {
    margin: 0;        
}

.surah-name a {
    color: #2c3e50;
    text-decoration: none;
    transition: 0.2s;
}

.surah-name a:hover {
    color: #00a7d0;
}



/* Meta */
.surah-meta {
    font-size: 1rem;
    color: #888;
}

/* Body */
.surah-body {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
}

/* Items */
.surah-item {
    text-align: center;
}

.surah-item span {
    display: block;
    font-size: 14px;
    color: #888;
}

.surah-item strong {
    font-size: 18px;
    color: #00a7d0;
}

.col-sm-3:nth-child(even) .surah-box {
    background: #fcfcfc;
}