  @font-face {
    font-family: 'Apercu Bold Pro';
    src: url('fonts/apercu_bold_pro.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
  }

  @font-face {
    font-family: 'Apercu Regular Pro';
    src: url('fonts/apercu_regular_pro.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
  }

  body {
    font-family: 'Apercu Regular Pro', sans-serif;
  }

  h1 {
    font-family: 'Apercu Regular Pro', sans-serif !important;
  }

  /* Apply Apercu Bold Pro to headings */
  h2, h3, h4, h5, h6 {
    font-family: 'Apercu Bold Pro', sans-serif !important;; 
    font-weight: bold !important;;
  }

  /* Apply Apercu Regular Pro to paragraph elements */
  p {
    font-family: 'Apercu Regular Pro', sans-serif !important;;
    font-weight: normal !important;;
  }

  /* For headings within the footerSection */
  .footerSection h4 {
    font-family: 'Apercu Bold Pro', sans-serif !important;;
    font-weight: bold !important;;
  }

  /* For list items and links within the footerSection */
  .footerSection li, 
  .footerSection a {
    font-family: 'Apercu Regular Pro', sans-serif !important;;
    font-weight: normal; /* To ensure regular weight is applied */
    text-decoration: none; /* Remove underline if needed */
  }

  /* For paragraphs within the footerSection, if any */
  .footerSection p {
    font-family: 'Apercu Regular Pro', sans-serif !important;;
    font-weight: normal;
  }

  .mySlides {display: none}
  
  .survey-container {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
  }
  
  /* Media query for mobile devices */
  @media (max-width: 768px) {
      .survey-container {
          grid-template-columns: 1fr !important; /* Use !important to ensure this overrides any conflicting styles */
      }
  }
  
  .survey-container img {
      width: 100%; /* Ensures the image takes the full width of its container */
      height: 200px; /* Set a consistent height for all images */
      object-fit: cover; /* Maintains aspect ratio and crops if necessary */
  }
  
  /* Style for the clickable card */
  .clickable-card {
      font-family: 'Apercu Regular Pro', sans-serif;
      text-decoration: none; /* Remove underline from links */
      color: inherit; /* Inherit text color */
      display: block; /* Make the entire card clickable */
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .clickable-card:hover {
      transform: translateY(-5px); /* Slightly lift the card */
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
  }

  .clickable-card h4 {
    font-family: 'Apercu Bold Pro', sans-serif;
  }
  
  .clickable-card .w3-card {
      transition: background-color 0.3s ease;
  }
  
  .clickable-card:hover .w3-card {
      background-color: #f0f8ff; /* Light cyan background on hover */
  }
  
  @media (max-width: 768px) {
    #forum {
      max-width: 100% !important; /* Use full width on mobile devices */
    }
  }

  .footer {
    background-color: #010101;
    font-family: 'Apercu Pro', sans-serif;
    color: white;
  }

  .footerGrid {
    display: grid;
    grid-template-columns: repeat(12, 1fr); /* Default for large screens */
    grid-gap: 32px;
    padding: 16px;
    max-width: 1168px;
    margin: 0 auto;
  }

  .logo {
    grid-column: span 2; /* Adjust for appropriate span */
    display: flex;         /* use flexbox inside the cell */
    justify-content: center; /* center horizontally */
    align-items: center;     /* center vertically */
  }

  .logo img {
    width: 100%;
  }

  .social {
    grid-column: span 4;
  }

  .footerSection {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    grid-column: span 4;
  }

  .footerSection a {
    text-decoration: none; /* Remove underline from links */
    color: inherit; /* Inherit the text color from parent element */
  }

  .footerSection a:hover {
    text-decoration: underline; /* Add underline on hover if desired */
  }

  .footerSection h4 {
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 18px;
    line-height: 21.6px;
  }

  .footerSection ul {
    list-style: none;
    padding: 0;
  }

  .footerSection li {
    font-weight: 400;
    font-size: 16px;
    padding: 2px 0;
    line-height: 24px;
  }

  .footerSection li:hover {
    text-decoration: underline;
    cursor: pointer;
  }

  .footerSection p {
    font-weight: 400;
    font-size: 16px;
    padding: 2px 0;
  }

  .line {
    grid-column: -1/1;
    height: 0.5px;
    background-color: white;
    border: 0.5px solid white;
  }

  @media (min-width: 768px) and (max-width: 991px) {
    .footerGrid {
      grid-template-columns: repeat(6, 1fr); /* For medium screens */
      grid-gap: 32px;
    }

    .footerSection {
      grid-column: span 2;
    }
  }

  @media (max-width: 767px) {
    .footerGrid {
      grid-template-columns: repeat(2, 1fr); /* For small screens */
      grid-gap: 16px;
      padding-left: 16px;
      padding-right: 16px;
      max-width: 1168px;
      margin: 0 auto;
    }

    .social {
      grid-column: span 2;
    }

    .footerSection,
    .logo {
      grid-column: span 2;
    }

    .logo img {
      width: 50%;
    }
  }
