@import url("https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&family=Cairo:wght@200..1000&display=swap");

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	outline-style: none;
}
html {
	font-size: 16px;
	/* font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, "sans-serif"; */
	font-family: "Cairo", serif;
	line-height: 1.4;
	scroll-behavior: smooth;
	overflow-x: hidden;
}

.container {
	margin-left: 15px;
	margin-right: 15px;
}

.mobile-nav {
	@media (max-width: 991px) {
		flex-basis: 100%;
	}
	/* flex-basis: 100%; */
	display: flex;
	justify-content: space-between;
	align-items: center;
	span {
		color: #fff;
		font-size: 2.2rem;
	}
}

.desktop-nav {
	width: 100%;
	transition: 0.3s;
	height: 0;
	overflow: hidden;
	margin-top: 0 !important;
	&.active {
		/* display: block; */
		height: 262px;
		margin-top: 20px !important;
	}
}

.btn {
	padding: 10px 20px;
	display: inline-block;
	text-transform: uppercase;
	color: #fff !important;
	text-decoration: none;
	font-size: 0.8rem;
}

header p,
article p {
	color: #575757;
}

.btn-yellow {
	background-color: #d89e00;
	transition: 0.3s;
	cursor: pointer;
}
.btn-yellow:hover {
	background-color: #ffbb00;
}
.btn-black {
	background-color: #222;
}

body > header {
	background-color: #000;
	margin-bottom: 0;
	padding: 10px 0;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	z-index: 1000;
}
body > header img {
	height: 25px;
}
body > header label {
	color: #fff;
	border: thin #fff solid;
	border-radius: 2px;
	padding: 0 4px 2px;
	cursor: pointer;
}
body > header div.container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}

body > header nav {
	width: 100%;
	margin-top: 20px;
}

body > header nav a {
	color: #fff;
	text-transform: uppercase;
	font-size: 1rem;
	text-decoration: none;
	display: block;
	padding: 15px 0;
	text-align: center;
	transition-duration: 0.6s;
}

body > header nav a:hover {
	background-color: #f9b700;
}

p {
	color: #f6f6f6;
	font-size: 0.9rem;
}

header {
	text-align: center;
	margin-bottom: 50px;
}
header h2 {
	font-size: 2rem;
	text-transform: capitalize;
	margin-bottom: 16px;
}

#sec-1 {
	background: linear-gradient(rgb(0 0 0 / 63%), rgb(0 0 0 / 63%)),
		url(../images/header-bg.jpg) no-repeat center center / cover;
	color: #fff;
	min-height: 100svh;
	overflow-x: hidden;
}

#sec-1 .container {
	padding: 125px 0 60px;
}
#sec-1 aside {
	margin-block: 70px;
}
#sec-1 h4 {
	font-size: 0.9rem;
	text-transform: uppercase;
	font-weight: 500;
	letter-spacing: 1px;
	margin-bottom: 20px;
}
#sec-1 h2 {
	font-size: 2rem;
	text-transform: uppercase;
	font-weight: 700;
	margin-bottom: 20px;
}
#sec-1 p {
	font-size: 0.9rem;
	margin-bottom: 20px;
	text-align: justify;
}

#sec-1 form {
	border: thin solid #4b5264;
	border-radius: 8px;
	background-color: RGBA(20, 31, 50, 0.5);
	padding: 30px 40px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

#sec-1 form * {
	width: 100%;
}
#sec-1 form *:not(h3) {
	border-style: none;
	border-radius: 3px;
	padding: 10px;
	font-size: 1rem;
	margin-bottom: 10px;
	color: #3d3d3d;
}

#sec-1 form h3 {
	margin-bottom: 20px;
}

#sec-1 form input::placeholder {
	color: #999;
}

#sec-1 form :nth-child(3),
#sec-1 form :nth-child(4),
#sec-1 form :nth-child(5),
#sec-1 form :nth-child(6) {
	width: 49%;
}

#sec-2 {
	padding: 30px 0;
	overflow-x: hidden;
}

input {
	color: #3d3d3d;
}

#sec-2 article {
	background-color: #ededf7;
	padding: 25px 15px;
	margin-bottom: 15px;
	border-radius: 8px;
}
#sec-2 article h3 {
	text-transform: capitalize;
	font-size: 1.2rem;
	font-weight: 500;
	display: flex;
	align-items: center;
	margin-bottom: 16px;
}
#sec-2 article h3 img {
	margin-right: 5px;
}

