:root {
    --white: #fff;
    --black: #000;

  --primary-50: #effaf6;
  --primary-100: #d9f2e7;
  --primary-200: #b6e4d2;
  --primary-300: #85d0b7;
  --primary-400: #52b598;
  --primary-500: #30997e;
  --primary-600: #217a65;
  --primary: #1a6152;
  --primary-800: #174e43;
  --primary-900: #144037;
  --primary-950: #0a2420;

  --secondary: #355070;

  --background: #FAF7F0;

  --danger: #DE3C4B;

  --semibold: 500;
  --bold: 700;

  --shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;

  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default padding */
ul[class],
ol[class] {
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  background: url("images/pattern (1).svg") no-repeat fixed;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("images/pattern (1).svg") no-repeat center center;
  z-index: -10;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;

}

/* Remove list styles on ul, ol elements with a class attribute */
ul[class],
ol[class] {
  list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
}

/* Natural flow and rhythm in articles by default */
article > * + * {
  margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.headerWrapper {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  border-bottom: 2px solid #000000;
  background-color: var(--primary);
  z-index: 999;
}

.headerContent {
  display: flex;
  justify-content: space-between;
  align-items: stretch
}

.logoWrapper {
  display: flex;
  align-items: center;
}

.navWrapper {
  display: flex;
  align-items: stretch;
}

.navList {
  display: flex;
}

.navContainer {
  padding: 1rem;
  display: flex;
  align-items: center;
  border-left: 2px solid #000;
  cursor: pointer;
  color: #FAF7F0;
}

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

.navItem {
  font-size: 1.25rem;
}

.heroWrapper {
  container-type: inline-size;
  display: flex;
  justify-content: stretch;
  padding: 2rem 2rem 2rem 2rem;
}

.heroContent {
  width: 100%;
  justify-content: start;
  border: 2px solid #000;
  border-radius: 5px;
  padding: 1rem;
  background: var(--secondary);
  box-shadow: var(--shadow);
}

.randomColor {
  /* background: var(--background); */
}

.heroGrid {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  /* grid-template-columns: repeat(2, 1fr); */
}

.heroBody {
  display: flex;
  flex: wrap;
}

.heroTextWrapper {
  max-width: 50%;
}

.heroImageWrapper {
  display: flex;
  justify-content: center;
  flex-grow: 1;
}

.heroTitle1 {
  padding-bottom: 3rem;
  color: var(--background);
  font-size: 1.5rem;
  font-weight: 700;
}

.heroTitle2 {
  color: var(--background);
  font-size: 1.5rem;
  font-style: italic;
}

.heroText {
  color: var(--background);
  font-size: 1rem;
  font-weight: var(--semibold);
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.serviceWrapper {
  padding: 0rem 2rem 2rem 2rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  display: flex;
  display: -webkit-flex;
  -webkit-justify-content: center;
  -webkit-align-items: center;
  justify-content: center;
  align-items: center;
}

.service {
  border: 2px solid #000;
  border-radius: 5px;
  padding: 1rem 1.50rem 1rem 1.50rem;
  box-shadow: var(--shadow);
  width: 100%;    width: 100%;
  display: flex;
  flex-direction: column;
  display: -webkit-flex;
  justify-content: center;
  -webkit-justify-content: center;
  max-width: 480px;
  transition: all .4s cubic-bezier(0.175, 0.885, 0, 1);
}

.serviceTitleWrapper {
  padding: 0rem 0rem 1rem 0rem;
  text-align: center;
}

.serviceTitle {
  color: var(--background)
}

.serviceIconWrapper {
  display: flex;
  justify-content: center;
  padding: 0rem 0rem 1rem 0rem;
}

.serviceTextWrapper {
  width: 100%;
}

.serviceText {
  color: var(--background);
  font-size: 1rem;
  font-weight: var(--semibold);
}

.learnMoreLink {
  color: var(--background);
  font-weight: var(--bold);
  padding-bottom: 1rem;
}

.hoverLinkText {
  display: none;
  z-index: 9999;
  position: absolute;
  color: var(--black);
  font-size: 2rem;
  font-weight: var(--bold);
}

.service:hover .hoverLinkText {
  display: block;
  top: 50%;
  width: 100%;
  text-align: center;
}

.service:hover {
  box-shadow: 0px 30px 18px -8px rgba(0, 0, 0,0.1);
  transform: scale(1.10, 1.10);
}

.service:hover .serviceContent {
  background-color: transparent;
  position: relative;
}

.service:hover {
  opacity: .95;
}

.service:hover .serviceTitleWrapper,
.service:hover .serviceIconWrapper,
.service:hover .serviceTextWrapper {
  opacity: .2;
}