*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/*
! tailwindcss v3.4.13 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden] {
  display: none;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: Arimo, sans-serif;
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity));
}

h1, h2, h3, h4, h5, h6 {
  font-family: Arimo, sans-serif;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(0 105 62 / var(--tw-text-opacity));
}

p {
  font-family: Arimo, sans-serif;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(18 49 43 / var(--tw-text-opacity));
}

.container {
  width: 100%;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

.btn {
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(0 105 62 / var(--tw-bg-opacity));
  font-family: Arimo, sans-serif;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.btn .section-title {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

.btn:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(0 80 48 / var(--tw-bg-opacity));
}

.btn:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-color: rgb(0 105 62 / var(--tw-ring-opacity));
  --tw-ring-opacity: 0.5;
}

.card {
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  padding: 1.5rem;
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.nav-link {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-family: Arimo, sans-serif;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.nav-link:hover {
  --tw-text-opacity: 1;
  color: rgb(196 221 136 / var(--tw-text-opacity));
}

.nav-spacing {
  margin-left: 1rem;
}

.section-title {
  margin-bottom: 2rem;
  text-align: center;
  font-family: Arimo, sans-serif;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  transition-property: all;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-text {
  font-family: Oswald, sans-serif;
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.section + .section {
  margin-top: 0px;
}

/* Animation styles */

#word-display {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(3, 1fr); /* Reduced to 3 columns by default for wider cells */
    grid-auto-rows: 120px; /* Tall row height */
    height: 500px; /* Fixed height */
    padding-top: 20px;
    padding-bottom: 20px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.grid-cell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.5rem;
    min-width: 0;
    height: 120px;
    overflow: visible;
}

