/* Reset */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-size: 16px
}

body {
	font-family: 'Exo', sans-serif;
	line-height: 1.8;
	margin: 0 auto;
	background-color: rgb(15, 15, 25); /* تغيير اللون الأساسي */
	zoom: 90%;
}

h1 {
	font-size: 6.5rem;
	line-height: 6rem;
	font-weight: 700;
	color: rgb(240, 240, 240); /* تفتيح اللون قليلاً */
}

h2 {
	font-size: 3.8rem;
	line-height: 1.3;
	letter-spacing: -1.2px;
	color: rgb(240, 240, 240); /* تفتيح اللون قليلاً */
}

h3 {
	font-size: 1.7rem;
	color: rgb(240, 240, 240); /* تفتيح اللون قليلاً */
}

h4 {
	font-size: 1.4rem;
	color: rgb(240, 240, 240); /* تفتيح اللون قليلاً */
}

h5 {
	font-size: .95rem;
	color: rgb(240, 240, 240); /* تفتيح اللون قليلاً */
}

h1,
h2,
h3,
h4,
h5 {
	font-weight: 700;
}

p {
	font-size: 1.2rem;
	font-weight: 400;
	color: rgb(180, 180, 200); /* تغيير لون النص */
}

p.large {
	font-size: 1.3rem;
	color: rgb(230, 230, 230); /* لون أفتح للنص الكبير */
	margin: 1rem 0;
}

p.small {
	font-size: 1rem;
	font-weight: 500;
	color: rgb(180, 180, 200); /* تغيير لون النص */
}

p.visible {
	font-weight: 400;
}

a {
	text-decoration: none;
	color: rgb(230, 230, 230); /* لون أفتح للروابط */
}

/* highlighting style */
h1::selection,
h2::selection,
h3::selection,
h4::selection,
p::selection,
a::selection,
span::selection {
	background: rgba(0, 200, 200, 0.3); /* تغيير لون التحديد */
	color: rgb(255, 255, 255);
}

h5::selection {
	background: none;
}

.btn::selection {
	background: none;
}

.pack h2::selection,
.pack h2 sup::selection {
	background-color: none;
	color: rgb(255, 255, 255);
}

img {
	size: 100%;
}

hr {
	width: 60px;
	border: none;
	border-top: 5px solid rgb(0, 200, 200); /* تغيير لون الخط الفاصل */
	margin: 1rem auto;
}

.landing_page {
	max-width: 1500px;
	margin: 0 auto;
	background-image: linear-gradient(90deg, rgb(20, 20, 40), rgb(25, 35, 80)); /* تغيير التدرج اللوني */
}

#intro_section {
	width: 100%;
	margin: 0 auto;
	padding: 0 6rem;
	background: url('../Assets/patterns/pattern_2.webp');
	background-size: 100%;
	background-repeat: no-repeat;
	background-color: rgba(20, 20, 40, 0.8); /* إضافة لون خلفية */
}

h1 + hr {
	margin: 0 0;
	margin-bottom: 2rem;
}

.btn {
	display: inline-block;
	font-size: 1rem;
	font-weight: 700;
	padding: .5rem 1rem;
	color: rgb(20, 20, 40); /* تغيير لون النص */
	background-color: rgb(0, 200, 200); /* تغيير لون الخلفية */
	border: 3px solid rgb(0, 200, 200); /* تغيير لون الحدود */
	border-radius: 3px;
}

.btn:hover {
	color: rgb(255, 255, 255);
	background-color: rgb(0, 170, 170); /* لون أغمق عند التمرير */
	border-color: rgb(0, 170, 170); /* لون أغمق عند التمرير */
}

.outline {
	background: none;
	color: rgb(0, 200, 200); /* تغيير اللون */
}

.intro_content .outline {
	margin-left: 1.5rem;
}

.fa-gift {
	font-size: 1rem;
	color: rgb(0, 200, 200); /* تغيير اللون */
	margin-left: .5rem;
}

