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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Zalando Sans Expanded", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    margin: 0;
    padding: 0;
    font-style: normal;
    background: linear-gradient(180deg, var(--Logo1) 50%, var(--Logo2) 100%);
    color: var(--black-color);
    line-height: 1.6;
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    color: var(--white-color);
}

.preloader-logo {
    width: 500px;
    height: 500px;
    margin-bottom: 20px;
    position: relative;
}

.preloader-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    z-index: -1;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: var(--gray-color);
    border-radius: 2px;
    margin: 0 auto 20px;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: var(--Logo2);
    width: 0%;
    animation: load 3s ease-in-out forwards;
}

@keyframes load {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(30deg); }
  100% { transform: rotate(0deg); }
}

@keyframes glow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}


.rotating {
  animation: rotate 1s ease;
}

body {
    background: linear-gradient(180deg, var(--Logo1) 25%, var(--white-color) 45%, var(--black-color) 85%) !important;
}

section {
    background: transparent !important;
}

.hero-section {
    position: relative;
    min-height: 80vh;
    overflow: hidden;
}

.intro-main-section {
    position: relative;
    min-height: 100vh;
    backdrop-filter: blur(50px);
}

:root {
    --bg-color: #828282;
    --white-color: #EEEEEE;
    --black-color: #222831;
    --yellow-color: #f0b073;
    --hover-color: #b77b5c;
    --gray-color: #666666;
    --Logo1: #58674c;
    --Logo2: #f0b073;
    --Logo3: #b77b5c;
    --Logo4: #EEEEEE;
}

#large-header {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 78vh;
    z-index: 0;
}

#demo-canvas {
    position: absolute;
    top: -100px;
    left: 0;
    display: block;
    pointer-events: none;
    width: 100%;
    height: 105vh;
    z-index: -3;
}

header {
    width: 100%;
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5000;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 60px;
    background: rgba(34, 40, 49, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.8s ease;
}

header.scrolled::before {
    opacity: 1;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 220px;
    position: relative;
    top: 38px;
    transition: 0.8s;
}

nav.scrolled {
  position: relative;
  top: 0px;
}

nav.scrolled .logo-btn {
  opacity: 1;
}



.logo-btn {
    position: relative;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    border: none;
    outline: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.8s;
}

.logo-btn img {
    height: 50px; 
    z-index: 2;
}

.logo-btn .hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s;
}

.logo-btn:hover .hover {
    opacity: 1;
}

.logo-btn:hover .normal {
    opacity: 0;
}


nav ul {
    list-style: none;
    display: flex;
    padding: 15px;
    margin: 15px;
    color: var(--Logo4);
}

nav li {
    margin-right: 35px;
}

nav li:last-child {
    margin-right: 0;
}

nav ul a {
    font-family: "Zalando Sans Expanded", sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--Logo4);
    text-decoration: none;
    position: relative;
    z-index: 2;
}

nav ul a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--yellow-color);
    transform: scaleX(0);
    transition: transform 0.5s ease;
    transform-origin: left;
}

nav ul a:hover::after {
    transform: scaleX(1);
}

nav ul a:hover {
    color: var(--yellow-color);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: -30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 8px 0;
    border: 1px solid rgba(212, 170, 0, 0.2);
}

.dropdown:hover .dropdown-menu {
    opacity: 0.8;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
    margin: 0;
    height: 75px;
}

.dropdown-menu a {
    display: block;
    padding: 1em 16px;
    color: var(--black-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
    margin: 10px 8px;
    text-align: center;
    position: relative;
    top: 5px;
    writing-mode: horizontal-tb;
    text-orientation: upright;
    white-space: nowrap;
    margin-block-start: 1em;
    margin-block-end: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.dropdown-menu a:hover {
    background: var(--yellow-color);
    color: var(--black-color);
    transform: translateX(10px);
    height: 60px;
}

.grid-dropdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0;
    padding: 8px;
}

.grid-dropdown-item {
    height: 75px;
}

.grid-dropdown-item a {
    display: block;
    padding: 1em 16px;
    color: var(--black-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
    margin: 10px 8px;
    text-align: center;
    position: relative;
    top: 5px;
    writing-mode: horizontal-tb;
    text-orientation: upright;
    white-space: nowrap;
    margin-block-start: 1em;
    margin-block-end: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.grid-dropdown-item a:hover {
    background: var(--yellow-color);
    color: var(--black-color);
    transform: translateX(10px);
    height: 60px;
}

/* Dropdown Arrow Styles */
.dropdown-arrow {
    width: 16px;
    height: 16px;
    margin-left: 8px;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
    z-index: 5001;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--Logo4);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Menu Styles */
.Menu-selection.active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(34, 40, 49, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    z-index: 5000;
}

.Menu-selection.active li {
    margin: 10px 0;
    width: 100%;
}

.Menu-selection.active a {
    display: block;
    padding: 15px 20px;
    color: var(--Logo4);
    text-align: left;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.Menu-selection.active a:hover {
    background: rgba(240, 176, 115, 0.1);
}

/* Hide hamburger on desktop */
@media (min-width: 769px) {
    .hamburger {
        display: none;
    }
}

/* Language Icon Styles */
.language-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Chat Assistant Section */
.chat-assistant-section {
    padding: 40px 20px;
    background: var(--black-color) !important;
    text-align: center;
    max-height: 60px;
    z-index: 2;
}

.chat-container {
    max-width: 600px;
    margin: 0 auto;
}

.chat-container h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--white-color);
    margin-bottom: 20px;
    font-family: "Zalando Sans Expanded", sans-serif;
    text-align: left;
    position: relative;
    left: -100px;
    top: 0px;
}

.chat-input-group {
    display: flex;
    gap: 15px;
    align-items: stretch;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    top: -60px;
    left: 40%;
}

#chat-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--gray-color);
    border-radius: 25px;
    font-size: 16px;
    font-family: "Zalando Sans Expanded", sans-serif;
    color: var(--black-color);
    background: var(--white-color);
    outline: none;
    transition: border-color 0.3s ease;
    height: 50px;
    box-sizing: border-box;
}

#chat-input:focus {
    border-color: var(--yellow-color);
}

#chat-submit {
    padding: 15px 30px;
    background: var(--yellow-color);
    color: var(--black-color);
    border: 2px solid var(--yellow-color);
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    font-family: "Zalando Sans Expanded", sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 50px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

#chat-submit:hover:not(:disabled) {
    background: var(--hover-color);
    border-color: var(--hover-color);
    color: var(--white-color);
}

#chat-submit:disabled {
    background: var(--gray-color);
    border-color: var(--gray-color);
    color: var(--white-color);
    cursor: not-allowed;
}

/* Why Us Section */
.why-us-section {
    padding: 60px 20px;
    background: var(--white-color);
    text-align: center;
    opacity: 1;
}

.why-us-container {
    max-width: 1500px;
    margin: 0 auto;
}

.why-us-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 40px;
    font-family: "Zalando Sans Expanded", sans-serif;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0;
    border: none;
    background: var(--Logo1);
}

.why-us-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: var(--logo1);
    border-right: 1px solid var(--Logo2);
    border-bottom: 1px solid var(--Logo2);
    transition: background-color 0.3s ease;
    min-height: 150px;
}

.why-us-cell:nth-child(5n) {
    border-right: none;
}

.why-us-cell:nth-last-child(-n+5) {
    border-bottom: none;
}

.why-us-cell:hover {
    background: var(--hover-background);
}

.why-us-cell img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    opacity: 0.8;
    filter: invert(1);
}

.why-us-cell p {
    font-size: 16px;
    font-weight: 600;
    color: var(--white-color);
    margin: 0;
    text-align: center;
    line-height: 1.4;
    font-family: "Zalando Sans Expanded", sans-serif;
}

/* Section Divider */
.section-divider {
    width: 75%;
    height: 6px;
    background-color: var(--gray-color);
    margin: 20px auto;
    border-radius: 3px;
}

/* Responsive design for Why Us section */
@media (max-width: 768px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, 1fr);
    }

    .why-us-cell {
        padding: 20px 15px;
        min-height: 120px;
    }

    .why-us-cell p {
        font-size: 14px;
  }
}

.button img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25px;
    height: 25px;
    filter: invert(100%);
}

