* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Arial", sans-serif;
}

body {
	background-color: #f5f5f5;
	color: #333;
	line-height: 1.6;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

header {
	background-color: #1a3a5f;
	color: white;
	padding: 20px 0;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	position: sticky;
	top: 0;
	z-index: 1000;
}

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

.logo {
	font-size: 24px;
	font-weight: bold;
}

.logo span {
	color: #ffcc00;
}

.contact-info {
	text-align: right;
}

.phone {
	font-size: 22px;
	font-weight: bold;
	margin-bottom: 5px;
}

.phone a {
	color: white;
	text-decoration: none;
	transition: color 0.3s;
}

.phone a:hover {
	color: #ffcc00;
}

.work-hours {
	font-size: 14px;
	color: #ffcc00;
}

.hero {
	background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
		url("https://avatars.mds.yandex.net/get-ydo/1817195/2a0000016b9331fa4f1d728e7b07974ae17b/diploma")
			no-repeat center center/cover;
	color: white;
	text-align: center;
	padding: 100px 20px;
}

.hero h1 {
	font-size: 36px;
	margin-bottom: 20px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
	font-size: 18px;
	max-width: 800px;
	margin: 0 auto 30px;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn {
	display: inline-block;
	background-color: #ffcc00;
	color: #1a3a5f;
	padding: 15px 35px;
	border-radius: 5px;
	text-decoration: none;
	font-weight: bold;
	font-size: 18px;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
}

.btn:hover {
	background-color: #ffd633;
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(255, 204, 0, 0.4);
}

.services {
	padding: 80px 0;
	background-color: white;
}

.section-title {
	text-align: center;
	margin-bottom: 50px;
	font-size: 32px;
	color: #1a3a5f;
	position: relative;
}

.section-title::after {
	content: "";
	display: block;
	width: 80px;
	height: 3px;
	background: #ffcc00;
	margin: 15px auto 0;
}

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

.service-card {
	background-color: white;
	border-radius: 10px;
	padding: 30px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	border: 1px solid #f0f0f0;
	text-align: center;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.service-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.4),
		transparent
	);
	transition: left 0.5s;
}

.service-card:hover::before {
	left: 100%;
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
	border-color: #ffcc00;
}

.service-card h3 {
	color: #1a3a5f;
	margin-bottom: 15px;
	font-size: 22px;
}

.service-card p {
	margin-bottom: 20px;
	color: #666;
}

.price {
	font-weight: bold;
	color: #e74c3c;
	font-size: 20px;
	background: #fff5f5;
	padding: 8px 15px;
	border-radius: 20px;
	display: inline-block;
}

.order-btn {
	margin-top: 15px;
	background: #1a3a5f;
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 5px;
	cursor: pointer;
	transition: background 0.3s;
	font-size: 14px;
}

.order-btn:hover {
	background: #2c3e50;
}

.about {
	background-color: #1a3a5f;
	color: white;
	padding: 80px 0;
}

.about-content {
	display: flex;
	align-items: center;
	gap: 50px;
}

.about-text {
	flex: 1;
}

.about-text h2 {
	margin-bottom: 25px;
	font-size: 32px;
	color: #ffcc00;
}

.about-text p {
	margin-bottom: 20px;
	font-size: 16px;
	line-height: 1.7;
}

.advantages {
	margin-top: 40px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 25px;
}

.advantage {
	text-align: center;
	padding: 20px 15px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	transition: transform 0.3s;
}

.advantage:hover {
	transform: translateY(-5px);
	background: rgba(255, 255, 255, 0.15);
}

.advantage div {
	font-size: 40px;
	margin-bottom: 15px;
}

.advantage h3 {
	margin-bottom: 10px;
	color: #ffcc00;
}

.advantage p {
	font-size: 14px;
	margin: 0;
}

.about-image {
	flex: 1;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(26, 58, 95, 0.8)),
		url("https://avatars.mds.yandex.net/get-ydo/1817195/2a0000016b9331fa4f1d728e7b07974ae17b/diploma")
			no-repeat center center/cover;
	min-height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	text-align: center;
	padding: 30px;
}

/* Popup Modal Styles */
.modal {
	display: none;
	position: fixed;
	z-index: 2000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	animation: fadeIn 0.3s;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.modal-content {
	background-color: white;
	margin: 5% auto;
	padding: 0;
	border-radius: 10px;
	width: 90%;
	max-width: 500px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	animation: slideIn 0.3s;
	position: relative;
}

@keyframes slideIn {
	from {
		transform: translateY(-50px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.modal-header {
	background: #1a3a5f;
	color: white;
	padding: 20px;
	border-radius: 10px 10px 0 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.modal-header h2 {
	margin: 0;
	color: #ffcc00;
}

.close {
	color: white;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.close:hover {
	color: #ffcc00;
}

.modal-body {
	padding: 30px;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: bold;
	color: #1a3a5f;
}

.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 16px;
	transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #1a3a5f;
	box-shadow: 0 0 5px rgba(26, 58, 95, 0.3);
}

.form-group textarea {
	height: 100px;
	resize: vertical;
}

.selected-service {
	background: #f8f9fa;
	padding: 15px;
	border-radius: 5px;
	margin-bottom: 20px;
	border-left: 4px solid #ffcc00;
}

.selected-service strong {
	color: #1a3a5f;
}

footer {
	background-color: #1a3a5f;
	color: white;
	padding: 50px 0 20px;
}

.footer-content {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 30px;
	margin-bottom: 30px;
}

.footer-section {
	flex: 1;
	min-width: 250px;
}

.footer-section h3 {
	margin-bottom: 20px;
	color: #ffcc00;
	font-size: 20px;
}

.footer-section p {
	margin-bottom: 12px;
	line-height: 1.6;
}

.footer-section a {
	color: white;
	text-decoration: none;
	transition: color 0.3s;
}

.footer-section a:hover {
	color: #ffcc00;
}

.copyright {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
	color: rgba(255, 255, 255, 0.7);
}

.admin-link {
	margin-top: 10px;
	font-size: 12px;
}

.admin-link a {
	color: #ffcc00;
}

.whatsapp-float {
	position: fixed;
	bottom: 25px;
	right: 25px;
	background: #25d366;
	color: white;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	text-align: center;
	font-size: 30px;
	box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: all 0.3s;
}

.whatsapp-float:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.loading {
	display: none;
	text-align: center;
	padding: 10px;
}

.loading-spinner {
	border: 4px solid #f3f3f3;
	border-top: 4px solid #1a3a5f;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	animation: spin 1s linear infinite;
	margin: 0 auto;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

@media (max-width: 768px) {
	.header-content {
		flex-direction: column;
		text-align: center;
	}

	.contact-info {
		margin-top: 15px;
	}

	.about-content {
		flex-direction: column;
	}

	.hero h1 {
		font-size: 28px;
	}

	.hero p {
		font-size: 16px;
	}

	.services-grid {
		grid-template-columns: 1fr;
	}

	.advantages {
		grid-template-columns: 1fr;
	}

	.footer-content {
		flex-direction: column;
	}

	.whatsapp-float {
		width: 50px;
		height: 50px;
		font-size: 24px;
		bottom: 20px;
		right: 20px;
	}

	.modal-content {
		margin: 10% auto;
		width: 95%;
	}
}
