
        /* ================= GOOGLE FONTS =============== */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400&family=Ubuntu:wght@300;400;500;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&family=Quicksand:wght@300;400;500;600;700&display=swap');
@font-face {
	font-family: Berliana;
	src: url(assets/fonts/Berliana\ Lovely.otf);
}

/* ================= VARIABLES CSS =============== */
:root {
	--header-height: 3.5rem;

	/* ======== Colors ========== */
	/* Color mode HSL(hue, saturation, lightness) */
	--first-color: #1E3A8A;
	--first-color-alt: #170b82;
	--title-color: #fafafa;
	--text-color: #a7abb4;
	--text-color-light: ;
	--white-color: #fff;
	--body-color: #fff;
	--container-color: #0a0a0a;
    --black: #000000;
	--header: linear-gradient(90deg, #1E3A8A 0%, #375198 50%, #1E3A8A 100%);




	/* ========== Fonts and Typography ============= */
	/*  .5rem = 8px | 1rem = 16px */
	--text-font: "Poppins", sans-serif;
	--title-font: "Ubuntu", sans-serif;
	--biggest-font-size: 0.5rem;
	--h1-font-size: 1.5rem;
	--h2-font-size: 1.25rem;
	--h3-font-size: 1rem;
	--normal-font-size: 0.938rem;
	--small-font-size: 0.813rem;
	--smaller-font-size: 0.75rem;

	/* ======== Font Weight =========== */
	--font-lighter: 300;
	--font-light: 400;
	--font-medium: 500;
	--font-semi-bold: 600;

	/* ========= Z Index =========== */
	--z-tooltip: 10;
	--z-fixed: 100;
}

/* Responsive Typography */
@media screen and (min-width: 968px) {
	:root {
		--h1-font-size: 2.25rem;
		--h2-font-size: 1.5rem;
		--h3-font-size: 1.25rem;
		--normal-font-size: 1rem;
		--small-font-size: 0.875rem;
		--smaller-font-size: 0.813rem;
	}
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--text-font);
	font-size: var(--normal-font-size);
	background-color: #E0E0E0;
	color: var(--text-color);
}

h1,
h2,
h3 {
	color: var(--title-color);
	font-weight: var(--font-semi-bold);
	font-family: var(--title-font);
	line-height: 1.4;
}

ul {
	list-style: none;
	font-family: var(--title-font);
}

a {
	text-decoration: none;
	font-family: var(--title-font);
}

img {
	max-width: 100%;
	height: auto;
}

/* ============== REUSABLE CSS CLASSES =============== */
.container {
	max-width: 1024px;
	margin-right: 1.5rem;
	margin-left: 1.5rem;
}

.grid {
	display: grid;
	gap: 1.5rem;
}

.section {
	padding: 4.5rem 0 2rem;
}

.section__title {
	font-size: var(--h1-font-size);
	margin-bottom: 2.5rem;
	font-family: var(--title-font);
}

.subtitle {
	font-size: var(--smaller-font-size);
	color: var(--first-color);
	padding-left: 2rem;
	position: relative;
	display: flex;
	margin-bottom: 1.3rem;
}

.subtitle::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 20px;
	height: 2px;
	background-color: var(--first-color);
}

.main {
	overflow: hidden;

}

/* ================= HEADER & NAV MENU =============== */
.header {
	width: 100%;
	background: var(--header);
	position: fixed;
	top: 0;
	left: 0;
	z-index: var(--z-fixed);
	
}

.nav {
	height: var(--header-height);
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: var(--title-font);
	padding-left: 12rem;
	padding-right: 12rem;
}

.nav__logo,
.nav__toggle {
	color: #ffffff;
	display: inline-flex;
}

.nav__logo {
	align-items: center;
	column-gap: 0.25rem;
	font-weight: 800;
	transition: 0.3s;
	font-size: 1.5rem;
	font-family: 'Orbitron';
	
}

.nav__logo i {
	font-size: 2rem;
	color: var(--first-color);

}



.nav__toggle {
	font-size: 1.25rem;
	cursor: pointer;
}

@media screen and (max-width: 767px) {
	.nav__menu {
		position: fixed;
		background-color: #ffffff;
		
		top: 0;
		right: -100%;
		width: 100%;
		height: 100%;
		-webkit-backdrop-filter: blur(96px);
		backdrop-filter: blur(96px);
		transition: 0.3s;
	}
}

