/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Menu Style */
.e-n-accordion-item-title[aria-expanded="true"] {
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  transition: border-radius 0;
}

.e-n-accordion-item-title[aria-expanded="false"] {
  transition: border-radius 0.6s ease;
}

.color-change .header-hover-section:hover .header-hover-icon .elementor-icon {
  background-color: #464649 !important;
  color: #fff !important;
}

.color-change
  .header-hover-section:hover
  .header-hover-icon
  .elementor-icon
  svg {
  fill: #fff !important;
}
.header-hover-section:hover .header-hover-icon .elementor-icon {
  background-color: #fff !important;
  color: #464649 !important;
}

.header-hover-section:hover .header-hover-icon .elementor-icon svg {
  fill: #464649 !important;
}
.color-change .header-hover-section {
  background-color: #f7f7f7 !important;
  .header-hover-icon .elementor-icon {
    background-color: #dfdfdf !important;
    color: #464649 !important;
    svg {
      fill: #464649 !important;
    }
  }

  .header-icon .elementor-icon svg {
    fill: #464649 !important;
  }
}

.e-n-menu-title:hover .e-n-menu-title-container {
  background-color: #2d2d2f;
  color: #f4f4f4;
  border-radius: 50px;
}

.elementor-widget-n-menu .e-n-menu-title-container {
  padding: 0.5rem 1.4rem;
}

.get_in_touch_header .elementor-button {
  line-height: 1.375 !important;
}

@media screen and (max-width: 1920px) {
  .elementor-widget-n-menu .e-n-menu-title-container {
    padding: 0.5rem 1rem;
  }
}

.elementor-widget-n-menu .e-n-menu-title {
  padding: 0 !important;
}

.header-section-icon .lucide {
  fill: #fff0 !important;
  stroke: #fff;
}

.elementor-sticky--effects.color-change {
  background: rgb(255 255 255 / 80%) !important;
  border-bottom: 1px solid #ebebf0;

  .header-section-icon .lucide {
    fill: #fff0 !important;
    stroke: #3b3e40;
  }

  .techscale-site-logo img {
    filter: invert(100%) sepia(0%) saturate(7441%) hue-rotate(210deg)
      brightness(122%) contrast(112%);
  }

  .e-n-menu-title .e-n-menu-title-text {
    color: black !important;
  }

  .menu-h2 h2.elementor-heading-title {
    color: white !important;
  }

  .menu-cases .elementor-icon {
    background-color: #ffffff !important;
    svg {
      fill: #464649 !important;
    }
  }

  .e-n-menu-title:hover .e-n-menu-title-container {
    background-color: #d7dadd !important;
    color: #f4f4f4;
    border-radius: 50px;
  }

  .elementor-widget-heading:hover .elementor-widget-container:has(span) {
    background-color: #e0e3e7 !important;
    box-shadow: none;
  }

  /* 	.elementor-widget-n-menu .e-n-menu-title-container{
		background-color: #d7dadd !important;
	} */
  .elementor-widget-n-menu
    .e-n-menu-title-container
    .e-n-menu-title:hover
    .e-n-menu-title-text {
    color: #3b3e40 !important;
  }

  .get_in_touch_header .elementor-button {
    fill: #ffffff;
    color: #ffffff;
    background-color: #000000;
    .elementor-button-text {
      color: #ffffff !important;
      line-height: 1.375 !important;
    }
  }

  .header_arrow_button svg path {
    stroke: #3b3e40;
  }

  .get_in_touch_header .elementor-button:hover {
    background-color: #514cd8 !important;
  }

  .e-n-menu-content .content-container {
    background-color: #ffffff !important;
    transition: background 0.3s !important;

    .elementor-widget-container,
    .elementor-heading-title,
    .elementor-button-text,
    .elementor-button-icon {
      color: #3b3e40;
      fill: #3b3e40;
    }
  }

  .header_mobile_menu .elementor-icon {
    color: #000000 !important;
    transition: color 0s;
  }

  .e-font-icon-svg.e-fas-arrow-right {
    fill: #000000 !important;
  }
}

.elementor-sticky--effects {
  background: rgba(24, 26, 30, 0.8) !important;
  border-bottom: 1px solid #272729;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  filter: invert(0);
}

@media (max-width: 700px) {
  .elementor-sticky--effects {
    height: 57px;
  }
}

.header_mobile_menu .elementor-icon {
  transition: color 0s;
}

.e-n-menu-content .content-container {
  /* 	clip-path: inset(0 -50px -50px -50px); */
  transition: background 0.3s !important;
}

.elementor-location-header {
  .elementor-sticky--effects,
  .elementor-sticky {
    pointer-events: none;
    transition: background 0.3s !important;
  }
}

.elementor-location-header .elementor-sticky:hover {
  background-color: #000000 !important;
}

.elementor-sticky--effects:hover {
  background-color: #000000 !important;
}

.elementor-sticky--effects.color-change:hover {
  background-color: #ffffff !important;
}

.elementor-sticky--effects {
  ul li .e-n-menu-title {
    pointer-events: auto;
  }

  .e-n-menu-content {
    pointer-events: auto;
  }
}

.elementor-location-header .elementor-sticky {
  ul li .e-n-menu-title {
    pointer-events: auto;
  }

  .e-n-menu-content {
    pointer-events: auto;
  }

  .e-n-menu-dropdown-icon.e-focus {
    display: none !important;
  }
}

.techscale-site-logo {
  pointer-events: auto;
}

.get_in_touch_header,
.header_mobile_menu {
  pointer-events: auto;
}

.elementor-widget-n-menu .e-n-menu-heading {
  z-index: 25;
  height: 89px;
}

.elementor-widget-n-menu
  .e-n-menu:not([data-layout="dropdown"]):not(.content-above)
  .e-n-menu-content.e-active {
  padding-block-start: 0 !important;
}

