body {
  margin: 0;
  font-family: sans-serif;
  background-color: #f8f9fa;
  color: #333;
}

.navbar {
  background: #222;
  color: #fff;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo a {
  color: #fff;
  text-decoration: none;
  font-size: 2rem;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo img {
  height: 56px;
  margin-right: 8px;
}

.logo-text {
  font-size: 2rem;
  line-height: 1;
}

.navbar nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.navbar nav a {
  color: #fff;
  text-decoration: none;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: linear-gradient(to right, #f3f3f3, #ffffff);
}

.hero-text {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  max-width: 500px;
}

.hero-text h1 {
  font-size: 2.5em;
  margin-bottom: 15px;
}

.hero-text p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.hero-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
  padding: 20px;
}

.hero-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cta-button {
  background: #007bff;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.cta-button:hover {
  background: #0056b3;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.table th,
.table td {
  border: 1px solid #ccc;
  padding: 8px 12px;
  text-align: left;
}

.table th {
  background-color: #f9f9f9;
}

.footer {
  text-align: center;
  padding: 1rem;
  background: #eee;
  margin-top: 2rem;
}

.signup-form {
  max-width: 400px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.signup-form h1 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.signup-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.signup-form label {
  display: flex;
  flex-direction: column;
  font-weight: bold;
}

.signup-form input, .signup-form select {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.error {
  color: red;
  list-style: none;
  padding-left: 0;
}

.success {
  color: green;
  text-align: center;
}

.form-group { 
  margin-bottom: 1rem; 
}

.field-list { 
  margin-top: 1rem; 
  padding-left: 1rem; 
}

.field-item { 
  margin-bottom: 0.5rem; 
}

.advanced { 
  margin-top: 2rem; 
  border-top: 1px solid #ccc; 
  padding-top: 1rem; 
}

.message { 
  padding: 1rem; 
  margin-bottom: 1rem; 
  border-radius: 5px; 
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start;
  padding: 10px;
}

.card-box {
  flex: 1 1 250px; /* grow, shrink, base size */
  max-width: 300px;
  min-width: 200px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  padding: 1rem; 
  border: 1px solid #ddd; 
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
  margin: 1rem 0; 
}

.card-box-mob {
  justify-content: center;
  padding: 20px;
}

.card-mob {
  width: 80%;
  height: auto;
}

.card-box h3 { 
  margin: 0; 
}

.card-actions a { 
  margin-right: 1rem; 
  text-decoration: none; 
  color: #007bff; 
}

.info-icon-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
  margin-left: 5px;
}

.info-icon {
  display: inline-block;
  background-color: #007BFF;
  color: white;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 12px;
  line-height: 16px;
  text-align: center;
  font-weight: bold;
}

.tooltip-text {
  visibility: hidden;
  width: 220px;
  background-color: #333;
  color: #fff;
  text-align: left;
  border-radius: 5px;
  padding: 8px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* show above */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.2s;
}

.info-icon-wrapper:hover .tooltip-text,
.info-icon-wrapper:focus-within .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.box { max-width: 400px; margin: auto; background: white; padding: 30px; border-radius: 10px; box-shadow: 0 0 10px rgba(0,0,0,0.1); }

input[type="email"], input[type="password"] {
    width: 100%; padding: 10px; margin-top: 10px; margin-bottom: 20px;
    border: 1px solid #ccc; border-radius: 5px;
}

button {
    background-color: #007BFF; color: white; padding: 10px 20px;
    border: none; border-radius: 5px; cursor: pointer;
}

button:hover { background-color: #0056b3; }

.message { margin-top: 20px; color: green; }


/* Responsive layout */
@media (max-width: 600px) {
  .navbar nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }
}