.outline:hover {
	color: rgb(20, 20, 40); /* تغيير اللون */
	background-color: rgb(0, 200, 200); /* تغيير اللون */
	border-color: rgb(0, 200, 200); /* تغيير اللون */
	.fa-gift {
		color: rgb(20, 20, 40); /* تغيير اللون */
	}
}

/* other section  */
section {
	margin: 0 auto;
	padding: 3rem 0;
	text-align: center;
	width: 90%;
	background-color: rgba(15, 15, 25, 0.7); /* إضافة خلفية شفافة */
}

.intro_content,
.card {
	text-align: start;
}

.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 2rem 0;
}

.logo {
	display: inline-block;
	width: 12rem;
	height: 3rem;
	background-size: 100%;
}

ul {
	list-style: none;
}

.header_ul {
	display: flex;
	gap: 2rem;
}

/* social media icons */
ul.social_media {
	display: flex;
	gap: 1rem;
	border-radius: 1px;
}

/* display menu icon */
.fa-bars {
	color: rgb(230, 230, 230); /* تغيير اللون */
	font-size: 1.5rem;
	display: none;
}

.media_icon {
	font-size: 2rem;
	color: rgb(0, 200, 200); /* تغيير اللون */
}

.header .media_icon {
	color: rgb(230, 230, 230); /* تغيير اللون */
}

.header .media_icon:hover {
	color: rgb(0, 170, 170); /* تغيير اللون */
}

.header_ul li {
	font-weight: 700;
}

.header_ul li a:hover {
	color: rgb(0, 200, 200); /* تغيير اللون */
}

/* Disable Dragging img */
img {
	-webkit-user-drag: none;
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
}

#content_header {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 2rem;
	margin: 14rem auto;
}

.large_logo {
	display: block;
	max-width: 100%;
}

/* content section */
.content_box {
	position: relative;
	padding-bottom: 4.25rem;
}

/* Sticky Slider */
.content_box i {
	position: absolute;
	color: rgba(255, 255, 255, 0.5); /* تغيير اللون */
	cursor: pointer;
	font-size: 2rem;
	top: 50%;
	transform: translateY(-50%);
	z-index: 9;
}

.content_box i:hover {
	color: rgba(255, 255, 255, 0.9); /* تغيير اللون */
}

.prev_card {
	left: -30px;
}

.next_card {
	right: -30px;
}

.sticky_slider {
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
}

.card {
	height: 100%;
	width: calc(100%/3);
	display: inline-block;
	padding: 0 1rem;
	background-color: rgba(30, 30, 50, 0.7); /* إضافة خلفية للبطاقات */
	border-radius: 8px; /* إضافة زوايا مدورة */
	margin: 0 5px; /* إضافة هامش */
}
.card img {
	width: 100%;
	height: 275px;
	background-color: rgb(50, 50, 70); /* تغيير لون الخلفية */
	border-radius: 8px 8px 0 0; /* زوايا مدورة للأعلى فقط */
}

.card_title {
	display: flex;
	gap: .25rem;
	align-items: center;
	margin: .75rem 0 1rem;
}

.card_title + h4 {
	flex: 1;
}

.card_hr_line {
	flex: 2;
	height: 1.2rem;
	width: 100%;
	border-bottom: 1px solid rgba(100, 100, 130, 0.8); /* تغيير اللون */
}

.card > p {
	white-space: normal;
}

/* Styling card text */
p.more_visible {
	font-weight: 600;
	color:rgb(240, 240, 240); /* تغيير اللون */
}

.channels_number {
	font-size: 1.87rem;
	line-height: 1.3;
	font-weight: 700;
	margin-right: .25rem;
	color: rgb(0, 200, 200); /* تغيير اللون */
}

/* Channels slider */
.channels_slider {
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2rem;
	border-top: 1px solid rgba(100, 100, 130, 0.8); /* تغيير اللون */
	border-bottom: 1px solid rgba(100, 100, 130, 0.8); /* تغيير اللون */
	background-color: rgba(30, 30, 50, 0.5); /* إضافة خلفية */
	padding: 1rem 0; /* إضافة padding */
	border-radius: 8px; /* زوايا مدورة */
}

