@font-face {
  font-family: "Graphik_Web";
  src: url("https://assets.rasa.com/fonts/Graphik-Regular-Web-us-ascii.woff2")
      format("woff2"),
    url("https://assets.rasa.com/fonts/Graphik-Regular-Web-us-ascii.woff")
      format("woff");
  font-weight: 400;
  font-style: normal;
  font-stretch: normal;
  font-display: swap;
  unicode-range: U + 20-7E;
}

@font-face {
  font-family: "Graphik_Web";
  src: url("https://assets.rasa.com/fonts/Graphik-Bold-Web.woff2")
      format("woff2"),
    url("https://assets.rasa.com/fonts/Graphik-Bold-Web.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-stretch: normal;
  font-display: swap;
}

img {
  position: fixed;
  bottom: 22px;
  left: 20px;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: rgb(37, 9, 109);
  font-family: Graphik_Web, Arial, sans-serif;
  font-size: 17px; /* Set a consistent font size */
  line-height: 1.6;
  color: white;
  /* padding-bottom: 100px; */ /* Removed padding from body */
}

/* Add padding to the last <p> tag */
.content p:last-of-type {
  padding-bottom: 100px;
}

.hero {
  padding: 2rem;
  background-image: url("./header-background.png");
  clip-path: polygon(0 0, 100% 0, 165% 85%, 0 100%);
  background-position: left;
}

.navbar {
  background-color: rgb(22, 26, 130);
  padding-left: 2rem;
  height: 90px;
  display: flex;
  align-items: center;
}

.content {
  margin-top: 2rem;
}

h1 {
  font-family: "Graphik_Web"; /* Ensure consistency */
  font-size: 2.5rem;
  margin: 0 0 1rem 0;
  font-weight: 900;
  line-height: 1.2; /* Adjust line height for better spacing */
  padding: 0.5rem 0; /* Add top and bottom padding */
}

p, ul li {
  font-family: inherit; /* Inherit font-family from body */
  font-size: inherit; /* Inherit font-size from body */
  line-height: inherit; /* Inherit line-height from body */
  opacity: 0.9;
  font-feature-settings: "kern", "liga";
  font-kerning: normal;
}

@media (min-width: 996px) {
  .hero {
    padding: 7rem;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    background-position: initial;
  }

  .content {
    max-width: 900px;
  }

  .navbar {
    padding-left: 7rem;
  }

  p, ul li {
    font-size: 1.2rem; /* Adjust font size for larger screens */
  }

  .mobile-contact {
    display: none;
  }

  footer {
    display: block;
  }
}

/* Show the paragraph on mobile screens and hide the footer */
@media (max-width: 995px) {
  .mobile-contact {
    display: block;
  }

  footer {
    display: none;
  }

  h1 {
    font-size: 1.8rem; /* Reduce font size for smaller screens */
    line-height: 1.1; /* Further adjust line height */
    text-align: center; /* Center align for better appearance */
  }
}


