@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Lora:wght@400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lustria&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Baskervville:ital@0;1&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Alegreya+Sans:ital,wght@0,100;0,300;0,400;0,500;0,700;0,800;0,900;1,100;1,300;1,400;1,500;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Besley:ital,wght@0,400..900;1,400..900&display=swap");
:root {
  --clr-accent-400: hsl(12, 88%, 59%);
  --clr-accent-300: hsl(13, 100%, 96%);
  --clr-accent-100: hsl(13, 98%, 65%);
  --clr-primary-400: hsl(228, 39%, 23%);
  --clr-neutral-900: hsl(233, 12%, 13%);
  --clr-neutral-100: hsl(0, 0%, 100%);
  --color-white: #fff;
  --color-black: #000000;
  --color-black-reduced: #1e1e1e;
  --color-light-green: #f3ffe1;
  --color-light-yellow: #fcefb4;
  --color-light-blue: #d4e9e2;
  --color-sky-blue: #cae9ff;
  --color-light-grey: #efede6;
  --color-orange: #e68145;
  --color-light-purple: #f2ebfb;
  --color-light-orange: #ffe9de;
  --color-highlights: #fff;
  --color-terquoise: #00a6a6;
  --color-box-secondary: #cecdcd;
  --color-red: #c42a2a;
  --card-brown-light: #dbd9d2;
  --card-grey: #f5f5f7;
  --card-magnolia: #f8f0fb;
  --card-honeydew: #f3fcf0;
  --card-lavender: #f6e8ea;
  --card-alabaster: #d8dbe2;
  --card-brown: #302c26;
  --card-navy: #092531;
  --card-tiffany-blue: #99e1d9;

  --ff-primary: "Baskervville", serif;
  --ff-secondary: "Lato", sans-serif;
  --ff-body: var(--ff-primary);
  --ff-accent: var(--ff-secondary);
  --fw-regular: 400;
  --fw-semi-bold: 500;
  --fw-bold: 700;
  --fs-300: 0.8125rem;
  --fs-400: 0.875rem;
  --fs-400: 0.9375rem;
  --fs-600: 1rem;
  --fs-700: 1.875rem;
  --fs-800: 2.5rem;
  --fs-900: 3.5rem;
  --fs-body: var(--fs-400);
  --fs-primary-heading: var(--fs-800);
  --fs-secondary-heading: var(--fs-700);
  --fs-nav: var(--fs-500);
  --fs-button: var(--fs-300);
  --size-100: 0.25rem;
  --size-200: 0.5rem;
  --size-300: 0.75rem;
  --size-400: 1rem;
  --size-500: 1.5rem;
  --size-600: 2rem;
  --size-700: 3rem;
  --size-750: 3.25rem;
  --size-800: 4rem;
  --size-850: 4.25rem;
  --size-900: 5rem;

  --clr-footer-400: #2d3142;
  --ff-primary: "Lustria", serif;
  --ff-secondary: "Lato", sans-serif;
  --fs-news-header: 5rem;
  --fs-header: 3.125rem;
  --fs-showcasesmall: 1.125rem;
  --fs-showcaselarge: 4.6875rem;
  --fs-navbaritems: 1.25rem;
  --fs-text-lg: 2.5rem;
  --fs-text-md: 1.25rem;
  --fs-text-sm: 0.95rem;
  --fs-text-xsm: 0.8rem;
  --fs-links-sm: 0.75rem;
  --fs-buttontext: 0.75rem;
  --fs-cardheaders: 1.875rem;
  --padding-sm: 10px 0;
  --padding-md: 1.65rem 2rem;
  --padding-lg: 6.25rem 0;
  --card-padding: 0.75rem 1.75rem;
  --mg-sm: 1.4rem;
  --mg-top: 2.9rem;
  --mg-top-100: 6.25rem;
  --mg-btm-lg: 10rem;
  --mg-btm-sm: 2rem;
  --ff-header: var(--ff-primary);
  --ff-body: var(--ff-secondary);
  --fw-regular: 400;
  --fw-light: 300;
  --fw-semi-bold: 500;
  --fw-bold: 700;
  --h-card: 22rem;
  --font-size-fluid-0: clamp(0.75rem, 1.5vw, 0.8rem);
  --font-size-fluid-1: clamp(1.2rem, 2vw, 1.3rem);
  --font-size-fluid-2: clamp(1.5rem, 3vw, 2.5rem);
  --font-size-fluid-3: clamp(2rem, 4vw, 3.5rem);
  --font-size-fluid-4: clamp(3rem, 5vw, 5rem);
  --line-height-paragraph: 1.3;
  --line-height-wide: 3.5;
}
@media (min-width: 50em) {
  :root {
    --fs-body: var(--fs-500);
    --fs-primary-heading: var(--fs-900);
    --fs-secondary-heading: var(--fs-800);
    --fs-nav: var(--fs-300);
  }
}
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}
/* Remove default margin */
* {
  margin: 0;
  padding: 0;
  font: inhert;
}
/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}
/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}
html,
body {
  height: 100%;
}
/* Set core body defaults */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}
/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}
/* Make images easier to work with */
img,
picture,
svg {
  max-width: 100%;
  display: block;
}
/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

