/* Author font is imported via author.css in HTML */

/* Reset and base styles */
:root {
  /* Primary Colors */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-dark: #0f172a;
  --color-bg-primary: #f5f9fd;
  --color-primary: #027ab5;
  --color-text-secondary: #6b6f80;
  --color-border: #d7dae2;
  --color-border-button: #a6a6a6;
  --color-bg-hover: #e6f7ff;
  --color-red: #e81a1a;
  --color-card-about: #133959;
  --color-card-bg-about: #bfd2ee;
  --color-card-bg-header-about: #f3f8fb;

  /* Author Font Family */
  --font-family-primary: "Author-Variable", "Author-Regular", sans-serif;
  --font-family-bold: "Author-Bold", "Author-Variable", sans-serif;
  --font-family-semibold: "Author-Semibold", "Author-Variable", sans-serif;
  --font-family-medium: "Author-Medium", "Author-Variable", sans-serif;
  --font-family-light: "Author-Light", "Author-Variable", sans-serif;
  --font-family-extralight: "Author-Extralight", "Author-Variable", sans-serif;
  --color-star-primary: #ffa500;
  --color-cursor: #59c6fd;
  --color-secondary-title: #5e6d83;

  --about-img-position-x: 50%;
  --about-img-position-y: 74%;
}

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

body {
  font-family: var(--font-family-primary);
  color: var(--color-dark);
  background-color: var(--color-bg-primary);
}

.container {
  width: min(100%, 100rem);
  max-width: 100rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

ol,
ul {
  padding-left: 0;
}

h1 {
  margin-bottom: 0;
}

/* ===================
  HEADER STYLES
======================*/
.header {
  color: var(--color-dark);
  position: sticky;
  top: 1.25rem;
  z-index: 1000;
}

.header-container {
  background-color: var(--color-white);
  border-radius: 0.5rem;
  margin: 1.25rem auto 0;
  width: calc(100% - 2.5rem);
  max-width: 1600px;
  padding: 0 1.25rem;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  min-height: 70px;
}

/* Logo */

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-title {
  font-size: 32px;
}

/* Navigation */
ul .nav-list {
  margin: 0 !important;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
  margin: 0 !important;
  margin-bottom: 0 !important;
}

.nav-list a {
  color: var(--color-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  padding: 10px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-list a:hover {
  color: var(--color-primary);
  background-color: var(--color-bg-hover);
}

.header_buttons-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Language Dropdown */
.language-dropdown {
  position: relative;
  display: inline-block;
}

.current-lang {
  font-size: 18px;
}

.language-btn {
  background: transparent;
  border: none;
  color: var(--color-dark);
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  min-width: 80px;
  justify-content: center;
  border-right: 1px solid var(--color-border);
  margin-right: 10px;
}

.language-btn:hover {
  background: var(--color-hover-overlay);
}

.dropdown-arrow {
  transition: transform 0.3s ease;
}

.language-btn.active .dropdown-arrow {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  top: 150%;
  right: -45%;
  background: var(--color-white);
  border-radius: 12px;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
  overflow: hidden;
  margin-top: 5px;
}

.language-menu.show {
  opacity: 1;
  visibility: visible;
}

.language-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid var(--color-border-divider);
  position: relative;
}

.language-option:hover .lang-name {
  color: var(--color-primary);
}

.language-option.active:hover .lang-name {
  color: var(--color-primary);
}

.language-option:first-child::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 1px;
  background-color: var(--color-border);
}

.language-option:last-child {
  border-bottom: none;
}

.language-option.active {
  background-color: var(--color-white);
  color: var(--color-dark);
}

.flag-icon {
  width: 24px;
  height: 18px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 2px;
}

.lang-name {
  font-weight: 500;
  color: var(--color-dark);
  transition: color 0.2s ease;
}

.language-btn:hover {
  color: var(--color-primary);
}

.header_download-button-wrapper {
  background-color: #000000;
  border-radius: 8px;
  padding: 8px;
  display: inline-block;
  border: 1.5px solid;
  border-color: var(--color-border-button);
}

.header_download-button-wrapper:hover {
  background-color: var(--color-black);
  opacity: 0.8;
}

.download-button-wrapper:hover img {
  filter: grayscale(50%) brightness(0.8);
}

.header_download-button {
  width: 7.5rem;
  display: block;
}

.header_download-button {
  cursor: pointer;
}

/* Animation for smooth transitions */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header {
  animation: fadeInUp 0.6s ease-out;
}

/* Custom scrollbar for language menu */
.language-menu::-webkit-scrollbar {
  width: 4px;
}

.language-menu::-webkit-scrollbar-track {
  background: var(--color-scrollbar-track);
}

.language-menu::-webkit-scrollbar-thumb {
  background: var(--color-scrollbar-thumb);
  border-radius: 2px;
}

.language-menu::-webkit-scrollbar-thumb:hover {
  background: var(--color-scrollbar-thumb-hover);
}

/* ===================
  MAIN CONTENT STYLES
======================*/
main {
  padding: 40px 0;
  min-height: calc(100vh - 100px);
}

main h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--color-primary);
  text-align: center;
}

