
.toggle {
  font-size: 24px;
  font-weight: ;
  line-height: 1;
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 8px;
  min-width: 24px;
  text-align: center;
  display: inline-block;
}
.visually-hidden{
  position:absolute!important;clip:rect(1px,1px,1px,1px);
  width:1px;height:1px;overflow:hidden;white-space:nowrap;
}



/* 0) Load Agenda Thin font */
@font-face {
  font-family: 'Agenda Thin';
  src: url('../agenda-thin.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'AgendaMedium';
  src: url('../fonts/agenda-medium.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}


h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  text-shadow:
    0.015em 0 currentColor,
   -0.015em 0 currentColor;
}

html {
  scroll-behavior: smooth;
}



/* Base & Reset */
*,
*::before,
*::after {
  /* … */
}

/* Base & Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html { font-size: 16px; }
body {
  font-family: 'Agenda Thin', sans-serif;
  color: #3D4F4A;
  background: #FDFDFD;
  line-height: 1.5;
}

:root {
  --green: #3D4F4A;
  --lightgreen: #607770;
  --offwhite: #F4F3EE;
}

.site-header {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 126px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.logo {
  max-height: 60px;
}

.menu-wrapper {
  position: relative;
  margin-left: 3.5rem;
  margin-right: 1.2rem;
}

.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  padding: 0;
  background: none;
  margin-bottom: 0.5rem;
  border: none;
  color: #fff;
  cursor: pointer;
}

.menu-btn .bar {
  width: 100%;
  height: 2px;
  background: #F4F3EE;
  border-radius: 1px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: background 0.2s ease;
}

.menu-btn:hover .bar {
  background: #e0e0e0;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(60, 79, 74, 0.4);
  backdrop-filter: blur(6px);
  pointer-events: none;
  opacity: 0;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

.site-header.open .menu-overlay {
  opacity: 1;
  pointer-events: auto;
}

.site-nav {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: calc(50% - 10px);
  width: 150px;
  transform: translateX(-50%) scaleY(0);
  transform-origin: top center;
  background: var(--offwhite);
  color: var(--green);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease;
  z-index: 1100;
}

.site-header.open .site-nav {
  transform: translateX(-50%) scaleY(1);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav li + li {
  border-top: 1px solid var(--green);
}

.site-nav a {
  display: block;
  padding: 0.75rem 1.5rem;
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--green);
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap; /* Prevent wrapping */

}

.site-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.3s ease, left 0.3s ease;
}

.site-nav a:hover {
  color: var(--green);
}

.site-nav a:hover::after {
  width: 100%;
  left: 0;
}
.site-header.open .menu-overlay {
  opacity: 1;
  pointer-events: auto;
}
.site-nav ul li a {
  white-space: normal;  /* allow text to wrap */
  word-wrap: break-word; /* optional: break long words if needed */
}





.hero {
  /* shift the whole hero up by the header’s height */
  margin-top: -126px;
  /* push its content back down so it doesn’t sit under the header */
  padding-top: 126px;

  /* keep the rest as you had it */
  position: relative;
  overflow: hidden;
  min-height: 90vh;     /* or whatever you prefer */
  background: transparent;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}
.hero-video-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.40); /* adjust darkness here */
  z-index: 1;
  pointer-events: none;
}


.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}










.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3.75rem 1rem;
  padding-top: 7rem;
}


/* ——— Hero Section ——— */
.hero {
  background: transparent;
  text-align: center;
  padding: 3.75rem 1rem;
}

.hero-title {
  font-size: 2.7rem;
  color: var(--offwhite);
  margin-bottom: 2rem;
}
.hero-subtitle {
  font-size: 1.5rem;
  color: var(--offwhite); /* or pick a color that suits your theme */
  margin: 1rem auto;
  max-width: 800px;
  text-align: center;
  font-weight: 300;
}

.hero-btn {
  display: block;
  margin: 0 auto;
  max-width: 300px;
  font-size: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--green);
  color: var(--offwhite);
  border-radius: 7px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  margin-top: 4rem;
}

.hero-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}







/* --- Headings OUTSIDE the boxes --- */
.card-title {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--green);
  margin: 0 0 0.75rem 0; /* space before the box */
}

/* --- Make the two card columns equal height --- */
/* Wrap each heading+card in a column container */
.card-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card-col .info-card {
  flex: 1;                /* stretch to equal height across columns */
}

/* --- Info card: richer background + a touch more contrast --- */
.info-card {
  background: #F4F3EE;                       /* richer than #fff / less washed out */
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  padding: 1.5rem;                           /* a hair tighter for balance with bigger text */
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
  text-align: left;
  transition: transform .18s ease, box-shadow .18s ease;
}


