/* === Subiksha Theme Colors === */
:root {
  --primary-color: #6A1B9A;
  --accent-color: #A67C52;
  --background-light: #fdfaf6;
  --text-dark: #333;
  --text-light: #fff;
}

/* === Global Reset === */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--background-light);
  color: var(--text-dark);
}

/* === Header === */
header {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header img {
  height: 50px;
}
nav a {
  color: var(--text-light);
  margin: 0 1rem;
  text-decoration: none;
  font-weight: bold;
}
nav a:hover {
  text-decoration: underline;
}

/* === Hero Section === */
.hero {
  background: url('/assets/hero.jpg') center/cover no-repeat;
  padding: 6rem 2rem;
  color: var(--text-light);
  text-align: center;
  background-color: rgba(0,0,0,0.5);
  background-blend-mode: multiply;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.hero button,
.button {
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  background: var(--accent-color);
  border: none;
  color: var(--text-light);
  cursor: pointer;
  border-radius: 5px;
}
.button:hover {
  background-color: #8b5e3c;
}

/* === Section Layout === */
.section {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: auto;
}
.section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

/* === Cards === */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  width: 300px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
}
.card h3 {
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}
.card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.card a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: bold;
}

/* === Lists === */
ul {
  list-style: none;
  padding: 0;
}
ul li::before {
  content: "✅ ";
  color: var(--primary-color);
}

/* === Form Controls === */
.form-control {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}
textarea.form-control {
  resize: vertical;
}

/* === Footer === */
footer {
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
  padding: 2rem;
}
footer a {
  color: var(--background-light);
  text-decoration: underline;
}
/* General layout */
.section {
  padding: 20px;
  max-width: 500px;
  margin: auto;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

label {
  font-weight: bold;
  margin-bottom: 5px;
}

input[type="text"],
input[type="password"] {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
}

.button {
  padding: 12px;
  font-size: 1rem;
  background-color: #5a2a82;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.button:hover {
  background-color: #4a1f6b;
}

.success {
  color: green;
  text-align: center;
}

.error {
  color: red;
  text-align: center;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .section {
    padding: 10px;
  }

  input[type="text"],
  input[type="password"],
  .button {
    font-size: 1rem;
  }
}