/* Webfonts */

@import url("https://use.typekit.net/bxe5ttq.css");


/* Global */

html {
	font-size: clamp(14px, calc(0.8333vw + 4px), 22px);
}

:root{
  /* Colours (from Figma variables) */
  --pink:          #FF7582;
  --lighter-pink:  #FFE3E6;
  --yellow:        #E4FD75;
  --yellow-stat:   #F7FFD6;
  --white:         #FFFFFF;
  --off-white:     #F7F8F3;
  --black:         #101010;
  --off-black:     #151515;
  --outline:       #4F4F50;
  --light-outline: #C5C6C3;
  --teal:          #0CA4A5;
}

body {
	background-color: #F7F8F3;
	font-family:"parabolica";
	font-size: 1rem;
	line-height: 1.5;
  padding-top: 5.125rem;
}

.page-fade {
  animation: fade-out 1s forwards;
  background-color: #fff;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
}

@keyframes fade-out {
  0% {opacity: 1;}
  20% {opacity: 1;} 
  100% {opacity: 0;}
}

.anchor {
  position: absolute;
  top: -5rem;
}



/* Helpers */

.br-10 {
	border-radius: 0.625rem;
}

.mb-4rem {
	margin-bottom: 4rem;
}

.bg-black {
	background-color: #101010!important;
}


.bg-cover {
	background-size: cover;
	background-position: fixed;
}

.cover {
  inset: 0;
}

/* Only if not iOS */
@supports not (-webkit-touch-callout: none) {
  .bg-fixed {
    background-attachment: fixed;
  }
}


/* Layout */

.section {
	padding-top: 6rem;
	padding-bottom: 6rem;
  position: relative;
}

.container {
	max-width: calc(80rem + 4rem);
	padding-left: 2rem;
	padding-right: 2rem;
}

.row {
	margin-left: -1rem;
	margin-right: -1rem;
}

.row > * {
	padding-left: 1rem;
	padding-right: 1rem;
}

.row.row-pad-lg {
	margin-left: -2rem;
	margin-right: -2rem;
}

.row.row-pad-lg > * {
	padding-left: 2rem;
	padding-right: 2rem;
}

.row.row-pad-sm {
	margin-left: -0.5rem;
	margin-right: -0.5rem;
}

.row.row-pad-sm > * {
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}


/* Typography */

h1,h2,h3,h4,h5 {
	color: #101010;
	font-weight: 500;
	line-height: 120%;
}

h2, h3 {
	font-size: 2.4375rem;
}

h4 {
	font-size: 1.5625rem;
}

p {
	font-size: 0.875rem;
}

p:last-child {
	margin-bottom: 0;
}


p.subtitle, a.underlined-link {
	color: #FF7582;
	font-size: 0.625rem;
	font-style: normal;
	font-weight: 400;
	line-height: 120%;
	text-transform: uppercase;	
}

p.subtitle.yellow {
  color: var(--yellow);
}

a.underlined-link {
	border-bottom: 1px solid #FF7582;
	color: #101010;
	padding-bottom: 0.175rem;
	text-decoration: none;
}

.text-xs {
	font-size: 0.625rem;
}

.text-sm {
	font-size: 0.875rem;
}


/* Buttons */

.btn-adigi-primary,.btn-adigi-secondary{
  background-color: var(--pink)!important;
  color: var(--black);
  border: none;
  border-radius: 0.3125rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: opacity .2s ease, transform .2s ease;
}
.btn-adigi-primary:hover,.btn-adigi-secondary:hover{
  filter: brightness(1.04);
  color: var(--black);
}

.btn-adigi-secondary{
  background-color: var(--yellow)!important;
  color: var(--black);
}


/* Fade in on scroll */

.is-animated .fade-in {
    opacity: 0;
    transform: translateY(4rem);
    transition: opacity 0.9s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion:reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
  }
}


/* Navbar */

.navbar {
  background-color: var(--black);
  height: 5.125rem;
  padding: 0 2.5rem;
}

.navbar-logo {
  height: 47%;
  width: auto;
}

.navbar-links {
  margin-right: ;
}

.navbar-links a {
  color: #fff;
  font-size: 0.875rem;
  margin: 0 2rem;
  text-decoration: none;
}




/* Stats Cards */

.stat-card {
  background-color: #101010;
  border-radius: 0.625rem;
  color: #fff;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: 0.2s ease-out;
}

.stat-card:hover {
	background-color: #FF7582;
}

.stat-card, .stat-card p.subtitle {
	color: #fff;
	transition: 0.2s ease-out;
}

.stat-card:hover, .stat-card:hover p.subtitle, .stat-card:hover .stat-number {
	color: #101010;
}

.stat-card img {
	opacity: 0.4;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.2s ease-out;
}

.stat-card:hover img {
	opacity: 0;
}

