.hc-home-new {
  background: #f6f7fb;
  color: var(--text-dark);
  font-family: var(--font-family-sans);
}

.hc-home-new::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 15%, rgba(26, 67, 191, 0.06), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(255, 121, 24, 0.06), transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(26, 67, 191, 0.05), transparent 45%);
  pointer-events: none;
  z-index: -1;
}

.hc-home-new-container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.hc-home-new-section {
  padding: clamp(48px, 6vw, 90px) 0;
}

.hc-home-new-services {
  background: #f7f9fd;
}

.hc-home-new-testimonials {
  background: linear-gradient(180deg, #f7f9fd 0%, #ffffff 100%);
}

.hc-home-new-projects {
  background: linear-gradient(180deg, #f7f9fd 0%, #f3f6fc 100%);
  border-top: 1px solid rgba(26, 67, 191, 0.08);
  border-bottom: 1px solid rgba(26, 67, 191, 0.08);
}

.hc-home-new-process {
  background: #ffffff;
}

.hc-home-new-section-title {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.hc-home-new-projects .hc-home-new-section-title h2 {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.hc-home-new-services .hc-home-new-section-title h2,
.hc-home-new-process .hc-home-new-section-title h2 {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.hc-home-new-projects .hc-home-new-section-title h2::before,
.hc-home-new-projects .hc-home-new-section-title h2::after {
  content: '';
  height: 2px;
  width: clamp(150px, 6vw, 70px);
  background: linear-gradient(90deg, rgba(26, 67, 191, 0.0), rgba(26, 67, 191, 0.55));
  border-radius: 999px;
}

.hc-home-new-services .hc-home-new-section-title h2::before,
.hc-home-new-services .hc-home-new-section-title h2::after,
.hc-home-new-process .hc-home-new-section-title h2::before,
.hc-home-new-process .hc-home-new-section-title h2::after {
  content: '';
  height: 2px;
  width: clamp(150px, 6vw, 70px);
  background: linear-gradient(90deg, rgba(26, 67, 191, 0.0), rgba(26, 67, 191, 0.55));
  border-radius: 999px;
}

.hc-home-new-projects .hc-home-new-section-title h2::after {
  background: linear-gradient(90deg, rgba(26, 67, 191, 0.55), rgba(26, 67, 191, 0.0));
}

.hc-home-new-services .hc-home-new-section-title h2::after,
.hc-home-new-process .hc-home-new-section-title h2::after {
  background: linear-gradient(90deg, rgba(26, 67, 191, 0.55), rgba(26, 67, 191, 0.0));
}
.hc-home-new-testimonials .hc-home-new-section-title h2 {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.hc-home-new-testimonials .hc-home-new-section-title h2::before,
.hc-home-new-testimonials .hc-home-new-section-title h2::after {
  content: '';
  height: 2px;
  width: clamp(150px, 6vw, 70px);
  background: linear-gradient(90deg, rgba(26, 67, 191, 0.0), rgba(26, 67, 191, 0.55));
  border-radius: 999px;
}

.hc-home-new-testimonials .hc-home-new-section-title h2::after {
  background: linear-gradient(90deg, rgba(26, 67, 191, 0.55), rgba(26, 67, 191, 0.0));
}

.hc-home-new-section-title h2 {
  font-family: var(--font-family-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 10px;
  color: var(--brand-blue);
  font-weight: 500;
  width: 100%;
  justify-content: center;
  text-align: center;
}

.hc-home-new-section-title p {
  font-size: 25px;
  margin: 0 auto;
  color: var(--dark-alt);
}


.hc-home-new-hero {
  position: relative;
  background: var(--hero-image) center/cover no-repeat;
  color: #fff;
  padding: clamp(80px, 12vw, 190px) 0 0;
  isolation: isolate;
}

.hc-home-new-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hc-home-new-hero-slider {
  position: relative;
}

.hc-home-new-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.hc-home-new-hero-slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.hc-home-new-hero-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 0 22px;
}

.hc-home-new-hero-nav {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(15, 27, 61, 0.4);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hc-home-new-hero-nav:hover {
  transform: translateY(-1px);
  background: rgba(15, 27, 61, 0.7);
  border-color: rgba(255, 255, 255, 0.6);
}

.hc-home-new-hero-dots {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.hc-home-new-hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
}

.hc-home-new-hero-dot.is-active {
  background: var(--brand-orange);
}

.hc-home-new-hero-content {
  padding-bottom: clamp(48px, 6vw, 90px);
}

.hc-home-new-hero-text {
  max-width: 860px;
  background: rgba(15, 27, 61, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: clamp(20px, 3vw, 28px);
  backdrop-filter: blur(2px);
}

.hc-home-new-hero h1 {
  font-family: var(--font-family-serif);
  font-size: clamp(32px, 4.5vw, 54px);
  margin-bottom: 18px;
  text-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  color: var(--bg);
  font-weight: 500;
}

.hc-home-new-hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
}

.hc-home-new-hero-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}

.hc-home-new-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  position: relative;
  flex-shrink: 0;
}

.hc-home-new-check::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.hc-home-new-hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hc-home-new-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hc-home-new-btn-primary {
  background: var(--brand-orange);
  color: #fff;
  box-shadow: 0 12px 24px rgba(255, 121, 24, 0.3);
}

.hc-home-new-btn-secondary {
  background: var(--brand-blue);
  color: #fff;

}

.hc-home-new-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(18, 35, 70, 0.25);
}

.hc-home-new-hero-highlights {
  background: #0f1b3d;
  padding: 20px 0 28px;
}

.hc-home-new-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  color: #fff;
}

.hc-home-new-highlight {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--dark-alt);
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--brand-blue);
}

.hc-home-new-highlight-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--brand-blue);
  flex-shrink: 0;
}

