nav {
  background-color: #262626;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 10px;
  font-weight: bold;
}

.hero {
  background: url('../images/banner.jpg') no-repeat center center/cover;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 30px;
  border-radius: 10px;
}

.search-section {
  text-align: center;
  padding: 40px 20px;
  background-color: #f5f5f5;
}

.search-section form {
  display: flex;
  flex-wrap: nowrap;       /* prevent wrapping */
  justify-content: center; /* center the whole group */
  align-items: center;
  gap: 15px;                /* spacing between items */
}

.search-section select,
.search-section button {
  width: auto;              /* remove 100% width */
  min-width: 200px;         /* optional: consistent size */
  padding: 12px 15px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.search-section button {
  background-color: #004080;
  color: white;
  border: none;
  cursor: pointer;
}

.search-section button:hover {
  background-color: #003060;
}


@media (max-width: 768px) {
  .search-section form {
    flex-direction: column;
    align-items: center;
  }
}
/* Devotee Registration Page Styles */
body {
    font-family: 'Segoe UI', sans-serif;
    background: #f2f2f2;
    margin: 0;
    padding: 0;
}

.form-container {
    max-width: 500px;
    margin: 30px auto;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

h2 {
    
    color: #4a148c;
}
h3 {
    text-align: center;
    color: #4a148c;
}

input, select {
    width: 100%;
    padding: 12px;
    margin: 8px 0 15px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background-color: #4a148c;
    color: white;
    padding: 12px;
    width: 100%;
    border: none;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

.message {
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
}

.success {
    color: green;
}

.error {
    color: red;
}