@charset "UTF-8";
body {
  font-family: "Inter";
  color: #2d3748;
  background-color: #f7f7f7;
  margin: 0; }

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Inter";
  color: #6b46c1; }

h2 {
  position: relative; }
  h2:before {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 100px;
    height: 4px;
    display: block; }

/*Generic styles*/
html {
  font-size: 18px; }

body {
  font-family: "Inter";
  margin: 0;
  padding: 0;
  background-color: #f7f7f7; }

p {
  font-size: 18px; }

a {
  color: #6b46c1; }

.inner-container {
  margin: 0 auto;
  max-width: 62.5rem; }

.breakout-container {
  margin: 0 auto;
  max-width: 68.75rem; }

.outer-container {
  margin: 0 auto;
  max-width: 75rem; }

.container {
  margin: 0 auto;
  max-width: 50rem; }

header {
  padding: 10px 0;
  background-color: #fff;
  border-bottom: 1px solid #e2e8f0; }

header nav ul {
  list-style: none;
  padding: 0; }

header nav ul li {
  display: inline;
  margin: 0 10px; }

header nav ul li a {
  color: #2d3748;
  text-decoration: none; }

header h1 {
  margin: 0;
  font-size: 1.3rem; }

header h2 {
  margin: 0;
  font-size: 1rem;
  font-family: Inter;
  font-weight: 300; }

header .outer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px; }

.logo__wrap a {
  text-decoration: none; }

main {
  min-height: 100vh; }

footer {
  padding: 2rem 0;
  background-color: #6b46c1;
  color: #f7f7f7; }

footer p {
  margin: 0; }

/*Styles for figures/figcaptions*/
figure {
  margin: 0;
  /* Remove default margin */
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Center the content */
  text-align: center;
  /* Ensure text is centered */ }

img {
  width: 100%;
  /* Ensure the image takes up the full width of its container */
  height: auto;
  /* Maintain aspect ratio */
  object-fit: cover;
  /* Optional: Use cover if you want the image to cover the container area */ }

figcaption {
  color: #2d3748;
  /* Muted color for captions */
  margin-top: 8px;
  /* Space between image and caption */ }

figcaption p {
  font-size: 0.9em;
  /* Slightly smaller text */ }

blockquote {
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.6;
  color: #555;
  padding: 1rem 1.5rem;
  border-left: 4px solid #6b46c1;
  background: #f9f9f9;
  margin: 1.5rem 0; }

blockquote p {
  margin: 0; }

blockquote cite {
  display: block;
  font-size: 1rem;
  margin-top: 0.5rem;
  color: #777;
  text-align: right; }

cite::before {
  content: "— "; }

.avatar-wrap {
  display: flex;
  justify-content: center;
  margin: 24px 0; }

.avatar__image {
  border-radius: 50%;
  /* to make it circular */
  object-fit: cover;
  /* ensure image covers the area */ }

/* Container for the cards */
.card-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 0;
  margin: 48px 0;
  gap: 24px; }

/* Style for each individual card */
.card {
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease; }

.card a {
  text-decoration: none;
  color: #2d3748; }

.card p {
  margin: 0; }

/* Hover effect for the cards */
.card:hover {
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1); }

/* Style for the image */
.card-img {
  width: 100%;
  object-fit: cover;
  border-bottom: 1px solid #e2e8f0;
  aspect-ratio: 16/9; }

/* Card content */
.card-content {
  padding: 1.5rem; }

.date-posted {
  font-size: 0.875rem;
  margin: 0 0 6px 0; }

.card-header {
  margin-top: 0; }

.card-header a {
  text-decoration: none; }

/* Description text style */
.card-text {
  font-size: 1rem;
  color: #2d3748;
  margin-bottom: 15px; }

/* Call to action button */
.card-btn {
  background-color: #6b46c1;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  margin: 12px 0;
  display: inline-block; }

.card-btn:hover {
  background-color: #3c30ff;
  transition: background-color 0.3s ease-in-out; }

/* Accessible styles: Ensure good contrast ratios */
.card-btn,
.card-title,
.card-text {
  transition: color 0.3s ease; }

.tag {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  margin: 0 8px 8px 0;
  text-transform: capitalize;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  background-color: #6a4c9c;
  color: white;
  background-color: contrast(#fff, #6b46c1); }
  .tag:hover {
    background-color: #e7a2d4;
    color: #2d3748; }
  .tag:focus {
    outline: 2px solid red;
    background-color: #55359f; }
  .tag.disabled {
    background-color: #d3d3d3;
    color: #a9a9a9;
    cursor: not-allowed; }
    .tag.disabled:hover {
      background-color: #d3d3d3;
      color: #a9a9a9; }

/*Homepage blog section*/
.blog-list {
  background-color: white;
  padding: 2rem 0; }

/*Button styles*/
.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none; }
  .btn:hover {
    transform: translateY(-2px); }

.btn-primary:hover {
  background-color: #55359f; }

/* Case Study table styles*/
.case-study-info {
  margin: 0;
  padding: 0;
  list-style: none; }

.case-study-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid #e2e8f0;
  /* Add border at the bottom of each row */ }

.case-study-title {
  font-weight: bold;
  margin: 0;
  width: 20%;
  /* Adjust width of title column */ }

.case-study-text {
  margin: 0;
  width: 70%;
  /* Adjust width of text column */
  flex-grow: 1; }

body {
  font-size: 1rem;
  line-height: 1.75; }

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 1.5em;
  margin-bottom: 0.75em;
  line-height: 1.3; }

h1 {
  font-size: 2.67rem;
  font-weight: 700; }

h2 {
  font-size: 2.22rem;
  font-weight: 600; }

h3 {
  font-size: 1.78rem;
  font-weight: 600; }

h4 {
  font-size: 1.56rem;
  font-weight: 500; }

h5 {
  font-size: 1.33rem;
  font-weight: 500; }

h6 {
  font-size: 1.22rem;
  font-weight: 500; }

p {
  margin-bottom: 1.8rem;
  max-width: 75ch; }

ul,
ol {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.8rem;
  padding-left: 1.5rem; }

li {
  margin-bottom: 0.8rem; }

.card-header {
  font-size: 1.22rem;
  line-height: 1.5;
  font-weight: bold; }

.card-header a {
  text-decoration: none; }

/*Mobile menu styling*/
.nav-links {
  margin: 0; }

/* By default, show both the hamburger and close icons (close icon hidden initially) */
.hamburger-icon {
  display: inline;
  color: #2d3748; }

.close-icon {
  display: none;
  color: white; }

button {
  border-radius: 0;
  text-align: inherit;
  background: none;
  box-shadow: none;
  padding: 0;
  cursor: pointer;
  border: none;
  color: inherit;
  font: inherit; }

/* Use media query to show the hamburger icon only on mobile screens */
@media (max-width: 768px) {
  .nav-links {
    display: none; }
  #menu-toggle {
    display: block;
    /* Show the menu toggle button on mobile */
    z-index: 50;
    position: absolute;
    font-size: 2rem;
    padding: .75rem;
    top: .75rem;
    right: 12px; }
  /* When the menu is open, show the close icon and hide the hamburger icon */
  #menu-toggle.active .hamburger-icon {
    display: none; }
  #menu-toggle.active .close-icon {
    display: inline; }
  .nav-links.active {
    display: block;
    background-color: #6b46c1;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 100vh;
    z-index: 10;
    padding: 1.5rem 3rem; }
  .nav-links.active li {
    display: block;
    width: 100%;
    margin: 3rem 0; }
  .nav-links.active a {
    color: white;
    font-size: 1.5rem;
    font-weight: 700; } }

/* Hide the menu toggle button on larger screens */
@media (min-width: 769px) {
  #menu-toggle {
    display: none;
    /* Hide the hamburger button on larger screens */ } }