.hc-home-new-highlight-icon svg {
  width: 20px;
  height: 20px;
}

.hc-home-new-highlight h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  color: white;
}

.hc-home-new-highlight p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.hc-home-new-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.hc-home-new-card {
  background: linear-gradient(180deg, #ffffff 0%, #f9faff 100%);
  border-radius: 26px;
  padding: 0 0 22px;
  box-shadow: 0 20px 40px rgba(15, 27, 61, 0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid rgba(15, 27, 61, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.hc-home-new-card img {
  width: 100%;
  height: 210px;
  margin: 0 0 4px;
  object-fit: cover;
  display: block;
  border-radius: 26px 26px 0px 0px;
}

.hc-home-new-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px rgba(15, 27, 61, 0.18);
  border-color: var(--brand-blue);
}

.hc-home-new-card h3 {
  margin: 6px 0 0;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  color: var(--brand-blue);
}

.hc-home-new-card p {
  margin: 0;
  color: var(--dark-alt);
  font-size: 14px;
  text-align: center;
}

.hc-home-new-card h3,
.hc-home-new-card p {
  padding: 0 18px;
}

.hc-home-new-card-cta {
  align-self: center;
  margin-top: 6px;
  padding: 10px 20px;
  border-radius: 9px;
  background: var(--brand-blue);
  color: var(--bg);
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hc-home-new-card-cta:hover {
  background: var(--brand-orange);
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(26, 67, 191, 0.18);
}

.hc-home-new-testimonial-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 22px 22px 26px;
  box-shadow: 0 18px 36px rgba(15, 27, 61, 0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 0.6px solid var(--brand-blue);
}

.hc-home-new-rating {
  color: #f6b93b;
  font-size: 14px;
  letter-spacing: 2px;
}

.hc-home-new-testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2px;
}

.hc-home-new-testimonial-meta img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.hc-home-new-testimonial-meta strong {
  display: block;
  font-size: 14px;
}

.hc-home-new-testimonial-meta span {
  font-size: 12px;
  color: #6f6f6f;
}

.hc-home-new-testimonial-card p {
  margin: 0;
  color: #30343f;
  line-height: 1.6;
}

.hc-home-new-testimonial-slider {
  position: relative;
  overflow: hidden;
  padding: 8px 2px 4px;
  --testimonial-gap: 18px;
}

.hc-home-new-testimonial-slider::before,
.hc-home-new-testimonial-slider::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}

.hc-home-new-testimonial-slider::before {
  left: 0;
  background: linear-gradient(90deg, #f7f9fd 0%, rgba(247, 249, 253, 0) 100%);
}

.hc-home-new-testimonial-slider::after {
  right: 0;
  background: linear-gradient(270deg, #f7f9fd 0%, rgba(247, 249, 253, 0) 100%);
}

.hc-home-new-testimonial-track {
  display: flex;
  gap: var(--testimonial-gap);
  width: 100%;
  animation: hc-testimonial-slide 26s linear infinite;
}

.hc-home-new-testimonial-card {
  flex: 0 0 calc((100% - (2 * var(--testimonial-gap))) / 3);
}

.hc-home-new-testimonial-slider:hover .hc-home-new-testimonial-track {
  animation-play-state: paused;
}

@keyframes hc-testimonial-slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - var(--testimonial-gap)));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hc-home-new-testimonial-track {
    animation: none;
  }
}

.hc-home-new-projects-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 60px) / 4);
  gap: 20px;
  padding: 6px 4px 12px;
  width: 100%;
}

.hc-home-new-project-card {
  text-align: center;
  display: grid;
  gap: 12px;
  scroll-snap-align: start;
}

.hc-home-new-project-media {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 18px 36px rgba(15, 27, 61, 0.14);
}

.hc-home-new-project-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.hc-home-new-project-cta {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.98);
  background: var(--brand-blue);
  color: #fff;
  padding: 10px 22px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 2;
  pointer-events: auto;
}

.hc-home-new-project-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 16, 38, 0.15) 0%, rgba(7, 16, 38, 0.6) 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.hc-home-new-project-media:hover img {
  transform: scale(1.03);
}