main p {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* ===================
  ALL REUSE STYLES
======================*/

.border_title {
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0.125rem 1rem 0.125rem 0.125rem;
  gap: 0.5rem;
  max-width: 25rem;
}

.border_icon {
  width: 36px;
  height: 36px;
  background-color: var(--color-dark);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.border_title_text {
  font-size: 18px;
}

.section_title {
  font-size: 60px;
  line-height: 1;
  margin: 0;
}

.color_title {
  color: var(--color-primary);
}

.section_description {
  font-size: 24px;
  color: var(--color-dark);
  text-align: left;
  max-width: 700px;
  line-height: 1.4;
  margin: 0;
}

.download-buttons-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.download-button-wrapper,
.download-button-primary {
  border-radius: 9px;
  padding: 8px;
  display: inline-block;
  width: 180px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1.5px solid;
  border-color: var(--color-border-button);
}

.download-button-wrapper {
  background-color: #000000;
  transition: all 0.3s ease;
}

.download-button-wrapper:hover {
  background-color: var(--color-black);
  opacity: 0.8;
}

.download-button-wrapper:hover img {
  filter: grayscale(50%) brightness(0.8);
}

.download-button-primary {
  background-color: var(--color-white);
  transition: all 0.3s ease;
}

.download-button-primary:hover {
  background-color: var(--color-white);
  opacity: 0.8;
}

.download-button-primary:hover img {
  filter: grayscale(50%) brightness(0.8);
}

/* ===================
  ABOUT SECTION
======================*/

.about {
  margin-bottom: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about_top {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.about_title_container {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  margin: 2rem 0;
}

.about_title_img {
  width: 207px;
  height: 65px;
  border-radius: 50px;
  object-fit: cover;
  object-position: var(--about-img-position-x) var(--about-img-position-y);
  position: relative;
  z-index: 2;
}

.about_title {
  font-size: 100px;
  line-height: 1;
  margin: 0;
  color: var(--color-dark);
}

.about_color_title {
  font-size: 100px;
  line-height: 1;
  margin: 0;
}

/* Text container */
.about_title_text_container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about_title_text_img_container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.about_bottom {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 73px;
}

/* Prevent horizontal scroll caused by wide decorative ellipses */
.about { overflow-x: clip; }

.about_bottom > :first-child {
  align-self: flex-start;
}
.about_bottom > :last-child {
  align-self: flex-end;
}

/* Phone cards container */
.phone_cards_container {
  display: flex;
  flex-direction: column;
  position: absolute;
  z-index: 2;
  top: 10%;
}

/* About section cards positioning */
.about .phone_cards_container.card_left {
  top: 19.2%;
  left: -17%;
}

.about .phone_cards_container.card_right {
  top: 36.8%;
  right: -11.4%;
}



.about_ellipse {
  position: absolute;
  height: auto;
  pointer-events: none;
  z-index: 0;
}

.about_ellipse-1 {
  left: -32%;
  top: -24%;
}
.about_ellipse-2 {
  right: -36%;
  top: 5%;
}

/* Responsive adjustments for decorative ellipses */
/* @media (max-width: 1400px) {
  .about_ellipse { width: clamp(420px, 65vw, 960px); }
  .about_ellipse-1 { left: -28%; top: -22%; }
  .about_ellipse-2 { right: -30%; top: 4%; }
} */

@media (max-width: 1200px) {
  .about_ellipse { width: clamp(280px, 42vw, 680px); }
  .about_ellipse-1 { left: -24%; top: -20%; }
  .about_ellipse-2 { right: -26%; top: 4%; }
}

@media (max-width: 992px) {
  .about_ellipse { width: clamp(340px, 58vw, 760px); }
  .about_ellipse-1 { left: -20%; top: -18%; }
  .about_ellipse-2 { right: -22%; top: 2%; }
}

@media (max-width: 768px) {
  .about_ellipse { width: clamp(320px, 70vw, 680px); }
  .about_ellipse-1 { left: -16%; top: -14%; }
  .about_ellipse-2 { right: -18%; top: 0%; }
}

@media (max-width: 576px) {
  .about_ellipse { width: min(92vw, 560px); }
  .about_ellipse-1 { left: -42%; top: -20%; }
  .about_ellipse-2 { right: -42%; top: 20%; }
}

/* Awaiting cleaners card */
.awaiting_card {
  background-color: var(--color-card-bg-header-about);
  border-radius: 12px;
  overflow: hidden;
  max-width: 358px;
  position: relative;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.card_header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}

.card_title {
  background-color: var(--color-card-bg-about);
  color: var(--color-card-about);
  padding: 4px 8px;
  border-radius: 8px;
}

.card_number {
  color: var(--color-dark);
}

.card_content {
  background-color: var(--color-white);
  margin: 0px 12px 12px;
  padding: 12px 16px;
  border-radius: 8px;
  border-radius: 8px;
  border-color: var(--color-border);
  border-width: 1px;
  border-style: solid;
}

.card_info {
  border: 1px solid var(--color-border);
  padding: 4px 8px;
  border-radius: 8px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.card_text {
  font-size: 12px;
}

.about_card_icon {
  width: 16px;
  height: 16px;
}

.card_time_date {
  display: flex;
  justify-content: flex-start;
  gap: 6px;
  margin-bottom: 12px;
}

.card_address {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.card_desc {
  color: var(--color-dark);
  font-size: 14px;
  line-height: 1.4;
}

.card_footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--color-border);
  margin-top: 12px;
  padding-top: 12px;
}

.card_footer_time {
  display: flex;
  flex-direction: row;
}

.card_duration_info {
  font-size: 14px;
  color: var(--color-text-secondary);
}

.card_duration_time {
  font-size: 14px;
  font-weight: 500;
}

.card_price_info {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-dark);
}

/* Your cleaner has arrived card */
.arrived_card {
  background: var(--color-white);
  max-width: 390px;
  width: 390px;
  position: relative;
}

.arrived_content {
  display: flex;
  align-items: center;
  padding: 12px;
  gap: 12px;
}

.arrived_icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--color-white);
}

.arrived_text {
  flex: 1;
}

.arrived_title {
  font-size: 16px;
  color: var(--color-dark);
}

.arrived_description {
  color: var(--color-dark);
  font-weight: 500;
}

.arrived_date_container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
}

