body {
  background-color: white;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

header {
  max-width: 1900px;
  margin: 0 auto;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
    url("..//src/images/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  padding: 200px 0;
  min-height: 100vh; /*cover full viewport height */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.navbar-colour {
  background: white;
}
.navbar {
  max-height: 90px;
  padding: 20px;
}

.navbar a:hover {
  color: #f15d22;
}

.logo {
  max-width: 110px;
  padding: 5px;
}

header h1 {
  color: whitesmoke;
  text-align: center;
  font-size: 97px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 30px 0px;
  margin: 0;
  letter-spacing: 4px;
}

header h3 {
  text-align: center;
  color: whitesmoke;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.5;
  font-size: 17px;
  letter-spacing: 5px;
  margin: 0;
}

header p {
  color: white;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 900;
  line-height: 1.5;
  font-size: 34px;
  margin: 0;
  letter-spacing: 4px;
}

header a {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  color: #272044;
  background: white;
  padding: 8px 18px;
  letter-spacing: 3px;
  text-decoration: none;
  text-transform: uppercase;
  margin-top: 22px;
  display: inline-block;
  border: double black;
}

.firstbtn {
  background-color: whitesmoke;
}

main {
  background-color: white;
}
main h2 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 5px;
  opacity: 0.3;
  color: #272044;
  text-transform: uppercase;
  margin: 0;
}

main h3 {
  font-size: 35px;
  font-weight: 700;
  line-height: 1.2;
  color: #272044;
  margin: 0;
}

main p {
  font-size: 14.5px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  color: #272044;
  opacity: 0.7;
  font-family: Geneva, Tahoma, sans-serif;
}

.testimonials {
  background-color: white;
  text-align: center;
}

.testimonials h2 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 3px;
  opacity: 0.3;
  color: #272044;
  text-transform: uppercase;
  margin: 0 0 10px 0;
}

.testimonials h3 {
  color: #272044;
  font-size: 35px;
  font-weight: 700;
  margin: 0;
}

.testimonial-carousel {
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  background-color: #272044;
  padding: 40px;
  border-radius: 8px;
  box-sizing: border-box;
}

.testimonial-card p {
  font-size: 16px;
  font-style: italic;
  color: white;
  opacity: 0.9;
  font-family: Geneva, Tahoma, sans-serif;
  margin-bottom: 20px;
}

.testimonial-card h5 {
  font-size: 14px;
  font-weight: 700;
  color: #f15d22;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}

.testimonial-dots {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #272044;
  opacity: 0.2;
  cursor: pointer;
  display: inline-block;
  transition: opacity 0.3s;
}

.dot.active {
  opacity: 1;
  background-color: #f15d22;
}

footer {
  color: white;
  background-image:
    linear-gradient(rgba(39, 32, 68, 0.7), rgba(39, 32, 68, 0.7)),
    url("..//src/images/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

footer h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  font-family: Geneva, Tahoma, sans-serif;
}

footer a {
  color: white;
}

section {
  margin: 0 auto;
  padding: 100px;
}

footer p {
  font-weight: 400;
  line-height: 18px;
  opacity: 0.8;
  font-family: Geneva, Tahoma, sans-serif;
}

footer li {
  list-style: none;
  color: white;
  opacity: 0.6;
  margin: 0;
  padding: 0;
}

footer ul {
  padding: 0;
  color: white;
}

.card {
  background-color: white;
  padding: 30px;
}

.neighbourhoods {
  background-color: #272044;
}

.neighbourhoods h2 {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 3px;
  text-align: center;
  opacity: 0.3;
  color: white;
}

.neighbourhoods h3 {
  color: white;
  font-size: 35px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  margin-bottom: 30px 0px;
}

.card h4 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: #272044;
  margin: 0;
  text-align: center;
  padding-top: 20px;
}
.card p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  font-family: Geneva, Tahoma, sans-serif;
  margin-bottom: 10px;
}
.card h5 {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  padding-top: 5px;
}
.card small {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  opacity: 0.7;
  padding-top: 10px;er
}

.card-footer {
  padding: 30px 30px 30px;
}

.cardbtn {
  display: block;
  color: white;
  font-weight: 700;
  font-size: 14px;
  line-height: 21px;
  text-decoration: none;
  text-align: center;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 16px;
  background-color: #272044;
}
.img-responsive {
  width: 100%;
  display: block;
}

.card-header.grid {
  grid-gap: 0;
}

.grid-twocolumn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 64px;
  align-items: stretch;
}

