@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --font-sans: 'Poppins', sans-serif;
  --color-white: #fff;
  --color-primary-start: #5275D5;
  --color-primary-end: #040618;
  --color-primary-start-rgb: 82, 117, 213;
  --color-primary-end-rgba: rgba(var(--color-primary-end-rgb), 0.95);
  --color-navbar-bg: rgba(var(--color-primary-start-rgb), 0.88);
  --color-call: #FF9249;
  --color-call-hover: #e67f3f;
  --color-nav-hover-bg: rgba(255,255,255,0.15);
  --color-card-shadow: rgba(0,0,0,0.05);
  --light-gray: #ccc;
  --gray-100: #efefef;
  --gray-50: #EAEDFA;
  --primary-500: #1969c3;
  --primary-100: #8ec6fe;
}

body {
  font-family: var(--font-sans);
}

section[id] {
  scroll-margin-top: 90px;
}

.navbar-toggler {
  border:none;
  padding: 4px 4px;
}
.social-links a {
  margin: .5rem .25rem;
  padding: .35rem .65rem;
  border-radius: 20%;
  border: 1px solid var(--light-gray);
}
.social-links a:hover {
  background-color: var(--gray-100);
}
.hero-gradient {
  background-image: linear-gradient(180deg, rgba(82, 117, 213, 0.7) 0%, rgba(4, 10, 24, 0.95) 100%), url("../img/banner-bg.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  height: 100%;
  min-height: 100vh;
}
.client-logo-badge {
  min-width: 80px;
  padding: 4px;
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 0.5rem 1rem var(--color-card-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
  box-shadow: none;
  border-color: var(--color-call);
}
.client-logo-badge.active {
  filter: none;
  opacity: 1;
  transform: translateY(-2px);
}
.client-logo-badge img {
  max-height: 80px;
  width: 100%;
  border-radius: 4px;
}
.btn-call {
  background-color: var(--color-call);
  border-color: var(--color-call);
  color: var(--color-white);
  border-radius: 50px;
  padding: 0.35rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-call:hover,
.btn-call:focus {
  background-color: var(--color-call-hover);
  border-color: var(--color-call-hover);
  color: var(--color-white);
}
.text-highlight {
  color: var(--color-call);
  font-weight: 600;
}
.hero-title {
  font-weight: 400;
  min-height: 1.4em;
  display: inline-block;
  position: relative;
  white-space: pre-wrap;
}
.hero-title.is-typing::after {
  content: '|';
  display: inline-block;
  margin-left: 2px;
  color: var(--color-call);
  animation: blink-cursor 0.8s steps(1) infinite;
  vertical-align: baseline;
}
.hero-title.typing-complete::after {
  opacity: 0;
}

@keyframes blink-cursor {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}
.nav-button {
  border-radius: 50px;
  padding: 0.25rem 1rem !important;
  color: var(--color-white) !important;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.nav-button:hover,
.nav-button:focus {
  background-color: var(--color-nav-hover-bg);
  color: var(--color-white) !important;
  transform: translateY(-1px);
}
.navbar-nav.rounded-nav-border {
  border-radius: 50px;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-button.active, .nav-button.active:hover, .nav-button.active:focus {
  background-color: var(--color-call);
  color: var(--color-white) !important;
  box-shadow: 0 0.35rem 0.8rem rgba(255, 146, 73, 0.22);
  transform: translateY(-1px);
}
.navbar {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  padding: .5rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.hero-banner-content {
    padding-top: 30vh;
    padding-bottom: 30vh;
    position: relative;
}
.about {
    padding: 8rem 0 3rem 0;
}
.about-content,
.about-image-wrap {
    opacity: 0;
    transform: translateX(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.about-content {
    transform: translateX(-40px);
}
.about-image-wrap {
    transform: translateX(40px);
}
.about-content.is-visible,
.about-image-wrap.is-visible {
    opacity: 1;
    transform: translateX(0);
}
.about-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    box-shadow: 0 1.75rem 3rem rgba(7, 22, 60, 0.12);
}
.about-highlight {
    font-weight: 600;
}
.banner-bg {
    max-width: 80px;
    position: absolute;
}
.banner-bg-top {
    left: 0px;
    top: 20vh;
}
.banner-bg-bottom {
    right: 0px;
    bottom: 30px;
    transform: rotate(90deg);
}
.triangle {
  width: 50px; height: 50px;
  border-radius: 8px;
  transform: rotate(45deg);
  position: absolute;
  margin-top:-35px;
}
.triangle-blue {
  background-color: var(--color-primary-end);
  left: 12vw;
  bottom: 0;
  margin-bottom:-20px;
  z-index: -1;
}
.triangle-white {
  background-color: var(--color-white);
  position: absolute;
  right: 20vw;
  top: 100vh;
  margin-top:-16px;
}

.triangle-white-1 {
  top: -20px;
  right: 25vw;
  z-index: 1;
}
.triangle-blue-2 {
  background-color: var(--primary-500);
  margin-bottom:-15px;
  bottom: 0;
  left: 40vw;
  width: 40px;
  height: 40px;
  z-index: -1;
}
.triangle-light-blue-1 {
  background-color: var(--gray-50);
  margin-bottom:-15px;
  bottom: 0;
  left: 15vw;
  width: 40px;
  height: 40px;
}
.triangle-light-blue-2 {
  background-color: var(--gray-50);
  margin-top:-15px;
  top: 0;
  left: 14vw;
  width: 40px;
  height: 40px;
}
.triangle-white-2 {
  top:auto;
  bottom: -30px;
  right: 30vw;
  width: 40px;
  height: 40px;
}
#services {
    position: relative;
}
.navbar.sticky-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1030;
  background-color: rgba(25, 105, 195, 0.75);
  backdrop-filter: blur(14px);
  box-shadow: 0 0.9rem 1.5rem rgba(0,0,0,0.14);
}
.hero-gradient.has-sticky-navbar {
  padding-top: 5rem;
}

.services-row{
  background-color: var(--primary-500);
  color: var(--color-white);
  overflow: hidden;
  padding: 3rem 3rem 3rem 3rem;
  position: relative;
}
.services-row .btn {
    padding: 0.5rem 0.65rem;
    line-height: 1.35;
}

.services-row .btn.btn-light {
  font-size: 0.75rem;
  background-color: transparent;
  border-width: 1px 0 1px 0;
  border-color: var(--primary-100);
  border-radius: 0;
  color: var(--color-white);
  position: relative;
}
.services-row .btn.btn-light:first-child {
  border-left: 1px solid var(--primary-100);
  border-radius: .75rem 0 0 .75rem;
}
.services-row .btn.btn-light:last-child {
  border-right: 1px solid var(--primary-100);
  border-radius: 0 .75rem .75rem 0;
}
.services-row .btn.btn-light::before {
  border-color: transparent transparent rgba(255,255,255,0.5);
  border-width: 0px 100px 80px 100px;
  transform: scale(0.1) translate(100%, 486px) rotate(3.16rad);
  transform-origin: 0 0;
  border-style: solid;
  position: absolute;
  content: "";
  left: 40%;
  top: 8px;
}
.services-row .btn.btn-light::after {
  border-color: transparent transparent rgba(25, 105, 195,1);
  border-width: 0px 100px 80px 100px;
  transform: scale(0.1) translate(100%, 300px) rotate(3.16rad);
  transform-origin: 0 0;
  border-style: solid;
  position: absolute;
  content: "";
  left: 40%;
  top: 25px;
}
.services-row .btn.btn-outline-light {
  font-size: 0.75rem;
  background-color: transparent;
  border-color: var(--primary-100);
  border-width: 1px 0 1px 0;
  border-radius: 0;
  color: var(--color-white);
}
.services-row .btn.btn-outline-light:first-child {
  border-left: 1px solid var(--primary-100);
  border-radius: .75rem 0 0 .75rem;
}
.services-row .btn.btn-outline-light:last-child {
  border-right: 1px solid var(--primary-100);
  border-radius: 0 .75rem .75rem 0;
}
.services-row .carousel-item {
  min-height: 300px;
}
.services-row .carousel-item .card .card-body {
    padding-left: 0;
}
.service-graphic {
  background-image: linear-gradient(90deg, rgba(25, 105, 195, 0.07) 60%, rgba(25, 105, 195, 1) 100%), url("../img/services-bg.png");
  background-position: center top -30px;
  background-size: cover;
  height: 600px;
  width: 460px;
  left: -30px;
  top: 0;
  position: absolute;
}

.client-carousel .card {
  border:none;
}

#services .text-muted {
  color: rgba(255,255,255,0.75) !important;
}

#services .card,
#services .card-body {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

#services .card,
#services .card-title,
#services .card-text,
#services .card p,
#services .card li,
#services .card h3 {
  color: var(--color-white) !important;
}


#work {
  background-color: var(--gray-50);
}

#work .text-muted {
  color: rgba(33, 37, 41, 0.7) !important;
}

.section-title {
  display: inline-block;
  text-align: left;
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.35rem;
  width: 2rem;
  height: 4px;
  background-color: var(--color-call);
}

.about, .services-row {
  height: 100%;
  min-height: 100vh;
  padding-top: 6rem;
  padding-bottom: 3rem;
}
.clients {
  height: 100%;
  min-height: 100vh;
  padding-top: 4rem;
  padding-bottom: 3rem;
}

#about p {
  font-size: 1rem;
  line-height: 1.4;
  text-align: justify;
}
#about .about-highlight {
  color: var(--primary-500);
  font-weight: 600;
  font-size: 1.12m;
  line-height: 1.3;
}
.scroll-top-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  border: none;
  background-color: var(--color-call);
  color: var(--color-white);
  display: grid;
  place-items: center;
  box-shadow: 0 0.9rem 1.5rem rgba(0,0,0,0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1050;
}

