.navbar-custom,
.offcanvas {
	backdrop-filter: blur(10px)
}

.offcanvas,
.product-card img {
	transition: transform .3s ease-in-out
}

.footer,
body {
	direction: rtl
}

.footer img,
.navbar-custom .navbar-brand img {
	max-height: 60px;
	object-fit: contain;
	display: block
}

:root {
	--gold: #D4AF37;
	--dark-blue: rgb(1, 83, 141);
	--dark-blueone: #01538d;
	--white: #FFFFFF;
	--light-gray: #F5F5F5;
	--charcoal-gray: #333333;
	--ack: #cad7df33;
	--blow: #a1cfec33;
	--golden: linear-gradient(135deg, #FFD700, #D4AF37, #B8860B)
}

body {
	font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', sans-serif;
	line-height: 1.6;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	opacity: 0;
	transition: opacity 1s ease-in-out
}

h1,
h2,
h3 {
	font-family: 'IBM Plex Sans Arabic', sans-serif;
	font-weight: 700
}

p {
	font-family: 'IBM Plex Sans', sans-serif;
	font-weight: 400
}

.btn-primary {
	background-color: var(--light-gray);
	color: var(--gold);
	padding: .5rem 1rem;
	border: none;
	cursor: pointer
}

.navbar-custom {
	background: linear-gradient(180deg, rgba(255, 215, 0, .05), rgba(255, 255, 255, .8));
	box-shadow: 0 4px 6px rgba(0, 0, 0, .05);
	border-bottom: 1px solid rgba(255, 215, 0, .5);
	min-height: 90px;
	padding: 10px 20px
}

.navbar-custom:hover {
	background: linear-gradient(180deg, rgba(255, 215, 0, .2), rgba(255, 255, 255, .9))
}

.navbar-custom .navbar-brand {
	color: var(--dark-blue);
	font-size: 1.5rem;
	font-weight: 700;
	transition: .3s
}

.navbar-custom .navbar-brand img {
	width: 120px;
	border-radius: 0;
	box-shadow: none;
	border: none;
	padding: 0;
	margin: 0;
	position: relative;
	left: 20px
}

.navbar-custom .nav-link {
	color: var(--dark-blue);
	font-size: 1rem;
	font-weight: 500;
	position: relative;
	padding: .7rem 1rem;
	transition: color .3s, background-color .3s;
	border-radius: 8px
}

.navbar-custom .nav-link:hover {
	color: var(--gold);
	background-color: rgba(255, 215, 0, .1)
}

.navbar-custom .nav-link.active {
	color: var(--gold)
}

.navbar-custom .navbar-toggler {
	border: none;
	color: var(--gold);
	font-size: 1.5rem;
	padding: 8px;
	transition: transform .3s
}

.navbar-custom .navbar-toggler:hover,
.offcanvas-header .btn-close:hover {
	transform: rotate(90deg)
}

.navbar-toggler:focus {
	outline: 0;
	box-shadow: none
}

.navbar-custom .search {
	background-color: rgba(255, 255, 255, .8);
	border: 2px solid var(--gold);
	border-radius: 30px;
	padding: .4rem 1rem;
	display: flex;
	align-items: center;
	box-shadow: 0 4px 6px rgba(0, 0, 0, .1)
}

.navbar-custom .search input {
	border: none;
	outline: 0;
	width: 100%;
	font-size: 1rem
}

.navbar-custom .search input::placeholder {
	color: var(--charcoal-gray);
	font-style: italic
}

.navbar-custom .search button {
	background-color: var(--gold);
	color: var(--white);
	border: none;
	border-radius: 50%;
	padding: .5rem;
	transition: background-color .3s
}

.product-title .gold-line,
.section-title h2::after {
	background: linear-gradient(135deg, gold, #d4af37, #b8860b)
}

.navbar-custom .search button:hover {
	background-color: gold
}

.offcanvas {
	height: 100vh !important;
	background: linear-gradient(135deg, rgba(248, 251, 255, .9), rgba(230, 214, 129, .9));
	box-shadow: -4px 0 15px rgba(0, 0, 0, .1);
	width: 300px
}

.offcanvas-header {
	border-bottom: 1px solid rgba(0, 0, 0, .1);
	padding: 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center
}

.offcanvas-header .btn-close {
	font-size: 1.5rem;
	color: var(--dark-blue);
	transition: transform .3s
}

.offcanvas-body {
	padding: 1rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow-y: auto
}

.product-card,
.products-section {
	position: relative;
	overflow: hidden;
	text-align: center
}

.offcanvas-body .navbar-nav {
	margin-top: 1rem
}

.offcanvas-body .nav-link {
	font-size: 1.1rem;
	font-weight: 500;
	color: var(--dark-blue);
	padding: .75rem 1rem;
	border-radius: 8px;
	transition: .3s;
	text-align: right
}

.offcanvas-body .nav-link:hover {
	background-color: rgba(255, 215, 0, .1);
	color: var(--gold)
}

.offcanvas-footer {
	padding: 1rem;
	border-top: 1px solid rgba(0, 0, 0, .1);
	text-align: center
}

.offcanvas-footer .social-icon {
	color: var(--dark-blue);
	font-size: 1.5rem;
	margin: 0 .5rem;
	transition: .3s
}

.offcanvas-footer .social-icon:hover {
	color: var(--gold);
	transform: translateY(-3px)
}

@media (max-width:991.98px) {
	.navbar-custom .nav-link {
		font-size: 1rem;
		padding: .5rem 1rem
	}

	.navbar-custom .search {
		margin-top: 1rem;
		max-width: 100%
	}

	.offcanvas-body {
		padding-top: 2rem
	}
}

@media (max-width:767.98px) {
	.offcanvas {
		width: 250px
	}

	.offcanvas-footer .social-icon {
		font-size: 1.2rem
	}

	.navbar-custom {
		padding: .5rem 1rem
	}

	.navbar-custom .nav-link {
		font-size: .9rem
	}

	.navbar-custom .search button {
		padding: .4rem
	}

	.offcanvas-body .nav-link {
		font-size: 1rem;
		padding: .6rem
	}
}

@keyframes slideIn {
	from {
		transform: translateY(-100%);
		opacity: 0
	}

	to {
		transform: translateY(0);
		opacity: 1
	}
}

.products-section {
	background: linear-gradient(135deg, var(--ack), var(--blow));
	padding: 80px 20px;
	direction: rtl
}

.section-title {
	text-align: center;
	margin-bottom: 40px
}

.section-title h2 {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--dark-blue);
	position: relative;
	margin-bottom: 10px
}

.section-title h2::after {
	content: '';
	display: block;
	width: 100px;
	height: 4px;
	margin: 10px auto 0;
	border-radius: 2px
}

.section-description {
	font-size: 1.2rem;
	color: var(--dark-blue);
	margin-bottom: 30px;
	line-height: 1.6
}

.products-section .container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	padding: 20px;
	gap: 15px
}

