body {
	margin:0;
}
.sample { 
	/* height: 30vh; */
	margin: 1vw auto;
	/* max-height: 750px; */
	/* max-width: 1000px; */
	overflow: hidden;
	width: 100%;
}
.sample figure { 
	background-image: url('../media/2.jpg');
	background-size: cover;
	font-size: 0;
	height: 100%;
	margin: 0; 
	width: 100%; 
}
#compare {
	background-image: url('../media/1.jpg');
	background-size: cover;
	bottom: 0;
	border-right: 5px solid rgba(255,255,255,0.7);
	box-shadow: 10px 0 15px -13px #000;
	height: 100%;
	max-width: 98.6%;
	min-width: 0.6%;
	overflow: visible;
	position: absolute;
	width: 50%; 
	animation: first 2s 1 normal ease-in-out 0.1s; 
	-webkit-animation: first 2s 1 normal ease-in-out 0.1s; 
}
input#slider {
	-moz-appearance: none;
	-webkit-appearance: none;
	border: none; 
	background: transparent;
	cursor: col-resize;
	height: 100vw;
	left: 0;
	margin: 0;
	outline: none; 
	padding: 0;
	position: absolute;
	top: -100vw;
	width: 100%;
}
input#slider::-moz-range-track { 
	background: transparent; 
}
input#slider::-ms-track {
	border: none; 
	background-color: transparent;
	height: 100vw; 
	left: 0; 
	outline: none; 
	position: relative;
	top: -100vw; 
	width: 100%;
	margin: 0;
	padding: 0;
	cursor: col-resize;
	color:transparent;
}
input#slider::-ms-fill-lower {
	background-color:transparent;
}
input#slider::-webkit-slider-2-thumb {
	-webkit-appearance:none;
	height: 100vw;
	width: 0.5%;
	opacity: 0;
}
input#slider::-moz-range-thumb {
	-moz-appearance: none;
	height: 100vw;
	width: 0.5%;
	opacity: 0;
}   
input#slider::-ms-thumb {
	height: 100vw;
	width: 0.5%; 
	opacity:0;
}
input#slider::-ms-tooltip {
	display:none;
}
#compare::before {
	/* background: url(https://webdevtrick.com/wp-content/uploads/comparision.png) no-repeat scroll 0 center transparent; */
	background-size:contain;
	content: " ";
	float: right;
	height: 100%;
	margin-left: -34px;
	position: relative;
	top:0;
	width: 64px;
}

/* -2 */
.sample-2 { 
	height: 16.5vw;
	margin: 1vw auto;
	max-height: 750px;
	max-width: 1000px;
	overflow: hidden;
	width: 35vw;
}
.sample-2 figure { 
	background-image: url('../media/2.jpg');
	background-size: cover;
	font-size: 0;
	height: 100%;
	margin: 0; 
	position: relative;
	width: 100%; 
}

#compare-2 {
	background-image: url('../media/1.jpg');
	background-size: cover;
	bottom: 0;
	border-right: 5px solid rgba(255,255,255,0.7);
	box-shadow: 10px 0 15px -13px #000;
	height: 100%;
	max-width: 98.6%;
	min-width: 0.6%;
	overflow: visible;
	position: absolute;
	width: 50%; 
	animation: first 2s 1 normal ease-in-out 0.1s; 
	-webkit-animation: first 2s 1 normal ease-in-out 0.1s; 
}
input#slider-2 {
	-moz-appearance: none;
	-webkit-appearance: none;
	border: none; 
	background: transparent;
	cursor: col-resize;
	height: 100vw;
	left: 0;
	margin: 0;
	outline: none; 
	padding: 0;
	position: relative;
	top: -100vw;
	width: 100%;
}
input#slider-2::-moz-range-track { 
	background: transparent; 
}
input#slider-2::-ms-track {
	border: none; 
	background-color: transparent;
	height: 100vw; 
	left: 0; 
	outline: none; 
	position: relative;
	top: -100vw; 
	width: 100%;
	margin: 0;
	padding: 0;
	cursor: col-resize;
	color:transparent;
}
input#slider-2::-ms-fill-lower {
	background-color:transparent;
}
input#slider-2::-webkit-slider-2-thumb {
	-webkit-appearance:none;
	height: 100vw;
	width: 0.5%;
	opacity: 0;
}
input#slider-2::-moz-range-thumb {
	-moz-appearance: none;
	height: 100vw;
	width: 0.5%;
	opacity: 0;
}   
input#slider-2::-ms-thumb {
	height: 100vw;
	width: 0.5%; 
	opacity:0;
}
input#slider-2::-ms-tooltip {
	display:none;
}
#compare-2::before {
	/* background: url('../media/l-r.png') no-repeat scroll 0 center transparent; */
	background-size:contain;
	content: " ";
	float: right;
	height: 100%;
	margin-left: -34px;
	position: relative;
	top:0;
}