/* Optional subtle tints (deeper than before) */
.card--ind  { background: #7a8c87; }  /* soft green, richer */
.card--inst { background: #7a8c87; }  /* warm beige, richer */

/* --- Larger, more legible text inside --- */
.info-card p,
.info-card li {
  font-size: 1.3rem;    /* ~18px */
  line-height: 1.7;
  color: #ffffff;         /* more contrast than #333 on tinted bg */
  margin: 0 0 0.9rem 0;
  padding-left: 1rem;
}

/* Keep your existing arrow list styles; bump size to match */
.info-card .arrow-list span { font-size: 1.125rem; }

.arrow-list {
  list-style: none;        /* remove default browser bullets */
  margin: 0;
  padding-left: 1rem;     /* match your paragraph text indent */
}

.arrow-list li {
  position: relative;
  padding-left: 1.2em;     /* space for the arrow */
}

.arrow-list li::before {
  content: "➔";            /* or whatever arrow you’re using */
  position: absolute;
  left: 0;
  color: inherit;
}

/* --- Grid tweaks (keeps equal heights clean) --- */
.image-text.image-text--tri {
  align-items: stretch;   /* ensure grid items (card-cols) stretch to same row height */
  gap: 1.75rem;
  padding: 2rem 5rem 6rem;
  background: #FFFFFF;   /* ✅ add this line */
}



.card-icon {
  margin: 0 0 0.35rem;     /* small gap below the icon */
  display: flex;
  justify-content: center;
  line-height: 0;          /* removes hidden spacing */
}

.card-icon img {
  width: auto;
  height: 250px;             /* consistent size */
  object-fit: contain;
  display: block;
  opacity: 0.9;
}
.info-btn {
  display: inline-block;
  margin: 1rem;
  padding: 0.6rem 1.2rem;
  background: var(--offwhite);
  color: var(--green);
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);   /* stronger default shadow */
}
.info-btn:hover {
  transform: translateY(-2px);
}


@media (max-width: 960px) {
  .image-text.image-text--tri {
    grid-template-columns: 1fr;
    padding: 1rem 1rem 6rem;   /* was 2rem 5rem 6rem → wider blocks */
  }

  .card-col { align-items: center; }      /* make cards full-width */
  .card-col .info-card { width: 90%; }    /* ensure no centering/narrowing */

  .info-card .info-btn {
    font-size: 1.2rem;                     /* larger button text on mobile */
    padding: 0.8rem 1.2rem;
  }
}






/* ——— Services Grid ——— */
.services {
  background: #f8f4ec;
  padding: 1rem;
  text-align: center;
}

.section-title {
  font-size: 2.7rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.services-title-img {
  max-width: 90%;
  height: auto;
  display: block;
  margin: 2rem auto;
  margin-top: -2rem;
  z-index: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border-radius: 25px;
}


.services-label {
  background-color: var(--lightgreen);
  color: var(--offwhite);
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  width: fit-content;
  margin: 1.5rem auto 2rem;
  margin-top: -4.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 2;
  position: relative;
}
@media (min-width: 768px) {
  .services-label {
    width: 30%;
  }
}


.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}



.service-item__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 1.5rem 1rem;
  margin: 0;

  min-height: 5rem; /* consistent height */
  border-top: 1px solid var(--green);
}




.service-item__header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--green);
  transform: translateY(var(--move-amount));
  transition: transform 0.3s ease;
}
.bullet-list {
  font-size: 1.2rem; /* match the paragraph above exactly */
  font-family: inherit;
  color: inherit;
  text-align: left;
}


.bullet-list div {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.8em;
  line-height: 1.6;
  text-indent: 0;
  font-size: inherit; /* now this will work */
}

.bullet-list div::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: inherit;
  line-height: 1;
}






.learn-more {
  font-weight: bold;
  font-family: 'Agenda Thin', sans-serif;
  font-size: 1rem;
  display: inline-block;
  margin-top: 0;
  cursor: pointer;
  transition: color 0.2s ease;
  color: inherit;          /* inherits card text color, removes blue */
  text-decoration: none;   /* removes underline */
}

.learn-more:hover {
  color: #607770;          /* your hover colour */
  text-decoration: none;   /* keeps underline off on hover */
}


.service-item.open .service-item__header::after {
  transform: translateY(calc(var(--move-amount) + 2rem));
}
@media (max-width: 768px) {
  .service-item.open .service-item__header::after {
    transform: translateY(calc(var(--move-amount) + 3rem));
  }
}

.service-item__header h3 {
  font-size: 1.5rem;
  margin: 0;
  cursor: pointer;
  text-align: left;
}