@keyframes headerElements {
  0% {
    opacity: 0;
    visibility: hidden;
    top: -40px;
  }

  100% {
    opacity: 1;
    visibility: visible;
    top: 0px;
  }
}

.e-n-menu-content.e-active {
  transition: transform 0.3s ease;
}

/* Menu Style */

.table-container {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin: auto;
  background: #fff;
  border-radius: 12px;
  overflow: visible;
}

.table-row {
  display: flex;
}

.table-row.header {
  position: sticky;
  top: 98px;
  z-index: 1;
  height: 150px;
  margin-bottom: 0;
}

.table-row:hover .table-cell {
  background: #eeeef5 !important;
}

.table-cell {
  font-size: 16px;
  flex: 1;
  padding: 18px;
  background: #f7f7f7;
  border-right: 3px solid #fff;
  align-content: center;
  line-height: 1.5;
  font-family: "Outfit";
  color: #000;
}

.table-cell:last-child {
  border-right: none;
}

.table-row .table-cell:nth-child(2) {
  background: #f1f2f4;
}

.label-cell {
  font-weight: 600;
  background: #f7f7f7 !important;
}

.table-row.header .table-cell {
  background: #f7f7f7;
  font-weight: 500;
  font-family: "Outfit";
  border-bottom: none;
  border-right: 3px solid #fff;
  font-size: 1.5rem;
  align-content: center;
  color: #000;
}

.table-row.header .table-cell:nth-child(2) {
  background: #f1f2f4;
  border-top-left-radius: 20px;
}

.table-row.header .table-cell:last-child {
  border-top-right-radius: 20px;
}

.table-row.header .table-cell:first-child {
  background: #fff !important;
  background: linear-gradient(
    180deg,
    rgb(255, 255, 255) 80%,
    rgba(255, 255, 255, 0) 100%
  ) !important;
  border-bottom: none !important;
}

.table-row.header .table-cell:last-child {
  border-right: none;
}

.table-container .table-cell:not(:first-child) {
  width: 200px;
  max-width: 200px;
}

.table-row:last-child {
  border-bottom: none;
}

.table-row:last-child .table-cell.label-cell {
  border-bottom-left-radius: 20px;
}

.table-row:last-child .table-cell:last-child {
  border-bottom-right-radius: 20px;
}

.table-row .lucide.row-icon {
  font-size: 22px;
  width: 22px;
  height: 22px;
  margin-bottom: -4px;
  margin-right: 10px;
}

.table-row:nth-child(2) .table-cell {
  border-top: 3px solid #fff;
}

.table-row.header {
  border-bottom: none;
}
.table-tabs {
  display: none;
}
@media (max-width: 1024px) {
  .table-tabs {
    display: flex;
    gap: 8px;
    max-width: 100%;
    justify-content: flex-start;
    margin-bottom: 4px;
    position: sticky;
    top: 57px;
    background: #fff;
    overflow-y: hidden;
    height: 51px !important;
  }

  .table-tabs::-webkit-scrollbar {
    display: none; /* Chrome, Safari, iOS */
  }

  button.table-tab {
    background: #e9eaf3;
    padding: 2px 10px 2px 10px;
    border: none;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    outline: none;
    color: #606060;
    max-height: 42px;
    margin-top: 5px;
    border-radius: 30px;
  }
  button.table-tab:hover {
    color: #000;
  }
  button.table-tab.active {
    color: #fff;
    background: #000;
  }
  .table-container {
    overflow-x: visible;
    min-width: 0;
  }
  .table-row.header .table-cell {
    display: none;
  }
  .table-row.header .table-cell[data-col="2"],
  .table-row.header .table-cell[data-col="3"],
  .table-row.header .table-cell[data-col="4"],
  .table-row.header .table-cell[data-col="5"] {
    display: none;
  }
  .table-row.header .table-cell:first-child {
    display: none;
  }
  .table-row .table-cell {
    display: none;
    padding: 16px;
  }
  .table-row.header .table-cell[data-col].active {
    display: flex !important;
    width: 100%;
    font-size: 20px;
    align-items: center;
    background: #f7f7f7 !important;
    margin-bottom: 4px;
    border: none;
    font-weight: 700;
    justify-content: center;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
  }

  .table-row .table-cell.label-cell {
    display: flex !important;
    width: 70%;
    max-width: 70%;
    min-width: 120px;
    font-size: 14px;
    border-right: none;
    border-radius: 0 !important;
    background: #f7f7f7 !important;
    align-items: center;
  }
  .table-row .table-cell[data-col].active {
    display: inline;
    min-width: 120px;
    font-size: 14px;
    background: #f7f7f7 !important;
    align-items: center;
    border-left: 4px solid #fff;
    justify-content: flex-start;
    width: 30%;
    max-width: 30%;
    border-right: 0;
  }
  .table-row:nth-child(2) .table-cell {
    border-top: none;
  }
  .table-row.header {
    top: 108px;
  }
}

/* Infinity Cards Container Start Style */