.arrived_date {
  color: var(--color-text-secondary);
}

.arrived_dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-red);
  border-radius: 50%;
}

.about_left_img,
.about_right_img {
  max-width: 297px;
  z-index: 1;
}

.about_center_img {
  max-width: 388px;
  margin: 0 55px;
  z-index: 1;
}

/* ===================
  STATS SECTION
======================*/

.stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin-bottom: 140px;
}

.stats_wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 32px;
}

.stats_content_block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  max-width: 655px;
}

.stats_title_container {
  max-width: 655px;
}

.stats_title {
  color: var(--color-dark);
}

.stats_description {
  font-size: 1.15rem;
  color: var(--color-dark);
  line-height: 1.6;
  text-align: left;
  max-width: 600px;
}

.stats_cards {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 24px;
  justify-content: space-between;
}

.stats_card {
  flex: 1;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.4s ease;
}

.stats_card:hover {
  transform: scale(102%);
}

.stats_card_content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.stats_card_title {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-secondary-title);
  line-height: 1.3;
}
.stats_card_icon {
  background-color: var(--color-primary);
  padding: 8px;
  border-radius: 10px;
}

.stats_card_quantity {
  font-size: 5rem;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.1;
}

.stats_card_description {
  font-size: 1rem;
  color: var(--color-dark);
  line-height: 1.5;
  font-weight: 500;
}

