:root {
  --light_one: #f5faff; /* Alice Blue */
  --light_two: #d9eaff; /* Very light blue */
  --light_three: #e6f0ff; /* Pale blue */
  --light_four: #f5faff; /* Almost white blue tint */
  --light_five: #f5a623; /* Warm orange (button color) */
  --light_six: #7a99b8; /* Muted steel blue */
  --light_seven: #c0d6f9; /* Light periwinkle */
  --light_eight: #a9bee8; /* Light cornflower */
  --light_nine: #eaf4ff; /* Very pale blue */
  --light_ten: #8eb3e6; /* Medium light blue */
  --light_eleven: #ffa500; /* Orange for stars/icons */

  --dark_one: #0b2d66; /* Dark navy blue */
  --dark_two: #1a3d8f; /* Strong blue */
  --dark_three: #d35400; /* Deep orange (button color) */
  --dark_four: #003d99; /* Royal blue */
  --dark_five: rgba(26, 61, 143, 0.3); /* Semi-transparent blue */
  --dark_six: #04082b; /* Very dark blue */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--light_four);
  overflow-x: hidden;
  background-image: linear-gradient(
      to bottom,
      rgba(245, 250, 255, 1) 0%,
      rgba(245, 250, 255, 1) 5vh,
      rgba(245, 250, 255, 0.2) 250vh,
      rgba(245, 250, 255, 0) 100%
    ),
    url("images/image.webp");
  background-position: center;
  background-size: contain;
}

a,
span,
button,
input[type="button"],
input[type="submit"],
.clickable {
  cursor: pointer;
}

section {
  padding: 2rem 2rem;
}

.container2 {
  max-width: 1200px;
  margin: 0 auto;
  text-align: justify;
}

.navbar {
  padding: 18px 25px;
}