/* Floating Chat FAB */
.chat-fab {
  position: fixed;
  bottom: 100px;
  right: 15px;
  width: 60px;
  height: 60px;
  background: var(--yellow-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
}

.chat-fab:hover {
  transform: scale(1.1);
  background: var(--hover-color);
}

.chat-icon {
  width: 24px;
  height: 24px;
  filter: invert(1);
}

.chat-tooltip {
  position: absolute;
  top: -50px;
  right: 0;
  background: var(--black-color);
  color: var(--white-color);
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-family: "Zalando Sans Expanded", sans-serif;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1001;
}

.chat-tooltip::after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: 15px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--black-color);
}

.chat-fab:hover .chat-tooltip {
  opacity: 1;
}

/* Chat Modal */
.chat-modal {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 350px;
  max-height: 500px;
  background: var(--white-color);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.chat-modal.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.chat-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: var(--yellow-color);
  color: var(--black-color);
}

.chat-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  font-family: "Zalando Sans Expanded", sans-serif;
}

.chat-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.chat-close-btn:hover {
  opacity: 1;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  max-height: 300px;
  background: var(--white-color);
}

.message {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

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

.message-content {
  background: var(--gray-color);
  padding: 12px 16px;
  border-radius: 18px;
  max-width: 250px;
}

.message.bot-message .message-content {
  background: var(--Logo1);
  color: var(--white-color);
}

.message.user-message {
  flex-direction: row-reverse;
}

.message.user-message .message-content {
  background: var(--yellow-color);
  color: var(--black-color);
  margin-left: auto;
}

.message-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  font-family: "Zalando Sans Expanded", sans-serif;
}

.chat-input-area {
  display: flex;
  padding: 20px;
  gap: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--white-color);
}

#chat-modal-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--gray-color);
  border-radius: 20px;
  outline: none;
  font-family: "Zalando Sans Expanded", sans-serif;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

#chat-modal-input:focus {
  border-color: var(--yellow-color);
}

#chat-modal-submit {
  padding: 12px 20px;
  background: var(--yellow-color);
  color: var(--black-color);
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-family: "Zalando Sans Expanded", sans-serif;
  font-weight: 600;
  transition: background 0.3s ease;
}

#chat-modal-submit:hover:not(:disabled) {
  background: var(--hover-color);
}

#chat-modal-submit:disabled {
  background: var(--gray-color);
  cursor: not-allowed;
}

/* CTA Section */
.cta-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--Logo1) 0%, var(--Logo2) 100%);
  color: var(--white-color);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.05);
  z-index: 1;
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: "Zalando Sans Expanded", sans-serif;
  line-height: 1.2;
}

.cta-section p {
  font-size: 24px;
  margin-bottom: 40px;
  font-family: "Zalando Sans Expanded", sans-serif;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.cta-primary-btn,
.cta-secondary-btn {
  padding: 16px 32px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  font-family: "Zalando Sans Expanded", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid var(--yellow-color);
}

.cta-primary-btn {
  background: var(--yellow-color);
  color: var(--black-color);
}

.cta-primary-btn:hover {
  background: var(--hover-color);
  border-color: var(--hover-color);
  color: var(--white-color);
}

.cta-secondary-btn {
  background: transparent;
  color: var(--white-color);
}

.cta-secondary-btn:hover {
  background: var(--yellow-color);
  color: var(--black-color);
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-family: "Zalando Sans Expanded", sans-serif;
  font-weight: 500;
}

.cta-feature img {
  width: 24px;
  height: 24px;
}

/* Responsive design for CTA section */
@media (max-width: 768px) {
  .cta-section h2 {
    font-size: 36px;
  }

  .cta-section p {
    font-size: 18px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-primary-btn,
  .cta-secondary-btn {
    width: 250px;
  }

  .cta-features {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

/* Mobile optimization for chat modal */
@media (max-width: 480px) {
  .chat-modal {
    width: calc(100vw - 40px);
    left: 20px;
    right: 20px;
    bottom: 80px;
  }

  .chat-fab {
    bottom: 20px;
    right: 20px;
  }

  .cta-section h2 {
    font-size: 32px;
  }

  .cta-section p {
    font-size: 16px;
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
    .why-us-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(10, 1fr);
    }

    .why-us-section h2 {
        font-size: 28px;
    }
}

/* ===== ENHANCED HOW IT WORKS SECTION ===== */
.how-it-works-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--white-color) 0%, #f8f9fa 100%);
    color: var(--black-color);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}



@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.how-it-works-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.how-it-works-section h2 {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--black-color);
    font-family: "Zalando Sans Expanded", sans-serif;
    position: relative;
}

.how-it-works-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    border-radius: 2px;
}

/* Progress Container */
.progress-container {
    max-width: 1300px; /* Increased from 800px */
    margin: 60px auto 80px; /* Increased margins for more separation */
    text-align: center;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.progress-bar {
    width: 4px;
    height: 1000px;
    background: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 50%;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.progress-fill {
    width: 100%;
    background: var(--Logo2); /* Solid Logo2 color, no gradient */
    height: 20%;
    border-radius: 2px;
    transition: height 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(240, 176, 115, 0.3);
    position: absolute;
    top: 0;
    left: 0;
}

.progress-text {
    font-size: 18px; /* Slightly larger text */
    font-weight: 600;
    color: var(--black-color);
    font-family: "Zalando Sans Expanded", sans-serif;
    margin-top: 10px; /* More space above text */
    position: absolute;
    bottom: 50px;
}
/* Steps Flow */
.steps-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: left;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    left: 150px;
    width: 1300px;
    gap: 100px;
}

/* Removed .steps-box::before rule */
.steps {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.steps:first-child, .steps:last-child {
    width: 120px;
}

.steps::before {
    display: none;
}

.steps-point {
    position: relative;
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.steps-point:hover {
    transform: translateY(-2px);
}

.steps-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white-color);
    background: var(--gray-color);
    border: 2px solid var(--gray-color);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    z-index: 3;
}

.steps-circle i {
    font-size: 18px;
    transition: all 0.3s ease;
}

.steps-circle.pulse {
    animation: pulse 2s infinite;
    background: linear-gradient(135deg, var(--Logo1), var(--Logo2));
    border-color: var(--Logo2);
    box-shadow: 0 0 20px rgba(240, 176, 115, 0.4);
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 20px rgba(240, 176, 115, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 30px rgba(240, 176, 115, 0.6); }
    100% { transform: scale(1); box-shadow: 0 0 20px rgba(240, 176, 115, 0.4); }
}

.steps.is-current .steps-circle {
    background: linear-gradient(135deg, var(--Logo1), var(--Logo2));
    border-color: var(--Logo2);
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(240, 176, 115, 0.5);
}

.steps.is-completed .steps-circle {
    background: linear-gradient(135deg, var(--Logo2), var(--Logo3));
    border-color: var(--Logo3);
    color: var(--black-color);
}

.steps.is-completed .steps-circle i {
    display: none;
}

.steps.is-completed .steps-circle::after {
    content: '\f058'; /* FontAwesome check-circle */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: var(--white-color);
}

.steps-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--bg-color);
    text-align: center;
    margin: 0;
    transition: color 0.3s ease;
    white-space: nowrap;
    font-family: "Zalando Sans Expanded", sans-serif;
}

.steps.is-current .steps-title,
.steps.is-completed .steps-title {
    color: var(--white-color);
    font-weight: 700;
}

/* Enhanced Tooltips */
.steps-tooltip {
    position: relative;
    bottom: 200px;
    left: 700px;
    transform: translateX(-50%);
    width: 800px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10000; /* High z-index to prevent overlapping */
    text-align: center;
    margin-top: 20px; /* Extra space from circle */
}

.steps-tooltip::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-bottom-color: rgba(255, 255, 255, 0.95);
}

.steps.is-active .steps-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.tooltip-icon {
    width: 60px;
    height: 60px;
    background: var(--Logo2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--black-color);
    box-shadow: 0 4px 15px rgba(88, 103, 76, 0.3);
    position: absolute;
    left: 100px;
}

.tooltip-step {
    font-size: 14px;
    color: var(--gray-color);
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tooltip-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--black-color);
    margin-bottom: 15px;
    font-family: "Zalando Sans Expanded", sans-serif;
    line-height: 1.3;
}

.tooltip-description {
    font-size: 16px;
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 25px;
    font-family: "Zalando Sans Expanded", sans-serif;
}

.signup-modal-btn {
    background: var(--yellow-color);
    border: 2px solid var(--yellow-color);
    color: var(--black-color);
    padding: 14px 28px;
    border-radius: 25px;
    cursor: pointer;
    font-family: "Zalando Sans Expanded", sans-serif;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s, color 0.3s;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 50%;
    justify-self: center;
}