.product-card {
	border-radius: 15px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
	transition: .3s ease-in-out;
	background: var(--white);
	will-change: transform, opacity
}

.product-card img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #fff
}

.product-overlay a,
.product-title {
	font-weight: 700;
	transition: .3s ease-in-out;
	color: var(--dark-blue)
}

.product-title {
	position: absolute;
	top: 10px;
	left: 50%;
	transform: translateX(-50%);
	border-radius: 20px;
	z-index: 10
}

.product-title .gold-line {
	width: 50px;
	height: 3px;
	margin: 5px auto 0
}

.product-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	opacity: 0;
	transition: opacity .3s ease-in-out;
	padding-top: 50px
}

.product-card:hover .product-overlay {
	opacity: 1
}

.product-card:hover .product-title {
	background: #fff
}

.product-overlay a {
	background: var(--golden);
	padding: 10px 20px;
	border-radius: 30px;
	text-decoration: none
}

.product-overlay a:hover {
	background: var(--white);
	color: var(--dark-blue);
	transform: scale(1.1)
}

@media (max-width:992px) {
	.section-title h2 {
		font-size: 2rem
	}

	.section-description {
		font-size: 1rem
	}

	.product-card {
		width: 45%;
		height: auto
	}
}

@media (max-width:768px) {
	.section-title h2 {
		font-size: 1.8rem
	}

	.section-description {
		font-size: .95rem
	}

	.product-card {
		width: 90%;
		backdrop-filter: none !important;
		filter: none !important;
		box-shadow: 0 4px 16px rgba(0, 0, 0, .2) !important
	}

	.product-card:hover {
		transform: none !important
	}

	.products-section {
		background-attachment: scroll !important
	}

	body {
		font-family: 'IBM Plex Sans Arabic', sans-serif;
		font-weight: 400
	}
}

@media (max-width:576px) {
	.section-title h2 {
		font-size: 1.6rem
	}

	.section-description {
		font-size: .9rem
	}

	.product-card {
		width: 100%
	}
}

.product-title h3 {
	font-size: 1rem
}

.products-section {
	background: linear-gradient(135deg, rgba(0, 43, 92, .9), rgba(255, 223, 186, .8)) center/cover fixed, url('../img/loki.jpg') center/cover no-repeat fixed;
	min-height: 100vh
}

.product-card {
	width: 250px;
	height: 380px;
	backdrop-filter: blur(10px);
	background: rgba(255, 255, 255, .15);
	box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
	border: 1px solid rgba(255, 255, 255, .3);
	opacity: 0;
	transform: translateY(50px) scale(.95)
}

.section-description,
.section-title h2 {
	color: #fff;
	text-shadow: 2px 2px 5px rgba(0, 0, 0, .3)
}

.footer a:hover,
.footer h5,
.footer p:hover {
	color: #d4af37
}

