:root {
  --color1: #1DB954; 
  --color2: #00BCD4; 
  --color3: #0A192F; 
  --color4: #64FFDA; 
  --color5: #F5F7FA; 
}

body {
  font-family: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: var(--color5);
  color: var(--color3);
  overflow-x: hidden;
}
.reveal-element {
  opacity: 0;
  transform: translateY(55px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.reveal-element.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#mobile-menu {
  transition: transform 0.4s ease-in-out;
  transform: translateX(100%);
}
#mobile-menu.active {
  transform: translateX(0);
}
#burger-btn span {
  transition: all 0.4s ease-in-out;
}
#burger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
#burger-btn.active span:nth-child(2) {
  opacity: 0;
}
#burger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -7px);
}

#hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  transition: transform 0.3s ease-out;
}

.deco-shape-1 {
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background-color: var(--color1);
  border-radius: 50%;
  opacity: 0.6;
  z-index: -1;
}

.parallax-element-slow {
  transition: transform 0.15s ease-out;
}
.parallax-element-fast {
  transition: transform 0.15s ease-out;
}

.section-bg-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -2;
}
.section-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15; 
}

.horizontal-scroll-item {
  min-width: 320px;
  transition: transform 0.6s ease-out;
}
.horizontal-scroll-item:hover {
  transform: scale(1.04);
}

.deco-grid {
  position: absolute;
  top: 5%;
  left: 5%;
  width: 90%;
  height: 90%;
  background-image: linear-gradient(
      to right,
      var(--color4) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, var(--color4) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.08;
  z-index: -1;
}

.split-screen-content {
  padding: 5rem;
}
.split-screen-image {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  object-fit: cover;
}

.overlapping-image {
  position: absolute;
  top: -8%;
  right: 0;
  width: 65%;
  height: 116%;
  object-fit: cover;
  z-index: 0;
  border-bottom-left-radius: 150px;
}

.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}
.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 120px;
}
.wave-divider .shape-fill {
  fill: var(--color3); 
}

.notification {
  position: fixed;
  top: 25px;
  right: 25px;
  padding: 1.25rem 1.75rem;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  opacity: 0;
  transform: translateX(450px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  max-width: 380px;
  font-weight: 600;
}
.notification.show {
  opacity: 1;
  transform: translateX(0);
}
.notification.success {
  background-color: var(--color1);
  color: var(--color3);
}
.notification.error {
  background-color: #ef4444;
  color: white;
}

.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color3);
  color: var(--color5);
  padding: 2rem;
  box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.cookie-popup.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-popup-content {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .cookie-popup-content {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
  }
}

.cookie-popup-title {
  font-size: 1.35rem;
  font-weight: bold;
  margin: 0;
  color: var(--color1);
}

.cookie-popup-text {
  flex: 1;
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

.cookie-popup-link {
  color: var(--color1);
  text-decoration: underline;
  transition: color 0.4s;
}

.cookie-popup-link:hover {
  color: var(--color2);
}

.cookie-popup-buttons {
  display: flex;
  gap: 1.25rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.8rem 1.7rem;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.4s ease;
  white-space: nowrap;
}

.cookie-btn-accept {
  background-color: var(--color1);
  color: var(--color3);
}

.cookie-btn-accept:hover {
  background-color: var(--color2);
  transform: translateY(-3px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.25);
}

.cookie-btn-decline {
  background-color: transparent;
  color: var(--color5);
  border: 3px solid var(--color5);
}

.cookie-btn-decline:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

@media (max-width: 767px) {
  .cookie-popup-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}

.timeline-node {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  order: 0;
}

.timeline-dot {
  width: 70px;
  height: 70px;
  background-color: var(--color4);
  color: var(--color3);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  font-weight: bold;
  border: 5px solid var(--color5);
  box-shadow: 0 0 0 5px var(--color4);
  z-index: 10;
}

@media (min-width: 768px) {
  .timeline-node {
    justify-content: flex-end;
  }

  .md\:order-first {
    justify-content: flex-start;
  }

  .timeline-node::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 50%;
    height: 4px;
    background-color: var(--color4);
    opacity: 0.4;
    transform: translateY(-50%);
    z-index: 5;
  }

  .timeline-node {
    padding-right: 35px;
  }
  .timeline-node::before {
    right: 0;
  }

  .md\:order-first {
    padding-right: 0;
    padding-left: 35px;
  }
  .md\:order-first::before {
    right: auto;
    left: 0;
  }
}