.signup-modal-btn:hover {
    background: var(--hover-color);
    color: var(--white-color);
    border: 2px solid var(--hover-color);
}

.tooltip-nav {
    display: flex;
    gap: 15px;
    justify-content: space-between;
}

.nav-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Zalando Sans Expanded", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid var(--gray-color);
    background: var(--white-color);
    color: var(--gray-color);
}

.nav-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.prev-btn {
    background: var(--white-color);
    color: var(--black-color);
    height: 50px;
}
.prev-btn:hover {
    background: var(--gray-color);
    color: var(--white-color);
}


.next-btn, .complete-btn {
    background: linear-gradient(135deg, var(--Logo1), var(--Logo2));
    color: var(--white-color);
    border-color: var(--Logo2);
    height: 50px;
}


.complete-btn {
    background: linear-gradient(135deg, var(--Logo2), var(--Logo3)) !important;
    border-color: var(--Logo3) !important;
}

.next-btn:hover {
    background: var(--hover-color) !important;
}

/* Line Progress */
.steps.is-current::before,
.steps.is-completed::before {
    background: linear-gradient(90deg, var(--Logo1), var(--Logo2));
}

.steps-box::before {
    background: #e9ecef;
}

/* Hover Effects */
.steps-point:hover .steps-circle {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.steps-point:hover .steps-circle:not(.is-current):not(.is-completed) {
    background: linear-gradient(135deg, var(--Logo1), var(--Logo2));
    border-color: var(--Logo2);
    color: var(--white-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .how-it-works-section {
        padding: 60px 20px;
    }

    .how-it-works-section h2 {
        font-size: 48px;
        font-weight: 700;
        text-align: center;
        margin-bottom: 20px;
        color: var(--white-color);
        font-family: "Zalando Sans Expanded", sans-serif;
       -webkit-background-clip: text;
    }

    .steps-box {
        flex-direction: column;
        gap: 40px;
        height: auto;
    }

    .steps {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        margin: 10px 0;
    }

    .steps::before {
        display: none;
    }

    .steps-box::before {
        display: none;
    }

    .steps-point {
        margin-bottom: 0;
        margin-right: 20px;
    }

    .steps-circle {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }

    .steps.is-current .steps-circle {
        width: 55px;
        height: 55px;
        font-size: 18px;
    }

    .steps-title {
        margin-left: 20px;
        text-align: left;
        width: auto;
        font-size: 16px;
    }

    .steps-tooltip {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        max-width: none;
        margin: 20px 0 0 0;
        opacity: 1;
        visibility: visible;
        background: var(--white-color);
        border: 1px solid var(--gray-color);
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }

    .steps.is-active .steps-tooltip {
        transform: none;
    }

    .tooltip-nav {
        flex-direction: row;
        gap: 10px;
    }

    .nav-btn {
        width: 100%;
    }

    .progress-container {
        margin: 30px auto 40px;
    }
}

@media (max-width: 480px) {
    .how-it-works-section h2 {
        font-size: 28px;
    }

    .steps-circle {
        width: 45px;
        height: 45px;
        font-size: 14px;
    }

    .steps.is-current .steps-circle {
        width: 50px;
        height: 50px;
    }

    .tooltip-description {
        font-size: 14px;
    }

    .tooltip-title {
        font-size: 18px;
    }

    .nav-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .tooltip-nav {
        flex-direction: column;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.steps-circle.bounce {
    animation: bounceIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.step-line-extend {
    animation: lineExtend 0.8s ease-out forwards;
}

@keyframes lineExtend {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.steps-circle.bounce {
    animation: bounceIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.step-line-extend {
    animation: lineExtend 0.8s ease-out forwards;
}

@keyframes lineExtend {
    from {
        width: 0;
    }
    to {
        width: calc(100vw * 0.15);
    }
}



/* ===== RESPONSIVE DESIGN ===== */

/* Mobile: <= 768px */
@media (max-width: 768px) {
    .flow-steps {
        flex-direction: column;
        gap: 40px;
    }

    .step-arrow {
        display: none;
    }

    .step {
        max-width: 100%;
        padding: 15px;
    }

    .step-icon {
        width: 60px;
        height: 60px;
    }

    .step-icon img {
        width: 30px;
        height: 30px;
    }

    .step h3 {
        font-size: 16px;
    }

    .step p {
        font-size: 13px;
    }

    .how-it-works-section h2, .section-header h2 {
        font-size: 32px;
    }

    .blog-post {
        padding: 20px;
    }

    .blog-post h3 {
        font-size: 20px;
    }
}

/* Small Tablet: 768px - 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
    .flow-steps {
        gap: 15px;
    }

    .step {
        max-width: 160px;
        padding: 15px;
    }

    .step-icon {
        width: 70px;
        height: 70px;
    }

    .step-icon img {
        width: 35px;
        height: 35px;
    }

    .step h3 {
        font-size: 16px;
    }

    .step p {
        font-size: 13px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        max-width: 700px;
    }
}

/* Tablet: 1024px - 1200px */
@media (min-width: 1024px) and (max-width: 1200px) {
    .flow-steps {
        gap: 10px;
    }

    .step {
        max-width: 180px;
    }

    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop: >= 1200px */
@media (min-width: 1200px) {
    .how-it-works-container, .news-blog-container {
        max-width: 1600px;
    }
}

/* Responsive Dropdown Styles */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        min-width: 100%;
        margin-top: 10px;
        padding: 8px 0;
        border: 1px solid rgba(212, 170, 0, 0.2);
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-arrow {
        display: none;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    nav li {
        margin-right: 0;
        width: 100%;
    }

    nav ul a {
        display: block;
        padding: 10px 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .dropdown-menu a {
        padding: 15px 20px;
    }

    /* Chat section responsive */
    .chat-input-group {
        flex-direction: column;
        gap: 20px;
    }

    #chat-input {
        width: 100%;
        max-width: none;
    }

    #chat-submit {
        width: 100%;
        max-width: 200px;
    }
}

.background-01 {
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    opacity: 0.8;
}

.sign-buttons {
    position: fixed;
    top: 125px;
    right: 5px;
    z-index: 10;
}

#sign-btn {
    padding: 10px 20px;
    background: var(--yellow-color);
    color: var(--black-color);
    border-radius: 15px;
    cursor: pointer;
    font-weight: 600;
    font-family: "Zalando Sans Expanded", sans-serif;
    transition: 0.8s;
    z-index: 5000!important;
    border: 2px #222831;
    border-color: #222831;
}

#sign-btn:hover {
    background: var(--hover-color);
    color: var(--white-color);
}

.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 5000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.window {
    width: 1000px;
    max-width: 90vw;
    height: 600px;
    min-height: 400px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white-color);
    border: 2px solid var(--white-color);
    border-radius: 35px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
    z-index: 5001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.8s ease, visibility 1.8s ease;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px;
    overflow: hidden;
    box-sizing: border-box;
}

.window.open {
    opacity: 1;
    visibility: visible;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 102;
}

.close-btn img {
    width: 30px;
    height: 30px;
}

.window-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 30% 100%;
    clip-path: polygon(0% 0%, 60% 0%, 40% 100%, 0% 100%);
    transition: clip-path 2.2s ease;
    z-index: 0;
    filter: brightness(50%);
}

.window.sign-up .window-bg {
    clip-path: polygon(40% 0%, 100% 0%, 100% 100%, 60% 100%);
}

.window.sign-up .sign-in-form {
    left: 150%;
}

.window.sign-up .welcome-text {
    opacity: 0;
    pointer-events: none;
}

.welcome-text {
    position: absolute;
    left: 5%;
    top: 30%;
    color: var(--white-color);
    font-family: "Zalando Sans Expanded", sans-serif;
    z-index: 100;
    transition: opacity 1.2s ease;
}

.welcome-text h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
    transition: 2.5s;
    color: var(--white-color);
}

.welcome-text p {
    font-size: 24px;
    font-weight: 400;
    margin: 10px 0 0;
    line-height: 1.2;
    position: relative;
    left: -50px;
    color: var(--white-color);
}

.join-text {
    position: absolute;
    right: 30%;
    top: 10%;
    transform: translateY(-50%);
    color: var(--white-color);
    font-family: "Zalando Sans Expanded", sans-serif;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
}

.join-text h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
    text-align: center;
}

.sign-up-logo {
    position: absolute;
    bottom: 10px;
    right: 10px;
    height: 150px;
    width: auto;
    opacity: 0;
    transition: opacity 1s ease;
}

.window.sign-up .sign-up-logo {
    opacity: 1;
}

.window.sign-up .join-text {
    opacity: 1;
    pointer-events: auto;
}

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

.toggle-text {
    margin-bottom: 10px;
    color: var(--black-color);
    font-family: "Zalando Sans Expanded", sans-serif;
    font-size: 18px;
    font-weight: 600;
}

.switch {
    position: relative;
    width: 250px;
    height: 57px;
}

.switch input {
    opacity: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-color);
    transition: .8s;
    border-radius: 25px;
}

