/* ================================
   GLOBAL
================================ */
body {
  background: #f4f6fb;
  font-family: "Segoe UI", sans-serif;
  color: #495057;
  line-height: 1.5;
  font-size: 0.9rem; /* slightly smaller font */
}


/* ================================
   HEADER
================================ */
.header {
  background-color: rgba(255, 255, 255, 0.95); /* Slight transparency */
  backdrop-filter: blur(10px); /* Smooth glassy effect */
  z-index: 1050;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08); /* Subtle shadow */
}

.header-logo {
  height: 50px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.header-logo:hover {
  transform: scale(1.05);
}

.header-title {
  font-family: 'Segoe UI', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #dc3545;
  text-align: center;
}

.header-btn {
  padding: 0.5rem 1.6rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.header-btn.custom-hover:hover {
  background-color: #0d6efd !important;
  border-color: #0d6efd !important;
  color: #fff !important;
}

/* On scroll, slightly shrink header for elegance */
.header.shrink {
  padding: 0.3rem 1rem;
  box-shadow: 0 4px 18px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
  .header-title {
    font-size: 1rem;
  }

  .header-logo {
    height: 40px;
  }

  .header-btn {
    padding: 0.4rem 1.2rem;
    font-size: 0.85rem;
  }

  .header .d-flex {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
}






/* ================================
   FORM CARD
================================ */
.form-card {
  max-width: 900px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  padding: 2rem;
}

/* ================================
   STEP PANELS
================================ */
.step {
  display: none;
}
.step.active {
  display: block;
  animation: fadeInUp 0.4s ease-in-out;
}
.step-panel {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #e9ecef;
}

/* ================================
   STEP TITLES
================================ */
.step-title {
  font-weight: 700;
  font-size: 1.15rem;
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 2px solid #f1f3f5;
}

/* ================================
   FORM SECTION GRID
================================ */
.row .col-md-6 {
  padding-left: 10px;
  padding-right: 10px;
}

.form-control,
.form-select,
textarea {
  border-radius: 10px;
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem; /* smaller input font */
  height: 38px;
}

textarea {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

/* ================================
   LABELS
================================ */
.form-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: #dc3545;
  margin-bottom: 4px;
}

/* ================================
   OPTION GROUPS (RADIOS / CHECKBOXES)
================================ */
.option-group {
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
}

.option-group legend {
  font-size: 0.82rem;
  font-weight: 700;
  color: #dc3545;
  padding: 0 6px;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #dee2e6;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.option-card:hover {
  border-color: #0d6efd;
  background: #f8f9ff;
}

.option-card input {
  accent-color: #dc3545;
}

/* ================================
   TWO-COLUMN GRID FOR INPUTS
================================ */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.col-md-6 {
  flex: 0 0 48%;
}

/* ================================
   CHECKBOX GRID
================================ */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

/* ================================
   STEP INDICATOR
================================ */
.step-indicator {
  display: flex;
  justify-content: space-between;
  background: #f1f3f5;
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 25px;
}

.step-item {
  flex: 1;
  text-align: center;
  position: relative;
}

.step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  right: -50%;
  width: 100%;
  height: 3px;
  background: #dee2e6;
  z-index: 0;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #dee2e6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #6c757d;
  margin: 0 auto;
  z-index: 1;
}

.step-circle.active,
.step-circle.completed {
  background: linear-gradient(135deg, #dc3545, #0d6efd);
  color: #fff;
}

.step-label {
  font-size: 0.75rem;
  margin-top: 6px;
  display: block;
}

/* ================================
   PROGRESS BAR
================================ */
.progress {
  height: 8px;
  background: #e9ecef;
  border-radius: 20px;
}

.progress-bar {
  border-radius: 20px;
  background: linear-gradient(90deg,#dc3545,#0d6efd);
  transition: width 0.3s ease;
}

/* ================================
   BUTTONS
================================ */
#nextBtn, #prevBtn {
  min-width: 130px;
  padding: 0.5rem 1.8rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 50px;
}

/* ================================
   ANIMATION
================================ */
@keyframes fadeInUp {
  from {opacity:0; transform:translateY(10px);}
  to {opacity:1; transform:translateY(0);}
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  .col-md-6 {
    flex: 0 0 100%;
  }

  .step-panel {
    padding: 1.5rem;
  }
}