.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-btn:hover,
.scroll-top-btn:focus {
  background-color: var(--color-call-hover);
}

.client-img {
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 50%;
}
.client-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#work {
  position: relative;
}


#contact a, #footer a {
  color: var(--color-primary-end);
  text-decoration: none;
}

#contact a:hover, #footer a:hover {
  text-decoration: underline;
}

.card-img-top {
  max-height: 250px;
}

@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
      max-width: 960px;
    }
}

@media (max-width: 991.99px) {
  .service-graphic {
    display: none;
  }
  .navbar-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  .nav-button, .nav-button:hover, .nav-button:focus {
    color: var(--bs-body-color) !important;
  }
  .nav-button:hover, .nav-button:focus {
    background-color: var(--gray-100);
  }
  .hero-banner-content {
    padding-top: 20vh;
    padding-bottom: 20vh;
  }
  
  .navbar-collapse {
      background: var(--color-white);
      margin-left: -28px;
      margin-right: -28px;
      margin-top: 1rem;
  }
  .navbar-collapse .navbar-nav .nav-item, .navbar-collapse .navbar-nav .nav-item .nav-link {
    display: block;
    width: 100%;
    text-align: center;
  }
  .banner-bg-top {
    top: 5vh;
  }
}
@media (max-width: 639.99px) {
    .navbar {
        padding: .5rem 0;
    }
    .d-flex.flex-wrap.mb-2 {
        overflow: auto;
    flex-wrap: nowrap !important;
    padding-bottom: 16px;
    }
    .services-row .btn.btn-outline-light {
        white-space: nowrap;
    }
  .hero-banner-content {
    padding-top: 18vh;
    padding-bottom: 15vh;
  }
  .banner-bg-bottom {
    display: none;
  }
  .services-row {
    padding: 3rem 1rem 3rem 1rem;
  }
  .navbar-brand img {
    max-width: 140px;
  }
}