.nav__list {
	display: flex;
	flex-direction: column;
	text-align: center;
	row-gap: 3rem;
	padding-top: 9rem;
}


.nav__link {
  position: relative;
  display: inline-block;
  color: #e2e8f0;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.6px;
  padding: 10px 16px;
  text-decoration: none;
  border-radius: 10px;
  background: transparent;
  transition: all 0.35s ease;
  backdrop-filter: blur(2px);
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background: linear-gradient(to right, #ffffff, #dbeafe);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.nav__link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 15px rgba(30, 58, 138, 0.2);
}

.nav__link:hover::after {
  width: 80%;
}

.nav__link:active {
  transform: scale(0.98);
  box-shadow: 0 3px 8px rgba(30, 58, 138, 0.15);
}
@media (max-width: 768px) {
	.nav__link:hover {
		text-decoration: none;
}

.nav__link:hover::after {
	text-decoration: none;
}

.nav__link:active {
  text-decoration: none;
}
}

.nav__close {
	font-size: 2rem;
	color: var(--first-color-alt);
	position: absolute;
	top: 1rem;
	right: 1.15rem;
	cursor: pointer;
}

.download__link {
	font-size: var(--normal-font-size);
	padding: 1rem 2rem;
	background-color: var(--first-color);
	border-radius: 50px;
	color: var(--body-color);
}

.download__link:hover {
	background-color: var(--first-color-alt);
	color: var(--body-color);
}

/* Show menu */
.show-menu {
	right: 0;
}

/* Change background header */
.scroll-header {
	background-color: var(--header);
	box-shadow: 0 1px 4px hsla(0, 4%, 15%, 0.1);
}

/* Active link */
.active-link {
	color: var(--first-color);
	position: relative;
}

.active-link.download__link {
	color: var(--body-color);
	background-color: var(--first-color-alt);
}

/* ============== HOME SECECTION ============== */
.home {
	padding-bottom: 0;
}

.home__container {
	padding-top: 4rem;
	row-gap: 3.5rem;
}

.home__title,
.home__value-number {
	color: var(--title-color);
}

.home__title {
	font-size: var(--biggest-font-size);
	
	margin-bottom: 0.9rem;
	text-transform: capitalize;
}

.home__description {
	color: var(--black);
	margin-bottom: 2rem;
}

.home-button {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	background-color: var(--first-color);
	color: #ffffff;
	padding: 0.9rem 2rem;
	border-radius:0.4rem;
	font-size: var(--normal-font-size);
	transition: 0.3s;
	font-family: var(--title-font);
	margin-bottom: 1.5rem;
	
}

.home-button:hover {
	background-color: var(--first-color-alt);
}

.home__value {
	display: flex;
	column-gap: 2.5rem;
	align-items: center;
}

.home__value-number {
	font-size: var(--h1-font-size);
	font-weight: var(--font-medium);
}

.home__value-number span {
	color: var(--first-color);
}

.home__value-description {
	display: flex;
	color: var(--text-color);
	font-size: var(--smaller-font-size);
}

.line-h {
	height: 50px;
	width: 2px;
	background-color: #a7abb4;
}

/* ================== ABOUT SECTION ==================== */
.about__data h2 {
	font-size: var(--h1-font-size);
}

.about__description {
	margin-bottom: 2rem;
}

.about__data-card {
	display: flex;
	column-gap: 1rem;
	margin-bottom: 4rem;
}

.about__card {
	background-color: var(--container-color);
	border-radius: 15px;
	padding: 1.2rem;
	position: relative;
	overflow: hidden;
	width: 150px;
	height: 170px;
}

.about__card img {
	border-radius: 15px;
	margin-bottom: 0.5rem;
}

.about__card-title {
	font-size: var(--small-font-size);
}

.about__card-desc {
	font-size: var(--smaller-font-size);
}

.about-card-icon {
	position: absolute;
	font-size: 1.5rem;
	color: var(--body-color);
	right: 0;
	bottom: 0;
	background-color: var(--first-color);
	padding: 0.4rem;
	border-radius: 15px 0 0 0;
	cursor: pointer;
	transition: 0.3s;
}

.about-card-icon:hover {
	background-color: var(--first-color-alt);
}

/* ============ BRANDS SECTION ================ */
.brands__img {
	width: 40px;
	opacity: 0.4;
	transition: 0.3s;
}

.brands__container {
	grid-template-columns: repeat(3, max-content);
	justify-content: center;
	align-items: center;
	gap: 4rem;
	padding-bottom: 2rem;
}

.brands__img:hover {
	opacity: 1;
}

/* =========== WHY SECTION ============= */
.why__container {
	background-color: var(--container-color);
	padding: 1.5rem;
}

.why__description {
	font-family: Berliana;
	font-size: var(--h1-font-size);
	color: var(--title-color);
}

.why__container span {
	color: var(--first-color);
}

/* ============= POPULAR SECTION ============== */
.popular {
	margin-top: -13rem;
	padding-top: 16rem;
	padding-bottom: 4rem;
	position: relative;
}

.popular-bg {
	position: absolute;
	height: 100%;
	top: 0;
	right: 50%;
	transform: translateX(50%);
	z-index: -1;
}

.popular__container h2 {
	text-align: center;
}

.popular__card {
	background-color: var(--container-color);
	border-radius: 25px;
	padding: 2rem 1.5rem;
	width: 238px;
	margin-bottom: 3.5rem;
}



.car-name {
	font-size: var(--h2-font-size);
}

.car-model {
	font-size: var(--small-font-size);
}

.car-img {
	height: 100px;
	transition: 0.3s;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0.8rem;
}

.car-img:hover {
	transform: translateY(-15px);
}

.car__details {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.car__details span {
	font-size: var(--smaller-font-size);
	color: var(--title-color);
	margin-top: 0.5rem;
}

.speed {
	display: flex;
	justify-content: center;
	align-items: center;
}

.speed img {
	width: 17px;
	margin-right: 0.25rem;
}

.car-line {
	width: 1px;
	height: 12px;
	background-color: var(--text-color);
	margin-top: 0.5rem;
}

.car__btns {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	margin-top: 1.5rem;
}

.buy-btn {
	background-color: var(--first-color);
	color: var(--body-color);
	padding: 0.4rem 1rem;
	border-radius: 50px;
	font-weight: var(--font-semi-bold);
	transition: 0.3s;
	margin-right: 0.8rem;
}

.buy-btn:hover {
	background-color: var(--first-color-alt);
}

.rent-btn {
	color: var(--title-color);
	font-weight: var(--font-semi-bold);
	transition: 0.3s;
	position: relative;
}

.rent-btn::before {
	content: "";
	position: absolute;
	bottom: -0.15rem;
	left: 0;
	width: 75%;
	height: 2px;
	background-color: var(--first-color);
	transition: 0.3s;
}

.rent-btn:hover::before {
	width: 100%;
	background-color: var(--first-color-alt);
}



.swiper-pagination-bullet {
	background-color: var(--container-color);
}

/* ============= NEWSLETTER SECTION ============== */
.newsletter__container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	background-color: var(--container-color);
	padding: 1.5rem 2rem 2rem 2rem;
}

.newsletter__description {
	margin-bottom: 1.5rem;
}

.email-input,
.button-input {
	border: none;
	outline: none;
	padding: 1rem;
}

.email-input {
	width: 60%;
	margin-right: -0.2rem;
	font-family: var(--text-font);
}

.button-input {
	font-family: var(--text-font);
	margin-left: -0.2rem;
	background-color: var(--first-color);
	color: var(--body-color);
	font-weight: var(--font-semi-bold);
	transition: 0.3s;
}

.button-input:hover {
	background-color: var(--first-color-alt);
}

/* ============ PRODUCT SECTION ================= */
.product__subtitle {
	font-size: var(--smaller-font-size);
	color: var(--first-color);
	text-align: center;
	display: block;
}

.products h2 {
	text-align: center;
}

.product__container {
	padding-top: 1rem;
}

.product__filters {
	display: flex;
	align-items: center;
	justify-content: center;
	column-gap: 1rem;
	margin-bottom: 3.5rem;
}

.product__item {
	width: 48px;
	height: 48px;
	border: none;
	padding: 0.75rem;
	background-color: var(--container-color);
	border-radius: 0.75rem;
	color: var(--title-color);
	font-weight: var(--font-medium);
	font-family: var(--title-font);
	font-size: var(--normal-font-size);
	transition: 0.3s;
	cursor: pointer;
}

.product__item img {
	width: 1.5rem;
}

.product__item span,
.product__item img {
	opacity: 0.3;
	transition: 0.3s;
}

.product__item:hover {
	background-color: var(--first-color);
	color: var(--body-color);
}

.product__item:hover span,
.product__item:hover img {
	opacity: 1;
}

.product__item:hover img {
	filter: invert(100%);
}

.product__content {
	grid-template-columns: 228px;
	row-gap: 2.5rem;
	justify-content: center;
}

.product__content .popular__card {
	margin-bottom: 0;
}

/* Active product */

.active-product {
	background-color: var(--first-color);
}

.active-product span {
	color: var(--body-color);
	opacity: 1;
}

.active-product img {
	opacity: 1;
	filter: invert(100%);
}

/* ============= DOWNLOAD SECTION =============== */
.app__container {
	background-color: var(--container-color);
	padding: 0 2rem 2rem 2rem;
}

.app__img {
	width: 70%;
	position: relative;
}

.app__data h2 {
	margin-bottom: 1.5rem;
}

.app__description {
	margin-bottom: 2rem;
}

.ios-btn a,
.android-btn a {
	padding: 0.7rem 1.6rem;
	color: var(--body-color);
	font-size: var(--small-font-size);
	font-weight: var(--font-medium);
	display: inline-flex;
	justify-content: center;
	align-items: center;
	transition: 0.3s;
}

.ios-btn a {
	background-color: var(--first-color);
	border-radius: 50px;
	margin-bottom: 1rem;
}

.ios-btn a:hover {
	background-color: var(--first-color-alt);
}

.android-btn a {
	background-color: var(--title-color);
	border-radius: 50px;
}

.android-btn a:hover {
	background-color: var(--container-color);
	color: var(--title-color);
	border: 1px solid var(--title-color);
}

.ios-btn a img,
.android-btn a img {
	width: 30px;
	margin-right: 0.5rem;
}

/* ============= FOOTER SECTION ================== */
 .footer {
	margin-top: 4rem;
	
} 

.logo-info a {
	margin-bottom: 0.8rem;
}

.footer__title {
	margin-bottom: 1rem;
	font-size: var(--h3-font-size);
}

.footer__description {
	max-width: 250px;
}

.information ul li a,
.company ul li a {
	font-size: var(--normal-font-size);
	color: var(--text-color);
	transition: 0.3s;
	display: inline-block;
}

.information ul li a:hover,
.company ul li a:hover {
	color: var(--first-color);
	transform: translateX(5px);
}

.information ul li,
.company ul li {
	margin-bottom: 0.8rem;
}

.socials ul {
	display: flex;
	align-items: center;
}

.socials ul li a i {
	color: var(--title-color);
	display: flex;
	justify-content: center;
	align-items: center;
	
	border-radius: 50%;
	padding: 0.5rem;
	transition: 0.3s;
}

/* .socials ul li a i:hover {
	
	background-color: var(--first-color);
	color: var(--body-color);
} */

.socials ul li {
	margin-right: 0.5rem;
}

.footer-line {
	width: 100%;
	height: 1px;
	/* background-color: var(--container-color); */
	margin: 4rem 0 1rem;
}

.copyright small {
	text-align: center;
	display: block;
}

/* ================= SCROLL BAR ================ */
::-webkit-scrollbar {
	width: 0.6rem;
	background-color: var(--body-color);
	border-radius: 1rem;
}

::-webkit-scrollbar-thumb {
	background-color: var(--first-color);
	border-radius: 1rem;
}

::-webkit-scrollbar-thumb:hover {
	background-color: var(--first-color-alt);
}

/* ============ SCROLL UP ============== */
.scrollup {
	position: fixed;
	right: 1rem;
	bottom: -30%;
	background-color: #161f2e72;
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	display: inline-flex;
	padding: 0.45rem;
	border-radius: 0.5rem;
	font-size: 1.15rem;
	color: var(--title-color);
	z-index: var(--z-tooltip);
	transition: 0.3s;
}

.scrollup:hover {
	transform: translateY(-0.25rem);
}

/* Show Scroll Up Button */
.show-scroll {
	bottom: 3rem;
}

/* Selection Color */
/* ::-moz-selection {
	color: var(--body-color);
	background-color: var(--first-color);
}

::selection {
	color: var(--body-color);
	background-color: var(--first-color);
} */

/* For Small Devices */
@media screen and (max-width: 350px) {
	.container {
		margin-left: 1rem;
		margin-right: 1rem;
	}

	.section {
		padding: 3.5rem 0 1rem;
	}
}

@media screen and (max-width: 320px) {
	.brands__container {
		gap: 2.5rem;
	}

	.why__description {
		font-size: var(--h2-font-size);
	}

	.popular {
		padding-top: 19rem;
	}

	.email-input,
	.button-input {
		width: 100%;
		margin: 0;
	}
}

/* For Medium Devices */
@media screen and (min-width: 576px) {
	.about__data-card {
		width: 300px;
	}

	.why__container {
		padding: 2.5rem;
	}

	.newsletter__container {
		background-color: var(--container-color);
		padding: 2rem 2.5rem 2.5rem 2.5rem;
	}

	.product__content {
		grid-template-columns: repeat(2, 228px);
		row-gap: 1.5rem;
		column-gap: 2rem;
	}

	.app__container {
		padding: 0 3rem 3rem 2rem;
	}

	.app__img {
		width: 50%;
	}

	.app__btns {
		display: grid;
		grid-template-columns: repeat(2, max-content);
		column-gap: 1rem;
		justify-items: center;
	}

	.footer__data {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* For Large Devices */
@media screen and (min-width: 767px) {
	.section {
		padding: 7rem 0 2rem;
	}

	.nav {
		height: calc(var(--header-height) + 1.5rem);
	}

	.nav__toggle,
	.nav__close {
		display: none;
	}
	
	.nav__list {
		flex-direction: row;
		column-gap: 3rem;
		padding-top: 0;
	}

	.nav__link {
		font-size: var(--normal-font-size);
	}

	.home__container,
	.about__container,
	.app__container {
		grid-template-columns: repeat(2, 1fr);
	}

	.home__title {
		font-size: 2.3rem;
	}

	.about__group {
		order: 1;
	}

	.brands__container {
		gap: 4rem 8rem;
	}

	.why__container {
		padding: 5rem;
	}

	.why__description {
		line-height: 1.8;
	}

	.popular {
		padding-top: 20rem;
	}

	.newsletter__container {
		padding-top: 4rem;
		padding-bottom: 5rem;
	}

	.newsletter__data {
		max-width: 500px;
	}

	.app__container {
		justify-content: center;
		align-items: center;
		padding-bottom: 0;
		padding-top: 2rem;
		margin-top: 2rem;
		position: relative;
	}

	/* .app__img {
		width: 90%;
		order: 1;
		margin-top: -8rem;
	} */

	.app__img {
		position: absolute;
		right: 3rem;
		top: -9.5rem;
		width: 220px;
	}

	.app__data {
		width: 350px;
	}

	.ios-btn a,
	.android-btn a {
		padding: 0.6rem 1.4rem;
	}

	.ios-btn a img,
	.android-btn a img {
		width: 20px;
	}
}

/* For Large Devices */
@media screen and (min-width: 1040px) {
	.container {
		margin-left: auto;
		margin-right: auto;
	}

	.home__title {
		font-size: 3.1rem;
		line-height: auto;
		margin-bottom: 1rem;
	}

	.home__description {
		margin-bottom: 3rem;
		
	}

	.home-button {
		margin-bottom: 1.5rem;
	}

	.home__img {
		position: absolute;
		top: 17%;
		right: 14%;
		width: 30%;
	}

	.about__img {
		width: 75%;
	}

	.about__container {
		justify-items: center;
		gap: 0;
	}

	.about__data-card {
		width: 350px;
		
	}

	.brands__container {
		grid-template-columns: repeat(6, max-content);
	}

	.brands__img {
		width: 50px;
	}

	.popular__container {
		width: 875px;
		padding-top: 3rem;
	}

	.popular__card {
		width: 258px;
		margin-bottom: 5rem;
        padding: 10px;
	}

	.product__container {
		padding-bottom: 2.5rem;
	}

	.product__filters {
		column-gap: 2rem;
		margin-bottom: 4.5rem;
	}

	.product__item {
		width: 52px;
		height: 52px;
	}

	.product__item img {
		width: 2rem;
	}

	.product__content {
		grid-template-columns: repeat(3, 248px);
		/* column-gap: 3rem;
		row-gap: 3rem; */
		gap: 3rem;
	}

	/* .app__container {
		margin-top: 10rem;
	}

	.app__img {
		width: 70%;
		margin-top: -15rem;
	} */

	.app__container {
		padding: 3rem 0 2rem 5rem;
		margin-top: 11rem;
	}

	/* .app__img {
		width: 90%;
		order: 1;
		margin-top: -8rem;
	} */

	.app__img {
		position: absolute;
		right: 5rem;
		top: -16rem;
		width: 330px;
	}

	.app__data {
		width: 400px;
	}

	.ios-btn a,
	.android-btn a {
		padding: 0.7rem 1.6rem;
	}

	.ios-btn a img,
	.android-btn a img {
		width: 25px;
	}

	.footer__data {
		grid-template-columns: repeat(4, max-content);
		justify-content: space-between;
	}
}
@media (max-width:786px) {
	.popular-bg {
		position: absolute;
		
		top: 0;
		right: 50%;
		transform: translateX(50%);
		z-index: -1;
		
	}
	
	
}
/* Add to the Popular section styles */
.swiper-button-next,
.swiper-button-prev {
    color: var(--first-color);
    width: 2rem;
    height: 2rem;
    background-color: var(--container-color);
    border-radius: 50%;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.5rem;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--first-color);
    color: var(--body-color);
}

/* Adjust button positions for better visibility */
.swiper-button-prev {
    left: 1rem;
}

.swiper-button-next {
    right: 1rem;
}

/* Add media query for responsive design */
@media screen and (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: block;
    }

	.nav__logo img{
		width: 120px;
		height: 120px;
	}
}
.delete-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #ff4d4d; /* Red color for the delete icon */
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.delete-btn:hover {
    color: #ff1a1a; /* Darker red on hover */
}


.popular__card {
    position: relative;
}
/* Grid container for car cards */
.car-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns by default */
    gap: 20px; /* Space between cards */
    margin: 0 auto; /* Center the grid */
    padding: 20px; /* Add padding for spacing */
}