.navv {
  position: sticky;
  top: 0;
  background-color: var(--light_four);
  z-index: 2001;
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

nav {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-left: auto;
  margin-right: 10px;
  transition: opacity 0.3s ease;
}

.brand {
  display: flex;
  align-items: center;
  font-size: 28px;
  font-weight: bold;
  color: var(--dark_one);
  transition: opacity 0.3s ease;
}

.logo {
  height: 50px;
  margin-right: 10px;
}

.brandtext {
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
}

.brandtext:hover,
.brandtext:visited,
.brandtext:active,
.brandtext:focus {
  color: currentColor;
  text-decoration: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  user-select: none;
  width: 28px;
  height: 24px;
  position: relative;
  justify-content: center;
}

.hamburger-icon {
  width: 100%;
  height: 3px;
  background-color: var(--dark_one);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open .hamburger-icon {
  opacity: 0;
  pointer-events: none;
}

.close-icon {
  font-size: 28px;
  color: var(--dark_one);
  font-weight: bold;
  line-height: 1;
  user-select: none;
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 9999;
  display: none;
  padding: 4px 8px;
  background-color: transparent;
  border-radius: 4px;
  transition: opacity 0.3s ease;
}

.hamburger.open .close-icon {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.menu-open .hamburger-icon {
  display: none;
}

.menu-open .close-icon {
  display: block;
}

.dropbtn {
  background: none;
  border: none;
  color: var(--dark_one);
  background-color: var(--light_one);
  font-size: 18px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  transition: color 0.3s ease;
}

.dropbtn:hover {
  color: var(--dark_two);
}

.arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
  color: var(--dark_one);
}

.dropdown:hover .arrow {
  transform: rotate(180deg);
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding: 12px 15px;
  background-color: var(--light_four);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 100;
  min-width: max-content;
  white-space: nowrap;
  flex-direction: column;
}

.dropdown-content a {
  text-decoration: none;
  color: var(--dark_one);
  font-size: 17px;
  margin: 4px 0;
  padding: 12px 18px;
  display: inline-block;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-content a:hover {
  background-color: var(--dark_one);
  color: var(--light_one);
}

.dropdown:hover .dropdown-content {
  display: flex;
}

.call-button {
  background-color: var(--dark_one);
  color: var(--light_one);
  font-size: 18px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 45px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  transition: background-color 0.15s ease, color 0.15s ease;
  user-select: none;
  margin-left: 10px;
}

.call-button:hover {
  background-color: var(--light_five);
  color: var(--dark_three);
}

.call-button .option-icon {
  width: 20px;
  height: 20px;
  bottom: -1px;
  fill: currentColor;
  margin-right: 2px;
  transition: fill 0.3s ease, transform 0.3s ease;
  position: relative;
}

.call-button:hover .option-icon {
  transform: scale(1.1);
  fill: var(--dark_three);
}

.call-button .option-icon path {
  transform-origin: center;
}

.get-started-btn {
  background-color: var(--dark_three);
}

.get-started-btn:hover {
  background-color: var(--light_five);
  color: var(--light_three);
}

.contact-bar {
  display: none;
  width: 100%;
  text-align: center;
  margin: 0;
  padding: 14px 0;
  background-color: var(--dark_one);
  color: var(--light_three);
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  user-select: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  border-radius: 0;
}

.contact-bar:hover {
  background-color: var(--dark_one);
  color: var(--light_three);
}

.nav-call {
  white-space: nowrap;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

#slidePanel {
  position: fixed;
  top: 20px;
  right: -500px;
  bottom: 20px;
  width: 480px;
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 25px 20px;
  transition: right 0.3s ease;
  z-index: 1001;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#slidePanel.open {
  right: 20px;
}

.slide-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#closeSlide {
  position: absolute;
  top: 8px;
  right: 20px;
  font-size: 35px;
  font-weight: bold;
  color: #333;
  background: none;
  border: none;
  z-index: 1002;
}

.close-slide {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #333;
  z-index: 10;
}

.back-icon {
  width: 22px;
  height: 22px;
}

.back-arrow {
  top: 25px;
  width: 22px;
  height: 22px;
  left: 20px;
  text-decoration: none;
  z-index: 1002;
}

.step {
  display: none;
  flex-direction: column;
  width: 100%;
  opacity: 0;
}

.step.active {
  display: block;
  opacity: 1;
}

.slide-in-right {
  animation: slideInRight 0.3s forwards;
}

.slide-out-left {
  animation: slideOutLeft 0.3s forwards;
}

.slide-in-left {
  animation: slideInLeft 0.3s forwards;
}

.slide-out-right {
  animation: slideOutRight 0.3s forwards;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutLeft {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-100%);
    opacity: 0;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.question {
  padding-top: 70px;
  padding-bottom: 20px;
}

.question2 {
  padding-top: 50px;
  padding-bottom: 20px;
}

.slide-content h2 {
  font-size: 22px;
  margin: 20px 0 20px;
  color: var(--dark_one);
}

.option-btn {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  padding: 16px 50px;
  margin: 8px 0;
  font-size: 18px;
  background-color: var(--light_six);
  color: var(--dark_one);
  text-align: center;
  text-decoration: none;
  border-radius: 45px;
  transition: background-color 0.2s ease;
}

.option-btn:hover {
  background-color: var(--dark_one);
  color: var(--light_seven);
}

.option-btn .option-icon {
  width: 30px;
  height: 30px;
  fill: currentColor;
  margin-right: 20px;
  transition: fill 0.3s ease, transform 0.3s ease;
  position: relative;
}

.option-btn:hover .option-icon {
  transform: scale(1.1);
  fill: var(--light_eleven);
}

.option-btn .option-icon path {
  transform-origin: center;
}

#next {
  background-color: var(--dark_one);
  color: var(--light_seven);
}

#next:hover {
  background-color: var(--dark_two);
}

.mcq-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 16px 50px;
  margin: 8px 0;
  font-size: 18px;
  background-color: var(--light_six);
  color: var(--dark_one);
  border-radius: 45px;
  user-select: none;
  border: 2px solid transparent;
  gap: 10px;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
  text-decoration: none;
}

.mcq-btn input[type="checkbox"] {
  display: none;
}

.mcq-btn input[type="checkbox"]:checked + span {
  background-color: var(--dark_four);
  color: var(--light_seven);
  padding: 0 2px;
  border-radius: 45px;
}

.mcq-btn:hover {
  background-color: var(--light_eight);
  color: var(--dark_one);
}

.mcq-btn:has(input[type="checkbox"]:checked) {
  background-color: var(--dark_four);
  color: var(--light_seven);
  border-color: var(--dark_four);
}

