/* General Styles */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #004080;
  color: white;
  padding: 10px 20px;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 50px;
  margin-right: 10px;
}


.logo-text {
  font-size: 20px;
  font-weight: bold;
  color: white;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: normal;
}

.nav-links a.active {
  font-weight: bold;
  color: #004080;
  border-bottom: 2px solid #004080;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero {
  background: url('images/back1.webp') no-repeat center center/cover;
  color: rgb(22, 1, 95);
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 3rem;
}

.hero p {
  font-size: 1.2rem;
}

.hero .btn {
  display: inline-block;
  background-color: #00bcd4;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.hero .btn:hover {
  background-color: #008c9e;
}

/* Section Styles */
section {
  padding: 50px 20px;
  text-align: center;
}

.about, .exams, .contact {
  background-color: #f9f9f9;
  margin: 20px 0;
}

h1, h2 {
  margin-bottom: 20px;
}

h1 {
  font-size: 2.5rem;
  text-align: center;
}

h2 {
  font-size: 2rem;
}

/* Footer */
.footer {
  text-align: center;
  padding: 10px 0;
  background-color: #004080;
  color: white;
}

/* Form Container */
.form-container {
  max-width: 400px;
  margin: 50px auto;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

form input {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  width: 100%;
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: #0056b3;
}

form p {
  text-align: left;
  margin-top: 15px;
}

form p a {
  color: #007bff;
  text-decoration: none;
}

/* Success Page */
.success-page {
  text-align: center;
  padding: 100px 20px;
}

.success-page h1 {
  font-size: 3rem;
  color: #004080;
}

.success-page p {
  font-size: 1.2rem;
  margin: 20px 0;
}

.success-page .btn {
  display: inline-block;
  background-color: #004080;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s;
}

.success-page .btn:hover {
  background-color: #002851;
}

/* Requirements Section */
.requirements {
  margin: -10px 0 5px;
  font-size: 12px;
  color: #666;
}

.requirements ul {
  list-style: none;
  padding: 0;
}

.requirements li {
  margin: 5px 0;
}

/* Password Strength Indicator */
#password-strength {
  margin-top: -10px;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
}

#password-strength span {
  font-weight: normal;
}

.password-container {
  position: relative;
  display: flex;
  align-items: center;
}

.password-container input[type="password"],
.password-container input[type="text"] {
  width: 100%;
  padding-right: 40px;
}

.toggle-password {
  position: absolute;
  right: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.toggle-password img {
  width: 20px;
  height: 20px;
  display: block;
}
/* Form Container */
.register-form-container {
  max-width: 600px;
  margin: 5px auto;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

form input {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  width: 100%;
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: #0056b3;
}

form p {
  text-align: left;
  margin-top: 15px;
}

form p a {
  color: #007bff;
  text-decoration: none;
}