/* ===================
  SERVICES SECTION
======================*/
.service {
  margin-bottom: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services_title_container {
  max-width: 570px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
}

.services_title {
  text-align: center;
  margin: 0.5rem 0 1rem;
}

/* Bootstrap classes handle the layout now */

.services_description {
  background-color: var(--color-white);
  border: 1px solid;
  border-color: var(--color-border);
  border-radius: 10px;
  padding: 24px;
}

.services_description .download-buttons-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.title_description {
  font-size: 32px;
}

.services_cards_list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style-type: none;
  margin-top: 24px;
  margin-bottom: 40px;
  padding-left: 0;
}

.services_card {
  border: 1px solid;
  border-color: var(--color-border);
  border-radius: 10px;
  padding: 2px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.services_card_icon {
  background-color: var(--color-primary);
  padding: 8px;
  width: 36px;
  height: 62px;
  border-radius: 10px;
  display: flex;
  align-items: center;
}

.services_card_content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 4px;
}

.services_card_title {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-dark);
  line-height: 1.3;
}
.services_card_description {
  font-size: 1rem;
  color: var(--color-secondary-title);
  line-height: 1.5;
}

/* Services Images Container - Bootstrap handles the layout */
.services_images_container {
  margin-top: 0;
}

.services_image_wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.services_image_wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.services_image_title {
  position: absolute;
  top: 12px;
  left: 12px;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  z-index: 2;
}

.services_image_wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Image wrapper heights - Bootstrap col classes handle widths */
.services_image_1_wrapper,
.services_image_2_wrapper,
.services_image_5_wrapper,
.services_image_6_wrapper {
  height: 292px;
}

.services_image_3_wrapper,
.services_image_4_wrapper {
  height: 368px;
}

.services_image_7_wrapper,
.services_image_8_wrapper,
.services_image_9_wrapper {
  height: 191px;
}

/* Object positioning for each image */
.services_image_1 {
  object-position: center;
}

.services_image_2 {
  object-position: center;
}

.services_image_3 {
  object-position: bottom;
}

.services_image_4 {
  object-position: center;
}

.services_image_5 {
  object-position: center;
}

.services_image_6 {
  object-position: center;
}

.services_image_7 {
  object-position: bottom;
}

.services_image_8 {
  object-position: center;
}

.services_image_9 {
  object-position: bottom;
}

/* ===================
  HOW WORKS SECTION
======================*/

.howworks {
  background: var(--color-primary);
  background-size: 20px 20px;
  padding: 80px 0;
  margin-bottom: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.howworks_content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.howworks .border_icon {
  background-color: var(--color-white);
}

.howworks_title {
  text-align: center;
  font-size: 38px;
  color: var(--color-white);
  margin: 0;
}

/* Howworks Wrapper */
.howworks_wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
  position: relative;
  margin-top: 60px;
}

.howworks_left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.howworks_line {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  padding: 0 20px;
}

.line_numbers_container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.line_segment {
  width: 2px;
  background: #d1d5db;
  flex: 1;
  min-height: 102px;
}

.line_number {
  font-size: 1.5rem;
  color: var(--color-white);
  font-weight: 300;
}

.howworks_right {
  flex: 1;
  max-width: 50%;
}

/* Phone Image Section */
.howworks_phone_section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.phone_image_container {
  position: relative;
  background-color: var(--color-white);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* Swiper howworks styles */
.swiper-howworks {
  width: 100%;
  height: 600px;
  overflow: hidden;
  position: relative;
}

.swiper-howworks .swiper-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.swiper-howworks .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 600px;
}

/* Ensure images fit without overlaying/cropping */
.swiper-howworks .phone_image,
.swiper-howworks-inner .phone_image {
  max-height: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
}

/* Ensure inner swipers stretch fully */
.swiper-howworks-inner {
  width: 100%;
  height: 600px; /* ensure inner swipers have explicit height so slides are visible */
}

.swiper-howworks-inner .swiper-wrapper {
  height: 100%;
}

.swiper-howworks-inner .swiper-slide {
  height: 100%;
  display: flex;
  padding: 32px 46px 0;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

/* Position card absolutely inside slide_card_container */
.slide_card_container {
  position: relative;
}

.slide_card_container .phone_card.arrived_card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: auto;
}

/* Position card absolutely relative to slide7-image */
.slide7-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.slide7-image-wrapper .phone_card.arrived_card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: auto;
}