h1 {
  font-size: var(--font-size-fluid-3);
  font-family: var(--ff-primary);
  font-weight: 400;
  font-style: normal;
  line-height: 1.4;
}
h2 {
  font-size: var(--font-size-fluid-2);
  font-family: var(--ff-primary);
  font-weight: 400;
  font-style: normal;
  line-height: 1.4;
}
h3 {
  font-size: var(--font-size-fluid-1);
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-style: normal;
  color: var(--clr-primary-400);
  line-height: 1.3;
}
h4 {
  font-size: var(--font-size-fluid-0);
  font-family: var(--ff-primary);
  font-weight: var(--fw-regular);
  font-style: normal;
  color: var(--color-red);
  line-height: 1.3;
}

.container {
  --max-width: 1400px;
  --padding: 1rem;
  width: min(var(--max-width), 100% - (var(--padding) * 2));
  margin-inline: auto;
}

.even-columns {
  display: grid;
  /* gap: 1rem; */
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 50em) {
  .even-columns {
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
  }
}
/*general styling*/
body {
  font-size: var(--fs-body);
  font-family: var(--ff-body);
  color: var(--clr-primary-400);
}

.logo img {
  height: 60px;
  width: auto;
}

.section {
  margin-block: clamp(2rem, 6vw, 5rem);
}

/*BUTTONS*/
.button {
  border: 0;
  text-decoration: none;
  border-radius: 100vmax;
  padding: clamp(0.6rem, 1vw, 1rem) clamp(1.2rem, 2vw, 2rem);
  font-weight: var(--fw-bold);
  font-size: var(--fs-button);
  color: var(--clr-neutral-100);
  background-color: var(--clr-accent-400);
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}
.button:hover,
.button:focus-visible {
  cursor: pointer;
  background-color: var(--clr-accent-100);
  transform: translateY(-1px);
}

.header-cta {
  position: relative;
  z-index: 1;
}

.primary-header.is-scrolled .header-cta {
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--color-white);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 22px rgba(6, 10, 18, 0.12);
}

.primary-header.is-scrolled .header-cta:hover,
.primary-header.is-scrolled .header-cta:focus-visible {
  background-color: var(--clr-accent-400);
  border-color: var(--clr-accent-400);
  color: var(--color-white);
}

.box .button {
  margin-top: clamp(1rem, 3vw, 2rem);
}

/* navigation */

.primary-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  padding-block: 0.9rem;
}