.slider .on {
    position: absolute;
    left: 23px;
    font-size: 18px;
    color: var(--white-color);
    line-height: 57px;
    font-weight: 700;
    font-family: "Zalando Sans Expanded", sans-serif;
    pointer-events: none;
    opacity: 1;
}

.slider .off {
    position: absolute;
    right: 23px;
    font-size: 18px;
    color: var(--white-color);
    line-height: 57px;
    font-weight: 700;
    font-family: "Zalando Sans Expanded", sans-serif;
    pointer-events: none;
}

.slider:before {
    position: absolute;
    content: "Sign In";
    height: 43px;
    width: 100px;
    left: 7px;
    bottom: 7px;
    background-color: var(--yellow-color);
    color: var(--black-color);
    transition: 1.8s;
    border-radius: 35px;
    line-height: 43px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    font-family: "Zalando Sans Expanded", sans-serif;
    z-index: 1;
}

.switch input:checked + .slider:before {
    transform: translateX(135px);
    content: "Sign Up";
    transition: 1.8s;
}

.sign-in-form {
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 350px;
    transition: left 2.2s ease;
}

.sign-up-form {
    position: absolute;
    top: 60%;
    left: -50%;
    transform: translateY(-50%);
    display: none;
    width: 350px;
    transition: left 1.8s ease;
}

