/* Basic reset */
* {
  margin: 0;
  padding: 0;
  font-family: "Lexend", sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: #cb5225;
}

body {
  background-color: #cb5225;
  color: white;
  text-align: center;
}

/* Navbar */
.navbar {
  background-color: white;
  padding: 10px 40px;
  display: flex;
  align-items: center;
  justify-content: center; /* centers the whole nav horizontally */
  height: 70px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 50px; /* space between logo and links */
}

.logo {
  height: 50px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a {
  color: #cb5225;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #a53e1c;
  text-decoration: underline;
}

.nav-left a {
  text-decoration: none;
}

.nav-left a:hover {
  text-decoration: none;
}

/* Hero section */
.hero {
  position: relative;
  width: 100%;
}

.hero-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

/* Text inside the image */
.hero-text {
  position: absolute;
  top: 140px;
  left: 150px;
  color: white;
  text-align: left;
}

.hero-text h1 {
  font-size: 100px;
  line-height: 1.1;
}

/* About section */
.about {
  background-color: #cb5225;
  color: white;
  padding: 60px 100px;
  text-align: left;
}

.about h2 {
  font-size: 50px;
  margin-bottom: 20px;
  text-align: center;
}

/* Benefits section */
.benefits {
  background-color: white;
  color: #cb5225;
  padding: 60px;
  font-size: 35px;
}

.benefits h2 {
  margin-bottom: 30px;
  font-size: 50px; /* This keeps "YOUR BENEFITS" big */
}

.benefit-box {
  display: inline-block;
  width: 300px;
  height: 400px;
  margin: 20px;
  background-color: white;
  color: #cb5225;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.benefit-box img {
  width: 100%;
  height: 80%;
  object-fit: cover;
}

/* Smaller text for the benefit captions */
.benefit-box p {
  margin-top: 10px;
  font-weight: bold;
  font-size: 20px;  /* smaller than the section title */
}

.text1 {
  text-align: center;
  font-size: 20px;
}

.footer {
  background-color: #cb5225;
  color: white;
  text-align: center;
  padding: 25px 0;
  font-size: 16px;
  margin-top: 30px;
}

/* Login/Register Page */
.form-container {
  background-color: white;
  color: #cb5225;
  width: 400px;
  margin: 100px auto;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  text-align: center;
}

.form-container h2 {
  font-size: 35px;
  margin-bottom: 15px;
}

.form-container p {
  font-size: 18px;
  margin-bottom: 25px;
}

.form-container input {
  width: 90%;
  padding: 12px;
  margin-bottom: 20px;
  border: 2px solid #cb5225;
  border-radius: 8px;
  font-size: 16px;
}

.form-container button {
  background-color: #cb5225;
  color: white;
  border: none;
  padding: 12px 40px;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
}

.form-container button:hover {
  background-color: #a53e1c;
}

/* Register Page */
.form-container {
  background-color: white;
  color: #cb5225;
  width: 450px;
  margin: 100px auto;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  text-align: center;
}

.form-container h2 {
  font-size: 35px;
  margin-bottom: 10px;
}

.form-container p {
  font-size: 18px;
  margin-bottom: 25px;
}

.form-container input,
.form-container select {
  width: 90%;
  padding: 12px;
  margin-bottom: 20px;
  border: 2px solid #cb5225;
  border-radius: 8px;
  font-size: 16px;
}

.form-container select {
  background-color: white;
  color: #cb5225;
}

.form-container label {
  display: block;
  text-align: left;
  margin: 10px 0 5px 25px;
  font-weight: bold;
  font-size: 14px;
}

.form-link {
  margin-top: 20px;
}
