@font-face{
	font-family:'AlhurraDisplayPC';
	src:url("/fonts/alhurradisplaypc-webfont.woff") format("woff");
	font-weight:normal;
	font-style:normal
}
@font-face{
	font-family:'AlhurraTextPC';
	src:url("/fonts/alhurratextpc-webfont.woff") format("woff");
	font-weight:normal;
	font-style:normal
}

@font-face {
 font-family: custom;
 src: url("/fonts/droidsansarabic.eot") /* EOT file for IE */
}

@font-face {
 font-family: custom;
 src: url("/fonts/droidsansarabic.ttf") /* TTF file for CSS3 browsers */
}

@font-face{
	font-family:'Neo Sans Arabic';
	font-style:normal;
	font-weight: 200;
	src:url(/fonts/NeoSansArabic.eot);
	src:url(/fonts/NeoSansArabic.eot?#iefix) format('embedded-opentype'),url(fonts/NeoSansArabic.woff) format('woff'),url(fonts/NeoSansArabic.otf) format('otf')}

body {
	font-family:'Neo Sans Arabic','Arial';
	color: #333;
	font-weight: 300;
	direction: rtl;
}
header{
	background-color: #ffffff;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
	font-family:'Neo Sans Arabic';
}

    .article-image {
        max-height: 460px;
		object-fit: cover;
    }
	
    .img-news {
        max-height: 260px;
		object-fit: cover;
    }
	
/* Adjust for smaller screens */
@media (max-width: 768px) {
    .article-image {
        max-height: 400px;
    }
}


.story_content img{
    display: block;
    width: 100%;
    max-height: 560px !important;
    padding: 2px;
	border-radius: 5px;
}

div.story_content {
	text-align: justify;
	font-size: 16px;
	color: #000;
}
.text-secondary {
    color: #6c757d; /* Bootstrap secondary color */
    font-size: 1.1rem;
    font-weight: 400;
    padding: 15px;
    border-left: 4px solid #6c757d; /* Accent border */
    background-color: #f8f9fa; /* Light gray background */
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.text-secondary:hover {
    background-color: #e9ecef; /* Slightly darker background on hover */
    border-left-color: #495057; /* Darker accent */
    transform: translateX(5px); /* Subtle move effect */
}
    video {
        display: block;
        margin: auto;
        max-width: 800px; /* Ensures video doesn't exceed this width */
        border-radius: 10px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    }
	
.thumb-image{
	width: 100%;
	height: 120px;
	object-fit: cover;
	border-radius: 5px;
}	

        .youtube {
            width: 100%;
            max-width: 800px;
            height: 450px;
            border-radius: 10px;
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
        }



/* Card styling */
.card {
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Image inside card */
.card-img-top {
  border-bottom: 1px solid #eee;
}

/* Card body */
.card-body {
  padding: 1rem 1.25rem;
}

/* Card title */
.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.75rem;
}

/* Button styling */
.card .btn-outline-primary {
  border-radius: 10px;
  padding: 0.4rem 1rem;
  font-size: 1rem;
  border: 1px solid #597d33;
  color: #597d33;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.card .btn-outline-primary:hover {
  background-color: #597d33;
  color: white;
  border: 1px solid #597d33;
}
.donation-section {
  background-color: #bdbdbd; /* الأخضر الحالي */
  background-image: url('images/light-aluminum.png'); /* استخدم المسار الصحيح للصورة */
  background-repeat: repeat;
  background-size: 200px; /* أو غيّرها حسب النتيجة */
  background-blend-mode: overlay; /* لمزج الزخرفة بلون الخلفية */
  text-align: center;
  padding: 60px 20px;
  position: relative;
}
.pillars-islam-section {
  background-color: #5b8c3e; /* الأخضر الحالي */
  background-image: url('images/light-aluminum.png'); /* استخدم المسار الصحيح للصورة */
  background-repeat: repeat;
  background-size: 200px; /* أو غيّرها حسب النتيجة */
  background-blend-mode: overlay; /* لمزج الزخرفة بلون الخلفية */
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  position: relative;
}

.history-section {
  background-color: #fff; /* الأخضر الحالي */
  background-image: url('images/light-aluminum.png'); /* استخدم المسار الصحيح للصورة */
  background-repeat: repeat;
  background-size: 200px; /* أو غيّرها حسب النتيجة */
  background-blend-mode: overlay; /* لمزج الزخرفة بلون الخلفية */
  text-align: center;
  position: relative;
}

/* General Navbar Settings */
.navbar {
  direction: rtl;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 0.75rem 1.5rem;
  position: relative;
  z-index: 1000;
}

.navbar-nav .nav-item {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.navbar .nav-link {
  color: #1f2d3d;
  font-size: 1rem;
  padding: 0.6rem 1rem;
  transition: 0.3s;
  border-radius: 6px;
  position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  background-color: #f2f4f6;
  color: #007bff;
}

.navbar .dropdown-toggle::after {
  margin-right: 0.5rem;
  margin-left: 0;
  vertical-align: middle;
}

.navbar .dropdown-menu {
  text-align: right;
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 0.5rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  min-width: 200px;
  border: none;
}

.navbar .dropdown-item {
  font-size: 0.95rem;
  padding: 0.6rem 1.25rem;
  color: #333;
  transition: 0.2s;
  text-align: right;
  border-radius: 0;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item.active {
  background-color: #f0f2f5;
  color: #007bff;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.dropdown-menu {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease-in-out;
  display: block;
  visibility: hidden;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* Responsive fix for 3 items per row */
@media (max-width: 991.98px) {
  .col-md-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 575.98px) {
  .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
		
@media (max-width: 575.98px) {

}


@media all and (max-width: 800px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
body{
	font-family:'Neo Sans Arabic';
	font-size: 14px;
}
.story_content img{
    display: block;
    width: 100%;
    height: auto;
    padding: 2px;
	border-radius: 5px;
}


}