﻿
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Open Sans", sans-serif;
	line-height: 1.6;
	color: #333;
	background-color: #f0f0f0;
	padding: 0 15px;
}

header {
	background-color: #f1460f;
	padding: 20px;
	color: white;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

.logo {
	font-size: 1rem;
	font-weight: bold;
}

.toggle-button {
	display: block;
	background: none;
	border: none;
	color: white;
	font-size: 1.5rem;
}

nav {
	display: flex;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background-color: #f1460f;
	transition: max-height 0.3s ease, opacity 0.3s ease;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
}

	nav.active {
		max-height: 300px;
		opacity: 1;
	}

	nav ul {
		list-style: none;
		display: flex;
		flex-direction: column;
		gap: 10px;
		padding: 15px 0;
	}

	nav a {
		color:black;
		text-decoration: none;
		font-size: 1.2rem;
		padding: 15px;
		transition: color 0.3s ease;
	}

		nav a:hover {
			color: #333;
		}

.user-profile {
	position: absolute;
	right: 20px;
	top: 20px;
}

	.user-profile a {
		color: white;
		font-size: 1.5rem;
		transition: color 0.3s ease;
	}

		.user-profile a:hover {
			color: #333;
		}

.hero {
	background-image: url("");
	background-size: cover;
	background-position: center;
	height: 35vh;
	display: flex;
	justify-content: center;
	align-items: center;
	color: black;
	text-align: center;
}

.hero-content h1 {
	font-size: 3rem;
	margin-bottom: 10px;
	text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-content p {
	font-size: 1.5rem;
	margin-bottom: 15px;
	text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.services {
	display: flex;
	justify-content: space-around;
	padding: 40px 10px;
	background-color: #e0e0e0;
	flex-wrap: wrap;
}

.service {
	text-align: center;
	width: 45%;
	background: white;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	padding: 15px;
	margin-bottom: 20px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

	.service:hover {
		transform: translateY(-10px);
		box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
	}

	.service img {
		width: 100%;
		height: auto;
		border-radius: 10px;
		margin-bottom: 15px;
	}

	.service h2 {
		font-size: 2rem;
		margin-bottom: 10px;
	}

	.service p {
		font-size: 1.1rem;
		margin-bottom: 15px;
		color: #555;
		line-height: 1.5;
	}

.cta-btn {
	background-color: #ffb74d;
	color: #1a1a3d;
	padding: 10px 20px;
	text-transform: uppercase;
	font-weight: bold;
	border-radius: 5px;
	text-decoration: none;
	transition: background-color 0.3s ease;
}

	.cta-btn:hover {
		background-color: #ff9800;
	}

footer {
	background-color: #1a1a3d;
	color: white;
	text-align: center;
	height: 70px;
	padding: 20px 0;
}

@media (max-width: 600px) {
	.hero-content h1 {
		font-size: 2rem;
	}

	.hero-content p {
		font-size: 1.2rem;
	}

	.services {
		flex-direction: column;
		align-items: center;
	}

	.service {
		width: 90% !important;
	}

	nav {
		flex-direction: column;
		max-height: 0;
	}

		nav.active {
			display: flex;
		}

	.logo {
		font-size: 1.5rem;
	}

	.cta-btn {
		padding: 8px 15px;
		font-size: 0.9rem;
	}
}

@media (max-width: 992px) {
	.hero-content h1 {
		font-size: 2.5rem;
	}

	.hero-content p {
		font-size: 1.3rem;
	}

	.service {
		width: 48%;
	}

	nav ul {
		gap: 15px;
	}

	.cta-btn {
		padding: 9px 18px;
	}
}

@media (min-width: 1200px) {
	.hero {
		height: 50vh;
	}

	.hero-content h1 {
		font-size: 4rem;
	}

	.hero-content p {
		font-size: 1.8rem;
	}

	.services {
		padding: 60px 10px;
	}

	.service h2 {
		font-size: 2.2rem;
	}

	.service p {
		font-size: 1.2rem;
	}

	.cta-btn {
		padding: 12px 25px;
		font-size: 1rem;
	}
}

@media (max-width: 600px) {
	.toggle-button {
		display: block;
	}

	nav {
		display: none;
		flex-direction: column;
	}

		nav.active {
			display: flex;
		}
}

@media (min-width: 601px) and (max-width: 992px) {
	.toggle-button {
		display: block;
	}

	nav {
		display: none;
		flex-direction: column;
	}

		nav.active {
			display: flex;
		}
}

@media (min-width: 993px) {
	.toggle-button {
		display: none;
	}

	nav {
		display: flex;
		position: static;
		max-height: none;
		opacity: 1;
	}

		nav ul {
			flex-direction: row;
			gap: 20px;
		}

		nav.active {
			display: flex;
		}
}

nav a:hover {
	color: #ccc;
}

nav a {
	color: white;
	text-decoration: none;
	font-size: 1.2rem;
	padding: 15px;
	transition: color 0.3s ease;
}