.mcq-btn .option-icon {
  width: 30px;
  height: 30px;
  fill: currentColor;
  margin-right: 10px;
  transition: fill 0.3s ease, transform 0.3s ease;
  position: relative;
}

.mcq-btn:hover .option-icon {
  transform: scale(1.1);
}

.mcq-btn .option-icon path {
  transform-origin: center;
}

#jobFormFields,
#careRequestForm {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 16px;
}

#jobFormFields input[type="text"],
#jobFormFields input[type="tel"],
#jobFormFields input[type="email"],
#careRequestForm input[type="text"],
#careRequestForm input[type="tel"],
#careRequestForm input[type="email"] {
  padding: 14px 20px;
  font-size: 18px;
  border: 2px solid var(--light_eight);
  border-radius: 45px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  color: var(--dark_one);
  background-color: var(--light_nine);
}

#jobFormFields input[type="text"]:focus,
#jobFormFields input[type="tel"]:focus,
#jobFormFields input[type="email"]:focus,
#careRequestForm input[type="text"]:focus,
#careRequestForm input[type="tel"]:focus,
#careRequestForm input[type="email"]:focus {
  border-color: var(--dark_one);
  box-shadow: 0 0 8px var(--dark_six);
}

.form-group {
  position: relative;
  margin-bottom: 5px;
}

.form-group input {
  width: 100%;
  padding: 14px 20px;
  font-size: 18px;
  border: 2px solid var(--light_eight);
  border-radius: 45px;
  outline: none;
  background-color: var(--light_nine);
  color: var(--dark_one);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder {
  color: transparent;
}

.form-group label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #555;
  background-color: transparent;
  padding: 0 6px;
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
  top: -10px;
  left: 16px;
  font-size: 14px;
  color: var(--dark_one);
  background-color: transparent;
}

.form-group input:focus {
  border-color: var(--dark_one);
  box-shadow: 0 0 8px var(--dark_six);
}

.form-group select {
  width: 100%;
  padding: 14px 20px;
  font-size: 18px;
  border: 2px solid var(--light_eight);
  border-radius: 45px;
  outline: none;
  background-color: var(--light_nine);
  color: var(--dark_one);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='7' viewBox='0 0 10 7' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%232f4f2f' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 12px;
  padding-right: 40px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-group select:focus {
  border-color: var(--dark_one);
  box-shadow: 0 0 8px var(--dark_six);
}

.form-group select:focus + label,
.form-group select:valid + label {
  top: -10px;
  left: 16px;
  font-size: 14px;
  color: var(--dark_one);
  background-color: transparent;
}

#jobFormFields button[type="submit"],
#careRequestForm button[type="submit"] {
  padding: 16px 20px;
  font-size: 20px;
  background-color: var(--dark_one);
  color: var(--light_seven);
  border: none;
  border-radius: 45px;
  transition: background-color 0.2s ease;
}

#jobFormFields button[type="submit"]:hover,
#careRequestForm button[type="submit"]:hover {
  background-color: var(--dark_six);
}

.submit-note {
  font-size: 13px;
  color: var(--dark_one);
  margin-top: 8px;
  text-align: center;
}

.submit-note a {
  color: var(--dark_one);
  text-decoration: underline;
}

.affirmation-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--dark_one);
  padding: 8px 12px;
}

.affirmation-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--dark_one);
  border-radius: 4px;
  background-color: #fff;
  position: relative;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  margin: 0;
}

.affirmation-checkbox input[type="checkbox"]::before {
  content: "";
  display: inline-block;
  width: 4px;
}

.affirmation-checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid var(--light_seven);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.affirmation-checkbox input[type="checkbox"]:hover {
  background-color: var(--light_seven);
}

.affirmation-checkbox input[type="checkbox"]:active {
  background-color: var(--light_ten);
}

.affirmation-checkbox input[type="checkbox"]:checked {
  background-color: var(--dark_one);
  border-color: var(--dark_one);
}

.affirmation-checkbox span {
  display: inline-block;
  color: inherit;
  font-weight: normal;
}

.mobile-get-started-bar {
  display: none;
}

