
:root {
  --primary: rgb(140, 184, 199, .8);
  --background: #f9f9f7;
  --dark: #2f2f2f;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  background: var(--background);
  color: #333;
}

p {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  padding-top: 19px;
  padding-left: 19px;
  padding-right: 19px;
}

h1, h2 {
  font-family: 'Lora', serif;
  font-weight: 400;
}

h3, h4 {font-family: 'Lato', sans-serif;
  font-weight: 300;
}

.centered {
  align-items: center;
  text-align: center;
}
/* .nav {
  position: fixed;
  width: 100%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #ddd;
  z-index: 10;
} */

.nav {
  background: #f5f7f8;
  padding: 1rem;
  position: relative;
  z-index: 2000;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.menu-toggle {
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  width: 30px;
  height: 22px;
  justify-content: space-between;
  flex-direction: column;
}

.menu-toggle span {
  height: 3px;
  width: 100%;
  background: #333;
  border-radius: 2px;
}

.nav-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links a {
  /* margin-left: 2rem; */
  text-decoration: none;
  color: #666;
  /* letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  align-items: right; */
}

.logo {
  font-family: serif;
  font-size: 1.4rem;
  color: rgb(111, 193, 220);
  font-weight: 600;
  letter-spacing: .1em;
}

.logo-image img {
  width: 120px;
  height: auto;
  padding-bottom: 40px;
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* opacity: .6; */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), var(--background));
}

.hero-content {
  position: relative;
  max-width: 700px;
  padding: 2rem;
}

.hero h1 {
  font-family: 'Lora', serif;
  font-weight: 400;
  font-size: 2.5rem;
  margin-bottom: 4rem;
}

.primary-btn {
  background: rgb(111, 193, 220);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
}

.hero-btn {
  margin-top: 5rem;
}

.section {
  padding: 6rem 2rem;
}

.light {
  background: #eef0ec;
}

.dark {
  background: var(--primary);
  color: white;
  font-weight: 400;
}

.two-column {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
  grid-template-columns: auto 1fr;
  gap: 6rem;
  align-items: center;
  padding-left: 7rem;
}

.text-wrap {
  max-width: 520px;
}

.text-wrap h2 {
  padding-left: 19px;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.text-wrap p {
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.image-wrap {
  position: relative;
  display: inline-block;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 4px;
  margin: 0;
  border-radius: 20px;
  background: #e9e9e9;
}

.image-wrap img {
  max-width: 300px;
  max-height: 360px;
  width: auto;
  height: auto;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  /*margin: 0 auto;*/
  /* background: #fff; */
  box-shadow: 0 10px 25px gray;
  transition: transform 0.3s ease;
}

.card-grid {
  max-width: 900px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, 400px);
  /* grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); */
  /* grid-template-columns: repeat(2, 1fr); */
  gap: 2rem;
  justify-items: center;
  padding-left: 20px;
}

.divider {
  color: blue;
}

/* .card-grid .card:last-child {
  grid-column: 1 / -1;
} */

.card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
}

.card h3 {
  font-family: "Lora", serif;
  font-weight: 500;
  margin-bottom: .5rem;
}

.card p {
  font-family: "Lato", sans-serif;
  font-size: .9rem;
  color: #666;
}

.icon {
  width: 88px;
  height: 88px;
  background: #f3f3f3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.icon img {
  width: 150px;
  height: auto;
}

.contact-icon img {
  width: 29px;
  height: auto;

}
.contact-text p {
padding-left: 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: none;
}

.footer {
  background: #222;
  color: #aaa;
  text-align: center;
  padding: 2rem;
}

/* Simple animations */
.fade-up {
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

#about {
  background: transparent !important;
}

@media (max-width:768px) {
  .menu-toggle {
    display: flex;
  }

  .two-column {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    padding-left: 0;
    }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 1rem;
    background-color: #ffffff;
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
    z-index: 2100;
  }

  #nav-toggle:checked + .menu-toggle + .nav-links {
    display: flex;
  }
  /* .nav-links.show {
    display: flex;
  } */
}