body {
  font-family: 'Tajawal', sans-serif;
  background-color: #F1ECE6;
  margin: 0;
  padding: 0;
  color: #1A3A53;
}

input{
	font-family: 'Tajawal', sans-serif;
}

button{
	font-family: 'Tajawal', sans-serif;
}

.title {
  background-color: #F1ECE6;
  color: #AF7355;
  padding-top: 150px;
  padding-right: 600px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.title button {
  background: none;
  border: none;
  font-size: 24px;
  color: #AF7355;
  cursor: pointer;
}

main {
  max-width: 500px;
  margin: 80px auto;
  padding: 20px;
}

#mobile {
  direction: rtl;
  font-family: 'Tajawal', sans-serif;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

input {
  padding: 12px;
  font-size: 16px;
  border: none;
  border-bottom: 2px solid #1A3A53;
  background-color: transparent;
  color: #1A3A53;
}

input::placeholder {
  color: #1A3A53;
}

button[type="submit"] {
  background-color: #1A3A53;
  color: #D8CAB8;
  padding: 15px;
  font-size: 18px;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #143046;
}

.footer {
	background-color: #1A3A53;
	color: white;
	text-align: center;
	padding: 20px 0;
}

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

/* Navigation */
.navbar {
	background-color: #1A3A53;
	padding: 20px 30px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	/* box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); */
	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:transparent;
}

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

.title {
  background-color: #F1ECE6;
  color: #AF7355;
  padding: 100px 20px 20px 20px; /* top, right, bottom, left */
  text-align: center;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* .title button {
  background: none;
  border: none;
  font-size: 24px;
  color: #AF7355;
  cursor: pointer;
} */

 .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;
	 }
}