.toggle {
  position: relative;
  width: 20px;
  height: 20px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.toggle::before,
.toggle::after {
  content: "";
  position: absolute;
  background-color: var(--green);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.toggle::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-1px); /* Slight vertical tweak for retina crispness */
}

.toggle::after {
  width: 2px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-1px);
}

.service-item.open .toggle::before {
  opacity: 0;
}

.service-item.open .toggle::after {
  transform: translateX(-1px) rotate(90deg);
}


.service-item__copy {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1rem;
}

.service-item__copy p {
  text-align: left;
  font-size: 1.2rem;
  font-weight: 300;
}


.page h1{text-align: center;}
.page p {text-align: left;}




/* Wrapper (thin section) */
.brand-strip {
  background: #f4f1ed; /* your offwhite */
  padding: 2rem 0;
  text-align: center;
}

/* Optional title you added earlier */
.brand-strip-title {
  font-size: 1.6rem;
  color: var(--green);
  margin-bottom: 1rem;
}

.brand-window { overflow: hidden; max-width: 100%; margin: 0 auto; height: 65px}

.brand-track {
  display: inline-flex;
  gap: 7rem;
  width: max-content;
  animation: brand-scroll 30s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0); 
  -webkit-transform: translateZ(0);
  padding-left: 3.5rem;
  padding-right: 3.5rem;
}

.brand-track img {
  filter: grayscale(100%);         /* keep the gray look */
  display: block;   /* remove inline gaps; already fine if present */
  flex: 0 0 auto;   /* prevent unexpected flex shrinking */
  height: 60px; width: auto;
  width: auto;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
.brand-strip img:hover {
  filter: grayscale(0%);
  opacity: 1;
}
@keyframes brand-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }  /* keep -50% when you have A + A */
}









/* ——— CTA Form ——— */
.cta-form {
  background: var(--lightgreen);
  color: var(--offwhite);
  padding: 2rem 1rem;
  text-align: left;
}

.cta-form h2,
.cta-form p {
  margin-left: 1.2rem;
  text-align: center;
  font-size: 2.2rem;
}

#form-placeholder {
  margin-top: 1rem;
}
.cta-form iframe {
  display: block;
  width: 100%;
  margin: 2rem auto 0 auto;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Desktop styles */
@media (min-width: 1024px) {
  .cta-form iframe {
    width: 60%;
  }
}



/* ——— Footer (Mobile) ——— */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--green);
  color: var(--offwhite);
  padding: 2rem 1rem;
  text-align: center;
  clear: both;
}

.footer-logo {
  display: block;
  max-height: 60px;
  margin: 0 auto 1.5rem;
}

.footer-text {
  order: 0;
  margin-bottom: 1.5rem;
}

.site-footer p {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

.footer-images {
  order: 1;
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 1.5rem;
}

.footer-images img {
  max-height: 150px;
  width: auto;
}
.site-footer a {
  color: inherit;
  text-decoration: underline;
}






/* ——— Shared Page Layout ——— */
.page,
.services-page,
.why-altum-page,
.community-page {
  max-width: 1100px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.page section,
.services-page section,
.why-altum-page section,
.community-page section {
  margin-bottom: 3rem;
}

.page h2,
.services-page h2,
.why-altum-page h2,
.community-page h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.page p,
.services-page p,
.why-altum-page p,
.community-page p {
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: center;
}

.about-page {
  background-color: #f4f1ed;
  padding: 4rem 1rem;
}

.section {
  padding: 3rem 0;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section h2 {
  margin-bottom: 1rem;
  color: #3c4a3f;
}

.section p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
}
.shawn-photo {
  width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin: 1rem auto 2rem;
  display: left;
}
.section-divider {
  width: 95%;
  max-width: 950px;
  height: 2px;
  background-color: #607770;
  margin: 0rem auto;
  opacity: 0.3;
}

.page-title {
  padding: 6rem 1rem 3rem;
  background-color: var(--offwhite); /* or any soft background */
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-title h1 {
  font-size: 3rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
  color: var(--green); /* or your primary color */
  margin-bottom: -10rem;
}














/* ——— Services Page Image Layout ——— */
.services-page img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem auto;
}

/* ——— Quote Styling ——— */
.quote-block {
  background-color: var(--offwhite);
  padding: 3rem 2rem;
  margin-bottom: 2rem;
  border-left: 5px solid var(--green);
}

.quote-block blockquote {
  font-style: italic;
  font-size: 1.4rem;
  text-align: center;
  margin: 0;
  color: #333;
}

/* ——— Newsletter Form ——— */
.newsletter-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.newsletter-form input[type="email"] {
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  max-width: 400px;
  margin-bottom: 1rem;
}

.newsletter-form button {
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  color: white;
  background-color: var(--green);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.newsletter-form button:hover {
  background-color: #2b6636;
}

.services-page {
  padding: 2rem 1.5rem;
  background-color: #F4F3EE;
}
.services-page h1 {
  text-align: center;
  margin-bottom: 4rem;
  font-size: 3.3rem;
}

.service-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 4rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.service-block.reverse {
  flex-direction: row-reverse;
}

.service-block img {
  flex: 1 1 45%;
  border-radius: 12px;
box-shadow: 4px 5px 9px rgba(0, 0, 0, 0.25);
  height: auto;
}
.service-block img {
  border-radius: 12px;
 box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4); /* example dark green RGBA */}

.services-background {
  position: relative;
  min-height: 100vh;
  background-image: url('../beach.jpg');  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  overflow: hidden;
}
.services-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(30, 39, 36, 0.80); /* darker tone */
  z-index: 0;
  backdrop-filter: blur(3px);
  pointer-events: none;
}




/* Remove conflicting background colors */
.services-page {
  background: none;
  padding: 2rem 1.5rem;
  color: #FDFDFD;
}


.service-copy {
  flex: 1 1 45%;
}

.service-copy h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  text-align: left;
  margin-left: 1rem;
}

