/*
Theme Name: Fingertips
Author: The Design Bank
Author URI: https://thedesignbank.co.uk
Description: The Design Bank custom theme for WordPress
Version: 1.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap");

:root {
  --white: #ffffff;
  --black: #000000;
  --red: #ff0044;
  --grey: #e6e6e6;
  --bodyFont: "Manrope", sans-serif;
  --gradient: linear-gradient(
    270deg,
    rgba(255, 0, 26, 1) 0%,
    rgba(216, 0, 86, 1) 100%
  );
  --imageOverlay: linear-gradient(
    302.24deg,
    rgba(247, 69, 110, 0) 36.15%,
    #f7456e 90.75%
  );
  --offset: 50%;
  --contactRadius: 6px;
  --borderRadius: 10px;
  --quoteRadius: 40px;
}

body {
  font-family: var(--bodyFont);
}

h1 {
  font-size: 72px;
  font-weight: bold;
  font-family: var(--bodyFont);
}

h1.largerHeader {
  font-size: 96px;
  font-family: var(--bodyFont);
}

p {
  margin-bottom: 2rem;
  font-family: var(--bodyFont);
  font-size: 15px;
  line-height: 26px;
}

h2 {
  font-size: 20px;
  margin: 1rem auto;
  font-family: var(--bodyFont);
}

h3 {
  font-size: 48px;
  font-weight: normal;
  background: var(--gradient);
  background-clip: text;
  color: transparent;
  line-height: 64px;
  font-family: var(--bodyFont);
}

.borderBottom {
  border-bottom: 1px solid var(--white);
}

/* Button Styling Block */

