body {
  font-family: 'Roboto Condensed', Arial, sans-serif;
  background: #f4f4f9;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 100vh;
  text-align: center;
}

.content {
  margin-top: 40px;
}

h1 {
  color: #333;
  margin: 40px 0 50px;
  font-weight: 700;
  font-size: 40px; /* bigger title */
}

.btn {
  display: block;
  width: 500px;          /* bigger buttons */
  padding: 28px 36px;    /* taller buttons */
  margin: 20px auto;
  font-size: 26px;       /* larger text */
  font-weight: 700;
  text-decoration: none;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  color: white;
  font-family: 'Roboto Condensed', Arial, sans-serif;
}

/* Program button with rainbow border */
.btn-program {
  width: 560px;
  padding: 32px 40px;
  font-size: 28px;
  border: 7px solid transparent;
  border-radius: 22px;
  background-image:
    linear-gradient(#28a745, #28a745),
    linear-gradient(270deg, red, orange, yellow, green, blue, indigo, violet);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-size: 100%, 400% 400%;
  animation: rainbow 6s linear infinite;
}
.btn-program:hover {
  background-image:
    linear-gradient(#218838, #218838),
    linear-gradient(270deg, red, orange, yellow, green, blue, indigo, violet);
}

@keyframes rainbow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Guest button */
.btn-guest {
  background: #6200ea;
}
.btn-guest:hover {
  background: #4500b5;
}

.lab-image {
  max-width: 280px; /* unchanged */
  height: auto;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal-content {
  background: #fff;
  border-radius: 22px;
  padding: 40px;
  width: 720px;          /* wider modal for tablets */
  max-width: 95%;
  box-shadow: 0 14px 36px rgba(0,0,0,0.3);
  position: relative;
  text-align: left;
  font-size: 24px;       /* larger base font */
}
.close {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 32px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
}
.close:hover {
  color: #000;
}
.modal h2 {
  margin-top: 0;
  font-size: 32px;       /* bigger headings */
}

/* Input & dropdown */
select, input[type="text"] {
  display: block;
  width: 100%;
  max-width: 540px;
  margin: 20px auto;
  padding: 18px;         /* bigger tap target */
  font-size: 22px;
  border-radius: 12px;
  border: 1px solid #ccc;
  font-family: 'Roboto Condensed', Arial, sans-serif;
}

/* Action buttons inside modal */
.modal-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.btn-small {
  width: 48%;
  padding: 20px;         /* larger tap target */
  font-size: 22px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-weight: 700;
}
.btn-green {
  background: #28a745;
  color: white;
}
.btn-green:hover {
  background: #218838;
}
.btn-orange {
  background: #ff9800;
  color: white;
}
.btn-orange:hover {
  background: #e68900;
}

/* Responsive tweak for smaller devices */
@media (max-width: 600px) {
  h1 {
    font-size: 28px;
  }
  .btn {
    width: 95%;
    font-size: 18px;
    padding: 18px;
  }
  .btn-program {
    width: 95%;
    font-size: 20px;
    padding: 20px;
  }
  .modal-content {
    width: 95%;
    font-size: 18px;
  }
  .modal h2 {
    font-size: 22px;
  }
  select, input[type="text"] {
    max-width: 100%;
    font-size: 16px;
    padding: 12px;
  }
  .modal-actions {
    max-width: 100%;
  }
  .btn-small {
    font-size: 16px;
    padding: 12px;
  }
}