.product-title {
	max-width: 90%;
	text-align: center;
	padding: 8px 12px;
	font-size: 1.1rem;
	line-height: 1.4;
	white-space: normal;
	word-wrap: break-word;
	background: rgba(255, 255, 255, .85);
	box-shadow: 0 2px 5px rgba(0, 0, 0, .2)
}

.product-overlay {
	background: rgba(0, 43, 92, .95)
}

.product-card.visible {
	opacity: 1;
	transform: translateY(0) scale(1);
	transition: opacity .5s ease-out, transform .5s ease-out
}

.footer {
	background-color: #053d61;
	color: #fff;
	padding: 50px 20px;
	text-align: center
}

.footer img {
	width: 120px;
	border-radius: 0 !important;
	box-shadow: none !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 auto !important
}

.footer a,
.footer h5,
.footer p {
	margin-bottom: 1rem;
	text-align: center
}

.footer img:hover {
	transform: scale(1.1) rotate(5deg);
	transition: transform .3s
}

.footer .info img:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 10px rgba(0, 0, 0, .4)
}

@media (min-width:992px) {
	.navbar-custom {
		background: linear-gradient(180deg, rgba(255, 215, 0, .05), rgba(255, 255, 255, .8));
		backdrop-filter: blur(10px);
		box-shadow: 0 4px 6px rgba(0, 0, 0, .05);
		border-bottom: 1px solid rgba(255, 215, 0, .5)
	}

	.navbar-custom .navbar-nav {
		margin-left: auto
	}

	.navbar-custom .nav-link {
		padding: .7rem 1rem;
		border-radius: 8px;
		transition: .3s
	}

	.footer .info img {
		margin-left: -1000px
	}
}

.footer h5 {
	font-size: 1.5rem
}

.footer a,
.footer p {
	font-size: 1rem;
	line-height: 1.8;
	color: #ccc;
	text-decoration: none
}

.contact ul a i,
.footer .social-icons a {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: #fff
}

.footer .social-icons {
	margin-top: 20px;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 15px;
	padding-right: 0
}

.footer .social-icons a {
	transition: .3s;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(255, 255, 255, .1)
}

.contact .btn :hover,
.footer .social-icons a:hover {
	color: #d4af37;
	transform: scale(1.1);
	background-color: rgba(212, 175, 55, .2);
	text-shadow: 0 0 10px rgba(212, 175, 55, .7)
}

.footer .row {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	justify-content: center;
	align-items: flex-start
}

.footer .col {
	flex: 1 1 300px;
	margin-bottom: 20px;
	text-align: center
}

@media (max-width:768px) {
	.products-section {
		background: linear-gradient(135deg, rgba(0, 43, 92, .95), rgba(255, 223, 186, .9)), url('../img/loki.jpg') center center/cover no-repeat;
		background-attachment: scroll !important
	}

	.footer img {
		width: 100px;
		margin-left: -15px
	}

	.footer .social-icons {
		gap: 10px
	}

	.footer .social-icons a {
		font-size: 1.2rem;
		padding: 8px
	}

	.footer .info img {
		width: 100px;
		height: 100px
	}

	.footer h5 {
		font-size: 1.3rem
	}

	.footer a,
	.footer p {
		font-size: .9rem
	}
}

@media (max-width:480px) {
	.footer img {
		width: 90px;
		margin-left: -10px
	}

	.footer .social-icons {
		gap: 8px
	}

	.footer .social-icons a {
		padding: 6px;
		font-size: 1.1rem
	}

	.footer {
		padding: 30px 15px
	}

	.footer h5 {
		font-size: 1.2rem
	}

	.footer a,
	.footer p {
		font-size: .8rem
	}
}

.contact ul {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0
}

.contact ul li {
	margin: 0 5px
}

.contact ul a i {
	display: flex;
	justify-content: center;
	align-items: center
}

.breaking-news {
	font-size: 1.2rem;
	color: #141414;
	border: 2px solid #d4af37;
	border-radius: 30px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
	padding: 1rem 2rem;
	background: #002b5c;
	text-align: center;
	text-shadow: 2px 2px 5px rgba(0, 0, 0, .2);
	background: linear-gradient(135deg, #d4af37, gold, #b8860b);
	font-weight: 700
}

.contact .btn,
.custom-gradient {
	background: linear-gradient(135deg, #d4af37, gold, #b8860b);
	color: #002b5c;
	font-weight: 700;
	text-align: center
}

.custom-gradient {
	padding: 20px;
	border-radius: 10px
}
/* للصفحات العربية */
html[lang="ar"] body {
  direction: rtl;
  text-align: right;
}

/* للصفحات الإنجليزية */
html[lang="en"] body {
  direction: ltr;
  text-align: left;
}
html[dir="rtl"] footer,
html[dir="rtl"] .footer {
  direction: rtl;
  text-align: right;
}

html[dir="ltr"] footer,
html[dir="ltr"] .footer {
  direction: ltr;
  text-align: left;
}