/*============================
  CSS Variables
============================*/
:root {
  --primary-color: #d42a2a; /* Keeping primary from Styles2.css */
  --primary-hover: #b02222;
  --secondary-color: #f5f5f5;
  --border-radius: 0.375rem;
  --neutral-bg: #f8f9fa;
  --form-border: #ced4da;
  --text-color: #333;
  --heading-color: #d42a2a;
  --danger-color: #3572dc;
  --font-family: 'Roboto', sans-serif;
  --box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  --transition-speed: 0.5s;
  --row-spacing: 0.75rem;
  --font-size-base: 1rem; 
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.25rem;
}

/*=============================
  Global Layout
=============================*/
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  background-color: var(--neutral-bg);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  overflow-x: auto;
}

main {
  flex: 1;
}

footer {
  text-align: center;
  flex-shrink: 0;
}

/*=============================
  Headings & Typography
=============================*/
h3, h4, h5, h6 {
  color: var(--text-color);
  text-align: center;
  margin-bottom: 0.75rem;
}

h1, h2 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1em;
}

p {
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

label {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

/*=============================
  Forms & Inputs
=============================*/
input[type="text"],
input[type="tel"],
input[type="number"],
input[type="email"],
select,
textarea {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  margin-bottom: var(--row-spacing);
  border: 1px solid var(--form-border);
  border-radius: var(--border-radius);
  font-size: var(--font-size-base);
  color: var(--text-color);
  background-color: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(212, 42, 42, 0.25);
}

/*=============================
  Upload Section
=============================*/
.upload-section {
  margin-top: 2em;
  padding: 1.5em;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.upload-section h2 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1em;
}

.upload-section p {
  text-align: center;
  margin-bottom: 1em;
}

.upload-section form {
  max-width: 600px;
  margin: 0 auto;
}

/*=============================
  Wizard Steps
=============================*/
.wizard-step {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.card-title {
  color: var(--heading-color);
  text-align: center;
  margin-bottom: 1rem;
}

@media (max-width: 576px) {
  .d-flex {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1rem;
  }
}

/*=============================
  Phone & Email Rows
=============================*/
.phone-row, .email-row {
  background-color: #fff;
  border: 1px solid var(--form-border);
  border-radius: var(--border-radius);
  padding: 1rem;
  margin-bottom: var(--row-spacing);
}

/*=============================
  Buttons & Modals
=============================*/
.service-btn {
  margin: 0.5rem;
  border-radius: var(--border-radius);
  transition: background-color 0.3s, color 0.3s;
}

.service-btn.active,
.service-btn:active,
.service-btn.selected {
  background-color: var(--danger-color);
  color: #fff;
  border-color: var(--danger-color);
}