.channels_slider img {
	height: 10rem;
}

/* Slideshow container */
/* this for all sliders */
.slider-container {
	position: relative;
	margin-bottom: 8rem;
	overflow: hidden;
}

/* Movies Slider */
.slider,
.slider__shows {
	width: 100%;
	display: flex;
	gap: .8rem;
}

.slider img {
    width: 200px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid rgb(50, 50, 70);
    transition: transform 0.3s ease;
}
.slider img:hover {
    transform: scale(1.05);
}

.slider-container i {
	position: absolute;
	color: rgba(255, 255, 255, 0.9); /* تغيير اللون */
	background-color: rgba(0, 0, 0, 0.7); /* تغيير اللون */
	cursor: pointer;
	height: 40px;
	width: 40px;
	font-size: 1.2rem;
	line-height: 40px;
	text-align: center;
	border-radius: 50%;
	top: 50%;
	transform: translateY(-50%);
	z-index: 9;
}

.slider-container i:hover {
	background-color: rgba(0, 200, 200, 0.8); /* تغيير اللون */
	color: rgb(20, 20, 40); /* تغيير اللون */
}

.slider-container .fa-solid {
	display: none;
}

.slider-container:hover {
	.fa-solid {
		display: block;
	}
}

.prev,
.prev__serie {
	left: 15px;
}

.next,
.next__serie {
	right: 28px;
}

/* About us Section */
#about_us,
#FAQ_section,
#contact_us{
	text-align: start;
	display: grid;
	grid-template-columns: 1fr 1fr;
	justify-content: center;
	align-items: center;
	gap: 2rem;
	background-color: transparent; /* إزالة الخلفية المضافة مسبقاً */
}

#about_us hr,
#FAQ_section hr {
	margin: 0 0;
	margin-bottom: 2rem;
}

#about_us img {
	height: 680px;
	width: 100%;
}

ul.service_offers li {
	padding-left: 2rem;
	background: url('../Assets/icons/checkmark.svg') no-repeat;
	background-size: 1.4rem;
	background-position: center left;
}

#about_us li p.large {
	color: rgb(180, 180, 200); /* تغيير اللون */
}

#about_us ul.social_media {
	align-items: center;
}


#about_us .media_icon:hover {
	color: rgb(0, 170, 170); /* تغيير اللون */
}

/* features section */
#features {
	padding: 6rem 0;
	background-color: transparent; /* إزالة الخلفية المضافة مسبقاً */
}

.features_grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	margin-top: 3rem;
}

.f_card {
	padding: 2rem 1.5rem;
	background-color: rgba(30, 30, 50, 0.7); /* تغيير لون الخلفية */
	border-radius: 8px;
	border: 1px solid rgba(100, 100, 130, 0.3); /* إضافة حد */
}

.f_card img {
	height: 5rem;
	margin-bottom: 1.25rem;
}

a.link,
.fa-arrow-right {
	color:rgb(0, 200, 200); /* تغيير اللون */
}

.f_card a:hover {
	color:rgb(230, 230, 230); /* تغيير اللون */
	.fa-arrow-right {
		color:rgb(230, 230, 230); /* تغيير اللون */
	}
}

.pricing_grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	margin-top: 3rem;
}

.pack {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 2rem 1rem;
	gap: 1.5rem;
	border: 3px solid rgba(100, 100, 130, 0.5); /* تغيير اللون */
	border-radius: 8px;
	background: rgba(30, 30, 50, 0.7); /* تغيير الخلفية */
}

.pack:hover {
	border: 3px solid rgb(0, 200, 200); /* تغيير اللون */
}

.pack h2 {
	color: rgb(0, 200, 200); /* تغيير اللون */
	letter-spacing: 1px;
	margin-top: -1rem;
}

h2 sup {
	font-size: 1.5rem;
}

.pack ul li {
	text-align: start;
	background: url('../Assets/icons/checkmark_gray.svg') left center no-repeat;
	background-size: 1.25rem;
	margin-bottom: .25rem;
}