@media (max-width: 767px) {
  .timeline-node {
    display: none;
  }
  .relative.max-w-4xl.mx-auto > div:first-child {
    display: none;
  }
  .relative.mb-16.grid,
  .relative.grid {
    display: block;
  }
  .relative.mb-16.grid > div,
  .relative.grid > div {
    display: none;
  }
  .relative.mb-16.grid > article,
  .relative.grid > article {
    display: block;
    margin-bottom: 2.5rem;
  }
}

.timeline-spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 5px;
  background-color: var(--color4);
  transform: translateX(-50%);
  opacity: 0.4;
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
  width: 50%;
  padding: 0 45px;
}

.timeline-item:nth-child(odd) {
  left: 50%;
  padding-left: 45px;
}

.timeline-item:nth-child(even) {
  left: 0;
  padding-right: 45px;
  text-align: right;
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 25px;
  width: 24px;
  height: 24px;
  background-color: var(--color2);
  border: 5px solid var(--color3);
  border-radius: 50%;
  z-index: 10;
}

.timeline-item:nth-child(odd)::after {
  right: -12px;
  transform: translateX(50%);
}

.timeline-item:nth-child(even)::after {
  left: -12px;
  transform: translateX(-50%);
}

.timeline-content {
  padding: 28px;
  border-radius: 10px;
  position: relative;
}

@media (max-width: 768px) {
  .timeline-spine {
    left: 25px;
    transform: translateX(0);
  }
  .timeline-item {
    width: 100%;
    padding: 0 0 0 60px;
    margin-bottom: 40px;
  }
  .timeline-item:nth-child(odd) {
    left: 0;
    padding-left: 60px;
  }
  .timeline-item:nth-child(even) {
    left: 0;
    padding-right: 0;
    padding-left: 60px;
    text-align: left;
  }
  .timeline-item::after {
    left: 13px;
    transform: translateX(0);
  }
  .timeline-item:nth-child(odd)::after,
  .timeline-item:nth-child(even)::after {
    left: 13px;
    transform: translateX(0);
  }
}

.deco-shape-faq-1 {
  position: absolute;
  top: -120px;
  left: -120px;
  width: 350px;
  height: 350px;
  background-color: var(--color3);
  opacity: 0.15;
  z-index: 0;
  border-radius: 75% 25% 45% 55% / 65% 35% 65% 35%;
}

.faq-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 22px 28px;
  background-color: #ffffff;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.4s ease;
}

.faq-toggle:hover {
  background-color: var(--color5);
}

.faq-question-text {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color3);
  margin-right: 20px;
}

.faq-icon {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--color4);
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 28px;
}

.faq-content p {
  padding-bottom: 25px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color3);
}
.faq-content p:last-child {
  padding-bottom: 28px;
}

.faq-item.active .faq-toggle {
  background-color: #f0f0f0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-content {
  max-height: 1200px;
}

.deco-grid-faq {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background-image: linear-gradient(
      to right,
      var(--color2) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, var(--color2) 1px, transparent 1px);
  background-size: 70px 70px;
  opacity: 0.12;
  z-index: 0;
}

.contact-input {
  width: 100%;
  padding: 14px 18px;
  font-size: 1.05rem;
  color: var(--color3);
  background-color: var(--color5);
  border: 3px solid var(--color4);
  border-radius: 10px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.contact-input:focus {
  outline: none;
  border-color: var(--color1);
  box-shadow: 0 0 0 4px rgba(29, 185, 84, 0.4);
}

.contact-input:invalid {
  border-color: #dc2626;
}
.contact-input:invalid:focus {
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.5);
}

.contact-deco-line {
  position: absolute;
  top: 0;
  left: -25px;
  width: 7px;
  height: 100%;
  background-color: var(--color1);
  opacity: 0.9;
  border-radius: 5px;
}

@media (max-width: 1024px) {
  .contact-deco-line {
    left: 0;
    top: -25px;
    width: 100%;
    height: 7px;
  }
}

.notification-toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: var(--color1);
  color: var(--color3);
  padding: 18px 28px;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  z-index: 100;

  opacity: 0;
  transform: translateX(115%);
  visibility: hidden;

  transition: opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.21, 1.02, 0.73, 1), visibility 0.5s ease;
}

.notification-toast.show {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}