/* Overlayed second image on slide of inner slider #2 */
.slide2-base {
  position: relative;
  z-index: 1;
}

.slide2-overlay {
  position: absolute;
  top: 72%;
  left: 53%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  max-height: 90%;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
}

.swiper-howworks .swiper-slide-last-image {
  position: relative;
}

.swiper-howworks .swiper-slide-last-image .phone_image_fixed {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: none;
}

.swiper-howworks .swiper-slide-with-card {
  position: relative;
  background: transparent;
}

.swiper-howworks .swiper-slide-with-card .howworks_card {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 165px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.swiper-howworks .swiper-slide-with-card.show-card .howworks_card {
  opacity: 1;
  visibility: visible;
}

.swiper-howworks .swiper-slide-with-card.show-card .howworks_card.fixed {
  position: fixed;
  z-index: 101;
  transform: translateX(-50%);
}

/* Vertical scrollbar styles - replaced first line_segment */
.swiper-scrollbar-wrapper {
  width: 2px;
  flex: 1;
  min-height: 318px;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: transparent;
  overflow: visible;
}

.swiper-scrollbar-wrapper .swiper-scrollbar {
  position: absolute !important;
  width: 2px !important;
  height: 100% !important;
  background: #d1d5db !important;
  border-radius: 0 !important;
  left: 0 !important;
  right: auto !important;
  top: 0 !important;
  bottom: 0 !important;
  margin: 0 !important;
  z-index: 10 !important;
}

/* Hide track on active scrollbar wrapper so only handle is visible */
.swiper-scrollbar-wrapper.active .swiper-scrollbar {
  background: rgba(255, 255, 255, 0.35) !important;
}

/* Специальные стили для третьего скроллбара (ручное управление) */
.swiper-scrollbar-wrapper[data-index="3"]
  .swiper-scrollbar
  .swiper-scrollbar-drag {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  transform: none !important;
  will-change: top;
}

.swiper-scrollbar-wrapper .swiper-scrollbar .swiper-scrollbar-drag {
  background: var(--color-white) !important;
  border-radius: 3px !important;
  cursor: pointer !important;
  transition: top 0.15s ease, height 0.15s ease, background-color 0.15s ease !important;
  width: 100% !important;
  min-height: 56px !important; /* expressive handle */
}

.swiper-scrollbar-wrapper .swiper-scrollbar .swiper-scrollbar-drag:hover {
  background: var(--color-white) !important;
  opacity: 1 !important;
}

.swiper-scrollbar-wrapper .swiper-scrollbar {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 0) !important;
}

/* Do not change scrollbar color for any state */
.swiper-scrollbar-drag,
.swiper-scrollbar-drag:hover,
.swiper-scrollbar-drag:active {
  opacity: 1 !important;
}

/* Optional: keep reviews scrollbar color constant */
.reviews_content_block .swiper-scrollbar-drag {
  background-color: rgba(0, 0, 0, 0.2) !important;
}

.howworks_card {
  position: absolute;
  width: 418px;
  background-color: var(--color-white);
  padding: 20px 20px 20px 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 10px;
  top: 165px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: auto;
}

/* Show card on 1st inner slider, 3rd slide */
.swiper-howworks-inner[data-index="1"]
  .swiper-slide:nth-child(3)
  .howworks_card {
  opacity: 1;
  visibility: visible;
}

.howworks_card .content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.howworks_card .title {
  font-size: 22px;
  font-weight: 500;
  color: var(--color-dark);
  line-height: 1.3;
}

.howworks_card .description {
  font-size: 18.5px;
  font-weight: 400;
  color: var(--color-dark);
  line-height: 1.5;
}

.howworks_card .button {
  font-size: 19px;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.5;
  background-color: var(--color-card-about);
  border-radius: 10px;
  width: 100%;
  padding: 13px 0;
}

/* New structure for review card */
.howworks_card_review {
  position: relative;
  display: flex;
  flex: 1;
  padding-bottom: 0;
  padding-left: 4px;
}

.howworks_card_content {
  flex: 1;
  padding-left: 16px;
  border-left: 2.25px solid;
  border-color: var(--color-card-about);
}

.howworks_card_header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.howworks_card_name {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-black);
  line-height: 1.2;
}

.howworks_card_meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--color-black);
}

.howworks_card_rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

.howworks_card_star {
  color: var(--color-black);
  font-size: 16px;
}

