@tailwind base;
@tailwind components;
@tailwind utilities;

body,
.nav-bar,
.learn-more-content,
.privacy-section,
.client-section,
.contact-section,
.content-details {
  background-color: #0A1828;
  color: white !important;
  font-family: 'Nunito';
}

@layer base {
  @font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-display: swap;
    src: url('/fonts/Nunito-VariableFont_wght.ttf') format('ttf');
  }
}

.revenue:before {
    background: green;
}

revenue:after {
    background : url('/images/revenue_icon.svg') -10% no-repeat;
}

.gradient-text {
  background: linear-gradient(252.11deg, #587c6e -2.11%, #046662 96.8%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 300;
  font-size: 1.875rem; /* Tailwind's text-3xl equivalent */
}

.remove-animation {
  animation: none !important;
}

.full-width-image {
  width: 100%;
  display: block;
  /* Ensures the image behaves as a block element */
}

.overlay-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* changed from center */
  align-items: center;
  height: 100%;
  padding-top: 4rem; /* optional, controls how far from top */
  text-align: center;
}

.main-section-details {
  width: 100%;
  max-width: 1200px; /* Limits content width for readability */
  padding: 40px 20px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0); /* Fully transparent background */
  box-shadow: none;
  border-radius: 0;
}

/* Tailwind-compatible way to hide scrollbars */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.header-video-section {
  /* position: absolute; */
  /* z-index: -1;
  top: 0;
  left: 0; */
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
}

.header-video {
  /* object-fit: cover;
  object-position: top left; */
  border-radius: 22px;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  width: 100%;
  height: auto;
  box-shadow: 0 19px 51px 0 rgba(0,0,0,0), 0 14px 19px 0 rgba(0,0,0,0);
}

#get-started-button {
  background: #009B4D;
  color: #FFFFFF;
  font-weight: 300;
  height: 74px;
  width: 222px;
}

.learn-more {
  border-radius: 10px;
  color: #000000;
  display: flex;
  height: auto;
  flex-direction: row;
  justify-content: space-around;
}

.learn-more-content {
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  background-color: #FFFFFF;

  > img {
    padding-bottom: 24px;
    width: 56px;
  }

  > div {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    width: 100%;
  }
}

@media (min-width: 768px) {
  .learn-more {
    height: auto;
  }

}

.ccpa {
  > img {
    padding-top: 24px;
    width: 152px;
  }
}

.privacy-section {
  align-items: center;
  background-color: #FFFFFF;
  color: #2F3D60;
  display: flex;
  flex-direction: column;
  min-height: 50vh;
  justify-content: center;
}

.client-section {
  align-items: center;
  background-color: #FFFFFF;
  color: #2F3D60;
  display: flex;
  flex-direction: column;
  min-height: 50vh;
  justify-content: center;
}

.client-breakdown-detials {
  align-items: center;
  background-color: #FFFFFF;
  border-radius: 15px;
  justify-content: center;
  grid-template-columns: 160px auto;
}

.contact-section {
  align-items: center;
  background: #FFFFFF;
  display: flex;
  min-height: 50vh;
  justify-content: center;
}

.content-details {
  align-items: baseline;
  color: #000000;
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
  justify-content: center;
}



#email-confirmation-section {
  visibility: hidden;
}

.footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

@keyframes fadeIn {
  0% { opacity: 0; margin-left: -3%; }
  100% { opacity: 1; margin-left: 0%; }
}

@keyframes fadeInTop {
  0% { opacity: 0; margin-top: -3%; }
  100% { opacity: 1; margin-top: 0%; }
}

@keyframes fadeInRight {
  0% { opacity: 0; margin-right: -3%; }
  100% { opacity: 1; margin-right: 0%; }
}

@keyframes fadeInLeft {
  0% { opacity: 0; margin-left: -3%; }
  100% { opacity: 1; margin-left: 0%; }
}

@keyframes fadeInBottom {
  0% { opacity: 0; margin-bottom: -3%; }
  100% { opacity: 1; margin-bottom: 0%; }
}

@keyframes fadeChartInBottom {
  0% { opacity: 0; top: -20%; }
  100% { opacity: 1; top: -33%; }
}

.fadein-animation {
  animation: 1s fadeIn;
}

.fadein-animation-top {
  animation: 1s fadeInTop;
}

.fadein-animation-right {
  animation: 1s fadeInRight;
}

.fadein-animation-left {
  animation: 1s fadeInLeft;
}

.fadein-animation-bottom {
  animation: 1s fadeInBottom;
}

.fadein-animation-chart-bottom {
  animation: 1s fadeChartInBottom;
}

@keyframes delayLoad {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.delay-load-animation {
  animation: var(--i, 1s) delayLoad;
}

@keyframes scaleIn {
  0% { opacity: 0; transform: scale(.95); }
  100% { opacity: 1; transform: scale(1); }
}


