@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@400;500;600&display=swap");

body {
  font-family: "Open Sans", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
}

:root {
  --color-primary: rgb(4 114 187); /* Dark Blue */
  --color-secondary: rgb(114 210 246); /* Light Blue */
  --color-accent: rgb(239 203 78); /* Yellow/Gold */
}

.gradient-bg {
  background: linear-gradient(135deg, rgb(4 114 187) 0%, rgb(114 210 246) 100%);
}

.text-primary {
  color: var(--color-primary);
}

.text-secondary {
  color: var(--color-secondary);
}

.text-accent {
  color: var(--color-accent);
}

.bg-primary {
  background-color: var(--color-primary);
}

.bg-secondary {
  background-color: var(--color-secondary);
}

.bg-accent {
  background-color: var(--color-accent);
}

.hover-primary:hover {
  color: var(--color-primary);
}

.hover-secondary:hover {
  color: var(--color-secondary);
}

.bg-primary:hover {
  background-color: rgb(3 95 156);
}

.bg-accent-light {
  background-color: rgba(239, 203, 78, 0.1);
}

.text-primary-dark {
  color: rgb(3 95 156);
}

.border-primary {
  border-color: var(--color-primary);
}

.border-accent {
  border-color: var(--color-accent);
}

.shadow-primary {
  box-shadow: 0 4px 6px -1px rgba(4, 114, 187, 0.1),
    0 2px 4px -1px rgba(4, 114, 187, 0.06);
}

.shadow-accent {
  box-shadow: 0 4px 6px -1px rgba(239, 203, 78, 0.1),
    0 2px 4px -1px rgba(239, 203, 78, 0.06);
}

.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-card img,
.icon-img {
  transition: transform 0.3s ease;
}

.service-card:hover img,
.service-card:hover .icon-img {
  transform: scale(1.1);
}

.faq-item {
  transition: all 0.3s ease;
}

.smooth-scroll {
  scroll-behavior: smooth;
}

/* Image styling */
img {
  max-width: 100%;
  height: auto;
}

.hero-bg-image {
  object-fit: cover;
  object-position: center;
}

.service-image {
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image {
  transform: scale(1.05);
}

/* Arrow Separator for What We Do Section */
.arrow-separator {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(100%, -50%);
  width: 0;
  height: 0;
  border-top: 40px solid transparent;
  border-bottom: 40px solid transparent;
  border-left: 40px solid white;
  z-index: 30;
  /* filter: drop-shadow(2px 0 8px rgba(0, 0, 0, 0.2)); */
}

.arrow-separator-reverse {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-100%, -50%);
  width: 0;
  height: 0;
  border-top: 40px solid transparent;
  border-bottom: 40px solid transparent;
  border-right: 40px solid rgb(249, 250, 251);
  z-index: 30;
  /* filter: drop-shadow(-2px 0 8px rgba(0, 0, 0, 0.2)); */
}

@media (max-width: 1024px) {
  .arrow-separator,
  .arrow-separator-reverse {
    display: none;
  }
}

.what-we-do-image {
  object-fit: cover;
  object-position: center;
}

/* Industries Scroller */
.industries-scroller {
  animation: scroll-industries 30s linear infinite;
}