.score-column2 {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.score-left,
.score-right {
  flex: 1 1 45%;
  min-width: 300px;
}

.score-section-hero .title-accent {
  text-transform: uppercase;
  font-weight: 700;
  color: var(--dark_four);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  letter-spacing: 0.05em;
}

.score-section-hero h2 {
  font-size: 2.2rem;
  margin: 0 0 1rem 0;
  font-weight: 700;
  color: var(--dark_six);
}

.score-hero-body {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--dark_two);
}

.score-call-to-action {
  margin-top: 1.5rem;
}

.btn-primary {
  background-color: var(--dark_three);
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--light_five);
}

.bubble-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 1rem;
  justify-items: center;
}

.bubble:nth-child(-n + 5) {
  grid-column: span 2;
}

.bubble.staggered:nth-child(6) {
  grid-column-start: 2;
  grid-column-end: span 2;
}
.bubble.staggered:nth-child(7) {
  grid-column-start: 4;
  grid-column-end: span 2;
}
.bubble.staggered:nth-child(8) {
  grid-column-start: 6;
  grid-column-end: span 2;
}
.bubble.staggered:nth-child(9) {
  grid-column-start: 8;
  grid-column-end: span 2;
}

.bubble {
  text-align: center;
  color: var(--dark_four);
  height: 110px;
  width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  font-weight: 700;
  font-size: 1.1rem;
  user-select: none;
  transition: transform 0.3s ease;
  padding: 0.5rem;
}

.bubble:hover {
  transform: scale(1.1);
}

.bubble .option-icon,
.grid-item .option-icon {
  fill: var(--dark_one);
  width: 64px;
  height: 64px;
  margin-bottom: 0.3rem;
}

.score-right .bubble-grid {
  margin-top: 1.5rem;
}

.section-separator {
  width: 100%;
  height: 80px;
  background-image: url("blue-leaves.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin: 2rem 0;
}

.hero {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 3rem 5rem 3rem 3rem;
  gap: 1rem;
  flex-direction: row;
  overflow: hidden;
}

.hero-text {
  width: 35%;
  z-index: 10;
  margin-right: 1rem;
  order: 1;
}

.tagline {
  font-size: 1.3rem;
  color: var(--dark_two);
  letter-spacing: 1px;
  margin-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.7), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.headline {
  font-size: 4.8rem;
  font-weight: bold;
  line-height: 1.05;
  color: var(--dark_one);
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.6), 0 4px 8px rgba(0, 0, 0, 0.15);
}

.subtext {
  font-size: 1.4rem;
  color: var(--dark_six);
  margin-bottom: 2rem;
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5), 0 1px 3px rgba(0, 0, 0, 0.1);
  font-weight: normal;
}

.cta-button {
  padding: 0.9rem 2.15rem;
  background-color: var(--dark_three);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s;
  font-size: 1.25rem;
  box-shadow: 0 4px 8px rgba(245, 166, 35, 0.5);
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.cta-button:hover {
  background-color: var(--light_five);
  box-shadow: 0 6px 14px rgba(211, 84, 0, 0.6);
}

.cta-button2 {
  padding: 0.9rem 2.15rem;
  background-color: var(--dark_three);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s;
  font-size: 1.25rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.cta-button2:hover {
  background-color: var(--light_five);
}

.cta-button3 {
  padding: 0.9rem 2.15rem;
  background-color: var(--dark_two);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s;
  font-size: 1.25rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.cta-button3:hover {
  background-color: var(--dark_six);
}

.hero-images {
  width: 65%;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  order: 2;
  overflow: visible;
}

.img-wrapper {
  position: absolute;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15), 0 5px 10px rgba(0, 0, 0, 0.1);
}

.img-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

.img1-wrapper {
  width: 60%;
  left: 5%;
  top: 10%;
  z-index: 3;
}

.img2-wrapper {
  width: 38%;
  left: 55%;
  top: 20%;
  z-index: 2;
}

.img3-wrapper {
  width: 32%;
  left: 70%;
  top: 45%;
  z-index: 1;
}

.why-choose-carekind {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  color: var(--dark_six);
}

.why-choose-carekind h2 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  color: var(--dark_six);
}

.why-choose-carekind .intro {
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--dark_two);
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.grid-item {
  background: var(--light_one);
  border-radius: 10px;
  padding: 25px 20px;
  box-shadow: 0 4px 8px rgba(11, 45, 102, 0.1);
  transition: box-shadow 0.3s ease;
  transition: transform 0.3s ease;
}

.grid-item:hover {
  box-shadow: 0 6px 15px rgba(11, 45, 102, 0.15);
  transform: scale(1.1);
}

.grid-item h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--dark_one);
}

