﻿@import url("./color.css");

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  background: linear-gradient(180deg, #0f1724 0%, var(--site-gray) 100%);
  color: #e6eef8;
}

.homepage-img {
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.img-bg {
  object-fit: cover;
  height: 100%;
  filter: brightness(0.7);
}

.homepage-overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.85) 100%
  );
}

.bg-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/*Main*/

.hero-title,
.hero-lead,
.hero-cta {
  opacity: 0;
  will-change: transform, opacity;
}

.hero-content {
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
}

/* TrustedBy Section */

.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
}

.carousel-track {
  display: flex;
  justify-content: center;
  gap: 60px;
  will-change: transform;
}

.logo-item {
  position: relative;
  width: 180px;
  height: 100px;
  flex-shrink: 0;
  cursor: pointer;
  overflow: hidden;
}

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

.logo-gray {
  position: absolute;
  width: 100%;
  height: 100%;
  filter: grayscale(100%) brightness(20);
  z-index: 1;
}

.logo-color {
  position: absolute;
  width: 100%;
  height: 100%;
  clip-path: inset(100% 0 0 0);
  z-index: 2;
}

.logo-item svg,
.logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Gradient fade edges */
.carousel-container::before,
.carousel-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.carousel-container::before {
  left: 0;
  background: linear-gradient(to right, var(--color-background), transparent);
}

.carousel-container::after {
  right: 0;
  background: linear-gradient(to left, var(--color-background), transparent);
}

@media (max-width: 768px) {
  .logo-item {
    width: 140px;
    height: 80px;
  }

  .carousel-track {
    gap: 40px;
  }
}

/*Services*/

.service-card {
  height: 300px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card .card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: all 0.4s ease;
}

.service-card .card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  transition: transform 0.4s ease, font-size 0.4s ease;
}

.service-card .card-text,
.service-card .btn {
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.5s ease;
}

.service-card:hover img {
  transform: scale(1.08);
}

.service-card:hover .card-title {
  font-size: 1.2rem;
  transform: translateY(-10px);
}

.service-card:hover .card-text,
.service-card:hover .btn {
  transform: translateY(0);
  opacity: 1;
}
