:root {
  --primary-color: #e91e63;
  --background-color: #fff;
  --text-color: #222;
  --accent-color: #000;
  --input-bg: #fdf4f7;
  --border-radius: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background-color: var(--background-color);
  color: var(--text-color);
}

/* Container */
.container {
  width: 90%;
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

/* Header */
.header {
  background-color: var(--accent-color);
  color: white;
  padding: 40px 0;
  text-align: center;
}
.header h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}
.header p {
  font-size: 1.2em;
  color: #ccc;
}

/* Sticky Navigation */
.main-nav {
  background-color: #111;
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 10px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo a {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 25px;
}
.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--primary-color);
}

/* Dropdown */
.dropdown {
  position: relative;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #222;
  top: 100%;
  left: 0;
  min-width: 180px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.dropdown-content a {
  display: block;
  padding: 10px;
  color: white;
  text-decoration: none;
}
.dropdown-content a:hover {
  background-color: var(--primary-color);
  color: white;
}
.dropdown:hover .dropdown-content {
  display: block;
}

/* Form */
.form-step {
  display: none;
}
.form-step.active {
  display: block;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.checkbox-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}


.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  background-color: var(--input-bg);
  font-size: 1rem;
}
textarea {
  resize: vertical;
  min-height: 100px;
}

/* Button */
button.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  margin-top: 10px;
}
button.btn:hover {
  background-color: #c2185b;
}

/* Progress Bar */
.progress-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}
.progress-bar div {
  flex: 1;
  height: 8px;
  margin-right: 10px;
  background-color: #eee;
  border-radius: var(--border-radius);
  position: relative;
}
.progress-bar div.active {
  background-color: var(--primary-color);
}
.progress-bar div:last-child {
  margin-right: 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.article-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  text-decoration: none;
  color: #333;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.article-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.article-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.article-meta {
  padding: 15px;
}

.article-meta h2 {
  margin: 0 0 10px;
  font-size: 1.2em;
}

.article-meta p {
  margin: 0 0 10px;
  font-size: 0.95em;
}

.form-nav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
}
.btn.back {
  background: #ccc;
  color: #333;
}
.btn.back:hover {
  background: #bbb;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: normal;
  font-size: 1rem;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"],
.checkbox-group input[type="radio"] {
  margin: 0;
  transform: scale(1.2);
  accent-color: var(--primary-color);
}

/* General checkbox layout fix */
input[type="checkbox"] + label,
label > input[type="checkbox"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: normal;
  font-size: 1rem;
  cursor: pointer;
}

/* Wraps checkbox lists for spacing and mobile */
.checkbox-list,
.contact-preference-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

/* Fix vertical alignment for lone checkboxes (e.g., preferred contact) */
input[type="checkbox"] {
  accent-color: var(--primary-color);
  transform: scale(1.1);
  margin: 0;
  vertical-align: middle;
}



/* Footer */
.footer {
  background-color: #111;
  color: #ccc;
  text-align: center;
  padding: 30px 0;
  font-size: 0.9em;
}




