:root {
  --theme-primary: rgb(76, 209, 55);
  --theme-secondary:  rgb(55, 209, 168);
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* ===== LAYOUT ===== */
.container-sm { max-width: 640px; margin: 0 auto; padding: 0 1rem; }
.container-md { max-width: 768px; margin: 0 auto; padding: 0 1rem; }
.container-lg { max-width: 1024px; margin: 0 auto; padding: 0 1rem; }
.container-xl { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }

/* ===== FLEXBOX ===== */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }

/* ===== GRID ===== */
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ===== SPACING ===== */
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.5rem; }
.gap-6 { gap: 2rem; }

/* Padding */
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.5rem; }
.p-6 { padding: 2rem; }
.p-8 { padding: 3rem; }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-6 { padding-left: 2rem; padding-right: 2rem; }

.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-6 { padding-top: 2rem; padding-bottom: 2rem; }
.py-8 { padding-top: 3rem; padding-bottom: 3rem; }

/* Margin */
.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.m-3 { margin: 0.75rem; }
.m-4 { margin: 1rem; }
.m-5 { margin: 1.5rem; }
.m-6 { margin: 2rem; }

.mx-auto { margin-left: auto; margin-right: auto; }
.my-4 {margin-top: 1rem; margin-bottom: 1rem;}

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.5rem; }
.mb-6 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.5rem; }

.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }

.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }

/* ===== TYPOGRAPHY ===== */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }

.line-height { line-height: 1em; }
.line-height-2 { line-height: 1.2em; }
.line-height-3 { line-height: 1.5em; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.leading-tight { line-height: 1.25; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.75; }

.decoration-none {text-decoration: none;}
.line-through { text-decoration: line-through; }

/* ===== COLORS ===== */
.text-white { color: #ffffff; }
.text-black { color: #000000; }
.text-gray { color: #6b7280; }
.text-gray-dark { color: #374151; }
.text-primary { color: var(--theme-primary); }
.text-success { color: #10b981; }
.text-danger { color: #ef4444; }

.bg-white { background-color: #ffffff; }
.bg-light { background-color: #f9fafb; }
.bg-gray { background-color: #e5e7eb; }
.bg-dark { background-color: #1f2937; }
.bg-primary { background-color: var(--theme-primary); }
.bg-success { background-color: #10b981; }
.bg-success-light { background-color: #d1fae5; }
.bg-danger-light { background-color: #fee2e2; }
.bg-gradient { background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%); }
.bg-white-10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-white-20 { background-color: rgba(255, 255, 255, 0.2); }

/* ===== BORDERS ===== */
.border { border: 1px solid #e5e7eb; }
.border-2 { border: 2px solid #e5e7eb; }
.border-primary { border-color: var(--theme-primary); }
.border-gray { border-color: #d1d5db; }
.border-danger { border-color: #ef4444; }
.border-t { border-top: 1px solid #e5e7eb; }

.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }

/* ===== SHADOWS ===== */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }

/* ===== DISPLAY ===== */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.hidden { display: none; }

/* ===== WIDTH ===== */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-1-2 { width: 50%; }
.w-1-3 { width: 33.333%; }
.w-2-3 { width: 66.666%; }

/* ===== POSITIONING ===== */
.position-relative { position: relative; }
.position-absolute { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* ===== HEIGHT ===== */
.height-full { height: 100%; }

/* ===== FORMS ===== */
.input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input:focus {
  outline: none;
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #374151;
}

.form-group {
  margin-bottom: 1.25rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-primary {
  background-color: var(--theme-primary);
  color: white;
}

.btn-primary:hover:not(:disabled) {
  /* background-color: #2563eb; */
  /* opacity: 0.9; */
  background-color: var(--theme-secondary);
}

.btn-success {
  background-color: var(--theme-primary);
  color: white;
}

.btn-success:hover:not(:disabled) {
  background-color: var(--theme-secondary);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--theme-primary);
  color: var(--theme-primary);
}

.btn-outline:hover:not(:disabled) {
  background-color: var(--theme-primary);
  color: white;
}

/* ===== CARDS ===== */
.card {
  background: white;
  border-radius: 0.5rem;
  overflow: hidden;
}

.card-shadow {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* ===== MISC ===== */
.transition { transition: all 0.2s; }
.cursor-pointer { cursor: pointer; }
.pointer-events-none { pointer-events: none; }
.overflow-hidden { overflow: hidden; }

/* ===== CUSTOM COMPONENTS ===== */
.hero {
  min-height: 400px;
  /* background: url('https://images.unsplash.com/photo-1507089947368-19c1da9775ae?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat; */
  background: linear-gradient(rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 1)), url('/home-bg-2.jpg') center/cover no-repeat;
  @media (max-width: 800px) {
    background: linear-gradient(rgba(225, 225, 225, 1), rgba(255, 255, 255, 1));
  }
  
}

/* ===== FINAL CTA SECTION ===== */
.cta-final {
  padding: 4rem 2rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(76, 209, 55, 0.05) 0%, rgba(55, 209, 168, 0.05) 100%);
  border: 2px solid rgba(76, 209, 55, 0.1);
  max-width: 900px;
  margin: 0 auto;
}

/* ===== GUARANTEE SECTION ===== */
.guarantee-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
  padding: 2rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.guarantee-row:hover {
  background-color: #f9fafb;
  transform: translateY(-5px);
}

.guarantee-row:last-child {
  margin-bottom: 0;
}

.guarantee-row-reverse {
  grid-template-columns: 1fr 1fr;
}

.guarantee-row-reverse .guarantee-image {
  order: 2;
}

.guarantee-row-reverse .guarantee-content {
  order: 1;
}

.guarantee-image {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  aspect-ratio: 4/3;
}

.guarantee-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.guarantee-row:hover .guarantee-image img {
  transform: scale(1.05);
}

.guarantee-content {
  padding: 1rem;
}

.guarantee-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: inline-block;
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 968px) {
  .guarantee-row,
  .guarantee-row-reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 1.5rem;
  }
  
  .guarantee-row-reverse .guarantee-image,
  .guarantee-row-reverse .guarantee-content {
    order: initial;
  }
  
  .guarantee-image {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .guarantee-content {
    text-align: center;
    padding: 0;
  }
}

.quote-card {
  background: white;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  max-width: 600px;
  margin: 0 auto;
}

.price-display {
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
  color: white;
  padding: 2rem;
  border-radius: 0.75rem;
  text-align: center;
  margin-top: 1.5rem;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.radio-option {
  display: flex;
  align-items: center;
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
}

.radio-option:hover {
  border-color: var(--theme-primary);
  background-color: #f9fafb;
}

.radio-option input[type="radio"] {
  margin-right: 0.75rem;
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
}

.radio-option.selected {
  border-color: var(--theme-primary);
  background-color: #eff6ff;
}

.discount-badge {
  display: inline-block;
  background-color: #10b981;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 0.5rem;
}

.flex-1 {
  flex: 1;
}

.min-h-screen {
  min-height: 100vh;
}

.hover-underline:hover {
  text-decoration: underline;
}

/* ===== SCHEDULING COMPONENTS ===== */
.scheduling-container {
  max-width: 700px;
  margin: 0 auto;
}

.quote-summary {
  background: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.scheduling-card {
  background: white;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.confirmation-card {
  background: white;
  padding: 2.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  max-width: 600px;
  margin: 0 auto;
}

/* Steps Indicator */
.steps-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.step-number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #e5e7eb;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
}

.step.active .step-number {
  background-color: var(--theme-primary);
  color: white;
}

.step.completed .step-number {
  background-color: #10b981;
  color: white;
}

.step.completed .step-number::before {
  content: "✓";
}

.step-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  text-align: center;
}

.step.active .step-label {
  color: var(--theme-primary);
}

.step-line {
  flex: 1;
  height: 2px;
  background-color: #e5e7eb;
  margin: 0 0.5rem;
  margin-bottom: 1.5rem;
  transition: background-color 0.3s;
}

.step-line.completed {
  background-color: #10b981;
}

/* Date and Time Selection */
.date-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .date-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.date-option {
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.date-option:hover {
  border-color: var(--theme-primary);
  background-color: #f9fafb;
}

.date-option.selected {
  border-color: var(--theme-primary);
  background-color: #eff6ff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .time-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.time-option {
  padding: 0.875rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
  font-size: 0.9rem;
}

.time-option:hover {
  border-color: var(--theme-primary);
  background-color: #f9fafb;
}

.time-option.selected {
  border-color: var(--theme-primary);
  background-color: #eff6ff;
  color: var(--theme-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.time-option.booked {
  background-color: #f3f4f6;
  border-color: #d1d5db;
  color: #9ca3af;
  cursor: not-allowed;
  opacity: 0.6;
}

.time-option.booked:hover {
  background-color: #f3f4f6;
  border-color: #d1d5db;
}

.booked-indicator {
  font-size: 0.75rem;
  display: block;
  margin-top: 0.25rem;
}

/* Review Section */
.review-section {
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.review-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.review-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Confirmation Details */
.confirmation-details {
  background: #f9fafb;
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.detail-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Textarea */
textarea.input {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

/* Loading Notification */
.loading-notification {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 2.5rem 3rem;
  border-radius: 1rem;
  /* box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1); */
  z-index: 9999;
  text-align: center;
  min-width: 320px;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -45%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #e5e7eb;
  border-top-color: var(--theme-primary);
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  animation: spin 0.8s linear infinite;
}

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

.loading-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.loading-subtext {
  font-size: 0.875rem;
  color: #6b7280;
}

.success-icon {
  width: 60px;
  height: 60px;
  background-color: #10b981;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
  animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* Backdrop for loading notification */
.loading-notification::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: rgba(0, 0, 0, 0.4); */
  z-index: -1;
}
