body {
  /* background-color: #f5eee7; */
  font-family: "Familjen Grotesk", sans-serif;
  padding-bottom: 80px;
}

a,
.nav-link {
  color: #000;
  font-weight: 500;
  letter-spacing: 0.5px;
}

a {
  text-decoration: none;
}

a:hover {
  color: #000;
}

.nav-link:hover {
  color: #b64432;
}

p {
  font-size: 15px;
  line-height: 25px;
  color: #515152;
  font-weight: 400;
}

.about p {
  margin-top: 20px;
}

.about .aboutimg {
  width: 500px; 
  margin-right: 20px;
}

h3 {
  font-size: 18px;
  line-height: 28px;
  color: #646464;
  margin-top: 20px;
  font-weight: 500;
}

.page-title {
  font-size: 22px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0em;
  text-align: left;
  color: #b64432;
  display: block;
  padding-bottom: 25px;
  border-bottom: 1px solid #959595;
  margin-bottom: 35px;
}

.navbar {
  padding: 40px 0px;
}

.certificate-sec > div {
  display: inline-grid;
  flex: 1 1 auto;
  justify-content: center;
}

.certificate-sec p {
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0em;
  text-align: left;
  color: #646464;
}

.certificate-sec a {
  margin-bottom: 80px;
}

.navbar .nav-item {
  margin-right: 12px;
}

.navbar .nav-item:last-of-type {
  margin-right: 0;
}

.navbar-brand {
  letter-spacing: 1px;
}

.modal-content {
  background-color: transparent;
  border-radius: 0;
  border: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 0 1rem;
  border-bottom: 0;
}

.modal-body {
  flex: 1;
  overflow: hidden;
  padding: 4rem;
  padding-top: 1rem;
}

.modal-dialog {
  height: calc(100% - 68%);
  width: 100%;
  max-width: 800px;
}

.modal.fade.show {
  display: flex !important;
  align-items: center;
}

.carousel-control-next {
  right: -100px;
}

.carousel-control-prev {
  left: -100px;
}

.carousel-control-next,
.carousel-control-prev,
.carousel-control-next:focus,
.carousel-control-next:hover,
.carousel-control-prev:focus,
.carousel-control-prev:hover {
  opacity: 1;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.btn-close {
  color: #fff;
  background: none;
  opacity: 1;
  font-size: 30px;
}

.btn-close:hover {
  color: #fff;
}

.carousel,
.carousel-inner,
.carousel-item {
  height: 100%;
}

.modal-fullheight {
  /* height: 92vh; 
  max-height: 92vh; */
}

.bgimg {
  background-image: url(../../photos/image1.jpeg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 100%;
  width: 100%;
}

footer {
  border-top: 1px solid #afafaf;
  padding: 25px 0;
  margin-top: 50px;
}

.navbar-light .navbar-toggler {
  border: 0;
}

.navbar-light .navbar-toggler:focus {
  box-shadow: none;
}

.navbar-light .navbar-nav .nav-link.active {
  color: #b64432;
}

#gallery img,
#gallery .galleryimg {
  margin-bottom: 20px;
  cursor: pointer;
}

.carousel-item img {
  -o-object-fit: cover;
  object-fit: cover;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: #b64432;
}

.certificate-sec a:hover > h3 {
  color: #000;
}

.copyright {
  color: #3E3E3E;
}

* {
  transition: 0.3s;
}

#gallery.custom {
  padding: 0 15px;
}
#gallery.custom img {
  display: block;
  margin: 15px 0;
  border-radius: 300px 30px 300px 300px;
}
#gallery.custom img:hover {
  border-radius: 30px 90px 30px 30px;
}