/* Individual car card */
.popular__card {
    background-color: var(--container-color); /* Dark background for the card */
    color: #fcd34d; /* Yellow text */
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 16px;
    text-align: center;
    overflow: hidden; /* Ensure clean edges */
}

/* Car image */
.car-img img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 12px;
}

/* Buttons for Buy and Rent */
.car__btns a {
    display: inline-block;
    margin: 5px;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    color: black;
    transition: background-color 0.3s ease;
}

.buy-btn {
    background-color: var(--first-color); /* Green */
}

.buy-btn:hover {
    background-color: var(--first-color-alt); /* Darker green */
}

.rent-btn {
    background-color: transparent /* Blue */;

	 
}


.homeimg{
	height: 600px;
	padding-bottom:10px;
}
/* Responsive Design */

/* On smaller screens (phones), show 1 card per row */
@media (max-width: 768px) {
    .car-grid {
        grid-template-columns: 1fr; /* 1 card per row */
    }
	.homeimg{
	height: auto;
	padding-bottom:10px;
    }
	.nav{
		padding: 0;
	}
	.nav__link {
        font-size:  20px;;
		color: var(--first-color);
    }

	.home__description {
		margin-left: 1.3rem;
		margin-right: 1.3rem; 
	}
}

/* On medium screens (tablets), show 2 cards per row */
@media (min-width: 769px) and (max-width: 1200px) {
    .car-grid {
        grid-template-columns: repeat(5, 1fr); /* 2 cards per row */
    }
	.homeimg{
	height: auto;
	padding-bottom:10px;
    }
	.nav__link {
        font-size: 30px;
		color: var(--first-color);
    }
}