.step1 {
    position: relative;
    top: -75px;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.step2 {
    position: relative;
    top: -75px;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--gray-color);
    border-radius: 25px;
    font-size: 16px;
    font-family: "Zalando Sans Expanded", sans-serif;
    background: var(--white-color);
    color: var(--black-color);
    -webkit-appearance: none;
    gap: 15px;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

input[type="password"] {
    -webkit-text-security: disc;
}

input[type="password"]::-webkit-credentials-auto-fill-button,
input[type="password"]::-ms-reveal,
input[type="text"]::-webkit-credentials-auto-fill-button,
input[type="text"]::-ms-reveal {
    display: none;
}

input::placeholder {
    background: var(--white-color);
    color: var(--gray-color);
}

input[type="email"],
input[type="password"],
input[type="text"],
.country-selector,
.back-link {
    margin-bottom: 15px;
}

.back-link {
    color: var(--black-color);
    text-decoration: none;
    font-size: 16px;
    display: inline-block;
    font-family: "Zalando Sans Expanded", sans-serif;
    font-weight: 600;
}

.back-link:hover {
    color: var(--yellow-color);
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.forgot-password-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -10px;
    margin-bottom: 10px;
}

.forgot-password-link {
    font-size: 14px;
    color: var(--black-color);
    text-decoration: none;
    font-family: "Zalando Sans Expanded", sans-serif;
    font-weight: 200;
    display: inline-block;
}

.remember-me {
    font-size: 14px;
    color: var(--black-color);
    font-family: "Zalando Sans Expanded", sans-serif;
    font-weight: 200;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    margin-right: 8px;
    accent-color: var(--yellow-color);
}

.password-wrapper input {
    flex: 1;
}

.eye-icon {
    position: absolute;
    right: 10px;
    top: 5px;
    height: 25px;
    cursor: pointer;
    opacity: 0.7;
}

.sign-in-btn {
    width: 100%;
    background: var(--yellow-color);
    color: var(--black-color);
    border: none;
    border-radius: 25px;
    padding: 12px;
    cursor: pointer;
    font-family: "Zalando Sans Expanded", sans-serif;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.3s;
    height: 45px;
  }

.sign-in-btn:hover:not(:disabled) {
    background: var(--hover-color);
    color: var(--white-color);
}

.sign-in-btn:disabled {
    background: var(--gray-color);
    color: var(--black-color);
    cursor: not-allowed;
}

/* Google Sign-In Styles */
.google-signin-container {
    width: 100%;
    margin-top: 100px;
}

/* Ensure Google sign-in button in sign-up form matches sign-in form */
.sign-up-form .google-signin-container {
    margin-top: 150px;
}

/* Specific styling for sign-up form Google button to ensure consistency */
.sign-up-form .google-signin-btn,
.google-signup-btn {
    border: 1px solid var(--gray-color) !important;
    border-radius: 25px !important;
    background: var(--white-color) !important;
    min-height: 40px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: "Zalando Sans Expanded", sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: var(--black-color) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.sign-up-form .google-signin-btn:hover,
.google-signup-btn:hover {
    border-color: var(--black-color) !important;
    background: rgba(212, 170, 0, 0.05) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.sign-up-form .google-signin-btn > div,
.google-signup-btn > div {
    width: 100% !important;
    border-radius: 25px !important;
    font-family: "Zalando Sans Expanded", sans-serif !important;
}

.sign-up-form .google-signin-btn iframe,
.google-signup-btn iframe {
    border-radius: 25px !important;
}



.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: var(--gray-color);
    font-family: "Zalando Sans Expanded", sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-color);
}

.divider::before {
    margin-right: 10px;
}

.divider::after {
    margin-left: 10px;
}

.google-signin-btn {
    width: 100%;
    min-height: 40px;
    border-radius: 25px;
    border: 1px solid var(--gray-color);
    background: var(--white-color);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Zalando Sans Expanded", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--black-color);
    position: relative;
    overflow: hidden;
}

.google-signin-btn:hover {
    border-color: var(--black-color);
    background: rgba(212, 170, 0, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.google-signin-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Hide the default Google button styling */
.google-signin-btn > div {
    width: 100% !important;
    border-radius: 25px !important;
    font-family: "Zalando Sans Expanded", sans-serif !important;
}

.google-signin-btn iframe {
    border-radius: 25px !important;
}

/* OAuth Buttons Row */
.oauth-buttons-container {
    width: 100%;
}

.signin-oauth {

}

.signup-oauth {
  position: relative;
  top: 100px;
}

.oauth-buttons-row {
    display: flex;
    gap: 10px;
    width: 100%;
}

.oauth-btn {
    flex: .5;
    width: 50%;
    height: 40px;
    border-radius: 25px;
    border: 1px solid var(--gray-color);
    background: var(--white-color);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Zalando Sans Expanded", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--black-color);
    position: relative;
    overflow: hidden;
    padding: 0px;
    box-sizing: border-box;
}

.oauth-btn:hover {
    border-color: var(--black-color);
    background: rgba(212, 170, 0, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.oauth-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.x-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    filter: brightness(0);
}

/* Specific styles for signup buttons with new classes */
.signup-oauth .signup-google {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.signup-oauth .signup-google:hover {
    background: linear-gradient(135deg, #c82333, #a71e2d);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.5);
}

.signup-oauth .signup-x {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.signup-oauth .signup-x:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5);
}

.form-logo {
    width: 200px;
    margin: 0 auto 20px;
    display: block;
}

.name-row {
    display: flex;
    gap: 15px;
}

.name-row input {
    flex: 1;
}

select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--gray-color);
    border-radius: 25px;
    font-size: 16px;
    font-family: "Zalando Sans Expanded", sans-serif;
    background: var(--white-color);
    color: var(--black-color);
    max-height: 120px;
    overflow-y: auto;
}

select optgroup {
    font-weight: bold;
}

select option {
    padding: 5px;
}

.sign-up-btn {
    width: 100%;
    background: var(--yellow-color);
    color: var(--black-color);
    border: none;
    border-radius: 25px;
    padding: 12px;
    cursor: pointer;
    font-family: "Zalando Sans Expanded", sans-serif;
    font-weight: 600;
    font-size: 16px;
    margin-top: 0px;
    transition: 0.3s;
    box-sizing: border-box;
    height: 50px;
    position: relative;
    top: 100px;
}

.sign-up-btn:hover:not(:disabled) {
    background: var(--hover-color);
    color: var(--white-color);
}

.sign-up-btn:disabled {
    background: var(--gray-color);
    color: var(--black-color);
    cursor: not-allowed;
    height: 50px;
}

.password-instructions {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    font-size: 14px;
    font-family: "Zalando Sans Expanded", sans-serif;
    color: var(--black-color);
}

.password-instructions li {
    margin: 5px 0;
}

.password-instructions li.green {
    color: green;
}

.country-selector {
    position: relative;
    left: 0%;
    top: 0;
    width: 100%;
    background: var(--white-color);
    color: var(--gray-color);
    border: var(--gray-color) 1px solid;
    border-radius: 25px;
    padding: 12px;
    cursor: pointer;
    pointer-events: auto;
    font-family: "Zalando Sans Expanded", sans-serif;
    font-weight: 400;
    font-size: 16px;
    margin-top: 10px;
    box-sizing: border-box;
    text-align: center;
    z-index: 150;
}

.country-selector:hover {
    border-color: var(--black-color);
    color: var(--gray-color);
}

.country-selector.selected {
    color: var(--black-color);
    border-color: var(--black-color);
}

.country-dropdown-panel {
    position: absolute;
    right: 12%;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    max-height: 400px;
    background: var(--white-color);
    border: 1px solid var(--gray-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
    z-index: 150;
    padding: 10px;
    box-sizing: border-box;
}

.country-dropdown-panel #country-search {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--gray-color);
    border-radius: 25px;
    font-size: 14px;
    font-family: "Zalando Sans Expanded", sans-serif;
    background: var(--white-color);
    color: var(--black-color);
    margin-bottom: 10px;
    box-sizing: border-box;
}

.country-list {
    max-height: 320px;
    overflow-y: auto;
}

.country-dropdown-panel.open {
    opacity: 1;
    visibility: visible;
}

.country-list {
    display: flex;
    flex-direction: column;
}

.country-item {
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-family: "Zalando Sans Expanded", sans-serif;
    font-size: 16px;
    color: var(--black-color);
}

.country-item:hover {
    background-color: var(--yellow-color);
    color: var(--black-color);
}

.country-item.selected {
    background-color: var(--hover-color);
    color: var(--white-color);
}

.country-item.highlighted {
    background-color: var(--yellow-color);
    color: var(--black-color);
    font-weight: bold;
}

footer {
    width: 100%;
    margin: 0 auto;
    background: var(--black-color);
    color: var(--white-color);
    text-align: center;
    padding: 10px 20px;
    font-family: "Zalando Sans Expanded", sans-serif;
    font-weight: 200;
    font-size: 14px;
    height: 80vh;
    position: relative;
    display: flex;
    flex-direction: column;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

footer > * {
    position: relative;
    z-index: 2;
}

.footer-content {
    margin-top: auto;
}

.footer-menu {
    align-self: flex-end;
    margin-top: auto;
}

.footer-content p {
    text-align: center;
    width:auto;
    justify-self: center;
    position: relative;
    top: 155px;
    font-size: 9px;
}

.footer-links {
    display: flex;
    flex-direction: row;
    gap: 100px;
    top: 150px;
    width: 75%;
    margin: 50px 0;
    justify-self: center;
    justify-content: center;
    position: absolute;
    left: 12.5%;
  }

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-section h3 {
    color: var(--Logo2);
    font-size: 30px;
    font-weight: 600;
    margin: 0;
    font-family: "Zalando Sans Expanded", sans-serif;
}

.footer-section a {
    color: var(--white-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    font-family: "Zalando Sans Expanded", sans-serif;
    transition: color 0.3s ease;
}

.section-name {
    font-size: 22px !important;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--Logo2) !important;
}

.footer-section a:hover {
    color: var(--hover-color);
}

.footer-links a {
    color: var(--white-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;;
    transition: color 0.5s;
}

.footer-links a:hover {
    color: var(--hover-color);
}

.footer-icons {
    display: flex;
    justify-self: center;
    justify-content: center;
    gap: 100px;
    margin: 20px 20px;
    width: 500px;
    position: relative;
    bottom: 50px;
    filter: invert(100%);
    }

.footer-icons a {
    text-decoration: none;
}

.footer-icons img {
    width: 30px;
    height: auto;
    transition: 0.5s;
}

.footer-icons img:hover {
    filter:invert(60%);
}

.footer-menu {
    display: flex;
    justify-content: center;
    gap: 80px;
    font-size: 12px;
    color: var(--white-color);
    font-family: "Zalando Sans Expanded", sans-serif;
    font-weight: 200;
    align-self: flex-end;
    margin-top: auto;
    padding-bottom: 20px;
    width: 100%;
    justify-self: center;
}

.footer-menu span {
    color: var(--black-color);
}

.footer-menu a {
    color: var(--white-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    justify-self: center;
  
  }

.footer-menu a:hover {
    color: var(--hover-color);
}

.footer-logo {
    position: absolute;
    right: 100px;
    bottom: 50px;
    height: 185px;
    width: auto;
}

#logo-overlay {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 400px;
    z-index: 2;
    opacity: 0;
}

#intro-container {
    position: absolute;
    width: 1200px;
    max-width: 90vw;
    height: 450px;
    min-height: 275px;
    top: 40%;
    left: 50%;
    transform: translate(-50%, 5%);
    padding: 30px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    opacity: 0;
    z-index: 3;
    justify-content: center;
    box-sizing: border-box;
    font: "Zalando Sans Expanded", sans-serif;
    -webkit-backdrop-filter: blur(50px) saturate(100%);
    backdrop-filter: blur(20px) saturate(120%);
}

.intro-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 25px;
    opacity: 1;
    z-index: -1;
}

#intro-container img {
    position: absolute;
    right: 15px;
    width: 350px;
    height: 350px;
    border-radius: 25px;
    object-fit: cover;
    top: 25px;
    opacity: 1;
}

.intro-text {
    text-align: left;
    color: black;
    position: relative;
    top: 0px;
}

.small-text {
    font-size: 12px;
    margin: 0;
    font-weight: 200;
    position: relative;
    left: -15px;
    background: linear-gradient(to bottom, var(--yellow-color), var(--white-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.large-text {
    font-size: 70px;
    margin: 5px;
    font-weight: 600;
    line-height: 1;
    justify-self: auto;
    background: linear-gradient(to bottom, var(--yellow-color), var(--white-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
    
.Lower-text {
    font-size: 20px;
    margin: 0px;
    font-weight: 200;
    line-height: 2.5;
    position: relative;
    left: 7px;
    top: -15px;
    letter-spacing: 4px;
    background: linear-gradient(to bottom, var(--yellow-color), var(--white-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.medium-text {
    font-size: 40px;
    font-weight: 200;
    position: relative;
    left: 0%;
    justify-self: center;
    text-align: justify;
    letter-spacing: 8px;
    color: var(--white-color);
}

.medium-text b {
    letter-spacing: 1;
    font-weight: 900;
}

.intro-buttons {
    display:flexbox;
    gap: 50px;
    margin-top: 20px;
    position: relative;
    left: 25%;
    bottom: 25px;
}

.discover-btn {
    background: var(--white-color);
    position: absolute;
    right: 250px;
    width: 250px;
    border: 1px solid var(--gray-color);
    color: var(--black-color);
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-family: "Zalando Sans Expanded", sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.discover-btn:hover {
    background: var(--gray-color);
    color: var(--white-color);

}

.learn-more-btn {
    background: var(--white-color);
    position: absolute;
    right: 200px;
    width: 200px;
    border: 1px solid var(--gray-color);
    color: var(--black-color);
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-family: "Zalando Sans Expanded", sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 25px;
}

.learn-more-btn:hover {
    background: var(--gray-color);
    color: var(--white-color);

}
.learn-more-btn img {
    width: 16px;
    height: 16px;
    margin-left: 8px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.learn-more-btn:hover img {
    filter: invert(1);
    transform: translateX(5px);
}

.learn-more-btn img:hover{
    filter: invert(100%);
}


.learn-more-btn img:hover{
    filter: invert(0);
}

.join-btn {
    background: var(--yellow-color);
    border: 2px solid var(--yellow-color);
    color: var(--black-color);
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-family: "Zalando Sans Expanded", sans-serif;
    font-weight: 600;
    width: 300px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    position: relative;
    left: 500px;
}

.join-btn:hover {
    background: var(--hover-color);
    color: var(--white-color);
    border: 2px solid var(--hover-color)
}

#additional-text {
    color: var(--white-color);
    font-size: 14px;
    margin-top: 20px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: absolute; 
    left: 25%;
    bottom: 0%;
}

#additional-text p {
    margin-bottom: 15px;
}

#additional-text ul {
    list-style-type: none;
    padding: 0;
    margin-bottom: 15px;
}

#additional-text li {
    margin-bottom: 10px;
}

.confirmation-card {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 600px;
    background: var(--white-color);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 40px;
    text-align: center;
    z-index: 10;
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: block;
}

.confirmation-card h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--black-color);
    margin: 20px 0;
    font-family: "Zalando Sans Expanded", sans-serif;
}

.confirmation-text {
    font-size: 18px;
    line-height: 1.6;
    color: var(--gray-color);
    margin: 20px 0;
    font-family: "Zalando Sans Expanded", sans-serif;
    font-weight: 400;
}

.confirmation-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.resend-btn {
    background: var(--yellow-color);
    color: var(--black-color);
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    cursor: pointer;
    font-family: "Zalando Sans Expanded", sans-serif;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.3s;
}

.resend-btn:hover {
    background: var(--hover-color);
    color: var(--white-color);
}

.back-to-home-btn {
    background: transparent;
    color: var(--black-color);
    border: 2px solid var(--black-color);
    border-radius: 25px;
    padding: 12px 30px;
    text-decoration: none;
    font-family: "Zalando Sans Expanded", sans-serif;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-block;
}

.back-to-home-btn:hover {
    background: var(--black-color);
    color: var(--white-color);
}

.confirmation-note {
    margin-top: 20px;
    font-size: 14px;
    color: var(--gray-color);
}

.our_projects {
  position: relative;
  align-self: center;
  text-align: center;
  text-justify: auto;
}

.photo-slide-section {
  position: relative;
  height: 800px;
  top: 0px;
  left: 0;
  justify-self: center;
  width: 80%;
  border-radius: 50px;
  padding: 50px 20px;
  color: var(--black-color);
  background: var(--white-color) no-repeat center center/cover;
  background-color: var(--white-color);
  background-blend-mode: unset;
  background-attachment: fixed;
}

.photo-slide-presentation {
  position: relative;
  width: 100%;
  background-size: cover;
  height: auto;
}

.photo-slider-container {
  perspective: 500px;
  origin: 50%;
  cursor: grab;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  top: 80%;
}

.photo-slider-container.dragging {
  cursor: grabbing;
}

.photo-slider-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transform-style: preserve-3d;
}

.photo-card {
  flex-shrink: 0;
  width: 240px;
  background: var(--white-color);
  overflow: hidden;
  transform-style: preserve-3d;
  position: relative;
  cursor: pointer;
  border-radius: 25px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.15),
    transparent 30%,
    transparent 70%,
    rgba(0, 0, 0, 0.15)
  );
  transform: translateZ(-8px);
  pointer-events: none;
}

.photo-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white-color);
  transform: translateZ(-16px);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  position: relative;
  z-index: 1;
  border-radius: 25px;
}

.photo-card .hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 2;
}

.photo-card:hover .hover-overlay {
  opacity: 1;
}

.photo-card:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.photo-card .hover-overlay span {
  color: var(--white-color);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.photo-slider-track.blurred .card:not(.expanded) {
  filter: blur(8px);
  transition: filter 1s ease;
}

.photo-card.expanded {
  z-index: 1000 !important;
}

.photo-card-info {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  z-index: 1001;
  max-width: 600px;
  height: 200px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 4px 3px 18px 4px rgba(0, 0, 0, 0.8);
  min-width: 375px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.photo-card-info.visible {
  opacity: 1;
  pointer-events: all;
}

.photo-card-info h2 {
  font-size: 36px;
  font-weight: 900;
  color: var(--black-color);
  margin-bottom: 16px;
}

.photo-card-info p {
  font-size: 18px;
  color: var(--black-color);
  line-height: 1.7;
}

.photo-close-btn {
  position: absolute;
  top: 1000px;
  right: 300px;
  width: 60px;
  height: 60px;
  background: var(--white-color);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1002;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.photo-close-btn.visible {
  opacity: 1;
  pointer-events: all;
}

.photo-close-btn.attached {
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
}

.photo-close-btn:hover {
  background: var(--gray-color);
  color: var(--white-color);
  transform: rotate(90deg) scale(1.1);
}

.photo-close-btn.attached:hover {
  transform: rotate(90deg) scale(1.2);
}

.photo-close-btn svg {
  width: 24px;
  height: 24px;
}

.photo-nav-btn {
  width: 60px;
  height: 60px;
  background: var(--white-color);
  background-blend-mode:luminosity;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  z-index: 10;
}

.photo-nav-btn img {
  width: 24px;
  height: 24px;
}

.photo-nav-btn:hover {
  background: var(--Logo2);
  transform: scale(1.1);
}

.photo-prev-btn {
  position: absolute;
  left: 15%;
  top: 50%;
  transition: .5s;
}

.photo-next-btn {
  position: absolute;
  right: 15%;
  top: 50%;
  transition: 0.5s;
}

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

.services-section {
  position: relative;
  justify-self: center;
  height: 90vh;
  left: 0;
  width: 1400px;
  padding: 50px 20px;
  color: var(--black-color);
  background: url(../../images/Website/Expansion-joint.jpg) !important;
  background-size: cover;
}

.services-section .content {
  max-width: 1200px;
  margin: 0 auto;
}

.services-section h2 {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--white-color);
}

.services-section > p {
  font-size: 24px;
  text-align: center;
  margin-bottom: 50px;
  color: var(--white-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.service-item {
  background: transparent;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.service-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.service-item h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 20px;
  color: var(--black-color);
}

.service-item p {
  font-size: 16px;
  color: var(--gray-color);
  margin: 0 20px 20px;
  line-height: 1.6;
}

.spacer-section {
  width: 100%;
  height: 200px;
  background: var(--white-color);
  background-size: auto;
  background-attachment: fixed;
}

/* Adapted CSS for Services Section */

@layer demo {
  :root {
    --ease: cubic-bezier(.42,0,.58,1);
    --bounce: linear(0 0%, 0.4214 6.61%, 0.5762 9.59%, 0.7047 12.55%, 0.8115 15.61%, 0.8964 18.78%, 0.9614 22.13%, 1.0078 25.74%, 1.0282 28.18%, 1.0422 30.82%, 1.0503 33.7%, 1.0527 36.95%, 1.0468 42.53%, 1.015 58.45%, 1.0045 67.2%, 0.9987 80.44%, 1 100%);
    --speed: 1.5s;
    --width: 600px;
    --sizing: 30px;
    --background: rgba(50, 50, 50, 0.5);
    --hover-background: rgba(0, 0, 0, 0.5);
  }

  .services-section {
    margin-block: 3rem;
    display: flex;
    place-items: center;
    gap: 1rem;
    position: relative;
    min-height: 500px;
    aspect-ratio: 4 / 3;
    justify-content: flex-start;
    overflow: hidden;
    max-width: calc(100vw - 2rem);
    width: 1200px;
    border-radius: 50px;
    background: var(--bg-color);
    border: 2px solid color-mix(in oklch, canvasText, canvas 80%);
  }

  .services-section [data-action] {
    position: absolute;
  }

  .services-section .column:first-of-type {
    padding-left: 4rem;
    display: grid;
    grid-auto-rows: auto;
    width: var(--width);
    place-items: center;
    justify-items: start;
    gap: .5rem;
    z-index: 20;
    flex: 1 0 var(--width);
  }

  .services-section .column:last-of-type {
    width: 400px;
    height: 100%;
    position: relative;
    display: grid;
    grid-auto-flow: row;
    place-items: center;
    gap: .675rem;
    pointer-events: none;
    position: relative;
    right: 50px;
    opacity: .9;
  }

  .services-section .column:last-of-type .img-block {
    position: absolute;
    inset: 0;
    right: 15px;
    .img-wrapper {
      width: 800px;
      object-fit: cover;
      height: 100%;
      right: 15px;
      img {
        position: relative;
        top: 0;
        right: 120px;
        bottom: 0;
        aspect-ratio: 1;
        height: 100%;
        width: 600px;  /* Previous Button Styles */
  .services-section .service-prev-btn {
    position: absolute;
    left: 20px;
    top: 300px;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
    z-index: 20;
    opacity: 0;
    transform: translateX(-1rem);
    pointer-events: none;
  }

  .services-section:has([open]) .service-prev-btn {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
  }

  /* Next Button Styles */
  .services-section .service-next-btn {
    position: absolute;
    left: 20px;
    bottom: 300px;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
    z-index: 20;
    opacity: 0;
    transform: translateX(-1rem);
    pointer-events: none;
  }

  .services-section:has([open]) .service-next-btn {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
  }

  /* Close Button Styles */
  .services-section .service-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
    z-index: 20;
    opacity: 0;
    transform: translateY(1rem);
    pointer-events: none;
  }

  .services-section:has([open]) .service-close-btn {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }  /* Previous Button Styles */
  .services-section .service-prev-btn {
    position: absolute;
    left: 20px;
    top: 300px;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
    z-index: 20;
    opacity: 0;
    transform: translateX(-1rem);
    pointer-events: none;
  }

  .services-section:has([open]) .service-prev-btn {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
  }

  /* Next Button Styles */
  .services-section .service-next-btn {
    position: absolute;
    left: 20px;
    bottom: 300px;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
    z-index: 20;
    opacity: 0;
    transform: translateX(-1rem);
    pointer-events: none;
  }

  .services-section:has([open]) .service-next-btn {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
  }

  /* Close Button Styles */
  .services-section .service-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
    z-index: 20;
    opacity: 0;
    transform: translateY(1rem);
    pointer-events: none;
  }

  .services-section:has([open]) .service-close-btn {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }  /* Previous Button Styles */
  .services-section .service-prev-btn {
    position: absolute;
    left: 20px;
    top: 300px;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
    z-index: 20;
    opacity: 0;
    transform: translateX(-1rem);
    pointer-events: none;
  }

  .services-section:has([open]) .service-prev-btn {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
  }

  /* Next Button Styles */
  .services-section .service-next-btn {
    position: absolute;
    left: 20px;
    bottom: 300px;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
    z-index: 20;
    opacity: 0;
    transform: translateX(-1rem);
    pointer-events: none;
  }

  .services-section:has([open]) .service-next-btn {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
  }

  /* Close Button Styles */
  .services-section .service-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
    z-index: 20;
    opacity: 0;
    transform: translateY(1rem);
    pointer-events: none;
  }

  .services-section:has([open]) .service-close-btn {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }  /* Previous Button Styles */
  .services-section .service-prev-btn {
    position: absolute;
    left: 20px;
    top: 300px;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
    z-index: 20;
    opacity: 0;
    transform: translateX(-1rem);
    pointer-events: none;
  }

  .services-section:has([open]) .service-prev-btn {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
  }

  /* Next Button Styles */
  .services-section .service-next-btn {
    position: absolute;
    left: 20px;
    bottom: 300px;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
    z-index: 20;
    opacity: 0;
    transform: translateX(-1rem);
    pointer-events: none;
  }

  .services-section:has([open]) .service-next-btn {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
  }

  /* Close Button Styles */
  .services-section .service-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
    z-index: 20;
    opacity: 0;
    transform: translateY(1rem);
    pointer-events: none;
  }

  .services-section:has([open]) .service-close-btn {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }  /* Previous Button Styles */
  .services-section .service-prev-btn {
    position: absolute;
    left: 20px;
    top: 300px;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
    z-index: 20;
    opacity: 0;
    transform: translateX(-1rem);
    pointer-events: none;
  }

  .services-section:has([open]) .service-prev-btn {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
  }

  /* Next Button Styles */
  .services-section .service-next-btn {
    position: absolute;
    left: 20px;
    bottom: 300px;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
    z-index: 20;
    opacity: 0;
    transform: translateX(-1rem);
    pointer-events: none;
  }

  .services-section:has([open]) .service-next-btn {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
  }

  /* Close Button Styles */
  .services-section .service-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
    z-index: 20;
    opacity: 0;
    transform: translateY(1rem);
    pointer-events: none;
  }

  .services-section:has([open]) .service-close-btn {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }  /* Previous Button Styles */
  .services-section .service-prev-btn {
    position: absolute;
    left: 20px;
    top: 300px;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
    z-index: 20;
    opacity: 0;
    transform: translateX(-1rem);
    pointer-events: none;
  }

  .services-section:has([open]) .service-prev-btn {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
  }

  /* Next Button Styles */
  .services-section .service-next-btn {
    position: absolute;
    left: 20px;
    bottom: 300px;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
    z-index: 20;
    opacity: 0;
    transform: translateX(-1rem);
    pointer-events: none;
  }

  .services-section:has([open]) .service-next-btn {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
  }

  /* Close Button Styles */
  .services-section .service-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
    z-index: 20;
    opacity: 0;
    transform: translateY(1rem);
    pointer-events: none;
  }

  .services-section:has([open]) .service-close-btn {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }  /* Previous Button Styles */
  .services-section .service-prev-btn {
    position: absolute;
    left: 20px;
    top: 300px;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
    z-index: 20;
    opacity: 0;
    transform: translateX(-1rem);
    pointer-events: none;
  }

  .services-section:has([open]) .service-prev-btn {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
  }

  /* Next Button Styles */
  .services-section .service-next-btn {
    position: absolute;
    left: 20px;
    bottom: 300px;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
    z-index: 20;
    opacity: 0;
    transform: translateX(-1rem);
    pointer-events: none;
  }

  .services-section:has([open]) .service-next-btn {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
  }

  /* Close Button Styles */
  .services-section .service-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
    z-index: 20;
    opacity: 0;
    transform: translateY(1rem);
    pointer-events: none;
  }

  .services-section:has([open]) .service-close-btn {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }  /* Previous Button Styles */
  .services-section .service-prev-btn {
    position: absolute;
    left: 20px;
    top: 300px;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
    z-index: 20;
    opacity: 0;
    transform: translateX(-1rem);
    pointer-events: none;
  }

  .services-section:has([open]) .service-prev-btn {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
  }

  /* Next Button Styles */
  .services-section .service-next-btn {
    position: absolute;
    left: 20px;
    bottom: 300px;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
    z-index: 20;
    opacity: 0;
    transform: translateX(-1rem);
    pointer-events: none;
  }

  .services-section:has([open]) .service-next-btn {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
  }

  /* Close Button Styles */
  .services-section .service-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
    z-index: 20;
    opacity: 0;
    transform: translateY(1rem);
    pointer-events: none;
  }

  .services-section:has([open]) .service-close-btn {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }  /* Previous Button Styles */
  .services-section .service-prev-btn {
    position: absolute;
    left: 20px;
    top: 300px;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
    z-index: 20;
    opacity: 0;
    transform: translateX(-1rem);
    pointer-events: none;
  }

  .services-section:has([open]) .service-prev-btn {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
  }

  /* Next Button Styles */
  .services-section .service-next-btn {
    position: absolute;
    left: 20px;
    bottom: 300px;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
    z-index: 20;
    opacity: 0;
    transform: translateX(-1rem);
    pointer-events: none;
  }

  .services-section:has([open]) .service-next-btn {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
  }

  /* Close Button Styles */
  .services-section .service-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
    z-index: 20;
    opacity: 0;
    transform: translateY(1rem);
    pointer-events: none;
  }

  .services-section:has([open]) .service-close-btn {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }
        object-fit: cover;
        border-radius: 60px;
      }
    }
  }

  summary {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    padding: 1.5rem;
    border-radius: calc(var(--sizing) * 0.5);
    height: var(--sizing);
    min-height: var(--sizing);
    cursor: pointer;
    z-index: 20;
    p  /* Previous Button Styles */
  .services-section .service-prev-btn {
    position: absolute;
    left: 20px;
    top: 300px;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
    z-index: 20;
    opacity: 0;
    transform: translateX(-1rem);
    pointer-events: none;
  }

  .services-section:has([open]) .service-prev-btn {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
  }

  /* Next Button Styles */
  .services-section .service-next-btn {
    position: absolute;
    left: 20px;
    bottom: 300px;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
    z-index: 20;
    opacity: 0;
    transform: translateX(-1rem);
    pointer-events: none;
  }

  .services-section:has([open]) .service-next-btn {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
  }

  /* Close Button Styles */
  .services-section .service-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
    z-index: 20;
    opacity: 0;
    transform: translateY(1rem);
    pointer-events: none;
  }

  .services-section:has([open]) .service-close-btn {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }  .services-section:not(:has([open])) .service-prev-btn,
  .services-section:not(:has([open])) .service-next-btn {
    opacity: 0;
    transform: translateX(-1rem);
    pointer-events: none;
  }  .services-section .service-prev-btn {
    position: absolute;
    left: 20px;
    top: 300px;
  }

  .services-section .service-next-btn {
    position: absolute;
    left: 20px;
    bottom: 300px;
  }

  .services-section .service-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
  }osition: relative;
    transition-property: opacity, width;
    transition-duration: calc(var(--speed) * 0.5), calc(var(--speed) * 1.5);
    transition-timing-function: var(--ease), var(--bounce);
    transition-delay: calc(var(--speed) * 1.05), 0s;
    white-space: nowrap;
    font-weight: 600;
    outline-color: canvasText;
  

    }
    }

  summary img {
    width: 30px;
    height: 30px;
    filter: invert(100%);
  }

  [open] summary {
    opacity: 1;
    transition-delay: 0s;
    width: var(--width);
  }



  details {
    display: inline-block;
    border-radius: 25px;
    overflow: hidden;
    min-height: var(--sizing);
    background: var(--background);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    color: #fff;
    transition: background 0.2s var(--ease);
    &:hover:not([open]) {
      background: var(--hover-background);
    }
  }

  summary:marker {
    opacity: 0;
  }

  details::details-content {
    opacity: 0;
    transition-property: content-visibility, opacity;
    transition-duration: calc(var(--speed) * 0.5), calc(var(--speed) * 0.5);
    transition-behavior: normal;
    transition-timing-function: var(--ease), var(--ease);
    overflow: visible;
    height: var(--sizing);
    margin-top: calc(var(--sizing) * -1);
    width: 120px;
    min-height: var(--sizing);
  }

  [open]::details-content {
    height: fit-content;
    width: var(--width);
    opacity: 1;
    transition-delay: calc(var(--speed) * 1);
  }

  .content {
    width: var(--width) - 60px;
    min-height: var(--sizing);
    text-align: justify;
    }

  details,
  details::details-content {
    interpolate-size: allow-keywords;
  }

  p {
    margin: 1px;
    width: var(--width) - 30px;
    padding: 1.5rem;
    display: inline-block;
    font-weight: 500;
  }