.grid-item p {
  font-size: 1rem;
  color: var(--dark_four);
  line-height: 1.4;
}

.testimonials-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  position: relative;
  background-color: transparent;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.testimonial-title {
  text-align: center;
  font-size: 2rem;
  color: var(--dark_one);
  margin-bottom: 2rem;
}

.carousel-wrapper {
  position: relative;
  padding: 0 2rem;
}

.testimonial-viewport {
  overflow: hidden;
  width: 100%;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s ease;
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 2rem);
  min-width: 0;
  background-color: var(--light_one);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin: 0 1rem;
  padding: 1.5rem;
  color: var(--dark_one);
  text-align: left;
  box-sizing: border-box;
  user-select: none;
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.review-header img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 0.75rem;
}

.reviewer-info {
  display: flex;
  flex-direction: column;
}

.reviewer-name {
  font-weight: bold;
  color: var(--dark_two);
}

.stars {
  color: var(--light_eleven);
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0.5rem 0 1rem;
}

.google-link {
  font-size: 0.85rem;
  color: var(--dark_two);
  font-weight: 600;
  text-decoration: none;
}

.google-link:hover {
  text-decoration: underline;
}

.arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--light_one);
  border: 2px solid var(--dark_one);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  color: var(--dark_one);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  transition: background-color 0.3s, color 0.3s;
  z-index: 10;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
}

.arrow-btn:hover {
  background-color: var(--dark_one);
  color: white;
}

.arrow-left {
  left: -60px;
}

.arrow-right {
  right: -60px;
}

.home-care-container {
  background: white;
  width: 55%;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(11, 45, 102, 0.15);
  padding: 2rem 3rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  background-color: var(--light_one);
  border: 1px solid var(--light_one);
  margin: 3rem auto;
}

.home-care-text {
  flex: 1;
  text-align: left;
}

.home-care-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--dark_two);
}

.home-care-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--dark_one);
  margin: 0 0 1rem 0;
}

.contact-info {
  margin-top: 1rem;
}

.phone-number {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  color: var(--dark_one);
  margin: 0;
}

.phone-number a {
  color: var(--dark_two);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.phone-number a:hover {
  color: var(--dark_three);
  text-decoration: underline;
}

.phone-icon {
  display: absolute;
  align-items: center;
  margin-right: 10px;
  margin-top: 20px;
  color: var(--light_five);
}

.contact-btn-container {
  flex-shrink: 0;
}

.contact-btn {
  background-color: var(--light_five);
  color: white;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  text-decoration: none;
  user-select: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1.15rem;
  box-shadow: 0 3px 8px rgba(245, 166, 35, 0.5);
  display: inline-block;
}

.contact-btn:hover,
.contact-btn:focus {
  background-color: var(--dark_three);
  outline: none;
  box-shadow: 0 5px 15px rgba(211, 84, 0, 0.7);
}

footer.leaf-footer {
  background-image: url("images/footer.png");
  background-size: contain;
  padding: 4rem 2rem 2rem;
  color: #e0ecff;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.left-footer {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
}

.question3 {
  padding-top: 30px;
  padding-bottom: 20px;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.right-footer {
  flex: 1 1 300px;
}

.right-footer h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.right-footer p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.standard-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.standard-footer p {
  font-size: 0.9rem;
  color: #999;
}

.leaf {
  position: absolute;
  pointer-events: none;
  transform-origin: center center;
  will-change: transform, opacity;
  z-index: 2000;
}

#page-content {
  position: relative;
  overflow: hidden;
}

@keyframes leaf-fall {
  0% {
    transform: translateX(0) translateY(0) rotate(var(--rotation))
      scale(var(--scale));
    opacity: 1;
  }
  25% {
    transform: translateX(calc(var(--drift-x) / 2))
      translateY(calc(var(--fall-distance) / 4)) rotate(var(--rotation))
      scale(var(--scale));
    opacity: 0.9;
  }
  50% {
    transform: translateX(var(--drift-x))
      translateY(calc(var(--fall-distance) / 2)) rotate(var(--rotation))
      scale(var(--scale));
    opacity: 0.8;
  }
  75% {
    transform: translateX(calc(var(--drift-x) / 2))
      translateY(calc(var(--fall-distance) * 0.75)) rotate(var(--rotation))
      scale(var(--scale));
    opacity: 0.5;
  }
  100% {
    transform: translateX(0) translateY(var(--fall-distance))
      rotate(var(--rotation)) scale(var(--scale));
    opacity: 0;
  }
}

.services-hero-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background-color: transparent;
}