.show-more a {
  background-color: var(--first-color);  /* yellow-500 equivalent */
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  display: inline-block;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.show-more a:hover {
  background-color: var(--first-color-alt);  /* yellow-400 equivalent */
}

/* Optional hover effect enhancements */
/* .show-more a:focus {
  outline: 2px solid #f59e0b;
  outline-offset: 2px;
} */

.show-more a:active {
  transform: scale(0.98);
}
.show-more {
	text-align: center;
	padding-top: 0;
}
/* Show toggle button and mobile menu on screens up to 1024px (covering iPads) */
@media screen and (max-width: 1024px) {
    .nav__menu {
        position: fixed;
        background-color: #ffffff;
        top: 0;
        right: -100%;
        width: 85%;
        height: 100%;
        -webkit-backdrop-filter: blur(96px);
        backdrop-filter: blur(96px);
        transition: right 0.3s ease; /* Explicit transition */
    }

    .nav__list {
        display: flex;
        flex-direction: column;
        text-align: center;
        row-gap: 3rem;
        padding-top: 9rem;
    }

    .nav__toggle {
        display: inline-flex; /* Ensure toggle button is visible */
        padding: 0.5rem; /* Increase hit area */
    }

    .nav__close {
        display: block; /* Ensure close button is visible */
    }

    .nav {
        padding-left: 1.5rem; /* Reduce padding for smaller screens */
        padding-right: 1.5rem;
    }
}

/* Show nav links inline on screens larger than 1024px */
@media screen and (min-width: 1025px) {
    .nav {
        height: calc(var(--header-height) + 1.5rem);
    }

    .nav__toggle,
    .nav__close {
        display: none; /* Hide toggle and close buttons */
    }

    .nav__menu {
        position: static; /* Reset fixed positioning */
        background: none; /* Remove background */
        -webkit-backdrop-filter: none; /* Remove blur */
        backdrop-filter: none;
        width: auto;
        height: auto;
    }

    .nav__list {
        flex-direction: row; /* Horizontal layout */
        column-gap: 3rem;
        padding-top: 0;
    }

    .nav__link {
        font-size: var(--normal-font-size);
	
    }
}

.nav__toggle {
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem; /* Increase hit area */
}

.show-menu {
    right: 0;
}


@media screen and (max-width: 576px) {
    .footer__container {
        padding: 0px 20px;
    }
}

@media screen and (min-width: 577px) and (max-width: 767px) {
    .footer__container {
        padding: 0px 50px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .footer__container {
        padding: 0px 100px;
    }
}

@media screen and (min-width: 1025px) {
    .footer__container {
        padding: 0px 400px;
    }
}

.socials-vertical {
    display: flex;
    flex-direction: row;
    gap: 0;
    position: fixed;
    top: 40%;
    left: 0;
    z-index: 1000;
}
.socials-vertical .socialContainer {
    border-radius: 0 16px 16px 0;
    margin: 0 2px 0 0;
    width: 48px;
    height: 48px;
    background: #232323;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.3s;
}
.socials-vertical .socialContainer svg,
.socials-vertical .socialContainer i {
    font-size: 1.6rem;
    color: #fff;
}
.socials-vertical .containerOne.active { background: #232323; }
.socials-vertical .containerTwo.active { background: #19586a; }
.socials-vertical .containerThree.active { background: #232323; }
.socials-vertical .containerFour.active { background: #232323; }

.socials-vertical .containerOne:hover { background: #E1306C; }
.socials-vertical .containerTwo:hover { background: #19586a; }
.socials-vertical .containerThree:hover { background: #0077B5; }
.socials-vertical .containerFour:hover { background: #25D366; }

@media (max-width: 600px) {
    .socials-vertical {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        flex-direction: row;
        justify-content: center;
        width: 100vw;
        position: fixed;
    }
}


	/* From Uiverse.io by PauloRFJ */ 
.card {
  width: fit-content;
  height: fit-content;

 display: flex;
  align-items: center;
  justify-content: center;

  gap: 20px;
  
}

/* for all social containers*/
.socialContainer {
  width: 40px;
  height: 50px;
  background-color: rgb(44, 44, 44);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition-duration: 1.2s;
  border-radius: 15px 0 15px 0px;
}
/* instagram*/
.containerOne:hover {
  background-color: #d62976;
  transition-duration: 1s;
}
/* twitter*/
.containerTwo:hover {
  background-color: #00acee;
  transition-duration: 1s;
}
/* linkdin*/
.containerThree:hover {
  background-color: #0072b1;
  transition-duration: 1s;
}
/* Whatsapp*/
.containerFour:hover {
  background-color: #15d904;
  transition-duration: 1s;
  
}

.socialContainer:active {
  transform: scale(0.9);
  transition-duration: 1s;
}

.socialSvg {
  width: 17px;
}

.socialSvg path {
  fill: rgb(255, 255, 255);
}

.socialContainer:hover .socialSvg {
  animation: slide-in-top 1.2s both;
}

@keyframes slide-in-top {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