.stat-number {
	color: #E4FD75; 
  font-size: 3.8125rem;
  font-weight: 700;
  line-height: 1.2;
  transition: 0.2s ease-out;
}


/* Logo Grid */

.row-logos {
	margin-bottom: -2rem;
}

.logo-cell {
	margin-bottom: 2rem;
}

.logo-cell{
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-cell img{
	height: auto;
	width: auto;
	max-height: 9rem;
  max-width: 75%;
  filter: brightness(0) invert(1);
}


/* Fancy List */

.fancy-list > div:not(:last-child) {
	margin-bottom: 2rem;
}

.fancy-list svg {
  margin-top: 0.15rem;
  margin-right: 1.5rem;
  min-width: 1.94rem;
  width: 1.94rem;
  height: 1.88rem;
}


/* Images */

.img-fill {
	background-position: center;
	background-size: cover;
	border-radius: 0.625rem;
	inset: 0;
	position: absolute;
}


/* Project Tag */

.project-tag {
	border-radius: 0 5px 0 10px;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.40) 100%);
	backdrop-filter: blur(5px);
	bottom: 0;
	padding: 0.75rem 1.5rem;
	position: absolute;
	z-index: 2;
}


/* Banners */

.banner .project-tag {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.60) 100%);
  backdrop-filter: none;
  border-radius: 5px 0 0 0;
  left: auto; right: 0;
  z-index: 1;
}

.inner-banner {
	height: 31.25rem;
}

.banner-container {
  z-index: 3;
}


/* Service Cards */