@layer controls {
  .services-section [data-action] {
    display: grid;
    width: 50px;
    aspect-ratio: 1;
    border: 0;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    background: var(--black-color);
    transition-property: opacity, background, translate, transform;
    transition-duration: 0.26s;
    transition-timing-function: var(--ease);
    transition-delay: calc(var(--speed) * 1.05), 0s;
    z-index: 20;
    svg {
      align-self: center;
      justify-self: center;
      width: 42px;
      color: #fff;
      stroke-width: 3;
      }
  }

  .services-section .service-prev-btn {
    position: absolute;
    left: 50px;
    top: 300px;
  }

  .services-section .service-next-btn {
    position: absolute;
    left: 50px;
    bottom: 300px;
  }

  .services-section .service-close-btn {
    position: absolute;
    top: 50px;
    right: 50px;
  }

  .services-section:not(:has([open])) .service-close-btn {
    opacity: 0;
    transform: translateY(1rem);
    pointer-events: none;
  }
}

@layer images {
  body {
    overflow-x: hidden;
    --distance: 15%;
  }

  .services-section .img-wrapper {
    display: inline-block;
    transform: translateX(0);
    transition-duration: calc(var(--speed) * 0), calc(var(--speed) * 0.65), calc(var(--speed) * 0.65);
    transition-duration: calc(var(--speed) * 0), calc(var(--speed) * 0.35), calc(var(--speed) * 1.15);
    transition-timing-function: var(--ease), var(--ease), var(--bounce);
    transform-origin: 100% 150%;
    transition-property: transform, opacity, scale;
  }

  .services-section[data-checking-details=true] .img-wrapper {
    transform-origin: 50% 100%;
    transition-timing-function: var(--ease);
    transition-duration: calc(var(--speed) * 0.6), calc(var(--speed) * 0.25), calc(var(--speed) * 0.65);
  }

  .services-section .img-block:nth-of-type(1) {
    z-index: 10;
  }

  .services-section .img-block:nth-of-type(1) .img-wrapper {
    transform-origin: 50% 50%;
    transition-property: translate, opacity, scale;
    transition-duration: calc(var(--speed) * .4), calc(var(--speed) * 0.35), calc(var(--speed) * 1.15);
    transition-timing-function: ease-in, var(--ease), var(--bounce);
  }

  .services-section:not(:has([open])) .column:last-of-type .img-block:first-of-type,
  .services-section:has(details:nth-of-type(1)[open]) .column:last-of-type .img-block:nth-of-type(2),
  .services-section:has(details:nth-of-type(2)[open]) .column:last-of-type .img-block:nth-of-type(3),
  .services-section:has(details:nth-of-type(3)[open]) .column:last-of-type .img-block:nth-of-type(4),
  .services-section:has(details:nth-of-type(4)[open]) .column:last-of-type .img-block:nth-of-type(5),
  .services-section:has(details:nth-of-type(5)[open]) .column:last-of-type .img-block:nth-of-type(6),
  .services-section:has(details:nth-of-type(6)[open]) .column:last-of-type .img-block:nth-of-type(7),
  .services-section:has(details:nth-of-type(7)[open]) .column:last-of-type .img-block:nth-of-type(8),
  .services-section:has(details:nth-of-type(8)[open]) .column:last-of-type .img-block:nth-of-type(9) {
    translate: var(--distance) 0;
    z-index: 2;
    .img-wrapper {
      transform: translateX(calc(var(--distance) * -1));
      transition-delay: calc(var(--speed) * 0.2);
    }
  }

  .services-section:not(:has([open])) div.column:nth-of-type(2)  div.img-block:first-of-type {
    translate: 0 0;
    .img-wrapper {
      transform: translateX(0%);
      transition-delay: calc(var(--speed) * 0.2);
    }
  }

  .services-section:has([open]) .column:last-of-type .img-block:first-of-type {
    .img-wrapper {
      translate: 0 0;
      scale: 1.25;
      opacity: 0;
    }
  }

  .services-section:not(:has(details:nth-of-type(1)[open])) .column:last-of-type .img-block:nth-of-type(2),
  .services-section:not(:has(details:nth-of-type(2)[open])) .column:last-of-type .img-block:nth-of-type(3),
  .services-section:not(:has(details:nth-of-type(3)[open])) .column:last-of-type .img-block:nth-of-type(4),
  .services-section:not(:has(details:nth-of-type(4)[open])) .column:last-of-type .img-block:nth-of-type(5),
  .services-section:not(:has(details:nth-of-type(5)[open])) .column:last-of-type .img-block:nth-of-type(6),
  .services-section:not(:has(details:nth-of-type(6)[open])) .column:last-of-type .img-block:nth-of-type(7),
  .services-section:not(:has(details:nth-of-type(7)[open])) .column:last-of-type .img-block:nth-of-type(8),
  .services-section:not(:has(details:nth-of-type(8)[open])) .column:last-of-type .img-block:nth-of-type(9) {
    .img-wrapper {
      transition-property: translate, opacity, scale;
      transition-timing-function: ease-in, ease-out, ease-in;
      translate: 0 0;
      scale: 0.9;
      opacity: 0;
    }
  }

  .services-section[data-checking-details=true] {
    &:not(:has(details:nth-of-type(1)[open])) .column:last-of-type .img-block:nth-of-type(2),
    &:not(:has(details:nth-of-type(2)[open])) .column:last-of-type .img-block:nth-of-type(3),
    &:not(:has(details:nth-of-type(3)[open])) .column:last-of-type .img-block:nth-of-type(4),
    &:not(:has(details:nth-of-type(4)[open])) .column:last-of-type .img-block:nth-of-type(5),
    &:not(:has(details:nth-of-type(5)[open])) .column:last-of-type .img-block:nth-of-type(6),
    &:not(:has(details:nth-of-type(6)[open])) .column:last-of-type .img-block:nth-of-type(7),
    &:not(:has(details:nth-of-type(7)[open])) .column:last-of-type .img-block:nth-of-type(8),
    &:not(:has(details:nth-of-type(8)[open])) .column:last-of-type .img-block:nth-of-type(9) {
      .img-wrapper {
        transform-origin: 50% 100%;
        translate: calc(var(--distance) * -1) 0;
      }
    }
  }
}