.pack li p {
	letter-spacing: 1px;
	padding-left: 1.75rem;
	color: rgb(180, 180, 200); /* تغيير اللون */
}

.best_pack {
	display: none;
}

/* FAQ Section */
#FAQ_section {
	padding-top: 6rem;
	gap: 4rem;
	background-color: transparent; /* إزالة الخلفية المضافة مسبقاً */
}

#FAQ_section img {
	width: 100%;
}

#FAQ_section ul li {
	cursor: pointer;
}

#FAQ_section ul li p {
	position: relative;
}

.fa-plus {
	color: rgb(230, 230, 230); /* تغيير اللون */
	position: absolute;
	right: 0;
}

/* Display FAQ Anwser */
.answer_box {
	display: none;
	background-color: rgba(30, 30, 50, 0.7); /* إضافة خلفية */
	padding: 1rem;
	border-radius: 8px;
	margin-top: 0.5rem;
}

/* FREE Offer Section */
#free_offer {
	padding: 12rem 0;
	background-color: transparent; /* إزالة الخلفية المضافة مسبقاً */
}

#free_offer .btn {
	margin-top: 2rem;
}

/* Contact us Section */
#contact_us > div {
	text-align: center;
}

form {
	display: flex;
	flex-direction: column;
	padding: 6rem;
	background-color: rgba(30, 30, 50, 0.7); /* تغيير لون الخلفية */
	border-radius: 8px;
	border: 1px solid rgba(100, 100, 130, 0.3); /* إضافة حد */
}

input {
	font-size: 1.05rem;
	padding: 1rem;
	color: rgba(255,255,255, .95);
	background-color: rgba(40, 40, 60, 0.7); /* تغيير لون الخلفية */
	border: 1px solid rgba(100, 100, 130, 0.5); /* إضافة حد */
	border-radius: 4px;
	margin-bottom: 1.5rem;
}

input::placeholder{
	color: rgba(200,200,200, .7) /* تغيير اللون */
}

input:focus {
	outline: none;
	background-color: rgba(50, 50, 70, 0.7); /* تغيير اللون */
	border-color: rgb(0, 200, 200); /* تغيير اللون */
}

#contact_us .btn {
	padding: .8rem;
	margin-top: 1.15rem;
}

#contact_us a {
	color: rgb(0, 200, 200); /* تغيير اللون */
}

#contact_us h5 {
	opacity: .7; /* تعديل الشفافية */
	margin-top: 1rem;
	color: rgb(180, 180, 200); /* تغيير اللون */
}

/* footer section */
footer {
	padding: 0 2rem;
	background-color: rgba(20, 20, 40, 0.9); /* إضافة خلفية */
}

footer .header {
	height: 40px;
	align-items: end;
	border-bottom: 5px solid rgba(100, 100, 130, 0.8); /* تغيير اللون */
	padding: .4rem 0;
}

.copyright_text {
	display: flex;
	justify-content: space-between;
	padding: 1rem 0;
}

/* إضافة أنماط جديدة لمعالجة الصور */

/* تحسين عرض الصور في البطاقات */
.card .img-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.card .img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
    transition: opacity 0.3s ease;
    opacity: 0.7;
}

.card:hover .img-overlay {
    opacity: 0.9;
}

/* تحسين عرض شعارات القنوات */
.channel-logo {
    padding: 10px;
    background: rgba(30, 30, 50, 0.7);
    border-radius: 8px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.channel-logo:hover {
    transform: scale(1.05);
    background: rgba(40, 40, 60, 0.9);
}

.channel-logo img {
    filter: grayscale(30%) brightness(110%);
    transition: filter 0.3s ease;
}

.channel-logo:hover img {
    filter: grayscale(0%) brightness(120%);
}

/* تحسين عرض ملصقات الأفلام والمسلسلات */
.movie-poster, .show-poster {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-poster:hover, .show-poster:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 200, 200, 0.3);
}

.poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.movie-poster:hover .poster-overlay, 
.show-poster:hover .poster-overlay {
    opacity: 1;
}

