@import url("https://fonts.googleapis.com/css?family=Cairo:500,700,600");

:root {
	--primary-color: #165b2e;
	--secondary-color: #3a9db6;
	--light-color: #f8f8f8;
	--dark-color: #1b303c;
	--main-padding: 70px 0;
	--main-transition: 0.2s ease-in-out;
}

* {
	box-sizing: border-box;
}

a {
	color: inherit;
	text-decoration: none;
}
body {
	font-family: "Cairo", sans-serif;
}

/*  */
.text-pr {
	color: var(--primary-color);
}
.text-sec {
	color: var(--secondary-color);
}
.main-p {
	padding: var(--main-padding);
}
.bg-main {
	background-color: var(--primary-color);
}
.bg-alt {
	background-color: var(--secondary-color);
}
.btn-fill {
	background-color: var(--primary-color);
	color: white;
	width: 300px;
	padding: 10px;
	max-width: 400px;
	border-radius: 11px;
	text-align: center;
	transition: var(--main-transition);
}
.btn-outer {
	border: 1px solid var(--primary-color);
	color: var(--primary-color);
	width: 300px;
	padding: 10px;
	max-width: 400px;
	border-radius: 11px;
	text-align: center;
	transition: var(--main-transition);
}
.btn-fill:hover {
	background-color: white;
	border: 1px solid var(--primary-color);
	color: var(--primary-color);
}
.btn-outer:hover {
	background-color: var(--primary-color);
	color: white;
}
/*  */

/* layout */

.arrow-top {
	bottom: 20px;
	right: 20px;
	width: 45px;
	height: 45px;
	border-radius: 100%;
	font-size: 25px;
	cursor: pointer;
	transition: all var(--main-transition);
	visibility: hidden;
}

header {
	background-color: #f8f8f8;
	z-index: 999;
}

.navbar-nav .nav-link {
	font-size: 18px;
	font-weight: 500;
	transition: color 0.3s ease;
	margin: 0 8px;
}

.navbar-nav .nav-link:hover {
	color: var(--secondary-color);
}

.navbar .social-icons a {
	color: var(--primary-color);
	font-size: 1.2rem;
	transition: color 0.3s ease;
}

.navbar .social-icons a:hover {
	color: var(--secondary-color);
}

.navbar .lang a {
	text-decoration: none;
	color: var(--primary-color);
	font-weight: 500;
	font-size: 18px;
}
footer {
	background-color: var(--dark-color);
}

footer a {
	color: var(--light-color);
	text-decoration: none;
	transition: color 0.3s ease;
}

footer a:hover {
	color: var(--secondary-color);
}

footer .social-icons a {
	font-size: 1.5rem;
	margin-right: 10px;
}

footer hr {
	background-color: var(--secondary-color);
}

@media (max-width: 768px) {
	.navbar-nav {
		text-align: center;
	}

	.social-icons {
		justify-content: center;
		margin-top: 1rem;
	}
}

/* layout */

/* compare */

.modern-card {
	border: none;
	border-radius: 15px;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	overflow: hidden;
}

.modern-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.modern-card .card-title {
	color: var(--primary-color);
	font-weight: 600;
}

.modern-card .btn-primary {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
	transition: all 0.3s ease;
}

.modern-card .btn-primary:hover {
	background-color: var(--secondary-color);
	border-color: var(--secondary-color);
}

.icon-circle {
	width: 80px;
	height: 80px;
	background-color: var(--primary-color);
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 20px auto;
}

.icon-circle i {
	color: white;
	font-size: 2rem;
}
.table-responsive .table {
	min-width: 500px;
}
.table-responsive .table th {
	background-color: var(--primary-color);
	color: white;
}

.table-striped tbody tr:nth-of-type(odd) {
	background-color: rgba(5, 157, 180, 0.1);
}

/* compare */

/* products */

.search-section {
	background-image: url(../images/products/serchbanner.png);
	background-size: cover;
	background-position: bottom;
	height: 480px;
	position: relative;
}
.search-section::after {
	content: "";
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	height: 100%;
	background: #0000009d;
}

.search-section .compare-btn {
	background-color: #165b2e;
	border-color: #165b2e;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 16px;
	padding: 0 20px;
	white-space: nowrap;
}

.search-section .search-bar input {
	padding: 16px 20px;
	padding-right: 40px;
	background-color: rgba(255, 255, 255, 0.29);
	border: 1px solid #f2f2f2;
	border-radius: 16px;
	height: 52px;
	color: white;
}

.search-section .search-bar i {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
}

.products-section .product-card {
	background: linear-gradient(231deg, rgba(92, 154, 103, 1) 0%, rgba(148, 167, 101, 1) 100%);
	border-radius: 24px;
	overflow: hidden;
	color: white;
}