.grid-twocolumn img {
  height: 100%;
  object-fit: cover;
}

.grid-threecolumn {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 64px;
  align-items: stretch;
}

.footergrid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  grid-gap: 60px;
  font-family: Geneva, Tahoma, sans-serif;
}

.contact-section {
  background-color: #f8f8f8;
  padding: 100px;
  text-align: center;
}

.contact-section h2 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 3px;
  opacity: 0.3;
  color: #272044;
  text-transform: uppercase;
  margin: 0 0 10px 0;
}

.contact-section h3 {
  color: #272044;
  font-size: 35px;
  font-weight: 700;
  margin: 0 0 20px 0;
}

.contact-section p {
  color: #272044;
  opacity: 0.7;
  font-size: 16px;
  margin-bottom: 40px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  color: #272044;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #462cb2;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  display: block;
  width: 100%;
  color: white;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  text-align: center;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 16px;
  background-color: #272044;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #372199;
}

.footer {
  background-color: #e0e0e0;
  text-align: center;
  font-family: Geneva, Tahoma, sans-serif;
  padding: 15px;
}

.footer-photo img {
  max-width: 200px;
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center 50%;
  border-radius: 8px;
  display: block;
}

#about {
  scroll-margin-top: 100px;
}

/* R  E  S  P  O  N  S  I  V  E  N  E  S  S  */

@media (min-width: 961px) and (max-width: 1200px) {
  .card h4 {
    font-size: 16px;
  }
}

@media (max-width: 960px) {
  header {
    padding: 60px 0;
    background-position: 30% center;
    min-height: 100svh;
    background-attachment: scroll;
  }

  header h1 {
    font-size: 28px;
  }
  header h3 {
    font-size: 8px;
  }
  header p {
    font-size: 15px;
    letter-spacing: 1px;
  }

  header a {
    font-size: 10px;
    line-height: 1;
    padding: 4px 8px;
  }

  .nav-link {
    padding: 1px 0 !important;
    color: #f15d22 !important;
    line-height: 0.8 !important;
  }

  .navbar-toggler {
  padding: 2px 2px;
  margin-top: -3px;
}
  .navbar {
  min-height: unset;
}

  .logo {
    max-height: 70px;
    width: auto;
  }

  main h3 {
    font-size: 27px;
  }

  main p {
    font-size: 14px;

  }

  .neighbourhoods h3 {
    font-size: 27px;
  }

  section {
    padding: 30px;
  }

  .grid-twocolumn {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 32px;
    align-items: start;
  }

  .grid-threecolumn {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 32px;
    align-items: start;
  }

  .testimonials h3 {
  color: #272044;
  font-size: 27px;
  font-weight: 700;
  margin: 0;
}

  .footergrid {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 32px;
  }

  .footer-photo img {
    max-width: 200px;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
  }

  /* .card-header img { // Put this back in if I want to hide the 3x card images
    display: none;
  } */
  .embed {
    aspect-ratio: 16/9;
  }

  .contact-section {
    padding: 30px;
  }

  .contact-section h3 {
    font-size: 27px;
  }

  .contact-form {
    padding: 25px;
  }

  .footer p {
    text-align: center;
    font-size: 12px;
    padding-bottom: 5px;
  }

  .footergrid p {
    text-align: justify;
    text-align: stretch;
  }

}