.infinity-cards-container {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.infinity-cards-cards {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.infinity-cards-card {
  position: absolute;
  width: 380px;
  height: 520px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform, opacity;
  user-select: none;
  touch-action: manipulation;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

.infinity-cards-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.infinity-cards-card.active {
  transform: scale(1) translateX(0);
  opacity: 1;
  z-index: 10;
}

.infinity-cards-card.inactive-1 {
  transform: scale(0.85) translateX(calc(-100% - 70px));
  opacity: 1;
  z-index: 5;
}

.infinity-cards-card.inactive-2 {
  transform: scale(0.85) translateX(calc(100% + 70px));
  opacity: 1;
  z-index: 1;
}

.infinity-cards-card.exit {
  transform: scale(0.8) translateX(calc(-200% - 40px));
  opacity: 0;
  z-index: 0;
}

@media (max-width: 1919px) {
  .infinity-cards-container {
    max-width: 1000px;
    margin: 0 auto;
    height: clamp(460px, 60vh, 620px);
  }
  .infinity-cards-card {
    width: calc((min(100%, 1000px) - 80px) / 3); /* 3 cards + 40px gaps */
    aspect-ratio: 380 / 520; /* keep card proportions */
    height: auto;
  }
  .infinity-cards-card.inactive-1 {
    transform: scale(0.85) translateX(calc(-100% - 50px));
  }
  .infinity-cards-card.inactive-2 {
    transform: scale(0.85) translateX(calc(100% + 50px));
  }

  /* Performance: Optimize transitions for desktop */
  .infinity-cards-card {
    transition: all 0.35s cubic-bezier(0.77, 0, 0.18, 1);
    will-change: transform, opacity;
  }
}

.infinity-cards-dots {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
  pointer-events: auto;
}

.infinity-cards-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #d3d3d3;
  cursor: pointer;
  transition: all 0.2s ease;
}

.infinity-cards-dot.active {
  background: #8d969e;
  transform: scale(1.23);
}

.infinity-cards-dot:hover {
  background: #8d969e;
}

@media (max-width: 480px) {
  .infinity-cards-container {
    height: 100vh;
    padding: 10px;
    justify-content: flex-start;
  }

  .infinity-cards-cards {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .infinity-cards-card {
    position: absolute;
    width: 280px;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.77, 0, 0.18, 1);
    will-change: transform, opacity;
    user-select: none;
    touch-action: manipulation;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
  }

  .infinity-cards-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .infinity-cards-card.active {
    transform: scale(1) translateX(0);
    opacity: 1;
    z-index: 10;
    left: 0;
  }

  .infinity-cards-card.inactive-1 {
    transform: scale(0.85) translateX(calc(100% + 50px));
    opacity: 1;
    z-index: 5;
    left: 0;
  }

  .infinity-cards-card.inactive-2 {
    transform: scale(0.85) translateX(calc(200% + 40px));
    opacity: 1;
    z-index: 1;
    left: 0;
  }

  .infinity-cards-card.exit {
    transform: scale(0.8) translateX(calc(-200% - 40px));
    opacity: 0;
    z-index: 0;
    left: 0;
  }

  .infinity-cards-dots {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 9px;
    z-index: 20;
  }

  .infinity-cards-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d3d3d3;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .infinity-cards-dot.active {
    background: #8d969e;
    transform: scale(1.2);
  }

  .infinity-cards-dot:hover {
    background: #8d969e;
  }
}

/* Infinity Cards End Style Here */

/* Carousel Cards Start Here */

.carousel-page-container {
  position: relative;
  width: 100%;
  max-width: 1344px;
  margin: 0 auto;
  padding: 40px 20px;
  min-height: 750px;
  overflow: visible;
}

.carousel-content-section {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding-top: 60px;
}

.carousel-step-indicator {
  font-size: 2rem;
  color: #808e9a;
  margin-bottom: 20px;
  font-weight: 500;
}

.carousel-main-heading {
  font-size: 4.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 30px;
  line-height: 1.1;
  text-transform: uppercase;
}

.carousel-description {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 40px;
  line-height: 1.4;
  font-weight: 400;
}

.carousel-description .link {
  color: #007aff;
  text-decoration: underline;
}

.carousel-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: -1;
}

.carousel-steps .step {
  font-size: 1.5rem;
  color: #fff;
  line-height: 1.4;
  font-weight: 400;
}

.description-container {
  position: relative;
  margin-bottom: 40px;
}

.description-text {
  transition: all 0.3s ease;
}

.description-text.collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.description-text.collapsed::after {
  content: "...";
  color: #fff;
}

.expand-button {
  position: absolute;
  right: 0;
  bottom: -8px;
  background: #1a1a1a;
  border: 1px solid #333;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.expand-button:hover {
  background: #2a2a2a;
  border-color: #444;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.expand-button:active {
  transform: scale(0.95);
}

.expand-button.show {
  display: flex;
}

.expand-button::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform 0.3s ease;
}

.expand-button.expanded::after {
  transform: rotate(180deg);
}

.carousel-cta-button {
  display: inline-block;
  background-color: #fff;
  color: #000 !important;
  padding: 1rem 2rem 1rem 2rem !important;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1.25rem !important;
  line-height: 1.75rem !important;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
  border: none;
  cursor: pointer;
}

.carousel-cta-button:hover {
  background-color: #f5f5f5;
}

.carousel-section {
  position: absolute;
  top: 0;
  right: -300px;
  width: 900px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  z-index: 1;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 580px;
  perspective: 1000px;
  padding-bottom: 30px;
  overflow: visible;
}

.carousel-card {
  position: absolute;
  width: 450px;
  height: 620px;
  background: #1a1a1a;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  overflow: hidden;
  user-select: none;
  touch-action: manipulation;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  /* Ensure proper styling */
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
}

.carousel-card.active {
  transform: scale(1);
  z-index: 4;
  opacity: 1;
}

.carousel-card[data-exiting="true"] {
  transform: scale(0.8) !important;
  opacity: 0.2 !important;
  z-index: 0 !important;
}

.carousel-card.inactive-1 {
  transform: translateX(calc(100% + 0px)) scale(0.85);
  z-index: 3;
}

.carousel-card.inactive-2 {
  transform: translateX(calc(192% + 0px)) scale(0.85);
  z-index: 2;
}

.carousel-card.inactive-3 {
  transform: translateX(calc(285% + 0px)) scale(0.85);
  z-index: 1;
}

.carousel-card[data-card="4"] {
  opacity: 0.5;
}

