/* Sahifa markaziga to'liq joylash */
.app-download-section {
	padding: 120px 20px 80px;
	text-align: center;
	background-color: white;
	min-height: 80vh;
}

.app-download-section h1 {
	font-size: 3.5rem;
	color: var(--main-color);
	font-family: var(--header-font);
	margin-bottom: 20px;
}

.app-download-section p {
	font-size: 1.8rem;
	color: var(--secondary-text-color);
	margin-bottom: 40px;
}

.app-download-buttons {
	display: flex;
	justify-content: center;
	gap: 2rem;
	flex-wrap: wrap;
}

.app-download-buttons a {
	text-decoration: none;
	color: white;
	font-size: 1.5rem;
	font-weight: bold;
	background-color: var(--main-color);
	padding: 1rem 2rem;
	border-radius: 10px;
	transition: 0.3s;
	display: flex;
	align-items: center;
	gap: 10px;
}

.app-download-buttons a i {
	font-size: 1.8rem;
}

.app-download-buttons a:hover {
	background-color: white;
	color: var(--main-color);
	border: 2px solid var(--main-color);
}

/* Main section uchun stillar */
.main-apps {
	margin-top: 60px;
}

.download-section {
	position: relative;
	text-align: center;
	padding: 100px 20px;
}

.download-items {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-around;
	background-color: rgba(255, 255, 255, 0.6);
	border-radius: 25px;
	box-shadow: 0 0px 15px rgba(0, 0, 0, 0.2);
	backdrop-filter: blur(25px);
	z-index: 20;
	overflow: hidden;
	min-height: 500px;
	padding: 40px 20px;
}

.download-text {
	max-width: 50%;
	width: 100%;
	font-size: 10px;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: flex-start;
	justify-content: center;
	z-index: 20;
}

.download-image {
	max-width: 400px;
	width: 100%;
	height: auto;
	overflow: hidden;
	z-index: 20;
}

.download-image img {
	z-index: 50;
	width: 100%;
	height: auto;
}

.download-title {
	font-size: 4.8em;
	color: var(--main-color);
	margin-bottom: 20px;
	text-align: start;
}

.download-description {
	font-size: 2.4em;
	color: var(--secondary-text-color);
	margin: 20px 0;
	text-align: start;
}

.download-buttons {
	justify-content: flex-start;
}

.app-download-ellipse-container-3 {
	position: absolute;
	top: -20%;
	left: 65%;
	z-index: 10;
}

.download-ellipse {
	position: absolute;
	width: 500px;
	height: 500px;
	border-radius: 50%;
	border: 2px solid rgba(0, 0, 0, 0.5);
}

.download-ellipse-3 {
	top: 2.5rem;
	left: 3rem;
}

.download-ellipse-4 {
	top: 1rem;
	left: 1.5rem;
}

.download-ellipse-5 {
	top: 5rem;
	left: 4rem;
}

.app-download-ellipse-container-1 {
	position: absolute;
	width: 100%;
	height: auto;
	z-index: 1;
	left: 50%;
	top: 70%;
}

.app-download-ellipse-container-2 {
	position: absolute;
	width: 100%;
	height: auto;
	z-index: 1;
	left: -20%;
	top: 10%;
}

.download-ellipse-1 {
	position: absolute;
	max-width: 350px;
	width: 100%;
	height: 200px;
	background: #00a6ff;
	filter: blur(50px);
	top: 10%;
	left: 30%;
	z-index: 15;
	border-radius: 50%;
}

.download-ellipse-2 {
	position: absolute;
	max-width: 350px;
	height: 200px;
	width: 100%;
	background: #94ff00;
	filter: blur(50px);
	top: 10%;
	left: 20%;
	z-index: 10;
}

/* Responsive design */
@media (max-width: 1200px) {
	.download-title {
		font-size: 4em;
	}

	.download-description {
		font-size: 2em;
	}

	.download-ellipse {
		width: 400px;
		height: 400px;
	}

	.download-ellipse-1,
	.download-ellipse-2 {
		max-width: 280px;
		height: 160px;
	}
}

@media (max-width: 992px) {
	.download-items {
		flex-direction: column;
		text-align: center;
		gap: 2rem;
		padding: 60px 20px;
	}

	.download-text {
		max-width: 100%;
		align-items: center;
	}

	.download-title {
		font-size: 3.5em;
		text-align: center;
	}

	.download-description {
		font-size: 1.8em;
		text-align: center;
	}

	.download-buttons {
		justify-content: center;
	}

	.download-image {
		max-width: 350px;
		order: -1;
	}

	.app-download-ellipse-container-3 {
		top: -10%;
		left: 50%;
		transform: translateX(-50%);
	}

	.download-ellipse {
		width: 300px;
		height: 300px;
	}
}

@media (max-width: 768px) {
	.download-section {
		padding: 80px 20px;
	}

	.download-items {
		padding: 40px 15px;
		border-radius: 20px;
	}

	.download-title {
		font-size: 3em;
	}

	.download-description {
		font-size: 1.5em;
	}

	.download-image {
		max-width: 300px;
	}

	.app-download-ellipse-container-1 {
		left: 40%;
		top: 80%;
	}

	.app-download-ellipse-container-2 {
		left: -30%;
		top: 20%;
	}

	.download-ellipse-1,
	.download-ellipse-2 {
		max-width: 200px;
		height: 120px;
	}

	.download-ellipse {
		width: 250px;
		height: 250px;
	}
}

@media (max-width: 576px) {
	.main-apps {
		margin-top: 80px;
	}

	.download-section {
		padding: 60px 15px;
	}

	.download-items {
		padding: 30px 10px;
		border-radius: 15px;
		min-height: 400px;
	}

	.download-title {
		font-size: 2.5em;
		margin-bottom: 15px;
	}

	.download-description {
		font-size: 1.3em;
		margin: 15px 0;
	}

	.download-image {
		max-width: 250px;
	}

	.download-buttons {
		flex-direction: column;
		gap: 1rem;
		width: 100%;
	}

	.home_buttons a {
		width: 100%;
		justify-content: center;
	}

	.app-download-ellipse-container-3 {
		display: none;
	}

	.download-ellipse-1,
	.download-ellipse-2 {
		max-width: 150px;
		height: 100px;
		filter: blur(30px);
	}

	.download-ellipse {
		width: 200px;
		height: 200px;
	}
}

@media (max-width: 480px) {
	.download-title {
		font-size: 2.2em;
	}

	.download-description {
		font-size: 1.1em;
	}

	.download-image {
		max-width: 200px;
	}

	.download-items {
		padding: 20px 10px;
		min-height: 350px;
	}
}

@media (max-width: 360px) {
	.download-title {
		font-size: 2em;
	}

	.download-description {
		font-size: 1em;
	}

	.download-image {
		max-width: 180px;
	}

	.download-section {
		padding: 40px 10px;
	}
}