.primary-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 15, 24, 0.78) 0%,
    rgba(12, 18, 28, 0.32) 50%,
    rgba(12, 18, 28, 0.07) 80%,
    rgba(12, 18, 28, 0.008) 100%
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 22px rgba(6, 10, 18, 0.08);
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease;
}

.primary-header.is-scrolled::before,
.primary-header[data-overlay]::before {
  opacity: 1;
}

.nav-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.mobile-nav-toggle {
  display: none;
  position: relative;
  z-index: 10001;
}

.nav-list {
  font-family: var(--ff-secondary);
  font-size: var(--fs-nav);
  /* font-weight: var(--fw-bold); */
}

.nav-list {
  display: flex;
  gap: clamp(var(--size-500), 5vw, var(--size-600));
}

.nav-list a {
  text-decoration: none;
  color: var(--color-white);
}

.nav-list a:hover,
.nav-list a:focus {
  color: var(--clr-accent-100);
}

.mobile-nav-cta {
  display: none;
}

/*hero image*/
.hero_image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-page .hero_image {
  object-position: 90% center;
}

.hero {
  position: relative;
  min-height: clamp(60vh, 80vh, 95vh);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-text-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.hero-text {
  color: var(--color-white);
  font-family: var(--ff-primary);
  font-size: var(--size-850);
  text-align: center;
  line-height: 1.1;
}

.hero-sub-text {
  color: var(--color-white);
  text-align: center;
  margin-top: 1em;
}

.hero-sub-break {
  display: none;
}

.hero-sub-nowrap {
  white-space: nowrap;
}

/* Service Times */

.service-times {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  padding: 0;
  align-items: stretch;
}

.service-times-heading {
  text-align: center;
  margin: 1.25em 0 0 0;
}

.info-cards__container {
  position: relative;
  display: flex;
  justify-content: space-around;
  overflow-x: scroll;
  width: 100%; /* Set the width of the container according to your needs */
  /*		white-space: nowrap;  Prevent line breaks */
  padding: 2rem;

  scrollbar-width: none; /* For Firefox compatibility */
  -ms-overflow-style: none; /* For Internet Explorer compatibility */
}
/* Webkit-based browsers (Chrome, Safari, Opera) */
.info-cards__container::-webkit-scrollbar {
  display: none;
}
.info-cards {
  flex: 0 0 auto;
  width: 19.5625rem;
  height: 35rem;
  border-radius: 18px;
  overflow: hidden;
  margin-right: 0.9rem;
  transition: all 0.4s ease-in-out 0s;
  box-shadow:
    1px 4px 10px rgba(15, 23, 42, 0.04),
    2px 7px 14px rgba(15, 23, 42, 0.05);
}
.info-cards:hover {
  cursor: pointer;
  transform: scale(1.018);
}
.info-cards__content {
  display: flex;
  flex-direction: column;
  min-height: 12rem;
  /*		padding: .7rem;*/
}
.info-card__image {
  width: 100%;
  height: 22rem;
  overflow: hidden;
}

.info-card__image img {
  display: block;
  width: 100%;
  height: 22rem;
  object-fit: cover;
}

.small-titles {
  font-family: var(--ff-secondary);
  font-weight: var(--fw-light);
  font-size: var(--fs-text-md);
  text-transform: uppercase;
  text-align: center;
}
.service-card__small-title {
  font-family: var(--ff-secondary);
  font-size: var(--font-size-fluid-0);
  color: var(--color-black);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.service-card__lite-title {
  font-family: var(--ff-secondary);
  font-size: var(--fs-text-xsm);
  font-weight: var(--fw-light);
  color: var(--color-black);
  text-transform: uppercase;
}

.card__padding {
  padding: var(--card-padding);
}

.card-body {
  height: 22rem;
  width: 100%;
  /*display: flex;
    flex-flow: column nowrap;*/
  margin: 10px 10px;
  padding: 0 40px;
  color: var(--color-primary);
}
.card-title {
  font-family: var(--ff-primary);
  font-size: var(--fs-text-lg);
}
.card-image {
  position: relative;
  height: 400px;
}
.card-image img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.main-title {
  font-family: var(--ff-primary);
  font-size: var(--font-size-fluid-3);
  color: var(--color-primary);
}
.main-title-white {
  position: relative;
  font-family: var(--ff-primary);
  font-size: var(--font-size-fluid-3);
  color: var(--color-white);
  z-index: 101;
}

/* About us */

.box {
  color: var(--color-white);
  width: 100%;
  min-height: 612.27px;
  overflow: hidden;
}

.box img {
  width: 100%; /* 🔥 important */
  height: 100%; /* 🔥 important */
  object-fit: cover; /* 🔥 THIS is the magic */
  object-position: center; /* 🔥 keeps it centered */
}

.box-red {
  padding: 5rem;
  background-color: var(--color-red);
}

.box-brown {
  padding: 5rem;
  background-color: var(--card-brown);
}

.box-navy {
  padding: 5rem;
  background-color: var(--card-navy);
}

.box-text-position {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  gap: 1.2rem;
}

/*Stations of the Cross*/
.parallax {
  position: relative;
  min-height: clamp(28rem, 65vh, 42rem);
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.pimg1,
.pimg2 {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.pimg1 {
  background:
    linear-gradient(rgba(18, 14, 11, 0.48), rgba(18, 14, 11, 0.62)),
    url("../IMAGES/stations_reduced.jpg");
}

.pimg2 {
  background:
    linear-gradient(rgba(18, 14, 11, 0.48), rgba(18, 14, 11, 0.62)),
    url("../IMAGES/Church_cross.jpg");
}

.ptext {
  position: relative;
  z-index: 1;
  width: min(90%, 52rem);
  text-align: center;
  color: var(--color-white);
  padding: 2rem;
}

.parallax-eyebrow {
  font-family: var(--ff-secondary);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0.85rem;
}

.parallax-title {
  color: var(--color-white);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.stations_body_text {
  font-family: var(--ff-secondary);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
  max-width: 38rem;
  margin: 0 auto 1.75rem;
  color: rgba(255, 255, 255, 0.92);
}

.parallax-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 15rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  color: var(--color-white);
  text-decoration: none;
  font-family: var(--ff-secondary);
  font-size: 0.8rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.parallax-button:hover,
.parallax-button:focus-visible {
  background-color: var(--clr-accent-400);
  border-color: var(--clr-accent-400);
  transform: translateY(-1px);
}

.line-height-wide {
  line-height: var(--line-height-wide);
}

/* WORSHIP */

.worship-page .box {
  min-height: auto;
  overflow: visible;
  color: inherit;
}

.worship-page .site-footer {
  margin-top: clamp(5rem, 10vw, 8rem);
}

.hero-banner {
  position: relative;
  width: 100%;
  min-height: clamp(400px, 60vh, 700px);
  overflow: hidden;
}

.hero-banner__image {
  position: absolute;
  inset: 0;

  background-image: url("/IMAGES/Church_cross.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  z-index: 1;
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.hero-banner__content {
  position: relative;
  z-index: 3;

  height: 100%;
  max-width: 700px;

  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  color: white;
}

@media (hover: none) and (pointer: coarse) {
  .parallax {
    min-height: 30rem;
  }

  .pimg1,
  .pimg2 {
    background-attachment: scroll;
    background-position: center 38%;
  }
}

/*small screens*/
@media (max-width: 59em) {
  .even-columns {
    grid-template-columns: 1fr;
  }

  .box {
    min-height: 360px;
  }

  .box-red,
  .box-brown,
  .box-navy {
    padding: var(--padding-md);
  }

  .parallax {
    min-height: 32rem;
  }

  .pimg1,
  .pimg2 {
    background-attachment: scroll;
  }

  .ptext {
    width: min(100%, 30rem);
    padding: 1.5rem;
  }

  .parallax-title {
    font-size: clamp(1.9rem, 8vw, 3rem);
  }

  .stations_body_text {
    font-size: 1rem;
    max-width: 28rem;
  }

  .parallax-button {
    width: 100%;
    min-width: 0;
  }

  .primary-navigation {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 7rem 2rem 3rem;
    background:
      linear-gradient(rgba(24, 17, 12, 0.72), rgba(24, 17, 12, 0.86)),
      url("../IMAGES/hero_outside.jpg") center / cover no-repeat;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 220ms ease,
      visibility 220ms ease;
    z-index: 10000;
  }

  .nav-list {
    display: grid;
    gap: clamp(1.25rem, 3vw, 2rem);
    text-align: center;
    justify-items: center;
  }

  .nav-list a {
    color: var(--clr-neutral-100);
    font-family: var(--ff-primary);
    font-size: clamp(1.5rem, 4vw, 2.4rem);
    line-height: 1.1;
    letter-spacing: 0.02em;
  }

  .nav-list a:hover,
  .nav-list a:focus {
    color: var(--clr-accent-300);
  }

  .primary-navigation[data-visible] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .primary-header {
    padding-block: 1.35rem 1rem;
  }

  .mobile-nav-toggle {
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    width: 3.55rem;
    height: 3.55rem;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 0;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 26px rgba(8, 12, 20, 0.12);
  }

  .mobile-nav-toggle__icon {
    position: relative;
    width: 1.35rem;
    height: 1.05rem;
  }

  .mobile-nav-toggle__icon span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    transform-origin: center;
    transition:
      transform 220ms ease,
      opacity 220ms ease,
      top 220ms ease;
  }

  .mobile-nav-toggle__icon span:nth-child(1) {
    top: 0;
  }

  .mobile-nav-toggle__icon span:nth-child(2) {
    top: calc(50% - 1px);
  }

  .mobile-nav-toggle__icon span:nth-child(3) {
    top: calc(100% - 2px);
  }

  .mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle__icon span:nth-child(1) {
    top: calc(50% - 1px);
    transform: rotate(45deg);
  }

  .mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle__icon span:nth-child(2) {
    opacity: 0;
  }

  .mobile-nav-toggle[aria-expanded="true"] .mobile-nav-toggle__icon span:nth-child(3) {
    top: calc(50% - 1px);
    transform: rotate(-45deg);
  }

  .mobile-nav-cta {
    display: block;
    margin-top: 1rem;
  }

  .mobile-nav-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 12rem;
    padding: 0.9rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-family: var(--ff-secondary);
    font-size: 0.95rem;
    font-weight: var(--fw-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .hero-text-placeholder {
    margin-top: 1rem;
  }

  .hero-text {
    font-size: clamp(2rem, 5vw, 4.5rem);
  }

  .home-page .hero_image {
    object-position: 90% center;
  }

  .contact-page .hero_image,
  .worship-page .hero_image {
    object-position: center;
  }

  .hero-sub-text {
    color: var(--color-white);
    text-align: center;
    margin-top: clamp(0.5rem, 2vw, 1.5rem);
    font-size: clamp(0.88rem, 1.5vw, 1.05rem);
    max-width: 42ch;
    padding-inline: 1.5rem;
  }

  .hero-sub-divider {
    display: none;
  }

  .hero-sub-break {
    display: block;
    height: 0;
  }

  .service-times-heading {
    text-align: center;
    margin: 1em 0 0 0;
  }

  .worship-page .line-height-wide {
    line-height: 1.8;
  }

  .worship-page .text-md,
  .worship-page h3 {
    line-height: 1.7;
  }

  .worship-page h3 {
    font-size: clamp(1rem, 3.6vw, 1.2rem);
  }

  .service-times {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .info-cards__container {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    overflow: visible;
  }

  .info-cards {
    width: 90%;
    max-width: 420px;
    height: auto;
    margin-bottom: 2rem;
    background-color: var(--card-alabaster);
    box-shadow:
      2px 10px 20px rgba(15, 23, 42, 0.05),
      4px 18px 34px rgba(15, 23, 42, 0.07);
  }
}

/* end of media query */

/* mobile menu */
.mobile-nav-toggle {
  cursor: pointer;
}

.mobile-nav-toggle .icon-close {
  display: none;
}

body.nav-open {
  overflow: hidden;
}

.site-footer {
  background:
    linear-gradient(135deg, rgba(23, 22, 20, 0.96), rgba(47, 33, 24, 0.94)),
    url("../IMAGES/full_church_.jpg") center / cover no-repeat;
  color: var(--color-white);
  padding: clamp(3rem, 6vw, 5rem) 0;
  margin-top: auto;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.site-footer__brand {
  display: flex;
  align-items: flex-start;
}

.site-footer__logo img {
  width: min(220px, 100%);
  height: auto;
}

.site-footer__heading,
.site-footer__title {
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.site-footer__heading {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.site-footer__title {
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1.15;
}

.site-footer__details p,
.site-footer__text,
.site-footer__links a,
.site-footer__eyebrow {
  font-family: var(--ff-secondary);
  color: rgba(255, 255, 255, 0.85);
}

.site-footer__details p {
  margin-bottom: 0.35rem;
}

.site-footer__links {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.site-footer__links a {
  text-decoration: none;
  width: fit-content;
  transition: color 0.2s ease;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: var(--clr-accent-100);
}

.site-footer__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  margin-bottom: 0.75rem;
}

.site-footer__text {
  max-width: 28ch;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.site-footer__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.95rem 1.5rem;
  background-color: var(--clr-accent-400);
  color: var(--color-white);
  font-family: var(--ff-secondary);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.site-footer__button:hover,
.site-footer__button:focus-visible {
  background-color: var(--clr-accent-100);
  transform: translateY(-1px);
}

/* CONTACT US */
.contact-page .hero {
  min-height: clamp(20rem, 42vh, 28rem);
}

.contact-page .contact-section--info {
  margin-top: clamp(3.5rem, 8vw, 6rem);
}

.contact-section {
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}

.contact-page .contact-section + .contact-section {
  margin-top: clamp(4rem, 8vw, 7rem);
}

.contact-copy {
  max-width: 34rem;
}

.contact-copy--info {
  max-width: none;
}

.contact-copy p {
  font-family: var(--ff-secondary);
  font-size: clamp(1rem, 1.6vw, 1.08rem);
  line-height: 1.8;
  color: rgba(17, 24, 39, 0.82);
}

.contact-map-button {
  display: inline-flex;
}

.contact-inline-link {
  color: var(--clr-primary-400);
  font-weight: var(--fw-bold);
  text-decoration: none;
  border-bottom: 1px solid rgba(44, 58, 99, 0.2);
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.contact-inline-link:hover,
.contact-inline-link:focus-visible {
  color: var(--clr-accent-400);
  border-color: rgba(230, 129, 69, 0.45);
}

.who-section {
  display: grid;
  gap: 1rem;
}

.who-card {
  padding: 1.1rem 0 1.2rem;
  border-bottom: 1px solid rgba(44, 58, 99, 0.12);
}

.who-role {
  margin-bottom: 0.45rem;
  font-family: var(--ff-secondary);
  font-size: 0.76rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(44, 58, 99, 0.58);
}

.who-name {
  margin-bottom: 0.18rem;
  font-family: var(--ff-primary);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.35;
  color: var(--clr-primary-400);
}

.who-meta {
  margin-top: 0.25rem;
  font-family: var(--ff-secondary);
  font-size: 0.92rem;
  color: rgba(17, 24, 39, 0.68);
}

.contact-info-card {
  margin: 1.5rem 0 1.75rem;
}

.contact-detail-line {
  margin-top: 1.5rem;
  font-family: var(--ff-secondary);
  font-size: 1rem;
  font-weight: var(--fw-bold);
  color: rgba(17, 24, 39, 0.82);
}

.contact-form-shell {
  width: 100%;
}

.contact-form-intro {
  margin-bottom: 1.25rem;
  font-family: var(--ff-secondary);
  font-size: clamp(1rem, 1.6vw, 1.08rem);
  line-height: 1.8;
  color: rgba(17, 24, 39, 0.82);
}

.form-status {
  display: none;
  margin-bottom: 1rem;
  padding: 0.95rem 1.1rem;
  border-radius: 1rem;
  font-family: var(--ff-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: rgba(27, 94, 32, 0.1);
  border: 1px solid rgba(27, 94, 32, 0.18);
  color: #1b5e20;
}

.form-status.is-error {
  background: rgba(183, 28, 28, 0.08);
  border: 1px solid rgba(183, 28, 28, 0.16);
  color: #8f1d1d;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 1.75rem;
  background: linear-gradient(
    180deg,
    rgba(12, 33, 45, 0.98),
    rgba(10, 26, 36, 0.98)
  );
  box-shadow:
    0 18px 40px rgba(9, 21, 31, 0.12),
    0 6px 14px rgba(9, 21, 31, 0.08);
}

.form-label {
  font-family: var(--ff-secondary);
  font-size: 0.78rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.form-input,
.form-text-area {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-white);
  font-family: var(--ff-secondary);
  font-size: 1rem;
  line-height: 1.6;
  padding: 1rem 1.1rem;
  outline: none;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-input::placeholder,
.form-text-area::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.form-input:focus,
.form-text-area:focus {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

.form-text-area {
  min-height: 10rem;
  resize: vertical;
}

.contact-submit {
  justify-self: start;
  margin-top: 0.5rem;
}

.contact-page .site-footer {
  margin-top: clamp(5rem, 10vw, 8rem);
}

.sticky-titles {
  grid-column: 1/2;
  text-align: center;
  align-self: start;
  position: sticky;
  top: 8.5rem;
  display: block;
  font-family: var(--ff-primary);
  font-size: 3rem;
}

@media (max-width: 59em) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-footer__brand,
  .site-footer__details,
  .site-footer__cta {
    text-align: left;
  }

  .site-footer__logo img {
    width: 180px;
  }

  .site-footer__text {
    max-width: none;
  }

  .contact-form {
    border-radius: 1.4rem;
  }

  .contact-submit {
    width: 100%;
    justify-content: center;
  }

  .sticky-titles {
    position: static;
    top: auto;
  }

  .contact-page .contact-section--info,
  .contact-page .contact-section + .contact-section,
  .contact-page .site-footer {
    margin-top: clamp(3rem, 7vw, 4.5rem);
  }
}

/* Utility Classes*/
.visually-hidden,
.visually-hidden-focusable:not(:focus, :focus-within) {
  border: 0 !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  width: 1px !important;
  white-space: nowrap !important;
}

.visually-hidden:not(caption),
.visually-hidden-focusable:not(caption):not(:focus, :focus-within) {
  position: absolute !important;
}

.visually-hidden *,
.visually-hidden-focusable:not(:focus, :focus-within) * {
  overflow: hidden !important;
}

.text-primary-400 {
  color: var(--clr-primary-400);
}
.text-accent-400 {
  color: var(--clr-accent-400);
}
.text-accent-100 {
  color: var(--clr-accent-100);
}
.text-neutral-100 {
  color: var(--clr-neutral-100);
}
.text-neutral-900 {
  color: var(--clr-neutral-900);
}
.bg-primary-400 {
  background-color: var(--clr-primary-400);
}
.bg-accent-400 {
  background-color: var(--clr-accent-400);
}
.bg-accent-100 {
  background-color: var(--clr-accent-100);
}
.bg-neutral-100 {
  background-color: var(--clr-neutral-100);
}
.bg-neutral-900 {
  background-color: var(--clr-neutral-900);
}
.fw-bold {
  font-weight: var(--fw-bold);
}
.fw-semi-bold {
  font-weight: var(--fw-semi-bold);
}
.fw-regular {
  font-weight: var(--fw-regular);
}
.fs-primary-heading {
  font-size: var(--fs-primary-heading);
  line-height: 1.1;
}
.fs-secondary-heading {
  font-size: var(--fs-secondary-heading);
}
.fs-300 {
  font-size: var(--fs-300);
}
.fs-400 {
  font-size: var(--fs-400);
}
.fs-500 {
  font-size: var(--fs-500);
}
.padding-block-900 {
  padding-block: var(--size-900);
}
.padding-block-700 {
  padding-block: var(--size-700);
}

.display-sm-none {
  display: none;
}

.bg-dark {
  background-color: var(--color-black-reduced);
}

.orange {
  color: var(--color-orange);
}
.bg-box-lavender {
  background-color: var(--card-alabaster);
}
.bg-box-honeydew {
  background-color: var(--card-honeydew);
}
.bg-box-yellow {
  background-color: var(--color-yellow);
  border: 3px solid;
}
.light-grey {
  background-color: var(--card-grey);
}
.sky-blue {
  background-color: var(--color-sky-blue);
}
.light-purple {
  background-color: var(--color-light-purple);
}
.light-green {
  background-color: var(--color-light-green);
}
.light-orange {
  background-color: var(--color-light-orange);
}
.light-yellow {
  background-color: var(--color-light-yellow);
}
.text-white {
  color: var(--color-white);
}
.colour-primary {
  color: var(--clr-primary-400);
}
.colour-secondary {
  font-weight: 700;
}
.light-brown {
  background-color: var(--card-brown-light);
}
/*BOX background colours*/
.bg-primary {
  background-color: var(--color-box-primary);
  color: #fff;
}
.bg-secondary {
  background-color: var(--color-box-secondary);
  color: #fff;
}
/*Text Styling*/
.text-primary {
  font-family: var(--ff-primary);
}

.text-secondary {
  font-family: var(--ff-secondary);
}

.text-center {
  text-align: center;
}
.text-xl {
  font-family: var(--ff-primary);
  font-size: var(--fs-header);
  margin-bottom: 20px;
}
.text-lg {
  font-size: var(--fs-text-lg);
  margin-bottom: 20px;
}
.text-md {
  font-family: var(--ff-primary);
  font-size: var(--fs-text-md);
  margin-bottom: 20px;
}
.text-sm {
  font-family: var(--ff-secondary);
  font-size: var(--font-size-fluid-0);
  text-align: center;
}

.service-times-link {
  display: block;
  width: fit-content;
  margin: 0 auto;
  text-decoration: none;
}

.service-times-link:hover,
.service-times-link:focus-visible {
  text-decoration: none;
}

.py-md {
  padding: var(--padding-md);
}
.py-lg {
  padding: var(--padding-lg);
}
.mg-top {
  margin-top: var(--mg-top);
}
.mg-top-100 {
  margin-top: var(--mg-top);
}

.mg-bottom {
  margin-bottom: var(--mg-btm-lg);
}

.mg-end {
  display: block;
  margin-top: auto;
}

.grid-headers-left {
  font-family: var(--ff-primary);
  font-size: var(--font-size-fluid-2);
  color: var(--clr-primary-400);
}

.main-title {
  font-family: var(--ff-primary);
  font-size: var(--font-size-fluid-3);
  color: var(--clr-primary-400);
}

@media (min-width: 59em) {
  .box-inverted {
    order: -1;
  }

  .display-md-inline-flex {
    display: inline-flex;
  }
}