.carousel-card.reset-animation {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-card[data-card="1"].reset-animation {
  transform: scale(1);
  z-index: 1;
  opacity: 0;
  animation: fadeInScale 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.carousel-card[data-card="2"].reset-animation {
  transform: translateX(calc(100% + 0px)) scale(0.85);
  z-index: 2;
}

.carousel-card[data-card="3"].reset-animation {
  transform: translateX(calc(192% + 0px)) scale(0.85);
  z-index: 3;
}

.carousel-card[data-card="4"].reset-animation {
  transform: translateX(calc(285% + 0px)) scale(0.85);
  opacity: 0.5;
  z-index: 4;
}

.carousel-card-image {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-card-title {
  position: absolute;
  top: 30px;
  left: 30px;
  color: white;
  font-size: 2rem;
  font-weight: 500;
  margin: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #d3d3d3;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.carousel-dot.active {
  background: #8d969e;
  transform: scale(1.23);
}

.carousel-dot:hover {
  background: #8d969e;
}

.carousel-dot:focus-visible {
  outline: 2px solid #007aff;
  outline-offset: 2px;
}

/* Responsive Design */

/* Large Desktop (1920px and above) - Default styles apply */

/* Medium Desktop (1440px - 1919px) */
@media (max-width: 1919px) {
  .carousel-card-title {
    position: absolute;
    top: 30px;
    left: 30px;
    color: white;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
  }

  .carousel-page-container {
    max-width: 1200px;
  }
  .carousel-section {
    right: -250px;
    width: 800px;
  }

  .carousel-content-section {
    max-width: 500px;

    padding-left: 3rem;
  }
  .carousel-container {
    max-width: 800px;
  }
  .carousel-card {
    width: 320px;
    height: 440px;
  }
  .carousel-step-indicator {
    font-size: 1.5rem;
    line-height: 1.75rem;
  }
  .carousel-main-heading {
    font-size: 56px;
  }
  .carousel-description {
    font-size: 1.125rem;
    line-height: 1.5rem;
  }
  .carousel-cta-button {
    font-size: 1rem !important;
    line-height: 1.375rem !important;
    padding: 0.8rem 1.2rem 0.8rem 1.2rem !important;
  }
}

/* Small Desktop (1025px - 1440px) */
@media (max-width: 1440px) {
  .carousel-page-container {
    max-width: 100%;
    overflow: hidden;
  }
  .carousel-section {
    right: -200px;
    width: 600px;
    overflow: visible;
  }
  .carousel-container {
    max-width: 600px;
    overflow: visible;
  }
  .carousel-main-heading {
    font-size: 3.5rem;
  }
  .carousel-content-section {
    max-width: 400px;
  }
}

/* iPad and Tablet Landscape (901px - 1024px) */
@media (max-width: 1024px) and (min-width: 901px) {
  .carousel-page-container {
    max-width: 100%;
    padding: 20px;
    overflow: hidden;
    min-height: 600px;
  }

  .carousel-content-section {
    position: relative;
    max-width: 300px;
    padding-top: 0;
    padding-bottom: 30px;
    text-align: left;
    min-height: 300px;
  }

  .carousel-section {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    margin-top: 0;
    overflow: hidden;
  }

  .carousel-step-indicator {
    font-size: 20px;
  }
  .carousel-main-heading {
    font-size: 2.5rem;
  }
  .carousel-description {
    font-size: 1.1rem;
  }
  .carousel-cta-button {
    font-size: 1rem !important;
    line-height: 1.4rem !important;
    padding: 0.8rem 1.5rem 0.8rem 1.5rem !important;
  }
  .carousel-container {
    max-width: 900px;
    height: 500px;
    padding-bottom: 40px;
    overflow: hidden;
    margin: 0 auto;
  }
  .carousel-card {
    width: 320px;
    height: 420px;
  }
  .carousel-card-title {
    font-size: 1.2rem;
    top: 20px;
    left: 20px;
  }
  .carousel-dots {
    gap: 8px;
    left: 50%;
    bottom: 0;
  }
  .carousel-dot {
    width: 10px;
    height: 10px;
  }
  .carousel-dot.active {
    transform: scale(1.15);
  }
}

/* iPad Portrait and Smaller Tablets (769px - 900px) */
@media (max-width: 900px) and (min-width: 769px) {
  .carousel-page-container {
    max-width: 100%;
    padding: 20px;
    overflow: hidden;
    min-height: 700px;
  }

  .carousel-content-section {
    position: relative;
    max-width: none;
    padding-top: 0;
    padding-bottom: 40px;
    text-align: left;
    min-height: 350px;
  }

  .carousel-section {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: auto;
    margin-top: 30px;
    overflow: hidden;
  }

  .carousel-step-indicator {
    font-size: 22px;
  }
  .carousel-main-heading {
    font-size: 3rem;
  }
  .carousel-description {
    font-size: 1.2rem;
  }
  .carousel-cta-button {
    font-size: 1.1rem !important;
    line-height: 1.5rem !important;
    padding: 0.9rem 1.6rem 0.9rem 1.6rem !important;
  }
  .carousel-container {
    max-width: 900px;
    height: 600px;
    padding-bottom: 50px;
    overflow: hidden;
    margin: 0 auto;
  }
  .carousel-card {
    width: 350px;
    height: 480px;
  }
  .carousel-card-title {
    font-size: 1.3rem;
    top: 25px;
    left: 25px;
  }
  .carousel-dots {
    gap: 10px;
    left: 50%;
    bottom: 80px !important;
  }
  .carousel-dot {
    width: 11px;
    height: 11px;
  }
  .carousel-dot.active {
    transform: scale(1.2);
  }
}

/* Mobile and Small Tablets (768px and below) */
@media (max-width: 768px) {
  .carousel-page-container {
    padding: 20px;
    overflow: hidden;
    max-width: 100%;
  }
  .carousel-content-section {
    text-align: left;
    padding-bottom: 30px;
    min-height: 280px;
    max-width: none;
    position: relative;
    padding-top: 0;
  }
  .carousel-section {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: auto;
    margin-top: 20px;
    overflow: hidden;
  }
  .carousel-step-indicator {
    font-size: 18px;
  }
  .carousel-main-heading {
    font-size: 2.5rem;
  }
  .carousel-description {
    font-size: 1.125rem;
  }

  .description-text.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .description-text.collapsed::after {
    content: "...";
    color: #fff;
  }

  .expand-button {
    width: 28px;
    height: 28px;
  }
  .carousel-cta-button {
    padding: 0.8rem 1.5rem 0.8rem 1.5rem !important;
    font-size: 1rem !important;
    line-height: 1.375rem !important;
  }
  .carousel-container {
    max-width: none;
    width: 100%;
    height: 500px;
    padding: 0 0 60px 0;
    overflow: hidden;
	left:1rem;
  }
  .carousel-dots {
    gap: 9px;
    left: 50%;
    bottom: 20px;
  }
  .carousel-dot {
    width: 10px;
    height: 10px;
    background: #d3d3d3;
  }
  .carousel-dot.active {
    background: #8d969e;
    transform: scale(1.2);
  }
  .carousel-dot:hover {
    background: #8d969e;
  }
  .carousel-card {
    width: 320px;
    height: 400px;
  }
  .carousel-card-title {
    font-size: 1.2rem;
    top: 20px;
    left: 20px;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .carousel-page-container {
    padding: 30px 0 0 0;
    overflow: hidden;
  }
  .carousel-content-section {
    padding: 0 20px 30px 20px;
    min-height: 260px;
    text-align: left;
  }
  .carousel-section {
    margin-top: 10px;
  }
  .carousel-step-indicator {
    font-size: 20px;
  }
  .carousel-main-heading {
    font-size: 2rem;
  }
  .carousel-description {
    font-size: 1rem;
  }
  .carousel-cta-button {
    padding: 0.5rem 1rem 0.5rem 1rem !important;
    font-size: 1rem !important;
  }
  .carousel-container {
    max-width: none;
    width: 100%;
    height: 480px;
    padding: 0 0 60px 0;
    overflow: hidden;
  }
  .carousel-dots {
    gap: 9px;
    left: 50%;
    bottom: 20px;
  }
  .carousel-dot {
    width: 10px;
    height: 10px;
    background: #d3d3d3;
  }
  .carousel-dot.active {
    background: #8d969e;
    transform: scale(1.2);
  }
  .carousel-dot:hover {
    background: #8d969e;
  }
  .carousel-card {
    width: 280px;
    height: 400px;
  }
  .carousel-card-title {
    font-size: 1.3rem;
	line-height: 1.7rem;
    top: 15px;
    left: 15px;
  }
}

.carousel-container-main {
  overflow: hidden;
}

/* Carousel Card-Content End here */

/* Testimonials Cards Carousel */

/* perf: Skip offscreen rendering where supported */
.testimonial-carousel-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: visible;
  padding: 40px 0 0 0;
  font-family: "Outfit", Arial, sans-serif;
  /* perf: Skip offscreen rendering where supported */
  content-visibility: auto;
  contain-intrinsic-size: 520px 380px;
}

/* perf: Transform-only animations to prevent layout thrash */
.testimonial-carousel-track {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 520px;
  min-height: 320px;
  width: 100%;
}

.testimonial-carousel-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: 380px;
  height: 520px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  opacity: 0;
  /* perf: Use transform3d for GPU acceleration */
  transform: translate3d(-50%, 0, 0) scale(0.85);
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.18, 1),
    opacity 0.25s cubic-bezier(0.77, 0, 0.18, 1);
  cursor: pointer;
  z-index: 1;
  pointer-events: none;
  background: #fff;
  margin: 0;
}

.testimonial-carousel-card.visible {
  opacity: 1;
  pointer-events: auto;
}

.testimonial-carousel-card.center {
  transform: translate3d(-50%, 0, 0) scale(1.12);
  z-index: 3;
}

.testimonial-carousel-card.left {
  transform: translate3d(calc(-100% - 230px), 0, 0) scale(0.93);
  z-index: 2;
}

.testimonial-carousel-card.right {
  transform: translate3d(calc(-0% + 230px), 0, 0) scale(0.93);
  z-index: 2;
}

.testimonial-carousel-card.far-left,
.testimonial-carousel-card.far-right {
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

/* perf: Optimized image handling with lazy loading support */
.testimonial-carousel-bg {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
  user-drag: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.testimonial-carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 32px 28px 32px 28px;
  background: none;
  box-sizing: border-box;
  z-index: 2;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* seo: Proper semantic styling for blockquote */
.testimonial-carousel-quote {
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  line-height: 2.2rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 3;
  margin-top: 60%;
}

.testimonial-carousel-quote-mark {
  position: absolute;
  top: -10px;
  left: -15px;
  font-size: 8rem;
  color: #fff;
  opacity: 0.3;
  font-weight: 700;
  z-index: 1;
}

/* seo: Footer styling for author information */
.testimonial-carousel-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  gap: 20px;
}

.testimonial-carousel-author {
  flex: 1;
}

/* seo: Proper cite styling */
.testimonial-carousel-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.2;
}

.testimonial-carousel-title {
  font-size: 0.9rem;
  color: #fff;
  opacity: 0.9;
  line-height: 1.2;
}

/* perf: Optimized logo with lazy loading */
.testimonial-carousel-logo {
  width: 110px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  align-self: center;
}

/* a11y: Accessible tab navigation */
.testimonial-carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 60px;
  gap: 12px;
  align-items: center;
}