/* -3 */
.sample-3 { 
	height: 16.5vw;
	margin: 1vw auto;
	max-height: 750px;
	max-width: 1000px;
	overflow: hidden;
	width: 35vw;
}
.sample-3 figure { 
	background-image: url('../media/2.jpg');
	background-size: cover;
	font-size: 0;
	height: 100%;
	margin: 0; 
	position: relative;
	width: 100%; 
}
#compare-3 {
	background-image: url('../media/1.jpg');
	background-size: cover;
	bottom: 0;
	border-right: 5px solid rgba(255,255,255,0.7);
	box-shadow: 10px 0 15px -13px #000;
	height: 100%;
	max-width: 98.6%;
	min-width: 0.6%;
	overflow: visible;
	position: absolute;
	width: 50%; 
	animation: first 2s 1 normal ease-in-out 0.1s; 
	-webkit-animation: first 2s 1 normal ease-in-out 0.1s; 
}
input#slider-3 {
	-moz-appearance: none;
	-webkit-appearance: none;
	border: none; 
	background: transparent;
	cursor: col-resize;
	height: 100vw;
	left: 0;
	margin: 0;
	outline: none; 
	padding: 0;
	position: relative;
	top: -100vw;
	width: 100%;
}
input#slider-3::-moz-range-track { 
	background: transparent; 
}
input#slider-3::-ms-track {
	border: none; 
	background-color: transparent;
	height: 100vw; 
	left: 0; 
	outline: none; 
	position: relative;
	top: -100vw; 
	width: 100%;
	margin: 0;
	padding: 0;
	cursor: col-resize;
	color:transparent;
}
input#slider-3::-ms-fill-lower {
	background-color:transparent;
}
input#slider-3::-webkit-slider-2-thumb {
	-webkit-appearance:none;
	height: 100vw;
	width: 0.5%;
	opacity: 0;
}
input#slider-3::-moz-range-thumb {
	-moz-appearance: none;
	height: 100vw;
	width: 0.5%;
	opacity: 0;
}   
input#slider-3::-ms-thumb {
	height: 100vw;
	width: 0.5%; 
	opacity:0;
}
input#slider-3::-ms-tooltip {
	display:none;
}
#compare-3::before {
	/* background: url(https://webdevtrick.com/wp-content/uploads/comparision.png) no-repeat scroll 0 center transparent; */
	background-size:contain;
	content: " ";
	float: right;
	height: 100%;
	margin-left: -34px;
	position: relative;
	top:0;
}



@keyframes first {
	0% {width: 0%; }
	50% {width: 80%; }
	100% {width: 50%; }
  }
  @-webkit-keyframes first {
	0% {width: 0%; }
	50% {width: 80%; }
	100% {width: 50%; }
}


.Btn {
    appearance: none;
    background-color: transparent;
    border: 0;
    cursor: pointer;
    display: inline-block;
    font-family: inherit;
    font-size: 11px;
    line-height: 1;
    margin: 0;
    outline: none;
    padding: 0;
    text-decoration: none;
    transition: 0.25s;
    vertical-align: middle;
}

.Btn-slide:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.Controller {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.Controller-item {
    margin-right: 20px;

    &:last-child {
        margin-right: 0;
    }
}

.Stats {
    overflow: hidden;
}

.Stats-list {
    white-space: nowrap;
    position: relative;

}

.Stat {
    display: inline-block;
    margin-right: 10px;
    width: calc(100% - 8px);
    height: 100%;

    &:last-child {
        margin-right: 0;
    }

    @media screen and (min-width: 1280px) {
        width: calc(25% - 10px);
    }
    @media screen and (min-width: 1536px) {
        width: calc(33.333% - 10px);
    }
}


body:before {
    content: 'mobile';
    display: none;
}

@media screen and (min-width: 768px) {
    body:before {
        content: 'tablet';
    }
}

@media screen and (min-width: 1024px) {
    body:before {
        content: 'desktop';
    }
}

@media screen and (min-width: 1200px) {
    body:before {
        content: 'bigdesktop';
    }
}


.slider {
    height: 25rem;
    position: relative;
}

.slider .list .item {
    position: absolute;
    inset: 0 0 0 0;
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.slider .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider .list .item::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    /* background-image: linear-gradient(to top, #000 1%, transparent); */
}

.slider .list .item .content {
    position: absolute;
    left: 10%;
    top: 20%;
    width: 500px;
    max-width: 80%;
    z-index: 1;
    color: #eee;
}

.slider .list .item .content p:nth-child(1) {
    text-transform: uppercase;
    letter-spacing: 10px;
}

.slider .list .item .content h2 {
    font-size: 100px;
    margin: 0;
}

.slider .list .item.active {
    opacity: 1;
    z-index: 10;
}

@keyframes showcontent {
    to {
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }

}

.slider .list .item.active p:nth-child(1),
.slider .list .item.active h2,
.slider .list .item.active p:nth-child(3) {
    transform: translateY(30px);
    filter: blur(20px);
    opacity: 0;
    animation: showcontent 0.5s 0.7s ease-in-out 1 forwards;
}

.slider .list .item.active h2 {
    animation-delay: 1s;
}

.slider .list .item.active p:nth-child(3) {
    animation-delay: 1.3s;
}


/* blog */

.blog-card {
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	transition: all 0.3s ease-in-out;
}
.blog-card:hover {
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
	transform: translateY(-5px);
}
.blog-card img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}
.blog-card-body {
	padding: 20px;
}
.blog-card-body h3 {
	font-size: 1.25rem;
	font-weight: bold;
	color: rgb(40, 53, 79);
	margin-bottom: 15px;
}
.blog-card-body p {
	color: #555;
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 15px;
}
.blog-card-body .read-more {
	color: rgb(40, 53, 79);
	font-weight: bold;
	transition: color 0.3s ease;
}
.blog-card-body .read-more:hover {
	color: #0056b3;
}

