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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.hidden {
  display: none !important;
}

.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  /* background: linear-gradient(135deg, #2563eb, #3b82f6, #1d4ed8); */
   background: linear-gradient(135deg, #f97316, #fb923c, #f59e0b);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.8s ease-out;
}

.splash-content {
  text-align: center;
  color: white;
}

.splash-icon {
  margin-bottom: 1.5rem;
  animation: pulse 3s infinite, rotate 3s linear infinite;
}

.splash-icon i {
  font-size: 6rem;
  color: white;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.splash-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.splash-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  animation: fadeInUp 0.8s ease-out 1s both;
}

.splash-line {
  width: 4rem;
  height: 0.25rem;
  background: white;
  margin: 2rem auto 0;
  border-radius: 2px;
  animation: fadeInUp 0.8s ease-out 1.5s both;
}

.loader {
  margin: 2rem auto 0;
  border: 6px solid #fff;
  border-top: 6px solid #f97316;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.main-app {
  min-height: 100vh;
  /* background: linear-gradient(135deg, #f8fafc, #e0f2fe); */
    background: linear-gradient(135deg, #fff7ed, #fef3c7);
  animation: fadeIn 0.8s ease-out;
}

.navbar {
  background: rgb(255, 255, 255);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #e2e8f0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.back-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: #2563eb;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.back-button:hover {
  background: #eff6ff;
  color: #1d4ed8;
}

.back-text {
  display: none;
}

.nav-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1f2937;
  letter-spacing: 0.05em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.nav-spacer {
  width: 5rem;
}

.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.cards-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
  /* background: linear-gradient(135deg, #3b82f6, #2563eb); */
    background: linear-gradient(135deg, #fb923c, #f97316);
  color: white;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card-header i {
  font-size: 1.25rem;
}

.card-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
}

.card-content {
  padding: 1.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.service-item {
  padding: 1.5rem;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-item i {
  font-size: 3rem;
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease;
}

.service-item:hover i {
  transform: scale(1.1);
}

.service-item h3 {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.service-item p {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.4;
}

.service-form {
  display: flex;
  flex-direction: column;
  gap: 0.50rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #272626;
}

.form-group label i {
  color: #3b82f6;
  width: 1rem;
}

.form-group input {
  padding: 0.50rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.2s ease;
  background: #fafafa;
}

.form-group input:focus {
  outline: none;
  border-color: #3b82f6;
  background: white;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.schedule-edit-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.edit-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #3b82f6;
  font-size: 1rem;
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.edit-btn:hover {
  background: #e0ecff;
}

.remarks-textarea {
  padding: 0.50rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
  resize: vertical;
  transition: all 0.2s ease;
  background: #fafafa;
}

.remarks-textarea:focus {
  outline: none;
  border-color: #3b82f6;
  background: white;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}


.accept-button {
  /* background: linear-gradient(135deg, #3b82f6, #2563eb); */
  background: linear-gradient(135deg, #fb923c, #f59e0b);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  /* box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4); */
    box-shadow: 0 4px 14px rgba(251, 146, 60, 0.4);
  margin-top: 0.5rem;
}

.accept-button:hover {
  /* background: linear-gradient(135deg, #2563eb, #1d4ed8); */
  background: linear-gradient(135deg, #f59e0b, #f97316);
  transform: translateY(-2px);
  /* box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5); */
    box-shadow: 0 8px 25px rgba(251, 146, 60, 0.5);

}

.hidden {
  display: none;
}

.thank-you-screen {
  width: 100%;
  height: 100vh;
  background: #f1f5f9;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.6s ease-out forwards;
  z-index: 999;
  padding: 20px;
}

.thank-you-content {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.thank-you-icon {
  color: #22c55e;
  font-size: 56px;
  margin-bottom: 20px;
}

.thank-you-title {
  font-size: 24px;
  color: #1f2937;
  margin-bottom: 10px;
}

.thank-you-message {
  font-size: 16px;
  color: #4b5563;
  margin-bottom: 10px;
}

.scheduled-date {
  font-size: 16px;
  color: #2563eb;
  font-weight: 600;
  margin-top: 10px;
}


/* .back-home-button {
  background-color: #3b82f6;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
}

.back-home-button:hover {
  background-color: #2563eb;
} */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 640px) {
  .back-text {
    display: inline;
  }
  .splash-title {
    font-size: 4rem;
  }
  .splash-subtitle {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .cards-container {
    grid-template-columns: 1fr 1fr;
  }
  .main-content {
    padding: 3rem 1rem;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-item {
    padding: 1.25rem;
  }
  .service-item i {
    font-size: 2.5rem;
  }
  .nav-title {
    font-size: 1rem;
  }
  .splash-title {
    font-size: 2.5rem;
  }
  .splash-icon i {
    font-size: 4rem;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding: 0.75rem 0.5rem;
  }
  .card-content {
    padding: 0.75rem;
  }
  .card-header {
    padding: 0.75rem;
  }
  .service-item {
    padding: 0.75rem;
  }
}