.testimonial-carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d3d3d3;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-carousel-dot.active {
  background: #8d969e;
  transform: scale(1.23);
}

.testimonial-carousel-dot:hover {
  background: #8d969e;
}

/* a11y: Keyboard focus ring for accessibility */
.testimonial-carousel-dot:focus-visible {
  outline: 2px solid #007aff;
  outline-offset: 2px;
}

.testimonial-carousel-card:focus-visible {
  outline: 2px solid #007aff;
  outline-offset: 2px;
}

/* a11y: Screen reader only content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* a11y: Live region for announcements */
.testimonial-carousel-live-region {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* perf: Responsive design optimization */
@media (max-width: 1919px) {
  .testimonial-carousel-container {
    max-width: 1000px;
  }
  .testimonial-carousel-card {
    width: 320px;
    height: 440px;
  }
  .testimonial-carousel-track {
    height: 440px;
  }
  .testimonial-carousel-card.left {
    transform: translate3d(calc(-115% - 100px), 0, 0) scale(0.85);
  }
  .testimonial-carousel-card.right {
    transform: translate3d(calc(15% + 100px), 0, 0) scale(0.85);
  }
  .testimonial-carousel-card.center {
    transform: translate3d(-50%, 0, 0) scale(1);
    z-index: 3;
  }
  .testimonial-carousel-quote {
    font-size: 1.3rem;
    line-height: 1.4;
    margin-top: 50%;
  }
  .testimonial-carousel-name {
    font-size: 1rem;
  }
  .testimonial-carousel-title {
    font-size: 0.8rem;
  }
  .testimonial-carousel-dots {
    margin-top: 15px;
    gap: 8px;
    transform: scale(0.75);
  }
}

@media (max-width: 1200px) {
  .testimonial-carousel-card.center {
    transform: translate3d(-50%, 0, 0) scale(0.9);
    z-index: 3;
  }
  .testimonial-carousel-card.left {
    transform: translate3d(calc(-100% - 150px), 0, 0) scale(0.8);
    z-index: 2;
  }
  .testimonial-carousel-card.right {
    transform: translate3d(calc(-0% + 150px), 0, 0) scale(0.8);
  }
}

@media (max-width: 1024px) {
  .testimonial-carousel-card.center {
    transform: translate3d(-50%, 0, 0) scale(0.8);
    z-index: 3;
  }
  .testimonial-carousel-card.left {
    transform: translate3d(calc(-100% - 105px), 0, 0) scale(0.7);
    z-index: 2;
  }
  .testimonial-carousel-card.right {
    transform: translate3d(calc(-0% + 105px), 0, 0) scale(0.7);
  }
  .testimonial-carousel-dot {
    transform: scale(0.7);
  }
  .testimonial-carousel-dot.active {
    transform: scale(0.85);
  }
  .testimonial-carousel-dots {
    margin-top: 0px;
    gap: 6px;
  }
}

@media (max-width: 880px) {
  .testimonial-carousel-card.center {
    transform: translate3d(-50%, 0, 0) scale(0.7);
    z-index: 3;
  }
  .testimonial-carousel-card.left {
    transform: translate3d(calc(-100% - 70px), 0, 0) scale(0.6);
    z-index: 2;
  }
  .testimonial-carousel-card.right {
    transform: translate3d(calc(-0% + 70px), 0, 0) scale(0.6);
  }
}

/* Hide on mobile */
/* @media (max-width: 700px) {
  .testimonial-carousel-container {
    display: none !important;
  }
} */

/* a11y: Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .testimonial-carousel-card,
  .testimonial-carousel-dot {
    transition: none !important;
    animation: none !important;
  }
}

/* Cards Carousel Testimonials End here */

/* Stack Carousel Dynamic Starts Code */

.carousel-stack {
  --card-w: clamp(280px, 28vw, 420px);
  --card-h: clamp(400px, 56vw, 560px);
  --gap: 28px;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  --bg: #0b0c10;
  --text: #eef2f6;
  --muted: #a7b0be;
  --accent: #24c08b;

  .stack-carousel {
    width: 100%;
    display: grid;
    place-items: center;
    touch-action: pan-y;
  }

  .slides {
    position: relative;
    width: calc(var(--card-w) * 3 + var(--gap) * 2);
    max-width: 100%;
    height: var(--card-h);
    perspective: 1400px;
  }

  .card {
    position: absolute;
    top: 0;
    left: 50%;
    width: var(--card-w);
    height: var(--card-h);
    transform-origin: center;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    user-select: none;
  }

  .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .card figcaption {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    padding: 22px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
  }

  blockquote {
    margin: 0 0 8px 0;
    font-size: clamp(18px, 1.9vw, 28px);
    font-weight: 800;
    line-height: 1.18;
  }

  .meta {
    font-size: 13px;
    color: var(--muted);
  }

  /* 3D stacked positions (-3..3) */
  .card {
    transition: transform 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
      z-index 0s linear 100ms, filter 200ms ease, opacity 200ms ease;
  }
  .card[data-pos="0"] {
    /* center */
    transform: translateX(-50%) translateZ(0) scale(1) rotateY(0deg);
    z-index: 6;
    filter: none;
    opacity: 1;
  }
  .card[data-pos="-1"] {
    /* left 1 */
    transform: translateX(calc(-50% - (var(--card-w) + var(--gap))))
      translateZ(-90px) rotateY(4deg) scale(0.96);
    z-index: 5;
    opacity: 1;
  }
  .card[data-pos="1"] {
    /* right 1 */
    transform: translateX(calc(-50% + (var(--card-w) + var(--gap))))
      translateZ(-90px) rotateY(-4deg) scale(0.96);
    z-index: 5;
    opacity: 1;
  }
  .card[data-pos="-2"] {
    transform: translateX(-50%) translateZ(-260px) scale(0.88);
    opacity: 0;
    pointer-events: none;
    z-index: 3;
  }
  .card[data-pos="2"] {
    transform: translateX(-50%) translateZ(-260px) scale(0.88);
    opacity: 0;
    pointer-events: none;
    z-index: 3;
  }
  .card[data-pos="-3"],
  .card[data-pos="3"] {
    transform: translateX(-50%) translateZ(-260px) scale(0.88);
    opacity: 0;
    pointer-events: none;
    z-index: 3;
  }

  /* Dots */
  .dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 26px;
    margin-bottom: 10px;
  }
  .dot {
    width: 13px;
    height: 13px;
    background: #d3d3d3;
    border-radius: 50%;
    border: 0;
    padding: 0;
    cursor: pointer;
  }
  .dot[aria-current="true"] {
    background: #8d969e;
    transform: scale(1.13);
  }

  .three-card-desktop-carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 32px 28px 0 28px;
    background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0) 60%,
      rgba(0, 0, 0, 0.18) 100%
    );
    box-sizing: border-box;
    z-index: 2;
    pointer-events: none;
  }

  /* SEO: Semantic heading structure */
  .three-card-desktop-carousel-header {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    line-height: 2.5rem;
  }

  .three-card-desktop-carousel-desc {
    font-size: 1.2rem;
    color: #fff;
    line-height: 1.3;
    max-width: 90%;
  }

  @media (max-width: 1919px) {
    .stack-carousel {
      --gap: 30px;
      --card-w: 308px;
      --card-h: 422px;
    }
    .slides {
      width: calc(var(--card-w) * 3 + var(--gap));
      perspective: 1000px;
    }

    .three-card-desktop-carousel-header {
      font-size: 1.3rem;
      line-height: 1.7rem;
      margin-bottom: 1rem;
    }
    .three-card-desktop-carousel-desc {
      font-size: 0.95rem;
      line-height: 1.2;
    }
  }

  @media (max-width: 768px) {
    .slides {
      width: calc(var(--card-w) * 1.2);
      justify-content: flex-start;
      margin-left: 1rem;
    }

    .dot {
      width: 10px;
      height: 10px;
      background: #d3d3d3;
      border-radius: 50%;
      border: 0;
      padding: 0;
      cursor: pointer;
    }
    .dot[aria-current="true"] {
      background: #8d969e;
      transform: scale(1.13);
    }

    .stack-carousel {
      --gap: 30px;
      --card-w: 280px;
      --card-h: 400px;
    }

    .card {
      left: 0;
      transition: transform 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
        z-index 0s linear 100ms, filter 300ms ease-in-out,
        opacity 300ms ease-in-out;
    }

    .stack-carousel {
      place-items: normal;
      overflow: hidden;
    }

    .card[data-pos="0"] {
      /* center becomes left-aligned */
      transform: translateX(0) translateZ(0) scale(1) rotateY(0deg);
      z-index: 6;
      filter: none;
      opacity: 1;
    }

    .card[data-pos="1"] {
      /* right 1 becomes partially visible */
      transform: translateX(calc(var(--card-w) + 20px)) translateZ(-90px)
        rotateY(-4deg) scale(0.93);
      z-index: 5;
      opacity: 1;
    }

    .card[data-pos="-1"] {
      /* left 1 becomes hidden behind */
      transform: translateX(0) translateZ(-260px) scale(0.5);
      opacity: 0;
      pointer-events: none;
      z-index: 3;
    }

    .card[data-pos="-2"],
    .card[data-pos="2"] {
      transform: translateX(0) translateZ(-260px) scale(0.5);
      opacity: 0;
      pointer-events: none;
      z-index: 3;
    }

    .card[data-pos="-3"],
    .card[data-pos="3"] {
      transform: translateX(0) translateZ(-260px) scale(0.5);
      opacity: 0;
      pointer-events: none;
      z-index: 3;
    }
  }

  /* 2nd Testimonial Carousel Section */

  .testimonial-carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 32px 28px 32px 28px;
    background: none;
    box-sizing: border-box;
    z-index: 2;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  /* seo: Proper semantic styling for blockquote */
  .testimonial-carousel-quote {
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    line-height: 2.2rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 3;
    margin-top: 60%;
  }

  .testimonial-carousel-quote-mark {
    position: absolute;
    top: -10px;
    left: -15px;
    font-size: 8rem;
    color: #fff;
    opacity: 0.3;
    font-weight: 700;
    z-index: 1;
  }

  /* seo: Footer styling for author information */
  .testimonial-carousel-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    gap: 20px;
  }

  .testimonial-carousel-author {
    flex: 1;
  }

  /* seo: Proper cite styling */
  .testimonial-carousel-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    line-height: 1.2;
  }

  .testimonial-carousel-title {
    font-size: 0.9rem;
    color: #fff;
    opacity: 0.9;
    line-height: 1.2;
  }

  /* perf: Optimized logo with lazy loading */
  img.testimonial-carousel-logo {
    width: 110px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
    align-self: center;
  }

  /* perf: Responsive design optimization */
  @media (max-width: 1919px) {
    .testimonial-carousel-quote {
      font-size: 1.3rem;
      line-height: 1.4;
      margin-top: 50%;
    }
    .testimonial-carousel-name {
      font-size: 1rem;
    }
    .testimonial-carousel-title {
      font-size: 0.8rem;
    }
    .testimonial-carousel-dots {
      margin-top: 15px;
      gap: 8px;
      transform: scale(0.75);
    }
  }

  /* @media (max-width: 640px) {
    .slides {
      width: var(--card-w);
    }
    .card[data-pos="-1"],
    .card[data-pos="1"] {
      filter: brightness(0.9);
    }
  } */
}