/* Grid layout for blog cards */
.blog-container {
	width: 74%;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 16px;
	padding: 25px 16px;
}

/* Centering the blog section */
.center-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	background-color: #f9f9f9;
}

/* Center the text content */
.text-center-content {
	text-align: center;
	margin-bottom: 40px;
}
.fontWhiteColor{
	color: white;
}
.cardBackground{
	background-color: rgb(40, 53, 79);
}
.fontBold{
	font-weight: bolder;
	direction: rtl;
}
/***********************/
.blog-detail-container {
	background-color: #f9f9f9;
	padding: 20px;
	max-width: 800px;
	margin: 0 auto;
}
.blog-detail-card {
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	margin-bottom: 20px;
}
.blog-detail-card img {
	width: 100%;
	height: 300px;
	object-fit: cover;
}
.blog-detail-card-body {
	padding: 20px;
}
.blog-detail-card-body h2 {
	font-size: 1.8rem;
	font-weight: bold;
	color: rgb(40, 53, 79);
}
.blog-detail-card-body p {
	color: #555;
	font-size: 1rem;
	line-height: 1.8;
	margin-top: 15px;
}
.blog-detail-card-body .author-info {
	margin-top: 20px;
	font-size: 0.9rem;
	color: #888;
}
.blog-detail-card-body .author-info span {
	font-weight: bold;
	color: rgb(40, 53, 79);
}

.back-to-blog {
	display: inline-block;
	background-color: rgb(40, 53, 79);
	color: #fff;
	padding: 10px 18px;
	border-radius: 6px;
	margin-top: 20px;
	text-decoration: none;
	font-weight: bold;
}
.back-to-blog:hover {
	background-color: #0056b3;
}

/* Center content */
.center-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
}

.text-center-content {
	text-align: center;
	margin-bottom: 20px;
}
/*******************/
body {
	direction: rtl;
	font-family: 'Tahoma', sans-serif;
	margin: 0;
	padding: 0;
}



.login-container {
	max-width: 400px;
	margin: 100px auto;
	background-color: white;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.login-container h2 {
	text-align: center;
	font-size: 24px;
	margin-bottom: 20px;
	color: rgb(40, 53, 79);
}

.login-container input {
	width: 100%;
	padding: 12px;
	margin: 10px 0;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 16px;
}

.login-container button {
	width: 100%;
	padding: 12px;
	background-color: rgb(40, 53, 79);
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 18px;
	cursor: pointer;
}

.login-container button:hover {
	background-color: #1f2a3a;
}

.login-container a {
	display: block;
	text-align: center;
	margin-top: 15px;
	font-size: 14px;
	color: rgb(40, 53, 79);
}

.login-container a:hover {
	text-decoration: underline;
}
/********************/
.add-blog-container {
	max-width: 800px;
	margin: 50px auto;
	background-color: white;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.add-blog-container h2 {
	text-align: center;
	font-size: 24px;
	margin-bottom: 20px;
	color: rgb(40, 53, 79);
}

.add-blog-container input, 
.add-blog-container select, 
.add-blog-container textarea {
	width: 100%;
	padding: 12px;
	margin: 10px 0;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 16px;
}

.add-blog-container button {
	width: 100%;
	padding: 12px;
	background-color: rgb(40, 53, 79);
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 18px;
	cursor: pointer;
}

.add-blog-container button:hover {
	background-color: #1f2a3a;
}

.add-blog-container input[type="file"] {
	padding: 5px;
	font-size: 14px;
}

.add-blog-container .form-group {
	margin-bottom: 20px;
}
 /* Custom Styles */

@keyframes first {
	0% {width: 0%; }
	50% {width: 80%; }
	100% {width: 50%; }
  }
  @-webkit-keyframes first {
	0% {width: 0%; }
	50% {width: 80%; }
	100% {width: 50%; }
  }