body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fff;
  color: #333;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 2em;
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header nav a {
  margin-left: 0.5em;
  color: #333;
  text-decoration: none;
}

section {
  scroll-margin-top: 4rem;
}

.title {
  font-family: penwellregular;
}

.cover {
  display: flex;
  position: relative;
  height: 78vh;
  background: url('../img/cover.jpg') center/cover no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

h3 {
  font-size: 2em;
  z-index: 1;
}

.cover-logo {
  max-width: 90%;
  margin-left: 5%;
}

.alt-bg-dark {
  background-color: #3b3b3b;
  color: #fff;
}

.alt-bg-light {
  background-color: #fff;
  color: #333;
}

.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 4em 2em;
  gap: 2em;
}

.service-card {
  flex: 1 1 250px;
  max-width: 450px;
  border: none;
  border-radius: 8px;
  padding: 1.5em;
}

.team {
  padding: 4em 2em;
  text-align: center;
}

.team-member {
  display: inline-block;
  margin: 1em;
  text-align: center;
}

.team-member img {
  border-radius: 50%;
  width: 120px;
  height: 120px;
}

.contact {
  padding: 4em 2em;
}

.contact form {
  max-width: 500px;
  margin: auto;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 1em;
  margin: 0.5em 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact button {
  padding: 1em 2em;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 5px;
}

.med {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-logo {
  opacity: 0;
  transition: opacity 0.5s ease;
  height: 40px;
}

.site-logo.visible {
  opacity: 1;
}

#carousel {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

/* .carousel-image {
    max-height: 85vh;
}
 */


 .swiper {
  height: 85vh; /* or any height you want the carousel to take */
  display: flex;
  align-items: center;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.carousel-image {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain; /* ensures the image fits without being cropped */
}