.word-item {
    --tw-text-opacity: 1;
    color: rgb(107 114 128 / var(--tw-text-opacity));
    opacity: 1;
    word-break: normal; /* Don't break words */
    overflow-wrap: break-word;
    white-space: normal;
    text-align: center;
    -webkit-hyphens: none;
    hyphens: none;
    font-size: var(--dynamic-font-size, calc(1rem + 0.4vw)); /* Slightly smaller base font */
    color: #333;
    transition: color 1.5s ease-in-out;
    line-height: 1.3;
    width: 100%;
    max-width: 100%;
    padding: 0.5rem;
    max-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.word-item.fade-in {
  opacity: 0;
  animation: fadeIn var(--fade-duration, 1.5s) ease-in-out forwards;
}

.word-item.fade-out {
  opacity: 1;
  animation: fadeOut var(--fade-duration, 3s) ease-in-out forwards;
}

/* Procedures Section Styles */

.procedures-section {
  --tw-bg-opacity: 1;
  background-color: rgb(247 247 247 / var(--tw-bg-opacity));
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.procedures-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
}

.procedure-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.procedure-text {
  position: relative;
  text-align: center;
  font-family: Arimo, sans-serif;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(18 49 43 / var(--tw-text-opacity));
  font-size: 1.125rem;
  line-height: 1.75rem;
}

@media (min-width: 768px) {
  .procedure-text {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

.procedure-text {
  overflow: hidden;
  position: relative;
  text-align: center;
  font-family: Arimo, sans-serif;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(18 49 43 / var(--tw-text-opacity));
  font-size: 1.125rem;
  line-height: 1.75rem;
}

@media (min-width: 768px) {
  .procedure-text {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

.procedure-text::before {
  content: attr(data-text);
  position: absolute;
  inset: 0px;
  --tw-text-opacity: 1;
  color: rgb(196 221 136 / var(--tw-text-opacity));
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.5s ease;
}

/* Animate Text In */

.animate-text::before {
  clip-path: inset(0 0 0 0);
}

/* Animate Text Out */

.animate-text-back::before {
  clip-path: inset(0 0 0 100%);
}

/* Responsive adjustments */

@media (min-width: 768px) {
  .procedures-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .procedures-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pointer-events-none {
  pointer-events: none;
}

.visible {
  visibility: visible;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.inset-0 {
  inset: 0px;
}

.inset-y-0 {
  top: 0px;
  bottom: 0px;
}

.left-0 {
  left: 0px;
}

.right-4 {
  right: 1rem;
}

.top-4 {
  top: 1rem;
}

.z-10 {
  z-index: 10;
}

.z-40 {
  z-index: 40;
}

.z-50 {
  z-index: 50;
}

.m-0 {
  margin: 0px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mr-6 {
  margin-right: 1.5rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.h-6 {
  height: 1.5rem;
}

.h-auto {
  height: auto;
}

.h-full {
  height: 100%;
}

.h-screen {
  height: 100vh;
}

.min-h-screen {
  min-height: 100vh;
}

.w-6 {
  width: 1.5rem;
}

.w-\[80\%\] {
  width: 80%;
}

.w-auto {
  width: auto;
}

.w-full {
  width: 100%;
}

.max-w-full {
  max-width: 100%;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.flex-grow {
  flex-grow: 1;
}

.-translate-x-full {
  --tw-translate-x: -100%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.translate-y-full {
  --tw-translate-y: 100%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.cursor-pointer {
  cursor: pointer;
}

.resize {
  resize: both;
}

.list-disc {
  list-style-type: disc;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.space-x-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.5rem * var(--tw-space-x-reverse));
  margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-x-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(1rem * var(--tw-space-x-reverse));
  margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-y-auto {
  overflow-y: auto;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.bg-autumn-brown {
  --tw-bg-opacity: 1;
  background-color: rgb(100 60 32 / var(--tw-bg-opacity));
}

.bg-black {
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / var(--tw-bg-opacity));
}

.bg-bonfire-orange {
  --tw-bg-opacity: 1;
  background-color: rgb(255 160 15 / var(--tw-bg-opacity));
}

.bg-bonfire-red {
  --tw-bg-opacity: 1;
  background-color: rgb(157 22 46 / var(--tw-bg-opacity));
}

.bg-dartmouth {
  --tw-bg-opacity: 1;
  background-color: rgb(0 105 62 / var(--tw-bg-opacity));
}

.bg-dartmouth-dark {
  --tw-bg-opacity: 1;
  background-color: rgb(0 80 48 / var(--tw-bg-opacity));
}

.bg-dartmouth-forest {
  --tw-bg-opacity: 1;
  background-color: rgb(18 49 43 / var(--tw-bg-opacity));
}

.bg-dartmouth-light {
  --tw-bg-opacity: 1;
  background-color: rgb(35 133 99 / var(--tw-bg-opacity));
}

.bg-dartmouth-rich {
  --tw-bg-opacity: 1;
  background-color: rgb(13 30 28 / var(--tw-bg-opacity));
}

.bg-dgrey-gray1 {
  --tw-bg-opacity: 1;
  background-color: rgb(247 247 247 / var(--tw-bg-opacity));
}

.bg-dgrey-gray2 {
  --tw-bg-opacity: 1;
  background-color: rgb(226 226 226 / var(--tw-bg-opacity));
}

.bg-dgrey-gray3 {
  --tw-bg-opacity: 1;
  background-color: rgb(112 112 112 / var(--tw-bg-opacity));
}

.bg-granite-gray {
  --tw-bg-opacity: 1;
  background-color: rgb(66 65 65 / var(--tw-bg-opacity));
}

.bg-gray-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity));
}

.bg-river-blue {
  --tw-bg-opacity: 1;
  background-color: rgb(38 122 186 / var(--tw-bg-opacity));
}

.bg-river-navy {
  --tw-bg-opacity: 1;
  background-color: rgb(0 60 115 / var(--tw-bg-opacity));
}

.bg-spring-green {
  --tw-bg-opacity: 1;
  background-color: rgb(196 221 136 / var(--tw-bg-opacity));
}

.bg-spring-rich {
  --tw-bg-opacity: 1;
  background-color: rgb(165 215 95 / var(--tw-bg-opacity));
}

.bg-summer-yellow {
  --tw-bg-opacity: 1;
  background-color: rgb(245 220 105 / var(--tw-bg-opacity));
}

.bg-tuck-orange {
  --tw-bg-opacity: 1;
  background-color: rgb(217 68 21 / var(--tw-bg-opacity));
}

.bg-violet {
  --tw-bg-opacity: 1;
  background-color: rgb(138 105 150 / var(--tw-bg-opacity));
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}

.bg-opacity-50 {
  --tw-bg-opacity: 0.5;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.pl-6 {
  padding-left: 1.5rem;
}

.pt-16 {
  padding-top: 4rem;
}

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

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.text-dartmouth {
  --tw-text-opacity: 1;
  color: rgb(0 105 62 / var(--tw-text-opacity));
}

.text-dartmouth-forest {
  --tw-text-opacity: 1;
  color: rgb(18 49 43 / var(--tw-text-opacity));
}

.text-gray-600 {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity));
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

.opacity-0 {
  opacity: 0;
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

@font-face {
  font-family: 'Arimo';

  font-style: normal;

  font-weight: 100 900;

  font-display: swap;

  src: url('../fonts/Arimo-VariableFont_wght.ttf') format('truetype-variations');
}

@font-face {
  font-family: 'Oswald';

  font-style: normal;

  font-weight: 100 900;

  font-display: swap;

  src: url('../fonts/Oswald-VariableFont_wght.ttf') format('truetype-variations');
}

:root {
  --dynamic-font-size: calc(1rem + 0.5vw);
  --fade-duration: 1.5s;
  /* Default fade-in duration */
}

/* Header styles */

#header {
  --tw-bg-opacity: 0.9;
  --tw-backdrop-blur: blur(12px);
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  margin-bottom: 0;
  /* Ensure no margin at the bottom */
  padding-bottom: 0;
  /* Ensure no padding at the bottom */
}

/* Mobile menu styles */

#mobile-menu {
  position: fixed;
  left: 0px;
  right: 0px;
  z-index: 40;
  --tw-bg-opacity: 1;
  background-color: rgb(0 105 62 / var(--tw-bg-opacity));
}

#mobile-menu .section-title {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

#mobile-menu {
  top: 64px;
  /* Adjust this value to match the height of the header */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  margin-top: 0;
  /* Ensure no margin at the top */
  padding-top: 0;
  /* Ensure no padding at the top */
}

#mobile-menu.active {
  max-height: 300px;
}

#mobile-menu a {
  display: block;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  text-align: right;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu a:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(0 80 48 / var(--tw-bg-opacity));
}

/* Hero section styles */

#hero {
  margin-top: -5rem;
  padding-top: 5rem;
  position: relative;
  display: flex;
  /* Enables flexbox alignment */
  align-items: center;
  /* Vertically centers the hero content */
  justify-content: center;
  /* Horizontally centers the hero content */
  min-height: 100vh;
  /* Ensures the hero section takes up full viewport height */
}

.bg-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.bg-image-container img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0.7;
  /* 70% opacity */
}

.hero-content {
  width: 100%;
}

@media (min-width: 640px) {
  .hero-content {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .hero-content {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .hero-content {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .hero-content {
    max-width: 1536px;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
  text-align: center;
}

#hero .hero-content {
  position: relative;
  z-index: 2;
}

#hero .hero-content img {
  max-width: 80%;
  height: auto;
  margin: 0 auto 2rem;
  margin-top: -50px;
  /* Specifically added to compensate for the viewBox offset */
}

.hero-content {
  display: flex;
  /* Uses flexbox alignment */
  flex-direction: column;
  /* Ensures items stack vertically */
  align-items: center;
  /* Centers items horizontally */
  justify-content: center;
  /* Centers items vertically */
}

#hero .container {
  position: relative;
  z-index: 2;
}

#hero .container img {
  max-width: 80%;
  height: auto;
  margin: 0 auto 2rem;
  margin-top: -50px;
  /* Specifically added to compensate for the viewBox offset */
}

/* Expertise item styles */

.expertise-item {
  border-radius: 0.5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(196 221 136 / var(--tw-bg-opacity));
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(0 105 62 / var(--tw-text-opacity));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.expertise-item:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(165 215 95 / var(--tw-bg-opacity));
}

/* Custom scrollbar */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  --tw-bg-opacity: 1;
  background-color: rgb(247 247 247 / var(--tw-bg-opacity));
}

::-webkit-scrollbar-thumb {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
  --tw-bg-opacity: 1;
  background-color: rgb(0 105 62 / var(--tw-bg-opacity));
}

::-webkit-scrollbar-thumb .section-title {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

::-webkit-scrollbar-thumb:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(0 105 62 / var(--tw-bg-opacity));
}

::-webkit-scrollbar-thumb:hover .section-title {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

/* Scrollbar adjustment for top position */

body::-webkit-scrollbar-thumb:vertical:start {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* Animations */

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.animate-pulse {
  animation: pulse 1s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes highlight {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

.section-title.highlight {
  animation: highlight 0.5s ease-in-out;
}

/* Button and link hover effects */

.btn:hover, .nav-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 105, 62, 0.1);
}

/* Card hover effect */

.card:hover {
  transform: translateY(-5px);
}

/* Expertise item hover effect */

.expertise-item:hover {
  transform: scale(1.05);
}

/* Parallax effect for hero section */

#hero {
  background-attachment: fixed;
  margin-top: 0;
  padding-top: 64px;
  /* Adjust this value to match the height of the header */
}

/* Focus styles for accessibility */

a:focus, button:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-color: rgb(196 221 136 / var(--tw-ring-opacity));
  --tw-ring-opacity: 0.5;
}

/* Styling for the certifications and memberships section */

.certification-item,
.membership-item {
  opacity: 0;
  /* Start hidden */
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* Certification Item Styles */

.certification-item {
  display: flex;
  align-items: center;
}

.certification-logo-container {
  margin-right: 1.5rem;
  /* Equivalent to mr-6 */
  flex-shrink: 0;
}

.certification-text {
  flex: 1;
}

.certification-logo {
  width: 96px;
  /* Fixed width for consistency */
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  transition: transform 0.3s ease-in-out;
}

/* Membership Item Styles */

.membership-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.membership-logo {
  width: 180px;
  /* Fixed width for consistency */
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  transition: transform 0.3s ease-in-out;
}

/* Hover effects */

.certification-item:hover,
.membership-item:hover {
  background-color: rgba(0, 128, 0, 0.1);
  /* Dartmouth green with 10% opacity */
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.certification-item:hover .certification-logo,
.membership-item:hover .membership-logo {
  transform: scale(1.05);
}

/* Apply fadeInUp animation when the section is targeted */

#certifications:target .certification-item,
#certifications:target .membership-item {
  animation: fadeInUp 0.5s ease-out forwards;
}

/* Keyframes for fadeInUp animation */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animated state: visible and in place */

.certification-item.animate-in,
.membership-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Adjustments */

/* For screens smaller than 1024px */

@media (max-width: 1024px) {
  .certification-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .certification-logo-container {
    margin-right: 0;
    margin-bottom: 1rem;
    /* Adds space below the logo */
  }

  .certification-text {
    width: 100%;
  }

  .membership-logo {
    width: 240px;
  }
}

/* For screens smaller than 768px */

@media (max-width: 768px) {
  .membership-logo {
    width: 240px;
  }
}

/* For screens smaller than 640px */

@media (max-width: 640px) {
  .membership-logo {
    width: 200px;
  }
}

/* Minimum width to prevent logos from becoming too small */

.membership-logo {
  min-width: 180px;
}

/* Accessible focus states */

.certification-item:focus,
.membership-item:focus {
  outline: 2px solid #00693e;
  /* Dartmouth green */
  outline-offset: 2px;
}

/* END of Styling for the certifications and memberships section */

.bg-dartmouth .section-title {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

main {
  padding-top: 64px;
  /* Adjust this value to match the height of the header */
}

footer {
  margin-top: 0;
}

/* Footer hover effect */

footer {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

footer:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(0 105 62 / var(--tw-bg-opacity));
}

footer:hover .section-title {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

/* Expertise section specific styles */

#expertise {
  padding-top: 4rem;
  padding-bottom: 4rem;
  /* Adds top and bottom padding to create space */
}

#word-display {
  margin-top: 1rem;
  /* Adds margin top to create space below the title */
}

/* Procedures section specific styles */

#procedures {
  padding-top: 4rem;
  /* Adds top padding to create space above the title */
}

#procedures-container {
  margin-top: 1rem;
  /* Adds margin top to create space below the title */
}

/* Responsive adjustments */

@media (max-width: 640px) {
  .hero-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  #learn-more-btn {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  #learn-more-btn {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

/* Responsive adjustments */
@media (min-width: 1280px) {
    #word-display {
        grid-template-columns: repeat(4, 1fr); /* 4 columns only on very large screens */
        height: 500px;
    }
}

@media (max-width: 1023px) {
    #word-display {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens for wider cells */
        height: 660px;
    }

    .word-item {
        font-size: var(--dynamic-font-size, calc(1rem + 0.5vw));
    }
}

