:root{
	/*---------- Colors ----------*/
	--color-primary: #0088CB;
}

html, body{
	overflow-x: hidden;
    line-height: 2;
}
body{
	font-family: 'Cairo', sans-serif;
    direction: rtl;
}
::selection{
	color: #000000;
	background-color: #CCCCCC;
}
::-moz-selection{
	color: #000000;
	background-color: #CCCCCC;
}
*{
	outline: none !important;
}
a{
	font-size: inherit !important;
	color: inherit !important;
	text-decoration: none !important;
	box-shadow: none !important;
}
a.a-hover:hover{
	color: var(--color-primary) !important;
}
a.text-decoration{
	text-decoration: underline !important;
}
.h1 *,h1 *,
.h2 *,h2 *,
.h3 *,h3 *,
.h4 *,h4 *,
.h5 *,h5 *,
.h6 *,h6 *{
	font-size: inherit;
}
p,
.h1,h1,
.h2,h2,
.h3,h3,
.h4,h4,
.h5,h5,
.h6,h6,
label {
	margin: 0;
	font-weight: unset;
}
b{
	font-size: inherit;
}
ul{
	margin-bottom: 0
}
img{
	width: 100%;
}
img.bg-grey{
    background-color: #eeeeee;
}
button{
	box-shadow: none !important;
}
.fw-semi-bold{
    font-weight: 600;
}
.width-35{
    width: 35px;
    height: 35px;
}
.width-80{
    width: 80px;
    height: 80px;
}

/*---------- Website Color ----------*/
.text-primary{
	color: var(--color-primary) !important;
}
.bg-primary{
	background-color: var(--color-primary) !important;
}
/*---------- End Website Color ----------*/

/*---------- Website Component ----------*/
hr{
    margin-top: 3rem;
    margin-bottom: 3rem;
    opacity: 1;
    border-width: 3px;
    border-color: #f1f1f1;
}
/*---------- End Website Component ----------*/

/*---------- Header ----------*/
.logo-container img{
    width: 300px;
    height: auto;
}

.overflow-x-scroll{
    overflow-x: scroll;
    /* Hide scrollbar for Chrome, Safari and Opera */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}
.overflow-x-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

nav {
    position: relative;
    color: #ffffff;
    white-space: nowrap;

}
nav::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}
nav ul {
    text-align: center;
    padding: 0;
    margin: 0;
}
nav ul li {
    margin-right: 0 !important;
}
nav ul li a {
    white-space: nowrap;
    padding: 0.75rem 1.5rem !important;
    transition: all 0.3s ease;
}
nav ul li a.active {
    background-color: #000000 !important;
    font-weight: bold;
}

.subnav{
    background-color: #373737;
}
.subnav ul li a.active{
    background-color: rgba(255,255,255,0.15) !important;
}

@media (max-width: 575px) {
    nav ul li a {
        padding: 0.75rem !important;
    }
}
@media (max-width: 767px) {
    nav ul{
        text-align: right;
    }
}
/*---------- End Header ----------*/

/*---------- Navigation Dropdown Styles ----------*/
nav .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}
nav .dropdown-menu {
    text-align: center;
    border: none;
    border-radius: 20px;
    padding: 10px 30px;
    min-width: 200px;
    background-color: #000000;
    color: #ffffff;
    overflow: hidden;
}
nav .dropdown-menu li:last-child .dropdown-item {
    border-bottom: none;
}
nav .dropdown-item {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: transparent !important;
}
.dropdown-toggle::after{
    display: none;
}
/*---------- End Navigation Dropdown Styles ----------*/

/*---------- Main ----------*/
main{
    padding-top: 50px;
    padding-bottom: 150px;
}
@media (max-width: 576px) {
    main{
        padding-top: 25px;
        padding-bottom: 50px;
    }
}
/*---------- End Main ----------*/

/*---------- Custom buttons & inputs ----------*/
.btn-icon{
    width: 35px;
    height: 35px;
    padding: 0;
    font-size: 0;
}

.btn-primary{
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #ffffff !important;
}
/*---------- End Custom buttons & inputs ----------*/

/*---------- Rich Text Component ----------*/
.rich-text img{
    width: 100%;
    height: auto;
}
.rich-text p {
    margin-bottom: 1rem !important;
}
/*---------- End Rich Text Component ----------*/

/*---------- Advertisement Carousel ----------*/
.carousel .carousel-item{
    position: relative;
    height: 500px;
    background-color: #636161;
}

.carousel .carousel-item img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 100%;
    max-width: 100%;
}
/*---------- End Advertisement Carousel ----------*/

/*---------- Infinite Scroll ----------*/
#loading-indicator {
    transition: opacity 0.3s ease;
}

#no-more-posts {
    border-top: 1px solid #e9ecef;
    margin-top: 2rem;
    padding-top: 2rem;
}

.spinner-border {
    width: 2rem;
    height: 2rem;
}

/* Smooth animation for new posts */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article {
    animation: fadeInUp 0.6s ease-out;
}
/*---------- End Infinite Scroll ----------*/

/*---------- Search Styles ----------*/
.search-form-container .card {
    border: 2px solid var(--color-primary);
    box-shadow: 0 4px 15px rgba(0, 136, 203, 0.1);
}

.search-input-page {
    border: 2px solid #e9ecef;
    padding: 12px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
}
.search-input-page:focus {
    border-color: var(--color-primary);
    box-shadow: none;
}

.search-header {
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 15px;
}

.tip-item {
    text-align: right;
    padding: 15px;
    background: #f8f9fa;
    margin-bottom: 15px;
}
/*---------- End Search Styles ----------*/

/*---------- No Results Styles ----------*/
.no-posts-found {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    border: 1px solid #dee2e6;
}

.no-posts-found i {
    opacity: 0.3;
}

.no-posts-found h3 {
    color: #495057;
}

.no-posts-found .btn {
    padding: 10px 20px;
    font-weight: 600;
}
/*---------- End No Results Styles ----------*/

blockquote {
  border-right: 4px solid #38bdf8; /* Tailwind sky-400 */
  background: #f1f5f9;            /* Tailwind slate-100 */
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #334155;                 /* Tailwind slate-700 */
  position: relative;
}

blockquote::before {
  content: "“";
  font-size: 2rem;
  color: #38bdf8;
  position: absolute;
  right: 0.5rem;
  top: 0;
}