.service-card {
  background-color: #fff;
  border: 0.5px solid var(--light-outline);
  border-radius: 0.625rem;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.service-card .service-icon {
  width: 3.125rem;
  height: 3.125rem;
  border-radius: 0.3125rem;
  object-fit: cover;
  flex-shrink: 0;
}
.service-card hr {
  margin: 0;
  border-top: 0.5px solid #4F4F50;
  opacity: 1;
}
.service-card .service-bullets p {
  font-size: 0.625rem;
  text-transform: uppercase;
  margin-bottom: 0.625rem;
}

@media (min-width: 576px) {
  .service-card .fs-body {min-height: 8rem;}
}

@media (min-width: 992px) {
  .service-card .fs-body {min-height: 11rem;}
}



/* Case Studys */

.case-study-card{
  border: 0.5px solid var(--outline);
  border-radius: 0.625rem;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.case-study-card .cs-img{
  height: 19rem;
  object-fit: cover;
  width: 100%;
}
.case-study-card .cs-body{
  background-color: var(--off-black);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.stat-pill{
  background-color: var(--yellow-stat);
  border: 0.5px solid var(--yellow);
  border-radius: 0.3125rem;
  padding:  0.25rem 0.625rem;
  font-size: 0.875rem;
  display: inline-block;
  margin-right: 0.625rem;
  margin-bottom: 0.625rem;
  text-wrap: nowrap;
}


/* Team */

.team-member{
  display: flex;
  align-items: center;
  gap: 0.9375rem;
  padding: 0.75rem 0;
}
.team-member img{
  width: 3.125rem;
  height: 3.125rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.team-member .badge-quote{
  background-color: var(--lighter-pink);
  border: 0.5px solid var(--pink);
  border-radius: 0.3125rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.875rem;
  white-space: nowrap;
}
.team-members hr {
  border-top: 0.5px solid var(--light-outline);
  margin: 0.25rem 0;
}

.team-member .subtitle {
  color: var(--black);
}


/* Integrations */

.row-integration-cells {
	border: 1px solid var(--light-outline);
	border-radius: 0.625rem;
}

.integration-cell {
  padding: 1.5rem 1rem;
  text-align: center;
  height: 100%;
}

@media (min-width: 960px) {
	.integration-cell {width: 20%;}
}

.integration-cell {
	border-right: 1px solid var(--light-outline);
}

.integration-cell:nth-child(5), .integration-cell:nth-child(10) {
	border-right: none;
}

.integration-cell:nth-child(-n+5) {
	border-bottom: 1px solid var(--light-outline);
}

.integration-cell .icon-box{
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 0.3125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  overflow: hidden;
}

.integration-cell .icon-box img{
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}


/* Pricing */

.pricing-section .nav-pills {
	border: 1px solid #4F4F50;
	border-radius: 0.3125rem;
	padding: 0.25rem;
}

.pricing-section{ background-color: var(--black); color: var(--white); }
.pricing-tabs .nav-link{
  background-color: var(--off-black);
  color: var(--white);
  border: none;
  border-radius: 0.3125rem;
  font-size: 0.625rem;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.9375rem 1.875rem;
}
.pricing-tabs .nav-link.active{
  background-color: var(--pink);
  color: var(--black);
}
.pricing-card{
  background-color: var(--off-black);
  border: 0.5px solid var(--outline);
  border-radius: 0.3125rem;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pricing-card .price{ font-size: 1.9375rem; font-weight: 500; }

.pricing-card .bullet-check{
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 0.5px solid var(--outline);
}
.pricing-card .bullet-check:last-of-type{ border-bottom: none; }
.pricing-card .bullet-check::before{
  content: "\2713";
  color: var(--yellow);
  font-weight: 700;
}


/* FAQs */

.faq-accordion h2 {
	font-size: 1.25rem;
}

.faq-accordion .accordion-item{
  background: transparent;
  border: none;
  border-radius: 0!important;
  border-bottom: 1px solid var(--light-outline);
}
.faq-accordion .accordion-button{
  background: transparent;
  border-radius: 0!important;
  color: var(--black);
  font-style: italic;
  font-size: var(--fs-title1);
  padding: 1.5rem 0;
  box-shadow: none;
}
.faq-accordion .accordion-button:focus{ box-shadow: none; }
.faq-accordion .accordion-button::after{
  background-image: none;
  content: "+";
  font-style: normal;
  font-size: var(--fs-h5);
  color: var(--pink);
  width: auto;
  height: auto;
  transform: none;
  margin-left: 1rem;
}
.faq-accordion .accordion-button:not(.collapsed)::after{
  content: "\2212";
}
.faq-accordion .accordion-body{
  padding: 0 0 1.5rem 0;
  font-size: var(--fs-body);
}



/* Footer */

.site-footer{background-color: var(--black); color: var(--white); }

.site-footer a { color: var(--white); text-decoration: none; }

.site-footer a:hover { color: var(--pink); }

.footer-links li{
	font-size: 0.875rem; 
	margin-bottom: 0.5rem; 
}

.adigi-wordmark {
  display: block;
  height: auto;
  width: 100%;
}


/* Carousels */

.carousel-fade .carousel-item {
  display: block;
  opacity: 0;
  transition: opacity ease-in-out 1s;
  width: 100%;
  z-index: 0;
}

.carousel-indicators {
  margin-bottom: 2.5rem;
}

.carousel-indicators [data-bs-target] {
  border-radius: 5px;
  width: 10px;
  height: 10px;
  margin-right: 5px;
  margin-left: 5px;
  background-color: #fff;
  border-top: none;
  border-bottom: none;
  opacity: 1;
  transition: 0.2s ease-out;
}

.carousel-indicators .active {
  background-color: var(--pink);
}


/* Embla Slider */

.embla__container {
  align-items: center;
  display: flex;
}

.embla__slide {
  margin: 0 1.5rem;
}

.embla__slide img {
  max-height: 4rem;
  max-width: 12rem;
  min-height: 2rem;
  height: auto;
  width: auto;
}

.logo-slider .gradient-left {
  background: linear-gradient(90deg, #101010 0%, rgba(16, 16, 16, 0.00) 100%);
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 18%;
}

.logo-slider .gradient-right {
  background: linear-gradient(270deg, #101010 0%, rgba(16, 16, 16, 0.00) 100%);
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 18%;
}


/* Forms */

.form-control, .form-select {
  border: 1px solid #ced4da!important;
  border-radius: 0;
  font-size: 0.875rem;
  padding: 0.75rem;
}

.form-label {
  color: #5a5a5a;
  font-size: 0.625rem;
  text-transform: uppercase;
}

.file-upload-label {
  display: block;
  font-size: 0.625rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #5a5a5a;
  margin-bottom: 0.5rem;
}

.file-upload {
  font-size: 0.875rem;
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.75rem;
  background: transparent;
  border: 1px solid #ced4da;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.file-upload-input {
  font-size: 0.875rem;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-text {
  flex: 1 1 auto;
  font-size: 0.875rem;
  color: #6c757d;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-upload-text.has-file {
  color: #333;
}

.file-upload-icon {
  flex: 0 0 auto;
  margin-left: 0.75rem;
  color: #8c8c85;
}

.convo-anchor {
  position: absolute;
  top: -5rem;
}



/* Media Queries */

@media (max-width: 959px) {
	.integration-cell:nth-child(odd) {border-right: 1px solid var(--light-outline);}
	.integration-cell:nth-child(even) {border-right: none;}
	.integration-cell {border-bottom: 1px solid var(--light-outline);}
	.integration-cell:nth-child(9), .integration-cell:nth-child(10) {border-bottom: 0;}
  .navbar-links a {margin: 0 0.75rem;}
}


@media (max-width: 575px) {
  body {padding-top: 4rem;}
  .navbar {height: 4rem; padding: 0 1rem;}
  .anchor {top: -3.9rem;}
  .container {padding-left: 1rem; padding-right: 1rem;}
  .row.row-pad-lg {margin-left: -1rem; margin-right: -1rem;}
  .row.row-pad-lg > * {padding-left: 1rem; padding-right: 1rem;}
  .carousel-indicators {margin-bottom: 1rem; justify-content:start;}
}