
/* source: https://piccalil.li/blog/a-more-modern-css-reset/ */

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

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
  text-wrap: balance;
}

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

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

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

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}


body {
  margin: 0;
  padding: 0;
  font-family: IBMPlexSansLight;
}

@font-face {
  font-family: IBMPlexSansLight;
  src: url(assets/fonts/IBMPlexSans-Light.ttf);
}

@font-face {
  font-family: IBMPlexSansRegular;
  src: url(assets/fonts/IBMPlexSans-Regular.ttf);
}

h2,
p {
  margin: 10px;
}

nav {
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-text {
  font-size: 1.5rem;
}

.logo-subtext {
  font-size: 1rem;
  font-weight: bold;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0px 20px;
  display: flex;
  justify-content: right;
}

nav ul li a {
  display: block;
  padding: 14px 16px;
  text-decoration: none;
}

nav ul li a:hover {
  text-decoration: underline;
}

.hero {
  min-height: 80vh;
  background-image: url("/assets/img/hero_image.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  /*background: linear-gradient(135deg, #5fac9c, #455fb7);*/
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.vertical {
  flex-direction: column;
  min-height: 60vh;
}

.hero.darker {
  background: linear-gradient(135deg, #455fb7, #5fac9c);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  max-width: 800px;
  padding: 2rem;
  text-align: center;
}

.testimonial-content {
  position: relative;
  width: 100%;
  max-width: 800px;
  padding: 2rem;
}

.testimonial-quote {
  font-size: 1.4rem;
  font-style: italic;
}

.testimonial-author {
  font-weight: bold;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.color-bar {
  height: 5px;
  display: flex;
  width: 100%;
}

.color-bar-item {
  flex-grow: 1;
}

.color-1 {
  background-color: #3DAE9C;
}

.color-2 {
  background-color: #3EA3B3;
}

.color-3 {
  background-color: #3E83B9;
}

.color-4 {
  background-color: #3D60BD;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 1rem;
}

.hero p {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  background: #3E83B9;
  color: white;
  text-decoration: none;
  font-weight: 500;
  margin-top: 2rem;
  border-radius: 0.375rem;
}

.btn:hover {
  background: #3DAE9C;
}

.services {
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  padding: 1rem;
  /*box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.6), 0 5px 5px 0 rgba(0, 0, 0, 0.2);*/
}

.service-card h3 {
  margin: 8px;
  text-align: center;
}

.service-card.one {
  border-top: 2px solid #3DAE9C;
}

.service-card.two {
  border-top: 2px solid #3EA3B3;
}

.service-card.three {
  border-top: 2px solid #3E83B9;
}

.service-card.four {
  border-top: 2px solid #3D60BD;
}

.services-catchphrase {
  margin-top: 4rem;
  text-align: center;
  padding: 0 1.5rem;
}

.partners {
  margin-top: 4rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.partners h1 {
  width: 100%;
  text-align: center;
}

.contact {
  display: grid;
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  grid-template-columns: 1fr 1fr;
}

.contact-header {
  grid-column: 1 / span 2;
}

.right-side {
  margin-top: 2rem;
  text-align: right;
  display: flex;
  justify-content: right;
  align-items: top;
}

.contact-section {
  width: 100%;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 1rem;
}

.contact-intro>*+* {
  margin-top: 1rem;
}

.contact-title {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
}

.contact-description {
  color: rgb(107 114 128);
}

.form-group-container {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  padding: 0.5rem;
  border: 1px solid #e5e7eb;
  display: flex;
  height: 2.5rem;
  width: 100%;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.form-input::placeholder,
.form-textarea:focus-visible {
  color: #6b7280;
}

.form-input:focus-visible,
.form-textarea:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.form-textarea {
  min-height: 120px;
}

.form-submit {
  width: 100%;
  margin-top: 1.2rem;
  color: #fff;
  padding: 13px 5px;
  border-radius: 0.375rem;
  background: #3E83B9;
}

hr {
  height: 1px;
  width: 100%;
}

footer {
  text-align: center;
  padding-bottom: 2rem;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  line-height: 1.7;
}

.page-content h1 {
  margin-bottom: 1rem;
}

.page-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.page-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
}

.page-content h4 {
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.page-content.centered {
  text-align: center;
}

.page-content p,
.page-content ul {
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  nav {
    padding: 0 1rem;
    justify-content: flex-start;
  }

  .hero {
    min-height: 80vh;
  }

  .hero-content {
    padding: 1.5rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .contact-header {
    grid-column: 1;
  }

  .right-side {
    justify-content: flex-start;
    text-align: left;
  }
}