/* Stack Carousel Dynamic End Code */

/* Testimonials Section Desktop Niko */

.testimonial-section {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Desktop Layout */
.desktop-layout {
  display: flex;
  gap: 1.5rem;
}

.column {
  flex: 1;
  position: relative;
  height: 600px;
  overflow: hidden;
  will-change: transform;
}

.column::before,
.column::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 10;
  pointer-events: none;
}

.column::before {
  top: 0;
  background: linear-gradient(to bottom, #f8f9fa 0%, transparent 100%);
}

.column::after {
  bottom: 0;
  background: linear-gradient(to top, #f8f9fa 0%, transparent 100%);
}

.column.left .testimonial-container {
  animation: scrollDown 60s linear infinite;
  animation-play-state: paused; /* Start paused until in viewport */
}

.column.right .testimonial-container {
  animation: scrollUp 60s linear infinite;
  animation-play-state: paused; /* Start paused until in viewport */
}

.column:hover .testimonial-container {
  animation-play-state: paused;
}

.column.in-viewport .testimonial-container {
  animation-play-state: running;
}

@keyframes scrollDown {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

@keyframes scrollUp {
  0% {
    transform: translateY(-50%);
  }
  100% {
    transform: translateY(0);
  }
}

.testimonial-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  will-change: transform;
}

.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid #e9ecef;
  transition: transform 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-2px);
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-image {
  width: 48px;
  height: 48px;
  border-radius: 100% !important;
  object-fit: cover;
  border: 2px solid #e9ecef;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.author-image.loaded {
  opacity: 1;
}

.author-info {
  flex: 1;
}

.author-name {
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
}

.author-company {
  font-size: 0.875rem;
  color: #666;
}

/* Mobile Layout */
.mobile-layout {
  display: none;
}

.mobile-carousel-testimonials {
  position: relative;
  overflow: hidden;
  margin: 0 -1rem;
  height: 420px;
  background: #f8f9fa;
}

.carousel-container-testimonials {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  will-change: transform;
}

.carousel-card-testimonials {
  position: absolute;
  width: 280px;
  height: 360px;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid #e9ecef;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  user-select: none;
  box-shadow: none;
}

.carousel-card-testimonials.active {
  z-index: 10;
  left: 20px;
  transform: translateY(-50%) scale(1.13);
}

.carousel-card-testimonials.inactive-1 {
  z-index: 11;
  left: 320px;
  transform: translateY(-50%) scale(1);
}
.carousel-card-testimonials.inactive-2 {
  z-index: 9;
  left: 520px;
  transform: translateY(-50%) scale(1);
}
.carousel-card-testimonials.inactive-3 {
  z-index: 8;
  left: 720px;
  transform: translateY(-50%) scale(1);
}
.carousel-card-testimonials.inactive-4 {
  z-index: 7;
  left: 920px;
  transform: translateY(-50%) scale(1);
}

.carousel-card-testimonials .testimonial-text {
  flex: 1;
  margin-bottom: 1.5rem;
}

.carousel-card-testimonials footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.carousel-card-testimonials footer img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e9ecef;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel-card-testimonials footer img.loaded {
  opacity: 1;
}

.carousel-card-testimonials footer div {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.carousel-card-testimonials footer strong {
  display: block;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0;
  font-size: 0.875rem;
  line-height: 1.2;
}

.carousel-card-testimonials footer span {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.2;
}

.carousel-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 2rem;
}

.pagination-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d3d3d3;
  cursor: pointer;
  transition: background 0.2s ease;
}

