/* Responsive logo size for header */
.moonflow-logo-header {
  width: 350px;
  height: auto;
  transition: width 0.2s;
}

@media (max-width: 640px) {
  .moonflow-logo-header {
    width: 200px;
  }
}
 
@media (max-width: 640px) {
  .video-container > header {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .video-container > .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
color: #1f2937;
}
.video-container {
position: relative;
width: 100%;
height: 100vh;
overflow: hidden;
 z-index: 0;
}
.video-container video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
 z-index: 1;
}
.video-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #436358;
opacity: 0.85;
z-index: 2;
pointer-events: none;
}

/* Ensure hero content and navigation are above overlay */
.video-container > header,
.video-container > .container {
  position: relative;
  z-index: 3;
}

/* Ensure hero content and navigation are above overlay */
.video-container > header,
.video-container > .container {
  position: relative;
  z-index: 3;
}
/* Ensure hero content is above overlay */
.video-container > header,
.video-container > .container {
  position: relative;
  z-index: 3;
}
.service-card {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
transform: translateY(-8px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
input:focus, textarea:focus {
outline: none;
border-color: #0066cc;
}
.custom-checkbox {
position: relative;
padding-left: 28px;
cursor: pointer;
user-select: none;
}
.custom-checkbox input {
position: absolute;
opacity: 0;
cursor: pointer;
height: 0;
width: 0;
}
.checkmark {
position: absolute;
top: 0;
left: 0;
height: 20px;
width: 20px;
background-color: #fff;
border: 1px solid #d1d5db;
border-radius: 4px;
}
.custom-checkbox:hover input ~ .checkmark {
background-color: #f3f4f6;
}
.custom-checkbox input:checked ~ .checkmark {
background-color: #0066cc;
border-color: #0066cc;
}
.checkmark:after {
content: "";
position: absolute;
display: none;
}
.custom-checkbox input:checked ~ .checkmark:after {
display: block;
}
.custom-checkbox .checkmark:after {
left: 7px;
top: 3px;
width: 6px;
height: 11px;
border: solid white;
border-width: 0 2px 2px 0;
transform: rotate(45deg);
}
.budget-selector {
position: relative;
}
.budget-selector select {
appearance: none;
background-color: transparent;
width: 100%;
padding-right: 2rem;
}
.budget-selector::after {
content: "";
position: absolute;
right: 1rem;
top: 50%;
transform: translateY(-50%);
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 5px solid #6b7280;
pointer-events: none;
}
.process-step::before {
content: "";
position: absolute;
top: 2.5rem;
left: 1.25rem;
height: calc(100% - 2.5rem);
width: 1px;
background-color: #e5e7eb;
}
.process-step:last-child::before {
display: none;
}
.custom-switch {
position: relative;
display: inline-block;
width: 50px;
height: 24px;
}
.custom-switch input {
opacity: 0;
width: 0;
height: 0;
}
.switch-slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #e5e7eb;
transition: .4s;
border-radius: 34px;
}
.switch-slider:before {
position: absolute;
content: "";
height: 18px;
width: 18px;
left: 3px;
bottom: 3px;
background-color: white;
transition: .4s;
border-radius: 50%;
}
input:checked + .switch-slider {
background-color: #0066cc;
}
input:checked + .switch-slider:before {
transform: translateX(26px);
}
.client-tabs button.active {
color: #0066cc;
border-bottom: 2px solid #0066cc;
}
:where([class^="ri-"])::before { content: "\f3c2"; }

/* Ensure rounded-button utility for buttons */
.rounded-button, .!rounded-button {
  border-radius: 8px !important;
}

/* Optional: Make sure .video-overlay is dark enough for white text */
.video-overlay {
  background: linear-gradient(to right, rgba(43, 68, 56, 0.65), rgba(12, 12, 12, 0.5));
}

/* Circular Progress Bar Styles */
.circular-progress {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: conic-gradient(darkgreen calc(var(--progress) * 1%), blue 0);
}
.circular-progress::after {
  content: attr(data-progress);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  font-weight: bold;
  color: #000;
}