.services-hero-page .hero-text {
  flex: 1;
  text-align: center;
  padding: 0 1.5rem;
  align-items: center;
}

.services-hero-page .hero-text h1 {
  font-weight: 700;
  color: var(--dark_two);
  font-size: 2.6rem;
  margin-bottom: 1.5rem;
}

.services-hero-page .hero-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--dark_six);
}

.services-hero-page .hero-image {
  flex: 1;
  width: 100%;
  max-width: 400px;
}

.services-hero-page .hero-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.services-hero-page {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

.services-hero-page .hero-text {
  text-align: left;
  padding-right: 2rem;
}

.service-block-page {
  display: flex;
  flex-direction: column;
  margin: 4rem auto;
  padding: 0;
  width: 100%;
  max-width: 1100px;
  background-color: var(--light_one);
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.service-block-page:hover {
  transform: translateY(-4px);
}

.service-block-page .service-image {
  flex: 0 0 auto;
  overflow: hidden;
}

.service-block-page .service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  display: block;
  width: 400px;
  height: 300px;
}

.service-block-page .service-text {
  flex: 1;
  padding: 2rem;
}

.service-block-page .service-text h3 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--dark_one);
  margin-bottom: 1rem;
  text-align: left;
}

.service-block-page .service-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--dark_six);
  max-width: 800px;
  text-align: justify;
  margin-bottom: 1rem;
}
.service-block-page {
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}
.info-split-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.info-split-section-reverse {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 2rem;
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.info-text {
  flex: 1;
}

.info-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark_two);
  margin-bottom: 1rem;
}

.info-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--dark_six);
  margin-bottom: 1.5rem;
  max-width: 600px;
  text-align: justify;
  hyphens: auto;
}

.info-image {
  flex: 1;
  width: 100%;
  max-width: 500px;
}

.info-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.container3 {
  max-width: 1100px;
  width: 75%;
  margin: 0 auto;
  padding-top: 5rem;
}

.herotext2 {
  text-align: center;
  margin-bottom: 60px;
}

.herotext2 h1 {
  color: var(--dark_one);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.herotext2 p {
  color: var(--dark_six);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.steps-container {
  position: relative;
  padding: 40px 0;
}

.consult-step {
  position: relative;
  margin-bottom: 80px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.consult-step:last-child {
  margin-bottom: 0;
}

.consult-step:nth-child(even) {
  flex-direction: row-reverse;
}

.step-number {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(
    135deg,
    var(--dark_two) 0%,
    var(--dark_four) 100%
  );
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(26, 61, 143, 0.3);
  position: relative;
  z-index: 10;
  transition: transform 0.3s ease;
}

.step-content {
  flex: 1;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(11, 45, 102, 0.1);
  border: 1px solid var(--light_seven);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-content h3 {
  color: var(--dark_one);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.step-content p {
  color: var(--dark_six);
  line-height: 1.7;
  font-size: 1rem;
}

.consult-step:not(:last-child)::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 60px;
  background: linear-gradient(to bottom, var(--light_ten), var(--light_eight));
  left: 50%;
  transform: translateX(-50%);
  bottom: -70px;
  z-index: 5;
}

.consult-step:nth-child(even):not(:last-child)::after {
  left: 50%;
}

.consult-step:hover .step-number {
  transform: scale(1.1);
}

.consult-step:hover .step-content {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(11, 45, 102, 0.15);
}

.container4 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  padding-top: 5rem;
  align-items: center;
}

.benefits-hero-section {
  text-align: center;
  margin-bottom: 4rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--dark_six);
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  color: var(--dark_four);
  margin-bottom: 1rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-card {
  background: linear-gradient(
    135deg,
    var(--light_four) 0%,
    var(--light_nine) 100%
  );
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(11, 45, 102, 0.1);
  transition: all 0.4s ease;
  border: 1px solid var(--light_four);
  position: relative;
  overflow: hidden;
  animation: cardFloat 4s ease-in-out infinite;
  text-align: center;
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--light_ten),
    transparent
  );
  transition: left 0.6s ease;
  opacity: 0.1;
}

.benefit-card:hover::before {
  left: 100%;
}

.benefit-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(11, 45, 102, 0.2);
}