.pagination-dot.active {
  transform: scale(1.13);
  background: #8d969e;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
  .desktop-layout {
    display: none;
  }

  .mobile-layout {
    display: block;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .testimonial-section {
    padding: 2rem 1rem;
  }

  .carousel-card-testimonials.active {
    left: 20px;
    transform: translateY(-50%) scale(1.13);
  }
  .carousel-card-testimonials.inactive-1 {
    left: 335px;
    transform: translateY(-50%) scale(1);
  }
  .carousel-card-testimonials.inactive-2 {
    left: 630px;
    transform: translateY(-50%) scale(1);
  }
  .carousel-card-testimonials.inactive-3 {
    left: 720px;
    transform: translateY(-50%) scale(1);
  }
  .carousel-card-testimonials.inactive-4 {
    left: 920px;
    transform: translateY(-50%) scale(1);
  }

  .carousel-card-testimonials footer {
    gap: 0.6rem;
  }

  .carousel-card-testimonials footer img {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.75rem;
  }

  .carousel-container-testimonials {
    margin-left: 1rem;
  }

  .carousel-card-testimonials {
    width: 240px;
    height: 340px;
  }
  .carousel-card-testimonials.active {
    left: 15px;
    transform: translateY(-50%) scale(1.185);
  }
  .carousel-card-testimonials.inactive-1 {
    left: 295px;
    transform: translateY(-50%) scale(1);
  }
  .carousel-card-testimonials.inactive-2 {
    left: 450px;
    transform: translateY(-50%) scale(1);
  }
  .carousel-card-testimonials.inactive-3 {
    left: 630px;
    transform: translateY(-50%) scale(1);
  }
  .carousel-card-testimonials.inactive-4 {
    left: 810px;
    transform: translateY(-50%) scale(1);
  }

  .carousel-card-testimonials footer {
    gap: 0.5rem;
  }

  .carousel-card-testimonials footer img {
    width: 40px;
    height: 40px;
  }

  .carousel-card-testimonials footer strong {
    font-size: 0.8rem;
    line-height: 1.1;
  }

  .carousel-card-testimonials footer span {
    font-size: 0.7rem;
    line-height: 1.1;
  }
}

/* Touch Support */
.mobile-carousel-testimonials {
  touch-action: pan-y pinch-zoom;
}

/* Accessibility */
.testimonial-card:focus,
.carousel-card-testimonials:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

.pagination-dot:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* Testimonial Desktop Section End (Niko) */