.howworks_card_separator {
  color: var(--color-black);
}

.howworks_card_date {
  color: var(--color-black);
}

.howworks_card_text {
  font-size: 16px;
  color: #666;
  line-height: 1.4;
  margin-top: 4px;
}

.howworks_card_button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--color-card-about);
  border-radius: 8px;
  padding: 14px 20px;
  margin-top: 16px;
  cursor: pointer;
}

.howworks_card_checkmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: var(--color-card-about);
  border: 2px solid;
  border-color: var(--color-white);
  border-radius: 50%;
  color: var(--color-white);
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.howworks_card_button_text {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.howworks .phone_image {
  max-width: 366px;
  height: auto;
  display: block;
  width: 100%;
  object-fit: contain;
}

/* Download Buttons */
.download_buttons {
  display: flex;
  gap: 15px;
}

.download_button img {
  height: 50px;
  width: auto;
}

.step_item {
  margin-bottom: 275px;
  display: flex;
  align-items: flex-start;
}

.step_item:last-child {
  margin-bottom: 0;
}

.step_number {
  display: none;
}

.step_content .item_title {
  font-size: 22px;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.3;
}

.step_content .item_description {
  font-size: 18.5px;
  color: var(--color-white);
  line-height: 1.5;
  max-width: 655px;
}
/* ===================
  BECOME SECTION
======================*/

.become {
  margin-bottom: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.becom-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  width: 100%;
}

.content_left_block {
  position: relative;
  background-color: var(--color-white);
  border: 1.5px solid;
  border-color: var(--color-border);
  border-radius: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0 70px;
}

.become .phone_cards_container.card_right {
  top: 45%;
  left: 26%;
}

.become .arrived_title {
  margin-bottom: 4px;
}

.content_left_block_img {
  margin: 96px 19px 0 0;
}

.content_left_block_img_2 {
  margin-bottom: 96px;
}

.content_right_block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
}

.content_right_block .section_description {
  text-align: left;
  margin: 0;
}
.become .section_description {
  font-size: 22px;
}

/* Avatar styles */
.avatars {
  display: flex;
  align-items: center;
  gap: 20px;
}

.avatar_images {
  display: flex;
  align-items: center;
  position: relative;
}

.avatar_images img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--color-white);
  object-fit: cover;
  position: relative;
  z-index: 1;
  margin-left: -12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.avatar_images img:first-child {
  margin-left: 0;
  z-index: 1;
}

.avatar_images img:nth-child(2) {
  z-index: 2;
}

.avatar_images img:nth-child(3) {
  z-index: 3;
}

.avatar_text {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-dark);
  white-space: nowrap;
}

/* ===================
  REVIEWS SECTION
======================*/

.custom-cursor {
  position: fixed;
  width: 120px;
  height: 120px;
  background: var(--color-cursor);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  color: var(--color-black);
  z-index: 1000;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.custom-cursor.show {
  opacity: 1;
}

.reviews {
  margin-bottom: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reviews .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.reviews .border_title {
  margin-bottom: 8px;
}

/* Reviews content block */
.reviews_content_block {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: flex-start;
  max-width: 1760px;
  margin-left: 0;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-top: 40px;
  box-sizing: border-box;
  min-height: 431px;
  cursor: none;
}

/* Left side - rating and summary */
.reviews_left_side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  padding-right: 40px;
  border-right: 1px solid var(--color-border);
  height: 100%;
  max-height: 431px;
  position: relative;
  flex-shrink: 0;
}

.reviews_rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.rating_stars {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rating_stars_container {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 12px;
}

.rating_star {
  width: 60px;
  height: 60px;
}

.rating_stars img {
  width: 40px;
  height: 40px;
}

.rating_number {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1;
  display: flex;
  align-items: flex-end;
}

.reviews_count {
  font-size: 16px;
  color: var(--color-text-secondary);
  font-weight: 400;
}

.reviews_avatars {
  display: flex;
  align-items: center;
  gap: 0;
}

.reviews_avatars img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--color-white);
  object-fit: cover;
  margin-left: -8px;
}

.reviews_avatars img:first-child {
  margin-left: 0;
  z-index: 1;
}

.reviews_avatars img:nth-child(2) {
  z-index: 2;
}

.reviews_avatars img:nth-child(3) {
  z-index: 3;
}