.service-copy p {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: left;
  margin-left: 1rem;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .service-block {
    flex-direction: column;
  }

  .service-block.reverse {
    flex-direction: column;
  }

  .service-copy,
  .service-block img {
    flex: 1 1 100%;
  }
}
.service-copy {
  color: #F4F3EE;
  background-color: #607770; /* light green background */
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}





















@media (min-width: 1024px) {

  /* ——— Global scaling ——— */
  html {
    font-size: 125%; /* 16px → 20px */
  }
  .site-nav {
  min-width: 350px;
}

.hero-btn {
  max-width: 400px;
}
  .services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
  }
  .services-title-img {
  max-width: 50%;
  height: auto;
  display: block;
  margin: 2rem auto;
  margin-top: -5rem;

}







  /* ——— Footer (Desktop) ——— */
  .site-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 2rem 3rem;
    text-align: initial;
  }

  .footer-text {
    grid-column: 1;
    text-align: center;
    margin: 0;
    margin-right: 10rem;
    text-decoration: inherit;
  }

  .footer-logo {
    grid-column: 2;
    justify-self: center;
    margin: 0;
    max-height: 80px;
  }

  .footer-images {
    grid-column: 3;
    justify-self: end;
    margin: 0;
  }

  /* ——— Image + Text (Desktop) ——— */
  .image-text {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--offwhite);
    padding: 2rem 1rem;
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
  }

  .slideshow {
    flex: 0 0 auto;
    width: 45%;
    margin: 0;
    margin-left: 0rem;
  }

  .it-copy {
    flex: 0 0 auto;
    max-width: 40%;
    margin-left: 4rem;
    text-align: left;
    margin-top: 1rem;
  }


  .guide-flex {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    text-align: left;
  }

  .shawn-img {
    width: 200px;
    flex-shrink: 0;
  }

  .guide-text {
    flex: 1;
    padding-right: 2rem;
  }
}
 
  /* ——— Services Grid (Desktop) ——— */
  .services {
    padding: 8rem 1rem;
    overflow: hidden;
    max-width: none !important;
    margin: 0 !important;
  }



.service-item__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 1.5rem 1rem;
  margin: 0;

  min-height: 5rem; /* consistent height */
  border-top: 1px solid var(--green);
}




  .service-item__header .toggle {
    margin-left: auto;
  }

  .service-item__img {
    width: auto;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 2rem;
    margin-top: 3rem;
  }

  


  /* ——— CTA Form + Image (Desktop) ——— */
  .cta-form {
    float: left;
    width: 100%;
    box-sizing: border-box;
    padding: 2rem;
  }
}

/* === ANIMATIONS === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  opacity: 0;
}

.trigger.fade-in {
  animation: fadeIn 1s ease forwards;
}

.trigger.slide-up {
  animation: slideUp 1s ease forwards;
}
/* Animate in when .loaded is added */
.loaded .fade-in {
  animation: fadeIn 1s ease forwards;
}

.loaded .slide-up {
  animation: slideUp 1s ease forwards;
}

/* Animation keyframes */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Animations only start when .in-view is added */
.animate.slide-up {
  opacity: 0;
  transform: translateY(30px);
}

.animate.fade-in {
  opacity: 0;
}

.in-view.slide-up {
  animation: slideUp 1s ease forwards;
}

.in-view.fade-in {
  animation-name: fadeIn;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

/* Base animation setup */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* When the element is visible */
.in-view {
  opacity: 1;
  transform: translateY(0);
}