#exampleModal.custom .modal-content {
  background: none;
  border: none;
}
#exampleModal.custom .modal-header {
  border: none;
}
#exampleModal.custom .modal-header button {
  background: none;
  border-radius: 100px 100px 0 0;
  padding: 5px 10px;
  opacity: 1;
  position: relative;
  top: 3px;
  border: solid 2px white;
}
@media (min-width: 992px) {
  #exampleModal.custom .modal-header button {
    top: 15px;
  }
}
#exampleModal.custom .modal-header button:hover {
  top: 3px;
}
#exampleModal.custom .modal-header span {
  color: white;
}
#exampleModal.custom .modal-body {
  padding: 0;
  border: none;
  position: relative;
}
#exampleModal.custom .modal-body::before,
#exampleModal.custom .modal-body::after {
  content: "";
  height: 50px;
  width: 50px;
  display: block;
  position: absolute;
  background: white;
  border-radius: 3px 10px;
}
@media (min-width: 768px) {
  #exampleModal.custom .modal-body::before,
  #exampleModal.custom .modal-body::after {
    border-radius: 3px 30px;
    height: 100px;
    width: 100px;
  }
}
#exampleModal.custom .modal-body::before {
  top: -5px;
  left: -5px;
}
@media (min-width: 768px) {
  #exampleModal.custom .modal-body::before {
    top: -15px;
    left: -15px;
  }
}
#exampleModal.custom .modal-body::after {
  bottom: -5px;
  right: -5px;
  z-index: -1;
}
@media (min-width: 768px) {
  #exampleModal.custom .modal-body::after {
    bottom: -15px;
    right: -15px;
  }
}
#exampleModal.custom .modal-footer {
  border: none;
  margin-top: 60px;
}
@media (min-width: 992px) {
  #exampleModal.custom .modal-footer {
    margin-top: 40px;
  }
}
#exampleModal.custom .modal-footer .btn {
  margin: auto;
  border: solid 2px white;
  background: none;
  text-transform: uppercase;
  font-size: 0.8em;
  letter-spacing: 0.1em;
  font-weight: bold;
  padding: 0.2em 0.7em;
}
#exampleModal.custom .modal-footer .btn:hover {
  background: white;
  color: black;
}
#exampleModal.custom .carousel-control-prev,
#exampleModal.custom .carousel-control-next {
  font-size: 2em;
  top: auto;
  opacity: 1;
  bottom: -52px;
}
@media (min-width: 768px) {
  #exampleModal.custom .carousel-control-prev,
  #exampleModal.custom .carousel-control-next {
    top: 0;
    opacity: 0.5;
    bottom: 0;
  }
}
#exampleModal.custom .carousel-control-next-icon,
#exampleModal.custom .carousel-control-prev-icon {
  height: 30px;
  width: 30px;
}
@media (min-width: 768px) {
  #exampleModal.custom .carousel-control-prev {
    left: -90px;
  }
}
@media (min-width: 768px) {
  #exampleModal.custom .carousel-control-next {
    right: -90px;
  }
}
#exampleModal.custom .carousel-indicators {
  bottom: -60px;
}
@media (min-width: 992px) {
  #exampleModal.custom .carousel-indicators {
    bottom: -30px;
  }
}
#exampleModal.custom .carousel-indicators li {
  height: 30px;
  border-radius: 100px;
  background: none;
  border: solid 2px white;
}
@media (min-width: 992px) {
  #exampleModal.custom .carousel-indicators li {
    height: 10px;
  }
}
#exampleModal.custom .carousel-indicators li:hover {
  background: white;
}
#exampleModal.custom .carousel-indicators li.active {
  background: white;
}

.galleryimg {
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  /* height: 100%; */
  aspect-ratio: 4/3;
}

.galleryimg.gimg1 {
  background-image: url(../../photos/image-1.jpg);
}

.galleryimg.gimg2 {
  background-image: url(../../photos/image-2.jpg);
}

.galleryimg.gimg3 {
  background-image: url(../../photos/image-3.jpg);
}

.galleryimg.gimg4 {
  background-image: url(../../photos/image-4.jpg);
}

.galleryimg.gimg5 {
  background-image: url(../../photos/image-5.jpg);
}

.galleryimg.gimg6 {
  background-image: url(../../photos/image-6.jpg);
}

.galleryimg.gimg7 {
  background-image: url(../../photos/image-7.jpg);
}

.galleryimg.gimg8 {
  background-image: url(../../photos/image-8.jpg);
}

.galleryimg.gimg9 {
  background-image: url(../../photos/image-9.jpg);
}

.galleryimg.gimg10 {
  background-image: url(../../photos/image-10.jpg);
}

.card {
  border-radius: 12px;
}

.card-footer {
  background-color: #151515;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  border-bottom-left-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
  padding: 24px 28px;
}

.direction {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: end;
  text-transform: uppercase;
  display: none;
}

.direction a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 17px;
  border: 1px solid #f6f6f6;
  border-radius: 100px;
  transition: all 0.3s;
  height: 40px;
  width: 40px;
  margin-left: 10px;
}

.direction a img {
  margin-right: 0;
}

.contact h4 {
  font-size: 22px;
  margin-top: 0;
}

.contact {
  gap: 30px;
}

@media (min-width: 1200px) {
  .modal-content {
    height: 100%;
  }

  .modal-dialog {
    height: calc(100% - 170px);
  }
}

@media (min-width: 1600px) {
  .modal-lg {
    max-width: 1000px;
  }
  .modal-body {
    padding-left: 5rem;
    padding-right: 5rem;
  }

  .carousel-control-next {
    right: -130px;
  }

  .carousel-control-prev {
    left: -130px;
  }
}

@media (min-width: 1700px) {
  .modal-lg {
    max-width: 1200px;
  }
}

@media (min-width: 1400px) {
  .about .aboutimg {
    width: 600px;
  }
}

@media (min-width: 992px) {
  .modal-dialog {
    height: calc(100% - 8%);
  }
}

@media (max-width: 991px) {
  .about .aboutimg {
    width: 450px;
  }
}

@media (max-width: 991px) {
  .about .aboutimg {
    float: unset;
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }
}

@media (max-width: 1550px) {
  .card-footer {
    padding: 18px 15px;
  }
}