
@keyframes blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.7; }
}

.top-banner {
	animation: blink 2s infinite;
}


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

body {
	font-family: 'Tajawal', sans-serif;
	background-color: #F2E9E2;
	color: #1A3A53;
	line-height: 1.6;
	overflow-x: hidden;
	padding-top: 100px; /* Add enough top padding to accommodate banner + navbar */
}

.top-banner {
	background-color: #e63946;
	color: white;
	text-align: center;
	padding: 10px;
	font-size: 16px;
	font-weight: bold;
	position: fixed; /* Changed from sticky to fixed */
	top: 0;
	left: 0;
	right: 0;
	z-index: 1001; /* Make sure it's above the navbar */
	animation: blink 2s infinite;
}


/* Navigation */
.navbar {
	background-color: transparent;
	padding: 20px 30px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: fixed;
	top: 40px; /* Shift navbar down below the top banner */
	left: 0;
	right: 0;
	z-index: 1000;
	transition: background-color 0.3s ease-in-out;
}

.nav-logo {
	max-height: 50px;
	transition: transform 0.3s ease-in-out;
}

.nav-links {
	display: flex;
	gap: 30px;
	font-size: 18px;
	margin-left: 0;
}

.nav-links a {
	text-decoration: none;
	color: #BFA288;
	font-weight: 500;
	transition: color 0.3s ease;
}

.nav-links a:hover {
	color: #AF7355;
}

.navbar.scrolled {
	background-color: #1A3A53;
}

/* Hero Section */
.hero {
	background-image: url('https://source.unsplash.com/1600x900/?photography');
	background-size: cover;
	background-position: center;
	padding: 100px 0;
	color: #BFA288;
	text-align: center;
	position: relative;
}

.hero h1 {
	font-size: 48px;
	font-weight: 700;
	margin-bottom: 20px;
}

.hero p {
	font-size: 20px;
	margin-bottom: 30px;
}

.cta-button {
	background-color: #AF7355;
	color: white;
	padding: 15px 40px;
	text-decoration: none;
	font-size: 18px;
	border-radius: 30px;
	transition: all 0.3s ease;
}

.cta-button:hover {
	background-color: #1A3A53;
}

/* Features Section */
.features {
	padding: 80px 0;
	background-color: #fff;
	text-align: center;
}

.features h2 {
	font-size: 36px;
	color: #1A3A53;
	margin-bottom: 40px;
}

.features {
	padding: 80px 0;
	background-color: #fff;  /* White background */
	text-align: center;
	background-image: url('https://source.unsplash.com/1600x900/?photography');
	background-size: cover; /* Ensure the image covers the entire area */
	background-position: center center; /* Keep the background image centered */
	background-repeat: no-repeat; /* Prevent repeating */
	position: relative;  /* Ensure proper stacking context */
}

/* Feature Items */
.feature-item {
	width: 280px;  /* Adjust to 30% on desktop */
	margin: 20px;
	padding: 20px;
	background-color: #F2E9E2;
	box-shadow: none;
	border-radius: 12px;
	display: inline-block; /* Ensure items are aligned side by side */
	transition: transform 0.3s ease;
}

.feature-item:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.feature-item img {
	max-width: 100%;
	height: auto;
	border-radius: 20px;
	margin-bottom: 20px;
	border: solid 2px black;
}

.feature-item h3 {
	font-size: 24px;
	color: #AF7355;
	margin-bottom: 10px;
}

.feature-item p {
	color: #333;
	font-size: 16px;
}

/* How It Works Section */
.how-it-works {
	padding: 80px 0;
	background-color: #1A3A53;
	color: white;
	text-align: center;
}

.how-it-works h2 {
	font-size: 36px;
	margin-bottom: 40px;
}

.steps {
	display: flex;
	justify-content: center;
	gap: 40px;
	flex-wrap: wrap;
}

.step {
	width: 250px; /* Default width for desktop */
	background-color: #F2E9E2;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	padding: 30px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	margin: 10px; /* Space between items */
}

.step:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.step h3 {
	font-size: 24px;
	margin-bottom: 20px;
	color: #1A3A53;
}

.step p {
	color: #333;
}

/* Register Section */
.register {
	padding: 80px 0;
	background-color: #fff;
	text-align: center;
}

.register h2 {
	font-size: 36px;
	color: #1A3A53;
	margin-bottom: 40px;
}

.pricing-cards {
	display: flex;
	justify-content: center;
	gap: 30px;
	flex-wrap: wrap;
}

.pricing-card {
	background-color: #F2E9E2;
	width: 280px;
	padding: 30px;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	text-align: center;
	transition: all 0.3s ease;
}