.poster-overlay i {
    color: white;
    font-size: 3rem;
    background: rgba(0, 200, 200, 0.8);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.movie-poster:hover .poster-overlay i,
.show-poster:hover .poster-overlay i {
    transform: scale(1.1);
    background: rgba(0, 200, 200, 1);
}

/* تحسين جودة الصور */
img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.card img {
    object-fit: cover;
}

/* تأثيرات التحميل للصور */
img {
    opacity: 0;
    transition: opacity 0.5s ease;
}

img.loaded {
    opacity: 1;
}

/* تأثير التحميل التدريجي للصور */
.img-loading {
    background: linear-gradient(90deg, #2a2a4a 0%, #32325c 50%, #2a2a4a 100%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* تحسين استجابة الصور */
@media screen and (max-width: 1300px) {
	#intro_section {
			background-size: 120%;
			padding: 0 3rem;
		}
}

/* Table Screens */
@media screen and (min-width:600px) and (max-width:1100px){
	#content_header {
		grid-template-columns: 1fr;
		margin: 3rem auto;
	}

	.large_logo {
		display: none;
	}

	section {
		padding: 3rem 0;
	}

	#free_offer {
		padding: 6rem 0;
	}

	.card {
		width: calc(100%/2);
	}

	.slider img {
    width: 200px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid rgb(50, 50, 70);
    transition: transform 0.3s ease;
}
.slider img:hover {
    transform: scale(1.05);
}

	.pricing_grid,
	.features_grid {
		grid-template-columns: 1fr 1fr;
	}

	form {
		padding: 3rem;
	}
}

/* Hiding navbar */
@media screen and (max-width: 1000px) {
	.header_ul,
	.header ul.social_media {
		display: none;
	}

	.fa-bars {
		display: block;
	}

	#about_us,
	#FAQ_section,
	#contact_us {
		grid-template-columns: 1fr;
	}

		#FAQ_section img {
			width: 70%;
			margin: 0 auto;
		}
}

/* Phones Screens */
@media screen and (max-width:600px) {
	h1 {
		font-size: 3rem;
		line-height: 3rem;
	}

	h2 {
		font-size: 2rem;
	}

	h4 {
		font-size: 1.3rem;
	}

	p.large {
		font-size: 1rem;
		margin: .15rem 0;
	}

	p {
		font-size: .95rem;
	}

	#content_header {
		grid-template-columns: 1fr;
		margin: 6rem auto;
	}

	.large_logo {
		display: none;
	}

	.logo {
		height: 2rem;
		width: 8rem;
	}

	section {
		padding: 0;
	}

	#free_offer {
		padding: 6rem 0 2rem;
	}

	#intro_section {
		padding: 0 2rem;
	}

	.content_box {
		margin: 0 1rem;
	}

	#content_header {
		margin: 7rem auto;
	}

	.slider-container {
		margin-bottom: 4rem;
	}

	.channels_slider {
		gap: 1rem;
	}

	.channels_slider img {
		height: 5rem;
	}

	#about_us img {
		height: 350px;
	}

	.card_title {
		margin: 1rem 0 0;
	}

	.card {
		width: 100%;
	}

	.card img {
		height: 200px;
	}

	.slider img {
    width: 200px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid rgb(50, 50, 70);
    transition: transform 0.3s ease;
}
.slider img:hover {
    transform: scale(1.05);
}

	.pricing_grid,
	.features_grid {
		grid-template-columns: 1fr;
	}

	form {
		padding: 1rem;
	}

	footer .header {
		border-bottom: 2px solid rgba(100, 100, 130, 0.8); /* تغيير اللون */
	}

	footer .large {
		font-size: .95rem;
		line-height: .9;
	}
	
	/* تحسين استجابة الصور للهواتف */
	.channel-logo img {
		height: 5rem;
	}
	
	.poster-overlay i {
		font-size: 2rem;
		width: 50px;
		height: 50px;
	}
}


/* إخفاء قسم Shows بالكامل */
.slider__shows {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* إخفاء أزرار التنقل الخاصة بقسم Shows */
.prev__serie,
.next__serie {
    display: none !important;
    visibility: hidden !important;
}