/* Right side - review cards */
.reviews_right_side {
  flex: 1;
  display: flex;
  align-items: stretch;
  min-height: 431px;
}

/* Swiper styling for reviews */
.reviews_content_block.swiper {
  overflow: hidden;
  cursor: none !important;
}

.reviews_content_block.swiper * {
  cursor: none !important;
}

.reviews_content_block .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.reviews_content_block .swiper-slide {
  display: flex;
  height: auto;
  width: 353px;
  flex-shrink: 0;
  cursor: none !important;
}

/* Swiper scrollbar styling */
.reviews_content_block .swiper-scrollbar {
  height: 6px;
  background: transparent;
}

.reviews_content_block .swiper-scrollbar-drag {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.review_card {
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--color-border);
  padding: 0 40px;
  margin-bottom: 20px;
  width: 100%;
  height: 100%;
  min-height: 431px;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Swiper adjustments for reviews */
.swiper-reviews {
  width: 100%;
}

.swiper-reviews .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.swiper-reviews .swiper-slide {
  height: auto;
  display: flex;
}

/* Removed last-child rule for Swiper compatibility */

.review_content {
  display: flex;
  flex-direction: column;
}

.review_stars {
  display: flex;
  gap: 2px;
  margin-bottom: 24px;
}

.star {
  width: 20px;
  height: 20px;
}

.star.half {
  filter: brightness(0) saturate(100%) invert(80%) sepia(0%) saturate(0%)
    hue-rotate(0deg) brightness(1.2) contrast(0.6);
}

.review_text {
  font-size: 29px;
  line-height: 1.5;
  color: var(--color-dark);
  flex: 1;
  max-width: 273px;
}

.review_author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review_author img {
  max-width: 60px;
  max-height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author_info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author_name {
  font-size: 21px;
  font-weight: 600;
  color: var(--color-dark);
}

.author_job {
  font-size: 21px;
  color: var(--color-text-secondary);
}

/* ===================
  FAQ SECTION
======================*/
.faq {
  margin-bottom: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq_wrp {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.faq_question_wrp {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 5px;
  width: 654px;
}

.faq .section_description {
  font-size: 20px;
}

.faq_card {
  background-color: var(--color-primary);
  width: 520px;
  height: 270px;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.faq_card_content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.card_text_content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 4px;
}

.faq_card_title {
  color: var(--color-white);
  font-size: 21px;
}

.faq_card_description {
  color: var(--color-white);
  font-size: 18px;
}
.button_wrapper {
  background-color: var(--color-white);
  padding: 12px;
  border-radius: 12px;
  width: 134px;
}
.button_wrapper:hover,
.button_wrapper:hover .faq_card_button {
  background-color: var(--color-dark);
  color: var(--color-white);
}
.faq_card_button {
  font-size: 22px;
  color: var(--color-dark);
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FAQ Accordion Styles */
.faq_answer_wrp {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  max-width: 886px;
  width: 886px;
}

.faq_accordion {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.faq_item {
  border-bottom: 1px solid var(--color-border);
}

.faq_item:last-child {
  border-bottom: none;
}

.faq_question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 1.5rem 0;
}

.faq_item:first-child .faq_question {
  margin-top: 0;
}

.faq_item:last-child .faq_question {
  margin-bottom: 0;
}

.faq_question_text {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-dark);
  transition: color 0.3s ease;
}

.faq_arrow {
  background-color: transparent;
  border: none;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  background-color: var(--color-dark);
}

.faq_arrow_icon {
  color: var(--color-white);
  transition: transform 0.3s ease;
}

.faq_answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  text-align: left;
}

.faq_answer p {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 0;
  text-align: left;
}

.faq_answer_list {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-top: 8px;
  padding-left: 20px;
  text-align: left;
}

.faq_answer_list li {
  color: var(--color-secondary-title);
  margin-bottom: 8px;
}

.faq_answer_list li::marker {
  color: var(--color-secondary-title);
}

/* Hover effects */
.faq_question:hover .faq_question_text {
  color: var(--color-primary);
}

.faq_question:hover .faq_arrow {
  background-color: var(--color-primary);
}

/* Active/Open state */
.faq_item.active .faq_answer {
  max-height: 200px;
  margin-bottom: 1.5rem;
}

.faq_item.active .faq_arrow_icon {
  transform: rotate(180deg);
}

.faq_item.active .faq_arrow {
  background-color: var(--color-dark);
}

.faq_item.active:hover .faq_arrow {
  background-color: var(--color-primary);
}

/* ===================
  GET STARTED SECTION
======================*/
.get_started {
  margin-bottom: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.get_started .container {
  background-color: var(--color-primary);
  padding: 80px 80px 0;
  border-radius: 12px;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.get_started_wrp {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 790px;
  margin-bottom: 60px;
}

.get_started_content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.get_started .border_icon {
  background-color: var(--color-white);
}

.get_started .section_title {
  color: var(--color-white);
  text-align: center;
}
.get_started .section_description {
  color: var(--color-white);
  margin: 0;
  text-align: center;
}

.get_started .download-buttons-container {
  margin: 0;
}

.get_started .images_container {
  display: flex;
  flex-direction: row;
  align-items: end;
  justify-content: center;
  position: relative;
}

.get_started_center_img {
  max-width: 301px;
  margin: 0 31px;
}

.get_started_side_img {
  max-width: 230px;
}

.get_started .arrived_content {
  background-color: var(--color-white);
  top: 48%;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  max-width: 338px;
  width: 100%;
}

.get_started .arrived_title {
  font-weight: 600;
}

.get_started .card_info_container {
  background-color: var(--color-white);
  border-radius: 6px;
  top: 17%;
  left: -15%;
  position: absolute;
  padding: 10px;
  border: 1px solid;
  border-color: var(--color-border);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-width: 271px;
  width: 100%;
}

.card_info_wrp {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

.card_info_text {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.card_arrow {
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ===================
  FOOTER 
======================*/

.footer {
  background-color: var(--color-dark);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  border-top-right-radius: 8px;
  border-top-left-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Footer Wrapper */
.footer_wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  width: 100%;
  position: relative;
  flex-wrap: wrap;
}

/* Footer About Section */
.footer_about {
  flex: 0 0 41.67%;
  max-width: 41.67%;
  border-right: 1px solid var(--color-border);
  padding-right: 104px;
  margin-right: 104px;
  position: relative;
  z-index: 2;
}

/* Footer Links Section (Sparkly) */
.footer_links_section {
  flex: 0 0 16.67%;
  max-width: 14.67%;
  position: relative;
  z-index: 2;
}

/* Footer Social Section */
.footer_social_section {
  flex: 0 0 16.67%;
  max-width: 8.67%;
  position: relative;
  z-index: 2;
}

/* Footer Phone Section */
.footer_phone_section {
  flex: 0 0 25%;
  max-width: 15%;
  position: relative;
  z-index: 0;
}

/* Footer Copyright Section - Desktop in footer_about */
.footer_about .footer_copyright {
  margin-top: 75px;
}

/* Footer Copyright Section - Mobile */
.footer_copyright_section_mobile {
  display: none;
}

.footer_title {
  font-size: 40px;
  font-weight: 500;
  color: var(--color-border);
  line-height: 1.2;
}

.footer_description {
  font-size: 20px;
  color: var(--color-border);
  line-height: 1.5;
  margin-bottom: 32px;
}

.footer_copyright {
  font-size: 14px;
  color: var(--color-border);
  opacity: 0.8;
  margin-top: 75px;
  margin-bottom: 0;
}

.footer_section_title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-border);
  margin-bottom: 24px;
}

/* Bootstrap column separators */

/* Footer columns z-index for clickable links */

.footer_links {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.footer_links li {
  margin-bottom: 12px;
}

.footer_links a {
  color: var(--color-border);
  text-decoration: none;
  font-size: 16px;
  transition: opacity 0.3s ease;
}

.footer_social_links {
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 2;
}

.footer_social_links a:hover,
.footer_links a:hover {
  color: var(--color-cursor);
}

.footer_social_links li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.social_icon {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}

.footer_social_links a {
  color: var(--color-border);
  text-decoration: none;
  font-size: 16px;
  transition: opacity 0.3s ease;
}

.footer_phone {
  position: absolute;
  z-index: 0;
  top: -100px;
  right: -190%;
}

.footer_phone_img {
  width: 1044px;
  height: auto;
  transform: perspective(1000px) rotateY(160deg) rotateX(-10deg) rotateZ(-1deg);
}

/* ===================
АЩЩЕУК
======================*/