#sec-3 {
	padding: 50px 0;
	overflow-x: hidden;
}

#sec-3 img {
	width: 100%;
	margin-bottom: 20px;
}

#sec-3 header {
	text-align: left;
}
#sec-3 header p {
	margin-bottom: 16px;
}
#sec-3 header p:first-of-type {
	color: #000;
	font-weight: 500;
}

#sec-3 header span {
	display: block;
}

/* Car Selection Section */
#sec-4 {
	padding: 60px 0;
	background-color: #f9f9f9;
	overflow-x: hidden;
}

#sec-4 header {
	text-align: center;
	margin-bottom: 50px;
}

#sec-4 header h2 {
	font-size: 2.5rem;
	margin-bottom: 15px;
	color: #333;
}

#sec-4 header p {
	color: #666;
	font-size: 1.1rem;
}

.car-selection {
	display: flex;
	@media screen and (max-width: 991px) {
		flex-direction: column;
	}
	align-items: center;
	gap: 50px;
}

.car-details {
	flex: 1;
}

.car-details h3 {
	font-size: 2rem;
	color: #333;
	margin-bottom: 10px;
}

.price {
	font-size: 1.5rem;
	color: #ffc107;
	font-weight: bold;
	margin-bottom: 20px;
}

.car-details p {
	color: #666;
	line-height: 1.6;
	margin-bottom: 30px;
}

.car-features {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
	margin-bottom: 30px;
}

.feature {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #333;
}

.feature i {
	color: #ffc107;
	width: 20px;
}

.car-image {
	flex: 1;
	position: relative;
}

.car-image img {
	width: 100%;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	min-height: 310px;
	@media screen and (min-width: 992px) {
		min-height: 400px;
	}
}

input {
	caret-color: #ffc107;
	caret-width: 1px;
}

.car-dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 20px;
}

.dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: #ddd;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
}

.dot:hover {
	background-color: #ffc107;
	transform: scale(1.2);
}

.dot.active {
	background-color: #ffc107;
	transform: scale(1.1);
}

.dot.active::after {
	content: "";
	position: absolute;
	top: -4px;
	left: -4px;
	right: -4px;
	bottom: -4px;
	border: 2px solid #ffc107;
	border-radius: 50%;
	opacity: 0.3;
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0% {
		transform: scale(1);
		opacity: 0.3;
	}
	50% {
		transform: scale(1.2);
		opacity: 0.1;
	}
	100% {
		transform: scale(1);
		opacity: 0.3;
	}
}

/* Support Section */
#sec-5 {
	padding: 80px 0;
	background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
		url(../images/callaction-bg.jpg) no-repeat center center / cover;
	color: #fff;
	text-align: center;
	overflow-x: hidden;
}

.support-content h2 {
	font-size: 2.5rem;
	margin-bottom: 20px;
}

.support-content p {
	font-size: 1.1rem;
	line-height: 1.6;
	margin-bottom: 30px;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.btn-outline {
	background-color: transparent;
	border: 2px solid #ffc107;
	color: #ffc107;
}

.btn-outline:hover {
	background-color: #ffc107;
	color: #333;
}

/* Blog Section */
#sec-6 {
	padding: 60px 0;
	background-color: #fff;
	overflow-x: hidden;
}

#sec-6 header {
	text-align: center;
	margin-bottom: 50px;
}

#sec-6 header h2 {
	font-size: 2.5rem;
	margin-bottom: 15px;
	color: #333;
}

#sec-6 header p {
	color: #666;
	font-size: 1.1rem;
}

.blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
}