@media (max-width: 639px) {
    #word-display {
        grid-template-columns: repeat(1, 1fr); /* 1 column on small screens */
        height: 1940px;
    }

    .word-item {
        font-size: var(--dynamic-font-size, calc(1rem + 0.3vw));
    }
}

@media (max-width: 768px) {
  .section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  @media (min-width: 768px) {
    .section {
      padding-top: 3rem;
      padding-bottom: 3rem;
    }
  }

  .section {
    /* Further reduces padding on mobile */
  }

  .section-title {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    line-height: 2rem;
    /* Smaller titles and margin on mobile */
  }

  .card {
    padding: 1rem;
  }

  .expertise-item {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
}

/* Nav-button class for buttons */

.nav-button {
  border-radius: 0.25rem;
  background-color: transparent;
  font-family: Arimo, sans-serif;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(0 105 62 / var(--tw-text-opacity));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-button:hover {
  --tw-text-opacity: 1;
  color: rgb(196 221 136 / var(--tw-text-opacity));
}

.nav-button:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

/* Ensures the main content wrapper is positioned relative */

#main-content {
  position: relative;
}

/* Cookie Popup Fixed Position */

.cookie-popup-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}

/* Cookie Popup Absolute Position */

.cookie-popup-absolute {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.offcanvas-content-section h1 {
  margin-bottom: 1.5rem;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(0 105 62 / var(--tw-text-opacity));
}

.offcanvas-content-section h2 {
  margin-bottom: 1rem;
  margin-top: 1.5rem;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(0 105 62 / var(--tw-text-opacity));
}

.offcanvas-content-section p {
  margin-bottom: 1rem;
  --tw-text-opacity: 1;
  color: rgb(18 49 43 / var(--tw-text-opacity));
}

.offcanvas-content-section ul {
  margin-bottom: 1rem;
  list-style-type: disc;
  padding-left: 1.5rem;
  --tw-text-opacity: 1;
  color: rgb(18 49 43 / var(--tw-text-opacity));
}

.offcanvas-content-section li {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .nav-spacing {
    margin-left: 0.5rem;
  }
}

@media (max-width: 640px) {
  .nav-spacing {
    margin-left: 0px;
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 1s ease-out forwards;
}

.hover\:bg-dartmouth-dark:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(0 80 48 / var(--tw-bg-opacity));
}

.hover\:text-gray-800:hover {
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity));
}

.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

@media (min-width: 640px) {
  .sm\:ml-4 {
    margin-left: 1rem;
  }

  .sm\:mt-0 {
    margin-top: 0px;
  }

  .sm\:flex-nowrap {
    flex-wrap: nowrap;
  }

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

@media (min-width: 768px) {
  .md\:mb-0 {
    margin-bottom: 0px;
  }

  .md\:flex {
    display: flex;
  }

  .md\:hidden {
    display: none;
  }

  .md\:w-1\/2 {
    width: 50%;
  }

  .md\:w-\[50\%\] {
    width: 50%;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:space-x-8 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(2rem * var(--tw-space-x-reverse));
    margin-left: calc(2rem * calc(1 - var(--tw-space-x-reverse)));
  }

  .md\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .md\:py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .md\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .lg\:w-\[30\%\] {
    width: 30%;
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .xl\:w-\[20\%\] {
    width: 20%;
  }
}