.products-section .product-card .card-body {
	padding: 40px;
}
.products-section .product-card .card-title {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 24px;
}

.products-section .product-card:nth-child(odd) .row {
	flex-direction: row-reverse;
}

.products-section .product-card .card-text {
	font-size: 20px;
	line-height: 35px;
	margin-bottom: 24px;
}

.products-section .product-card .btn {
	padding: 10px 50px;
	border-radius: 11px;
	font-size: 20px;
}

.products-section .product-card .btn-outline-light:hover {
	color: #165b2e;
}

.products-section .product-card .btn-light {
	color: #165b2e;
	font-weight: 600;
}

.products-section .product-card img {
	height: 400px;
	width: 100%;
	object-fit: cover;
	object-position: top;
	border-radius: 24px;
}

@media (max-width: 768px) {
	.search-container {
		flex-direction: column;
		align-items: stretch;
	}

	.compare-btn,
	.search-bar input {
		width: 100%;
	}

	.product-card .row {
		flex-direction: column;
	}

	.product-card img {
		object-fit: cover;
	}

	.products-section .product-card .btn {
		padding: 10px 20px;
		border-radius: 11px;
		font-size: 17px;
	}
	.products-section .product-card .card-body {
		padding: 30px 20px;
	}
	.products-section .product-card .card-text {
		font-size: 18px;
		line-height: 35px;
		margin-bottom: 24px;
	}
}

.details .search-section {
	background-image: unset;
	position: relative;
	height: unset;
}
.details .search-section::after {
	height: 0;
	width: 0;
}

.details .search-section .search-bar i {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: black;
}

.details .search-section {
	background-image: unset;
	position: relative;
	height: unset;
}

.details .card {
	border: none;
	transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.details .card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.details .table {
	min-width: 500px;
}
.details .table th {
	font-weight: 600;
}

.details .badge {
	font-weight: 600;
	padding: 8px 10px;
}

@media (max-width: 768px) {
	.hero-section {
		text-align: center;
	}
}

/* package */

.prog-section .progress-container {
	position: relative;
	padding: 0 12px;
}

.prog-section .progress {
	height: 8px;
	background-color: #e0e0e0;
	margin-bottom: 20px;
}

.prog-section .progress-bar {
	background-color: #165b2e;
}

.prog-section .step-indicators {
	position: absolute;
	top: -8px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: space-between;
}

.prog-section .step {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background-color: #165b2e;
	display: flex;
	align-items: center;
	justify-content: center;
}

.prog-section .step-icon {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background-color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #165b2e;
	font-size: 0.8rem;
}

.prog-section .step.completed .step-icon {
	background-color: #165b2e;
	color: white;
}

.prog-section .step-image {
	width: 48px;
	height: 48px;
}

.prog-section .step-selector {
	cursor: pointer;
	transition: transform 0.3s ease;
	padding: 10px;
	border-radius: 11px;
	color: var(--primary-color);
	border: 1px solid var(--primary-color);
}

.prog-section .step-selector:hover {
	transform: scale(102%);
}

.prog-section .step-selector.active {
	background-color: var(--primary-color);
	color: white;
	font-weight: 600;
}

.pack-section .card {
	border: none;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease;
}

.pack-section .card:hover {
	transform: translateY(-5px);
}

.pack-section .card-footer .btn:hover {
	color: var(--primary-color);
}
.pack-section .product-card {
	cursor: pointer;
	transition: all 0.3s ease;
}

.pack-section .product-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pack-section .product-card.selected {
	background-color: var(--primary-color);
	color: white !important;
}

@media only screen and (max-width: 767px) {
	.prog-section .step-image {
		width: 40px;
		height: 40px;
	}

	.prog-section .step-selector {
		padding: 8px;
	}
}
/* package */
/* الدرجة  */
.grade-section .card-title {
	background: linear-gradient(180deg, #059db4 0%, #02444e 100%);
	color: white;
	padding: 20px;
	border-radius: 11px;
}
.grade-section .product-card.selected p {
	color: white !important;
}

/* الدرجة */

/* Hide arrows in Chrome, Safari, Edge, and Opera */
.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Hide arrows in Firefox */
.quantity-input {
	-moz-appearance: textfield;
}

.unit-btn {
	border: 1px solid #155724;
	background-color: white;
	padding: 8px 10px;
	border-radius: 11px;
	cursor: pointer;
	transition: 0.3s;
}

.unit-btn.active {
	background-color: #155724;
	color: white;
}

.quantity-input {
	border: 1px solid #ccc;
	border-radius: 11px;
	outline: none;
}

.quantity-input:focus {
	border-color: #28a745;
	box-shadow: none;
}

.alert-message {
	color: red;
	font-size: 14px;
	display: none;
}