.benefit-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--dark_four);
  margin-bottom: 1rem;
  position: relative;
}

.benefit-description {
  color: var(--dark_six);
  font-size: 1rem;
  line-height: 1.7;
}

@media (min-width: 1250px) {
  .consult-step:not(:last-child)::after {
    width: 200px;
    height: 3px;
    bottom: -41px;
    left: calc(50% + 40px);
    transform: none;
    background: linear-gradient(to right, var(--light_ten), var(--light_eight));
  }

  .consult-step:nth-child(even):not(:last-child)::after {
    left: calc(50% - 240px);
    background: linear-gradient(to left, var(--light_ten), var(--light_eight));
  }

  .consult-step:not(:last-child)::before {
    content: "";
    position: absolute;
    width: 3px;
    height: 60px;
    background: linear-gradient(
      to bottom,
      var(--light_eight),
      var(--light_ten)
    );
    bottom: -70px;
    z-index: 5;
  }

  .consult-step:nth-child(odd):not(:last-child)::before {
    right: 120px;
  }

  .consult-step:nth-child(even):not(:last-child)::before {
    left: 120px;
  }
}

@media (max-width: 1250px) {
  body {
    background-image: linear-gradient(
        to bottom,
        rgba(245, 250, 255, 1) 0%,
        rgba(245, 250, 255, 1) 1vh,
        rgba(245, 250, 255, 0.2) 150vh,
        rgba(245, 250, 255, 0) 100%
      ),
      url("images/image.webp");
  }

  nav {
    position: sticky;
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 10px 0;
    margin-left: 0;
    margin-right: 0;
  }

  .nav-call,
  nav .get-started-btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    border-radius: 0;
    background-color: transparent;
    padding-left: 0;
  }

  .dropdown-content a {
    background-color: transparent;
    font-size: 18px;
  }

  .dropdown-content a:hover {
    background-color: var(--dark_six);
    color: var(--light_two);
  }

  .dropbtn {
    width: 100%;
    justify-content: space-between;
    font-size: 20px;
    padding: 12px 18px;
  }

  .why-choose-carekind .intro {
    max-width: 60%;
  }

  .arrow {
    transition: transform 0.3s ease;
  }

  .dropdown.open > .dropbtn > .arrow {
    transform: rotate(180deg);
  }

  .container.menu-open > .brand {
    opacity: 0;
    pointer-events: none;
    width: 0;
    overflow: hidden;
    transition: opacity 0.3s ease;
  }

  .container.menu-open > nav {
    display: flex;
  }

  .contact-bar {
    display: block;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
  }

  .mobile-get-started-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark_one);
    padding: 12px 0;
    justify-content: center;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1001;
  }

  .mobile-get-started-bar .get-started-btn {
    width: 80%;
  }

  #slidePanel {
    right: -3000px;
    bottom: 20px;
    width: calc(100% - 40px);
    margin: 0 auto;
  }

  .leaf-footer {
    padding-bottom: 50px;
  }

  .home-care-text h2 {
    margin-top: 10px;
  }
  .contact-btn-container {
    margin-bottom: 10px;
  }
  .grid-container {
    grid-template-columns: 1fr;
    width: 60%;
    margin: 0 auto 30px;
  }

  .hero {
    flex-direction: column;
    height: auto;
    padding: 2rem 1.5rem;
    text-align: center;
    justify-content: flex-start;
    gap: 2rem;
  }

  .hero-images {
    width: 100%;
    position: relative;
    height: auto;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 1.5rem;
    order: 1;
  }

  .img-wrapper {
    position: relative;
    width: 280px !important;
    margin: 0;
    top: 0 !important;
    left: auto !important;
    transition: none;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15), 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .img1-wrapper {
    margin-right: -70px;
    z-index: 3;
  }

  .img2-wrapper {
    margin: 0 -60px 0 10px;
    top: 40px !important;
    position: relative;
    z-index: 2;
  }

  .img3-wrapper {
    margin-left: 20px;
    width: 190px !important;
    top: -30px !important;
    z-index: 1;
  }

  .hero-text {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    order: 2;
    padding: 1.5rem 1rem;
  }

  .services-hero-page .hero-text p {
    margin: 0 auto;
  }

  .hero-text .headline {
    font-size: 3rem;
  }

  .hero-text .subtext {
    font-size: 1.1rem;
  }

  .bubble-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .bubble-grid .bubble {
    grid-column: span 1 !important;
    margin: 0.5rem;
    margin-bottom: 2rem;
  }

  .home-care-container {
    flex-direction: column;
    width: 65%;
    padding: 0.5rem;
    gap: 1.5rem;
    text-align: center;
    margin: 1rem auto 2rem auto;
  }

  .home-care-text,
  .phone-number,
  .score-call-to-action {
    text-align: center;
  }

  .score-column2 {
    flex-direction: column;
  }

  .score-left,
  .score-right {
    flex: 1 1 100%;
    min-width: auto;
    text-align: justify;
    hyphens: auto;
  }

  .score-right {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
  }

  .bubble {
    height: 90px;
    width: 90px;
    font-size: 1rem;
  }

  .container2 {
    max-width: 75%;
    text-align: center;
    hyphens: auto;
  }

  h2,
  p {
    text-align: center;
    hyphens: auto;
  }

  .testimonial-card {
    flex: 0 0 calc(100% - 2rem);
    margin: 0 1rem;
  }

  .arrow-btn {
    display: none !important;
  }

  .cta-button2 {
    display: block;
    margin: 0 auto;
  }

  .phone-number {
    display: block;
    margin: 0 auto;
  }

  .contact-btn {
    width: 100%;
    font-size: 1rem;
    text-align: center;
  }
  .services-hero-page {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0rem 1rem;
  }

  .services-hero-page img {
    display: none;
  }

  .services-hero-page .hero-image {
    display: block;
    order: -1;
    width: 100%;
    max-width: 300px;
    margin-bottom: 1rem;
  }

  .services-hero-page .hero-text {
    padding: 0;
    text-align: center;
    max-width: 75%;
  }

  .service-block-page {
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 1rem;
    width: 70%;
  }

  .service-block-page .service-image {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
  }

  .service-block-page .service-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 0;
    display: block;
  }

  .service-block-page .service-text {
    padding: 1rem;
    text-align: justify;
    hyphens: auto;
  }

  .service-block-page .service-text h3 {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 0.75rem;
  }

  .service-block-page .service-text p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 1rem;
    hyphens: auto;
  }
  .info-split-section,
  .info-split-section-reverse {
    flex-direction: column;
    align-items: center;
    hyphens: auto;
    max-width: 75%;
    padding: 1rem 2rem;
  }

  .info-text {
    text-align: center;
    margin: 0 auto;
  }

  .consult-step {
    flex-direction: column !important;
    text-align: center;
    margin-bottom: 60px;
  }

  .consult-step:nth-child(even) {
    flex-direction: column !important;
  }

  .step-number {
    width: 80px;
    height: 80px;
    font-size: 1.8rem;
  }

  .step-content {
    padding: 25px;
  }

  .step-content h3 {
    font-size: 1.2rem;
  }

  .consult-step:not(:last-child)::after {
    left: 50%;
    transform: translateX(-50%);
    height: 40px;
    bottom: -50px;
  }

  .consult-step:not(:last-child)::before {
    display: none;
  }

  .herotext2 h1 {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .benefit-card {
    padding: 1.5rem;
  }
}

@keyframes float-left {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(1deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes float-right {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(-1deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes float-above {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}

.float-left {
  animation: float-left 10s ease-in-out infinite;
}
.float-right {
  animation: float-right 10s ease-in-out infinite;
}
.float-above {
  animation: float-above 10s ease-in-out infinite;
}