.buttonGradient {
  background: var(--gradient);
  padding: 1rem 2rem;
  border-radius: var(--borderRadius);
  color: var(--white);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.buttonGradient:hover {
  opacity: 0.5;
}

.buttonGradient:hover .buttonImage img {
  transform: rotate(45deg);
}

.buttonGradient .buttonImage {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.buttonGradient .buttonImage img {
  transition: transform 0.3s ease;
  display: block;
}

/* Header Styling Block */

.header {
  height: 100vh;
  max-height: 950px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-content {
  color: var(--white);
}

.hero-content p {
  font-size: 15px;
  line-height: 26px;
}

.hero-content.halfHalf {
  padding: 0 0 5rem;
  overflow: hidden;
  max-height: 95vh;
  padding-top: 10rem;
}

.hero-content.halfHalf.red {
  background: var(--gradient);
}

.hero-content.halfHalf.grey {
  background: var(--grey);
  color: var(--black);
  max-height: 70vh;
  padding-top: 10rem;
}

.hero-content.halfHalf.grey h1 {
  background: var(--gradient);
  background-clip: text;
  color: transparent;
}

/* Footer Styling Block */

footer {
  background: #ff001a;
  background: var(--gradient);
  color: var(--white);
  font-size: 14px;
}

footer h4 {
  font-weight: bold;
  font-size: 20px;
  margin: 1rem 0;
}

footer a {
  color: var(--white);
  text-decoration: none;
}

footer ul {
  list-style-type: none;
  padding-left: unset;
}

footer .middleSection {
  margin: 3rem auto;
}

footer .middleSection .logo img {
  filter: brightness(0) invert(1);
}

footer .policyLinks ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 2rem auto 0;
  padding: 0;
}

footer .policyLinks ul li {
  display: inline-block;
  margin-right: 1rem;
}

footer .policyLinks ul li:last-child {
  margin-right: 0;
}

footer .policyLinks ul li a {
  text-decoration: none;
  display: inline-block;
}

footer .socialIcon a {
  margin-right: 1rem;
}

footer .socialIcon a:last-child {
  margin-right: 0;
}

footer .socialIcon a:hover {
  filter: grayscale(100%) brightness(0%);
}

footer .newsletterForm {
  max-width: 750px;
  margin: 0 auto;
}

footer .newsletterForm .wpcf7-form-control-wrap {
  display: block;
}

footer .newsletterForm p {
  margin: 0;
}

footer .newsletterInput {
  position: relative;
}

footer .newsletterInput input[type="email"] {
  width: 100%;
  height: 45px;
  padding: 0 110px 0 15px;
  border: unset;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  color: #555;
  outline: none;
  box-sizing: border-box;
}

footer .newsletterInput input[type="email"]::placeholder {
  color: #9c9c9c;
}

footer .newsletterButton {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 37px;
  height: 37px;
  border: none;
  border-radius: 5px;
  background: #f32735;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: end;
  justify-content: center;
  transition: 0.3s ease;
  line-height: 52px;
}

footer .newsletterButton img {
  position: relative;
  top: -9px;
  rotate: 45deg;
}

footer .newsletterButton:hover {
  background: #d91d2c;
}

footer .footer-cta {
  width: 100%;
}

footer .footer-cta .bg-left {
  background: #ffffff;
  min-height: 300px;
}

footer .footer-cta .bg-left h3 {
  font-size: 48px;
}

footer .footer-cta .bg-left p {
  color: var(--black);
  font-size: 15px;
}

footer .footer-cta .bg-right {
  background: unset;
  min-height: 300px;
}

footer .footer-cta .bg-right a {
  color: #fff;
  text-decoration: none;
}

footer .footer-cta .bg-right a:hover {
  text-decoration: underline;
}

footer .footer-cta .btn-danger {
  background: var(--gradient);
  border: none;
}

footer .copyright {
  margin: 2rem auto;
}

footer .disclaimer p {
  padding: 2rem 0;
  margin: 0;
}

footer .subFooter {
  display: flex;
  justify-content: space-between;
}

/* Offset Blocks Styling Block */

.wwdBlock {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.wwdBlock .sticky-text {
  position: sticky;
  top: 100px;
  flex: 0 0 35%;
}

.wwdBlock .scrolling-content {
  flex: 1;
}

.wwdGrid :nth-child(2n + 2) {
  margin-top: var(--offset);
  margin-bottom: calc(var(--offset) * -1);
}

.wwdGrid > div {
  border: 2px dashed red;
  min-height: 5em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.buttonGroup {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  margin-top: 2rem;
}

.wwdContent {
  margin: 5rem auto 15rem;
}

.wwdContent p {
  font-size: 15px;
  line-height: 26px;
}

.wwdContent .buttonGradient {
  min-width: 320px;
}

.wwdGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  align-items: start;
}

.wwdGrid .wwdItem {
  background: var(--gradient);
  color: #fff;
  padding: 30px 30px;
  text-align: center;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wwdGrid .wwdItem h4 {
  color: #fff;
  margin-bottom: 15px;
  margin-top: 1rem;
}

.wwdGrid .wwdImage img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.wwdGrid .wwdText {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Scrolling Text Styling Block */

.marquee {
  margin-top: 5rem;
}

.marquee h3 {
  font-size: 14px;
  line-height: 28px;
  text-transform: uppercase;
  color: var(--black);
}

.marqueeLoop {
  overflow: hidden;
  white-space: nowrap;
  margin: 1rem auto 5rem;
}

.marqueeLoop span {
  display: inline-block;
  padding-left: 100%;
  animation: scroll 30s linear infinite;
  font-size: clamp(2.25rem, calc(0.813rem + 7.187vw), 8rem);
  font-weight: 600;
  text-transform: capitalize;
}

.carousel-control-next,
.carousel-control-prev {
  z-index: 0;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.imageContent {
  padding: 5rem 0;
}

/* Gradient Icon Banner */

.iconBanner {
  background: var(--gradient);
  padding: 5rem 0 3rem;
}

.iconBanner p {
  color: var(--white);
  margin: 2rem auto;
}

.iconBanner.education-support .iconBlock,
.iconBanner.email-security .iconBlock {
  text-align: center;
}
/* Image gradients */

.headerImage {
  position: relative;
  border-radius: 20px;
  max-height: 50vh;
  margin: 0 auto;
  text-align: center;
}

.page-id-139 .headerImage,
.page-id-141 .headerImage {
  top: -13vh;
}

.headerImage .imageOverlay {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 10;
  background: var(--imageOverlay);
  border-radius: 20px;
}

.headerImage img {
  border-radius: 20px;
  height: auto;
  border-radius: 20px;
  max-height: 50vh;
  width: auto;
}

.page-template-highAvailability .headerImage img {
  width: 75%;
}

/* Quote Text Gradient Styling Block */

.redQuote p {
  font-size: 48px;
  line-height: initial;
  font-weight: normal;
  background: var(--gradient);
  background-clip: text;
  color: transparent;
}

.testimonials {
  background: var(--grey);
  padding: 5rem 0;
  max-width: 98%;
  margin: 5rem 2rem;
  border-radius: var(--borderRadius);
}

.redBackground {
  background: var(--gradient);
  color: var(--white);
  margin-top: 5rem;
  padding-bottom: 5rem;
}

.redBackground .redBackgroundContent {
  margin-top: 5rem;
}

.redBackgroundContent .buttonGradient,
.redBackgroundContent:hover .buttonGradient {
  background: transparent;
  border: 1px solid var(--white);
  color: var(--white);
  opacity: 1;
}

.redBackground h3 {
  color: var(--white);
}

.redBackground .negMargin {
  margin-top: -5rem;
  border-radius: var(--borderRadius);
}

.redIntroText {
  max-width: 1200px;
  margin: 5rem auto 2rem;
}

.voiceOffset .voiceBlock {
  padding-left: 5rem;
}

.hero-background {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.hero-background__video,
.hero-background__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

#playPause {
  width: 100px;
  height: 50px;
  background: #000;
  position: absolute;
  right: 12vw;
  bottom: 10vh;
  background: var(--gradient);
  -webkit-mask: url("assets/images/pauseIcon.svg") center / contain no-repeat;
  mask: url("assets/images/pauseIcon.svg") center / contain no-repeat;
  background-size: 50px 50px;
}

#playPause.paused {
  -webkit-mask: url("assets/images/playIcon.svg") center / contain no-repeat;
  mask: url("assets/images/playIcon.svg") center / contain no-repeat;
  background-size: 50px 50px;
}

#playPause:hover {
  cursor: pointer;
}

.hero-background__image {
  background-size: cover;
  background-position: center;
}

.hero-background__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-template-highAvailability .hero-content {
  margin-bottom: 5rem;
}

.page-template-highAvailability .headerImage {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  justify-content: center;
}

.appliedAi .aboutFingertips p {
  margin-top: 5rem;
  color: var(--red);
  font-size: 28px;
  line-height: 36px;
  font-weight: 500;
  font-family: var(--bodyFont);
  text-align: center;
}

@media (max-width: 1450px) {
  h1.largerHeader {
    font-size: 3.7rem;
  }
  .marqueeLoop span {
  }
}

@media (max-width: 1367px) {
  .hero-content.halfHalf.grey {
    max-height: 90vh;
  }
}

@media (max-width: 1281px) {
  .hero-background__content {
    margin-top: 5rem;
  }
  h1.largerHeader {
    font-size: 3.2rem;
  }
  #playPause {
    right: 0vw;
    bottom: 2vh;
    z-index: 2;
  }
}

@media (max-width: 991px) {
  .page-id-139 .headerImage,
  .page-id-141 .headerImage {
    top: unset;
  }
  footer .socialIcon {
    margin-top: 3rem;
  }
  footer .copyright {
    text-align: center;
  }
  footer .policyLinks ul {
    margin-top: 1rem;
    justify-content: center;
  }
  footer .subFooter {
    display: block;
  }
  footer .copyrightText,
  footer .registeredCompany {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
  }
  .wwdContent .buttonGroup {
    margin-bottom: 5rem;
  }
  .wwdGrid {
    gap: 5px;
  }
  .wwdGrid .wwdItem {
    min-height: 385px;
  }
  .iconTextTagline {
    margin-top: 3.5rem;
  }
  .iconTextTagline img {
    margin-bottom: 2rem;
  }
  .testimonialLogo {
    text-align: center;
  }
  .testimonialLogo img {
    margin: 0 auto;
  }
  .wwdBlock .sticky-text {
    position: unset;
  }
}

@media (max-width: 768px) {
  .wwdContent .buttonGroup {
    margin-bottom: 5rem;
  }
  h1 {
    font-size: 3.7rem;
  }

  h1.largerHeader {
    font-size: 3.7rem;
  }
  .fm-header {
    display: unset;
    padding-top: 0;
  }
  .fm-logo {
    width: 155px;
  }
  .fm {
    width: 100px;
    min-height: 50px;
    position: absolute;
    right: 0;
    top: 0;
  }
  .fm__bar {
    padding: 10px;
  }
  .fm-sub__inner {
    margin-bottom: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee span {
    animation: none;
    padding-left: 0;
  }
}