.hc-home-new-project-media:hover::after,
.hc-home-new-project-media:hover .hc-home-new-project-cta {
  opacity: 1;
}

.hc-home-new-project-media:hover .hc-home-new-project-cta {
  transform: translate(-50%, -50%) scale(1);
}

.hc-home-new-project-card h4 {
  margin: 0;
  font-size: 20px;
  color: var(--brand-blue);
  font-weight: 600;
}

.hc-home-new-projects-carousel {
  position: relative;
  padding: 0 44px;
  margin: clamp(20px, 3vw, 28px) 0 0;
}

.hc-home-new-projects-track {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.hc-home-new-projects-track:active {
  cursor: grabbing;
}

.hc-home-new-projects-track::-webkit-scrollbar {
  display: none;
}

.hc-home-new-projects-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(26, 67, 191, 0.35);
  background: linear-gradient(135deg, #ffffff, rgba(26, 67, 191, 0.08));
  color: var(--brand-blue);
  box-shadow: 0 14px 28px rgba(15, 27, 61, 0.14);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hc-home-new-projects-arrow svg {
  width: 20px;
  height: 20px;
}

.hc-home-new-projects-arrow:hover {
  transform: translateY(-50%) scale(1.03);
  box-shadow: 0 16px 30px rgba(15, 27, 61, 0.16);
}

.hc-home-new-projects-arrow--prev {
  left: 4px;
}

.hc-home-new-projects-arrow--next {
  right: 4px;
}

.hc-home-new-projects-cta {
  text-align: center;
  margin-top: 24px;
}

.hc-home-new-projects-cta .hc-home-new-btn-secondary {
  border: 1px solid rgba(26, 67, 191, 0.3);
  color: var(--bg);
  background: var(--brand-blue);
}

.hc-home-new-btn-secondary:hover{
    background: var(--card);
    color: var(--brand-blue);
    border: 1px solid var(--brand-blue);
}


.hc-home-new-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

@media (min-width: 1200px) {
  .hc-home-new-process-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
  }
}

.hc-home-new-process-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
  border-radius: 24px;
  padding: 30px 24px 28px;
  text-align: center;
  box-shadow: 0 18px 36px rgba(15, 27, 61, 0.12);
  border: 1px solid rgba(15, 27, 61, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.hc-home-new-process-card[data-animate] {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: none;
}

.hc-home-new-process-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(26, 67, 191, 0.08), transparent 55%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.hc-home-new-process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px rgba(15, 27, 61, 0.16);
  border-color: var(--brand-blue);
}

.hc-home-new-process-card:hover::before {
  opacity: 1;
}

.hc-home-new-process-card h3 {
  font-weight: 600;
  margin: 10px 0 8px;
  color: var(--brand-blue);
  font-size: 1.09rem;
}

.hc-home-new-process-card p {
  margin: 0;
  color: var(--dark-alt);
  font-size: 14px;
  line-height: 1.6;
}

.hc-home-new-process-icon {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  background: rgba(26, 67, 191, 0.12);
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 10px;
  box-shadow: 0 10px 20px rgba(26, 67, 191, 0.18);
  border: 1px solid rgba(26, 67, 191, 0.2);
}

.hc-home-new-process-icon svg {
  width: 26px;
  height: 26px;
}

.hc-home-new-process-card[data-animate].is-visible {
  animation: hc-process-fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hc-home-new-process-card[data-animate]:nth-child(1) { animation-delay: 0.05s; }
.hc-home-new-process-card[data-animate]:nth-child(2) { animation-delay: 0.12s; }
.hc-home-new-process-card[data-animate]:nth-child(3) { animation-delay: 0.19s; }
.hc-home-new-process-card[data-animate]:nth-child(4) { animation-delay: 0.26s; }
.hc-home-new-process-card[data-animate]:nth-child(5) { animation-delay: 0.33s; }

@keyframes hc-process-fade-up {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hc-home-new-process-card[data-animate] {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1024px) {
  .hc-home-new-highlight-grid,
  .hc-home-new-cards,
  .hc-home-new-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hc-home-new-testimonial-card {
    flex-basis: calc((100% - var(--testimonial-gap)) / 2);
  }

  .hc-home-new-projects-grid {
    grid-auto-columns: calc((100% - 20px) / 2);
  }

}

@media (max-width: 640px) {
  .hc-home-new-hero {
    padding-top: 70px;
  }

  .hc-home-new-highlight-grid,
  .hc-home-new-cards,
  .hc-home-new-process-grid {
    grid-template-columns: 1fr;
  }

  .hc-home-new-projects-grid {
    grid-auto-columns: 100%;
  }

  .hc-home-new-projects-arrow {
    width: 38px;
    height: 38px;
  }

  .hc-home-new-card img,
  .hc-home-new-project-card img {
    height: 200px;
  }

  .hc-home-new-hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hc-home-new-testimonial-card {
    flex-basis: 100%;
  }
}