.pricing-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.pricing-card h3 {
	font-size: 28px;
	color: #AF7355;
	margin-bottom: 20px;
}

.pricing-card .price {
	font-size: 30px;
	color: #1A3A53;
	margin-bottom: 20px;
}

/* .pricing-card ul {
	list-style: none;
	padding: 0;
	margin-bottom: 30px;
	text-align: left;
}

.pricing-card ul li {
	font-size: 16px;
	margin-bottom: 10px;
	color: #333;
} */

.cta-button {
	background-color: #AF7355;
	color: white;
	padding: 15px 40px;
	text-decoration: none;
	font-size: 18px;
	border-radius: 30px;
	transition: all 0.3s ease;
}

.cta-button:hover {
	background-color: #1A3A53;
}

/* Contact Section */
.contact {
	padding: 80px 0;
	background-color: #F2E9E2;
	text-align: center;
}

.contact h2 {
	font-size: 36px;
	color: #1A3A53;
	margin-bottom: 30px;
}

.contact-info {
	display: flex;
	justify-content: center;
	gap: 40px;
	flex-wrap: wrap;
	margin-bottom: 40px;
}

.contact-item {
	background-color: white;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	width: 250px;
	text-align: center;
}

.contact-item h3 {
	font-size: 24px;
	color: #AF7355;
	margin-bottom: 15px;
}

.contact-item p {
	font-size: 18px;
	color: #333;
	margin-bottom: 10px;
	text-decoration: none;
}

.contact-item a{
	text-decoration: none;
	color: #1A3A53;
}

/* Footer Section */
.footer {
	background-color: #1A3A53;
	color: white;
	text-align: center;
	padding: 40px 0;
}

.footer p {
	font-size: 16px;
	margin-top: 20px;
}

/* Scroll Animations */
.fade-up {
	opacity: 0;
	transform: translateY(20px);
	animation: fadeUp 0.8s forwards;
}

@keyframes fadeUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.download-section {
	padding: 40px 0;
	background-color: #1A3A53;
	text-align: center;
}

.download-buttons {
	display: flex;
	justify-content: center;
	gap: 30px;
}

.download-buttons img {
	width: 200px;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.download-buttons img:hover {
	transform: scale(1.05);
}


/* Media Queries */
@media (max-width: 768px) {
	/* .navbar {
	flex-direction: column;
	text-align: center;
} */

 .navbar {
	flex-direction: row;  /* Make sure it's a row on mobile */
	justify-content: space-between; /* Adjust the spacing between logo and nav links */
	text-align: left;  /* Align text to the left */
}

.nav-logo {
	max-height: 30px;  /* Adjust logo size for mobile */
}

.nav-links {
	display: flex;
	gap: 15px;  /* Reduce space between nav items on mobile */
	font-size: 12px;  /* Adjust font size */
	margin-left: 0;
}

.nav-links a {
	text-decoration: none;
	color: #BFA288;
	font-weight: 500;
	transition: color 0.3s ease;
}

.hero {
		padding: 100px 20px;
		margin-top: 100px; /* Adjusted margin to avoid navbar overlap */
	}
	
	.hero h1 {
		font-size: 36px;
	}

.features {
		padding: 50px 20px;
	}
	
	.features h2 {
		font-size: 23px;
	}
	
.feature-item {
		width: 90%;  /* Each item will take 90% width on mobile */
		margin: 10px auto;  /* Center align items */
		padding: 15px;
	}

	
	.feature-item img {
		width: 60%; /* Adjust image size for mobile */
		margin: 0 auto;
	}
	
	.feature-item h3 {
		font-size: 20px;
	}
	
	.feature-item p {
		font-size: 14px;
	}

	.step {
		width: 80%;  /* Shrink the width for mobile */
		margin: 10px auto;  /* Center it horizontally with auto margin */
		padding: 20px;  /* Adjust padding for mobile */
	}
	
	.feature-item {
		width: 100%;
	}
	
	.how-it-works h2{
		font-size: 23px;
	}
	
	.register h2{
		font-size: 23px;
	}
	
	.contact h2 {
		font-size: 23px;
	}
	
	.pricing-card {
		background-color: #F2E9E2;
		width: 180px;
		height: 150px;
		padding: 30px;
		border-radius: 12px;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
		text-align: center;
		transition: all 0.3s ease;
	}
	
	.download-buttons {
		flex-direction: column;
		gap: 20px;
	}
	
	.download-buttons img {
		width: 180px;
	}
	
	.pricing-card h3 {
		font-size: 18px;
		color: #AF7355;
		margin-bottom: 20px;
	}
	
	.pricing-card .price {
		font-size: 18px;
		color: #1A3A53;
		margin-bottom: 20px;
	}
}