/* 🌐 General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #f9fbff, #eef3ff); /* clean white + blue tint */
  color: #111827;
  line-height: 1.6;
}

/* 🌟 Book Section */
.book-test-section {
  padding: 50px 20px;
  text-align: center;
  color: #1e3a8a;
  background: linear-gradient(135deg, #e0f2fe, #dbeafe); /* light modern blue bg */
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(59,130,246,0.15);
  max-width: 900px;
  margin: 40px auto;
}

.book-test-section h1 {
  font-size: 34px;
  margin-bottom: 15px;
  color: #1d4ed8; /* bright blue */
  font-weight: 800;
  letter-spacing: 0.5px;
}

.book-test-section p {
  font-size: 17px;
  margin-bottom: 18px;
  color: #374151; /* neutral dark gray */
}

.book-test-section p.price {
  font-weight: 700;
  font-size: 22px;
  color: #2563eb;
  margin-bottom: 0;
}

/* 🔘 Button */
.button-container {
  display: flex;
  justify-content: center;
  margin: 25px 0;
  flex-wrap: wrap;
  gap: 15px;
}

.info-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  gap: 10px;
  transition: all 0.35s ease;
  box-shadow: 0 8px 20px rgba(37,99,235,0.25);
}

.info-button:hover {
  background: linear-gradient(135deg, #1e40af, #153eaa);
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 28px rgba(37,99,235,0.35);
}

.info-button .icon {
  font-size: 20px;
}

/* 📑 Form */
form {
  max-width: 700px;
  margin: 50px auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  border: 1px solid #dbeafe;
}

form:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

/* ✏️ Input Fields */
form input,
form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 15px;
  background: #f9fafb;
  margin-bottom: 18px;
  transition: all 0.3s ease;
}

form input:focus,
form select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 10px rgba(37,99,235,0.3);
  background: #ffffff;
  outline: none;
}

/* 🚀 Submit Button */
button[type="submit"] {
  width: 100%;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  border: none;
  padding: 16px 30px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.35s ease;
  box-shadow: 0 10px 25px rgba(37,99,235,0.25);
}

button[type="submit"]:hover {
  background: linear-gradient(135deg, #1e40af, #153eaa);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 35px rgba(37,99,235,0.35);
}

main{
        font-family: Arial, sans-serif;
        background: #f2eded;
        margin: 0;
        padding: 0;
        justify-content: center;
    }
    .container {
        width: 100%;
        max-width: 900px;
        background: #fff;
        padding: 20px 30px;
        margin: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    h2, h3 {
        margin: 10px 0;
    }
    p {
        margin-top: 5px;
    }
    label {
        display: block;
        margin-top: 15px;
        font-weight: bold;
    }
    input, select {
        width: 100%;
        padding: 10px;
        margin-top: 5px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }
    .radio-group {
        margin-top: 1px;
    }
    .radio-group label {
        font-weight: normal;
        margin-right: 5vw;
    }
    .btns {
        display: flex;
        justify-content: space-between;
        margin-top: 20px;
    }
    button {
        background: #3f498cf8;
        color: rgb(246, 244, 244);
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
    }
    .summary-box {
        border: 1px solid #7d76e0;
        padding: 20px;
        border-radius: 8px;
        margin-top: 20px;
        background: #fdfcfc;
color: #060505;
    }
    .summary-box p {
        margin: 8px 0;
    }
    .highlight {
        font-weight: bold;
    }
    .pay-btn {
        display: inline-block;
        background: #28a745;
        color: white;
        padding: 12px 20px;
        border-radius: 5px;
        text-decoration: none;
        font-size: 16px;
        margin-top: 20px;
    }
/* ===== Reset & Variables ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #3f49d1;
  --primary-dark: #2d36a3;
  --muted: #cfd6f6;
  --bg: linear-gradient(135deg, #071126, #002a59);
  --card-bg: rgba(255,255,255,0.06);
  --input-bg: rgba(255,255,255,0.1);
  --border: rgba(255,255,255,0.2);
  --shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* ===== Page Background ===== */
main {
  font-family: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: #f1f5f9;
  min-height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 30px;
}

/* ===== Form Container ===== */
.form-container {
  width: 680px;
  max-width: 100%;
  background: var(--card-bg);
  border-radius: 16px;
  padding: 35px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
  transition: 0.4s;
}

.form-container:hover {
  transform: translateY(-6px);
}

/* ===== Header ===== */
.form-container h2 {
  font-size: 24px;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.form-container p.lead {
  color: #dbeafe;
  font-size: 14px;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ===== Progress Bar ===== */
.progress-container {
  width: 90%;
  margin: 25px auto 30px;
}

.progressbar {
  counter-reset: step;
  display: flex;
  justify-content: space-between;
  list-style: none;
  position: relative;
}

.progressbar li {
  position: relative;
  text-align: center;
  flex: 1;
  font-size: 12px;
  text-transform: uppercase;
  color: #9ca3af;
}

.progressbar li:before {
  content: counter(step);
  counter-increment: step;
  width: 34px;
  height: 34px;
  line-height: 34px;
  display: block;
  background: #6b7280;
  border-radius: 50%;
  margin: 0 auto 10px auto;
  color: white;
  font-weight: 600;
  transition: 0.4s;
}

.progressbar li:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: #6b7280;
  top: 16px;
  left: -50%;
  z-index: -1;
  transition: 0.4s;
}

.progressbar li:first-child:after { content: none; }

.progressbar li.active {
  color: var(--muted);
  font-weight: 600;
}

.progressbar li.active:before {
  background: var(--primary);
}

.progressbar li.active + li:after {
  background: var(--primary);
}

/* ===== Form Steps ===== */
.form-step {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.form-step.active {
  display: block;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

/* ===== Form Elements ===== */
.form-section {
  margin-bottom: 28px;
}

.form-section h3 {
  margin-bottom: 14px;
  color: #f9fafb;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  color: #e2e8f0;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  background: var(--input-bg);
  color: #f1f5f9;
  transition: border 0.3s, background 0.3s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: rgba(255,255,255,0.15);
  outline: none;
}

.inline-inputs {
  display: flex;
  gap: 10px;
}

.inline-inputs select { flex: 1; }

.note {
  font-size: 12px;
  color: #9ca3af;
}

/* ===== Buttons ===== */
.next-btn,
.prev-btn,
button[type="submit"] {
  padding: 12px 22px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.next-btn,
button[type="submit"] {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 6px 18px rgba(63, 73, 209, 0.35);
}

.next-btn:hover,
button[type="submit"]:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 25px rgba(63, 73, 209, 0.5);
}

.prev-btn {
  background: rgba(255,255,255,0.1);
  color: #f1f5f9;
  border: 1px solid var(--border);
}

.prev-btn:hover {
  background: rgba(255,255,255,0.2);
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .inline-inputs { flex-direction: column; }
  .progressbar li { font-size: 9px; }
  .form-container { padding: 22px; }
  .next-btn, .prev-btn { width: 100%; margin: 6px 0; }
}