.blog-card {
	background-color: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.blog-image {
	position: relative;
	height: 200px;
	overflow: hidden;
}

.blog-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.blog-date {
	position: absolute;
	top: 15px;
	left: 15px;
	background-color: #333;
	color: #fff;
	padding: 5px 10px;
	border-radius: 5px;
	font-size: 0.8rem;
}

.blog-content {
	padding: 20px;
}

.blog-content h3 {
	font-size: 1.2rem;
	color: #333;
	margin-bottom: 10px;
	line-height: 1.4;
}

.blog-content p {
	color: #666;
	line-height: 1.6;
	margin-bottom: 15px;
}

.blog-meta {
	display: flex;
	gap: 20px;
	font-size: 0.9rem;
	color: #999;
}

.blog-meta span {
	display: flex;
	align-items: center;
	gap: 5px;
}

.blog-meta i {
	color: #ffc107;
}

/* Footer Styles */
footer .footer-links a {
	color: #fff;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.3s ease;
	&:hover {
		color: #ffc107;
	}
}

/*Smalldevices(landscapephones,576pxandup)*/
@media (min-width: 576px) {
	.container {
		width: 520px;
		margin-left: auto;
		margin-right: auto;
	}
}
/*Mediumdevices(tablets,768pxandup)*/
@media (min-width: 768px) {
	.container {
		width: 720px;
	}
}
/*Largedevices(lap,992pxandup)*/
@media (min-width: 992px) {
	.container {
		width: 930px;
	}
	body > header {
		background-color: transparent;
	}
	body > header label {
		display: none;
	}

	body > header div.container {
		flex-wrap: nowrap;
	}

	#menubtn + nav,
	#menubtn:checked + nav {
		display: flex;
		width: auto;
		margin-top: 0;
	}

	body > header nav a {
		padding: 10px 20px;
	}

	#sec-2 div.container {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
	}
	#sec-2 div.container article {
		width: 49%;
	}
	#sec-3 header span {
		display: inline-block;
	}

	#sec-1 div.container {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	#sec-1 aside {
		width: 50%;
	}
	#sec-1 form {
		width: 48%;
	}
	#sec-2 div.container article {
		width: 32%;
	}

	#sec-3 div.container {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	#sec-3 div.container img {
		width: 50%;
	}

	#sec-3 div.container header {
		width: 45%;
		margin-bottom: 20px;
	}

	#sec-3 header span {
		display: block;
	}

	/* Car Selection Section Responsive */
	.car-selection {
		flex-direction: row;
		gap: 30px;
	}

	.car-features {
		grid-template-columns: 1fr;
	}

	/* Blog Grid Responsive */
	.blog-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
/*Extralargedevices(largedesktops,1200pxandup)*/
@media (min-width: 1200px) {
	.container {
		width: 1140px;
	}
}
@media (min-width: 1400px) {
	.container {
		width: 1340px;
	}
	#sec-1 aside {
		width: 60%;
	}
	#sec-1 form {
		width: 35%;
	}
}

@media (min-width: 992px) {
	.desktop-nav {
		display: flex !important;
		justify-content: flex-end;
		margin-top: 0;
		height: auto;
	}
	.mobile-nav span {
		display: none;
	}
	header {
		margin-bottom: 20px;
	}
}

/* Footer Styles */
footer {
	background-color: #222;
	color: #fff;
	padding: 50px 0 20px;
	margin-top: 50px;
}

.footer-content {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	margin-bottom: 30px;
}

.footer-section h4 {
	color: #ffc107;
	margin-bottom: 20px;
	font-size: 1.2rem;
	font-weight: 600;
}

.footer-logo {
	height: 40px;
	margin-bottom: 15px;
}

.footer-section p {
	color: #ccc;
	line-height: 1.6;
	margin-bottom: 20px;
}

.social-links {
	display: flex;
	gap: 15px;
}

.social-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background-color: #ffc107;
	color: #222;
	border-radius: 50%;
	text-decoration: none;
	transition: all 0.3s ease;
}

.social-links a:hover {
	background-color: #fff;
	transform: translateY(-2px);
}

.footer-section ul {
	list-style: none;
}

.footer-section ul li {
	margin-bottom: 10px;
}

.footer-section ul li a {
	color: #ccc;
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-section ul li a:hover {
	color: #ffc107;
}

.contact-info p {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 15px;
	color: #ccc;
}

.contact-info i {
	color: #ffc107;
	width: 20px;
}

.footer-bottom {
	border-top: 1px solid #444;
	padding-top: 20px;
}

.footer-bottom-content {
	display: flex;
	flex-direction: column;
	gap: 15px;
	align-items: center;
	text-align: center;
}

.footer-bottom p {
	color: #ccc;
	margin: 0;
}

.footer-links {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	justify-content: center;
}

.footer-links a {
	color: #ccc;
	text-decoration: none;
	font-size: 0.9rem;
	transition: color 0.3s ease;
}

.footer-links a:hover {
	color: #ffc107;
}

/* Responsive Footer */
@media (min-width: 768px) {
	.footer-content {
		grid-template-columns: repeat(2, 1fr);
	}

	.footer-bottom-content {
		flex-direction: row;
		justify-content: space-between;
		text-align: left;
	}
}

@media (min-width: 992px) {
	.footer-content {
		grid-template-columns: repeat(4, 1fr);
	}
}