@keyframes scroll-industries {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.industries-scroller:hover {
  animation-play-state: paused;
}

.industry-tag-gradient {
  background: linear-gradient(135deg, rgb(4 114 187) 0%, rgb(114 210 246) 100%);
}

@media (max-width: 768px) {
  .industries-scroller {
    animation: scroll-industries 15s linear infinite;
  }
}

/* Vertical Zig-Zag Process Design */
.process-zigzag-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

.process-step-block {
  position: relative;
  z-index: 2;
  margin-bottom: -80px;
  max-width: 52%;
}

.process-step-block:last-child {
  margin-bottom: 0;
}

.process-step-block-left {
  margin-right: auto;
  margin-left: 0;
}

.process-step-block-right {
  margin-left: auto;
  margin-right: 0;
}

.process-step-banner {
  position: relative;
  padding: 24px 32px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: visible;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.process-step-banner:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.process-step-banner-primary {
  background: linear-gradient(135deg, rgb(4 114 187) 0%, rgb(114 210 246) 100%);
  color: white;
}

.process-step-banner-gray {
  background: rgb(243, 244, 246);
  color: rgb(17, 24, 39);
}

/* Full height arrow for left blocks (pointing right) */
.process-step-banner-left.process-step-banner-primary {
  padding-left: 100px;
  padding-right: 50px;
  clip-path: polygon(
    0 0,
    calc(100% - 50px) 0,
    100% 50%,
    calc(100% - 50px) 100%,
    0 100%
  );
}

/* Full height arrow for right blocks (pointing left) */
.process-step-banner-right.process-step-banner-gray {
  padding-left: 50px;
  padding-right: 100px;
  clip-path: polygon(50px 0, 100% 0, 100% 100%, 50px 100%, 0 50%);
}

.process-step-number-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}

.process-step-banner-primary .process-step-number-circle {
  color: rgb(4 114 187);
}

.process-step-banner-gray .process-step-number-circle {
  background: linear-gradient(135deg, rgb(4 114 187) 0%, rgb(114 210 246) 100%);
  color: white;
  left: auto;
  right: 15px;
}

.process-step-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.process-step-description {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.95;
}

.process-step-banner-gray .process-step-description {
  color: rgb(75, 85, 99);
}

@media (max-width: 1024px) {
  .process-zigzag-container {
    padding: 40px 0;
  }

  .process-step-block {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .process-step-block:last-child {
    margin-bottom: 0;
  }

  .process-step-block-left,
  .process-step-block-right {
    margin-left: auto;
    margin-right: auto;
  }

  .process-step-banner-left.process-step-banner-primary,
  .process-step-banner-right.process-step-banner-gray {
    clip-path: none;
    padding: 24px 32px 24px 100px;
  }

  .process-step-banner-right.process-step-banner-gray {
    padding-left: 100px;
    padding-right: 32px;
  }

  .process-step-number-circle {
    position: absolute;
    left: 15px;
    right: auto;
  }

  .process-step-banner-gray .process-step-number-circle {
    left: 15px;
    right: auto;
  }
}

@media (max-width: 768px) {
  .process-zigzag-container {
    padding: 30px 0;
  }

  .process-step-block {
    margin-bottom: 24px;
  }

  .process-step-banner {
    padding: 20px 24px 20px 80px;
    min-height: auto;
  }

  .process-step-banner-left.process-step-banner-primary,
  .process-step-banner-right.process-step-banner-gray {
    padding-left: 80px;
    padding-right: 24px;
  }

  .process-step-number-circle {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
    left: 10px;
  }

  .process-step-banner-gray .process-step-number-circle {
    left: 10px;
  }

  .process-step-title {
    font-size: 1.125rem;
    margin-bottom: 8px;
  }

  .process-step-description {
    font-size: 0.875rem;
    line-height: 1.5;
  }
}

@media (max-width: 640px) {
  .process-zigzag-container {
    padding: 20px 0;
  }

  .process-step-block {
    margin-bottom: 20px;
  }

  .process-step-banner {
    padding: 16px 20px 16px 70px;
  }

  .process-step-banner-left.process-step-banner-primary,
  .process-step-banner-right.process-step-banner-gray {
    padding-left: 70px;
    padding-right: 20px;
  }

  .process-step-number-circle {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    left: 10px;
  }

  .process-step-title {
    font-size: 1rem;
  }

  .process-step-description {
    font-size: 0.8125rem;
  }
}

/* Animations for About Us page blobs */
@keyframes blob {
  0% {
    transform: translate(0px, 0px) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
  100% {
    transform: translate(0px, 0px) scale(1);
  }
}

.animate-blob {
  animation: blob 7s infinite;
}

.animation-delay-2000 {
  animation-delay: 2s;
}

.animation-delay-4000 {
  animation-delay: 4s;
}
