@import url("https://fonts.googleapis.com/css2?family=Allura&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #901681;
  --secondary-color: #0c0f0a;
  --white-color: #ffffff;
  --gray-color: #333333;
}

.client-login {
  text-decoration: none;
  position: fixed;
  bottom: 50px;
  left: 90%;
  z-index: 999;
  transition: all 0.5s;
  background-color: var(--primary-color);
  border-radius: 10px;
  -webkit-animation: bounce-right 3s 5s infinite forwards;
  animation: bounce-right 3s 5s infinite forwards;
}

.client-login img {
  width: 70px;
  height: 70px;
}

@-webkit-keyframes bounce-right {
  0% {
    -webkit-transform: translateX(48px);
    transform: translateX(48px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 1;
  }

  24% {
    opacity: 1;
  }

  40% {
    -webkit-transform: translateX(26px);
    transform: translateX(26px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  65% {
    -webkit-transform: translateX(13px);
    transform: translateX(13px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  82% {
    -webkit-transform: translateX(6.5px);
    transform: translateX(6.5px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  93% {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  25%,
  55%,
  75%,
  87%,
  98% {
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  100% {
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
    opacity: 1;
  }
}

@keyframes bounce-right {
  0% {
    -webkit-transform: translateX(48px);
    transform: translateX(48px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    opacity: 1;
  }

  24% {
    opacity: 1;
  }

  40% {
    -webkit-transform: translateX(26px);
    transform: translateX(26px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  65% {
    -webkit-transform: translateX(13px);
    transform: translateX(13px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  82% {
    -webkit-transform: translateX(6.5px);
    transform: translateX(6.5px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  93% {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

  25%,
  55%,
  75%,
  87%,
  98% {
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }

  100% {
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
    opacity: 1;
  }
}

@media screen and (max-width:1200px) {

  .phone .fa-phone,
  .email .fa-user,
  .hours .fa-clock {
    color: var(--primary-color);
    margin-right: 0px;
    font-size: 16px;
  }

  .call-left {
    border-right: 1px solid var(--primary-color) !important;
    border-bottom: 1px solid var(--secondary-color);
  }
}

@media screen and (max-width:786px) {
  .call-section {
    margin-bottom: -50px;
    padding: 50px 0px 0px 0px !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
  }

  .client-login {
    bottom: 50px;
    left: 85%;
  }

  .client-login img {
    width: 60px;
    height: 60px;
  }
}

@media screen and (max-width:500px) {


  .client-login {
    bottom: 20px;
    left: 80%;
  }

  .client-login img {
    width: 55px;
    height: 55px;
  }
}

/* navbar  */
.navbar-toggler {
  border-radius: 0px;
  background-color: var(--primary-color);
  padding: 10px 20px;
  border: 1px solid var(--white-color);
  color: #fff;
}

.top-bar {
  background-color: var(--primary-color);
  height: 10px;
  width: 100%;
}

.top-navbar {
  padding: 10px 0;
}

.top-navbar-items {
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.client {
  padding: 5px 0px;
  margin: 10px 0px;
}

.client a {
  background-color: var(--primary-color);
  font-weight: 600;
  padding: 13px 10px;
  border-radius: 5px;
  color: var(--white-color);
  text-decoration: none;
  font-size: 18px;
}

.phone,
.email,
.hours {
  padding: 6px 0;
}

.phone a,
.email a,
.hours a {
  color: var(--white-color);
  text-decoration: none;
  font-size: 16px;
}

.phone .fa-phone,
.email .fa-user,
.hours .fa-clock {
  color: var(--primary-color);
  margin-right: 5px;
  font-size: 20px;
}

.logo {
  font-size: 30px;
  text-align: center;
  font-weight: 700;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}

.logo span:nth-child(1) {
  color: var(--primary-color);
}

.logo span:nth-child(2) {
  color: var(--primary-color);
}

.navbar {
  background-color: var(--secondary-color);
}

.sticky {
  position: sticky;
  top: 0;
  -webkit-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.75);
  z-index: 999;
}

.navbar-items .nav-item .nav-link {
  color: var(--white-color);
  font-weight: 400;
  padding: 13px;
  border-radius: 5px;
  font-size: 14px;
}

.navbar-items .nav-item .nav-link:hover {
  /* background-color: var(--primary-color); */
  border: 1px solid var(--white-color);
  color: var(--white-color);
}

.top-navbar {
  display: flex;
  justify-content: space-around;
  background-color: var(--secondary-color);
  align-items: center;
}

.navbar-brand {
  margin-left: 50px;
}

.top-logo {
  width: 150px;
  height: 70px;
}

.banner {
  height: 550px;
  padding: 60px;
  animation: bannerAnimation 12s infinite;
  background-size: cover;
  background-position: 0 0;
  box-shadow: inset 0 0 0 2000px rgba(44, 44, 44, 0.316);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

@keyframes bannerAnimation {

  0%,
  20% {
    background-image: url(../images/banner1.webp);
  }

  25%,
  45% {
    background-image: url(../images/banner2.webp);
  }

  50%,
  70% {
    background-image: url(../images/banner3.webp);
  }

  75%,
  95% {
    background-image: url(../images/banner4.webp);
  }
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.356);
}

.banner-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--white-color);
  max-width: 800px;
  position: relative;
  /* Ensure z-index works correctly */
  z-index: 1;
  /* Ensure content is above the overlay */
}

.myBtn {
  text-decoration: none;
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 15px 25px;
  font-weight: 500;
  letter-spacing: 1px;
}

.myBtn:hover {
  background-color: var(--secondary-color);
  /* color: var(--secondary-color); */

}

.progress-container {
  background-image:
    linear-gradient(45deg,
      rgba(144, 22, 130, 0.938),
      rgba(144, 22, 130, 0.952)), url(../images/candles.jpg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 550px;
  padding: 200px 0;
  background-position: 0px 32%;
  background-repeat: no-repeat;
  background-size: cover;
  align-items: center;
}

.progress-left {
  padding: 0px 50px;
}

.progress-left h2 {
  color: var(--white-color);
  font-size: 36px;
  font-weight: 700;
}

.progress-left p {
  color: var(--white-color);
  margin: 40px 0px;
  font-size: 16px;
}

/* progress bar  */

.skillbar {
  position: relative;
  display: block;
  margin-bottom: 15px;
  width: 100%;
  background: #eee;
  -webkit-transition: 0.4s linear;
  -moz-transition: 0.4s linear;
  -ms-transition: 0.4s linear;
  -o-transition: 0.4s linear;
  transition: 0.4s linear;
  -webkit-transition-property: width, background-color;
  -moz-transition-property: width, background-color;
  -ms-transition-property: width, background-color;
  -o-transition-property: width, background-color;
  transition-property: width, background-color;
}

.skillbar-title {

  font-weight: bold;
  font-size: 18px;
  color: #ffffff;
  background: transparent;

}

.skillbar-title span {
  display: block;
  line-height: 35px;
}

.skillbar-bar {
  height: 10px;
  width: 0px;
  background: var(--secondary-color);
}

.skill-bar-percent {
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-size: 16px;
  height: 35px;
  line-height: 35px;
  color: #adaaaa;
}


/* progress bar  */
.banner-btns {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
  justify-content: center;
}

.banner-btns .myBtn {
  margin: 5px 10px;
  text-transform: uppercase;
}

.obituaries-main-container {
  padding: 20px 0px;
  background-color: var(--primary-color);
}

.obituaries-heading {

  text-align: center;
  color: var(--white-color);
  margin: 40px 0px;
}

.obituaries {
  font-weight: 700;
  color: var(--white-color);
  margin: 30px 0px;
}

.services-heading {

  color: var(--primary-color);
  margin: 30px 0px;
}

.obituaries-container {
  position: relative;
}

.obituaries-image {
  display: block;
  width: 100%;
  height: 400px;
}

.obituaries-overlay {
  position: absolute;
  bottom: 0;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5);
  color: #f1f1f1;
  width: 100%;
  transition: 0.5s ease;
  opacity: 0;
  color: white;
  font-size: 20px;
  padding: 20px;
  text-align: center;
}

.obituaries-overlay p {
  font-size: 14px;
  color: rgb(207, 207, 207);
}

.obituaries-container:hover .obituaries-overlay {
  opacity: 1;
}

/* about  */
.about-heading {
  color: var(--primary-color);
  font-size: 18px;
  margin-bottom: 20px;
}

.about-img-container {
  position: relative;
}

.about-img {
  width: 70%;
  height: 400px;
}

.about-pos-img {
  position: absolute;
  width: 350px;
  height: 300px;
  bottom: 0;
  left: 50px;
  border: 10px solid var(--white-color);
}

.about-pos-img1 {
  position: absolute;
  width: 350px;
  height: 300px;
  bottom: 40%;
  left: 50px;
  border: 10px solid var(--white-color);
}

.services-main-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.service {
  display: flex;
  justify-content: center;
  height: 550px;
  background-position: 0 0;
  background-size: cover;
  background-repeat: no-repeat;
  align-items: flex-end;
  border-radius: 10px;
  margin: 15px 0px;
}

.service-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-gap: 10px;

}

.service a {
  padding: 60px 40px;
  background-color: var(--primary-color);
  color: var(--white-color);
  text-decoration: none;
  font-size: 25px;
  font-weight: 500;
  text-transform: uppercase;
}

.service:nth-child(1) {
  background: url(../images/services1.jpg) no-repeat center center / cover;
}

.service:nth-child(2) {
  background: url(../images/services2.jpg) no-repeat center center / cover;
}

.service:nth-child(3) {
  background: url(../images/services3.jpg) no-repeat center center / cover;
}

.contact-form {
  background-color: var(--white-color);
  padding: 20px;
  border: 1px solid rgb(220, 220, 220);
}

.input {
  border-radius: 0px;
}

.input:focus {
  /* outline: 2px solid var(--primary-color); */
  box-shadow: 0 0 5px 1px var(--primary-color);
}

.choose {
  color: var(--primary-color);
  font-size: 35px;
  font-weight: 600;
  line-height: 1.2em;
}

.choose-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 200px;
  position: relative;
  z-index: 2;
}

.overlay-choose {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.534);
  z-index: 1;
}

.btn-send {
  background-color: var(--primary-color);
  border-radius: 0px;
  color: var(--white-color);
  padding: 10px 0px;
}

.testimonial-section {
  background-color: var(--primary-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--white-color);
  padding: 40px 10px;
}

.testimonial-section h3 {
  font-size: 16px;
}

.testimonial-section h2 {
  font-size: 36px;
}


.testimonial-container {
  padding: 0px 130px;
}

.testimonial-heading {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
}

.testimonial-review {
  text-align: center;
  color: #535551;
}

.client-testimonial {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.testimonial-name {
  text-align: center;
  margin: 20px 0px;
  color: var(--primary-color);
}

.owl-theme {
  margin-top: 10px;
}

.owl-theme .owl-nav {
  display: none !important;
}

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel button.owl-dot {
  opacity: 0;
}

.item {
  padding: 0px 70px;
}

.client-img {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.client-img img {
  width: 70px !important;
  border-radius: 50%;
  height: 70px;

}

.stars {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.client-para {
  text-align: center;
}

.client-name {
  margin: 20px 0px;
  text-align: center;
}

.client-btn {
  border-radius: 0px 0px 0px 0px;
  padding: 10px 32px;
  background-color: var(--secondary-color);
  color: var(--white-color);
  text-decoration: none;
}

.footer {
  background-color: var(--secondary-color);
  padding: 90px 0px 10px 0px;
}

.footer-content h5 {
  color: var(--white-color);
}

.footer-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0px;
}

.footer-list li {
  margin: 5px 0px;

}

.footer-list li a {
  color: var(--white-color);
  text-decoration: none;
}

.footer-btn {
  color: #FFFFFF;
  background-color: var(--primary-color);
  border-radius: 0px 0px 0px 0px;
  padding: 18px 32px 18px 32px;
  text-decoration: none;
}

.facebook {
  background-color: var(--primary-color);
  padding: 6px 10px;
  border-radius: 50%;
  color: var(--white-color);
  font-size: 25px;
}


/* gallery  */


.trans {
  transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  -webkit-transition: all 1s ease;
}

.top {
  display: flex;
  width: 80vw;
  /* height: 80vh; */
  margin-top: 10vh;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10vh;
}

.top ul {
  list-style: none;
  width: 100%;
  height: 100%;
  z-index: 1;
  box-sizing: border-box;
}

.top ul li {
  position: relative;
  float: left;
  width: 25%;
  height: 25%;
  overflow: hidden;
}

.top ul li::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  content: '';
  color: white;
  opacity: 0.1;
  text-align: center;
  box-sizing: border-box;
  pointer-events: none;
  transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
}

.top ul li:hover::before {
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.90);
}

.top ul li img {
  width: 100%;
  height: auto;
  overflow: hidden;
  margin: 10px;
}

.lightbox {
  position: fixed;
  width: 100%;
  height: 100%;
  text-align: center;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  position: relative;
  top: -100%;
  /* Transition */
  transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  -webkit-transition: all 1s ease;
}

.lightbox:target {
  outline: none;
  top: 0;
  opacity: 1;
  pointer-events: auto;
  transition: all 1.2s ease;
  -moz-transition: all 1.2s ease;
  -ms-transition: all 1.2s ease;
  -o-transition: all 1.2s ease;
  -webkit-transition: all 1.2s ease;
}

.lightbox:target img {
  top: 0;
  top: 50%;
  transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

@media (max-width: 1200px) {
    .navbar-items .nav-item .nav-link {
      padding: 12px;
      font-size: 13px;
    }

}
@media (max-width: 992px) {
  .about-pos-img1 {
    width: 350px;
    height: 300px;
    bottom: 0px;
    left: 10px;
  }

  .progress-container {

    height: 100vh;
    padding: 100px 0px;

  }

  .progress-left {
    padding: 0px 20px;
  }

  .progress-left h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .about-img {
    width: 70%;
    height: 300px;
  }

  .about-pos-img {
    position: absolute;
    width: 200px;
    height: 180px;
    bottom: 0;
    left: 50px;
  }

  .about-pos-img1 {
    width: 200px;
    height: 180px;
    bottom: 0px;
    left: 50px;
  }


  .testimonial-container {
    padding: 0px 80px;
  }

  .choose {
    font-size: 28px;
  }

  .choose-content {
    padding: 80px 160px;
  }

  .top-navbar-items {
    display: none;
  }

  .top ul li {
    width: 33.33%;
    height: 33.33%;
  }
}

@media (max-width: 576px) {
  .about-pos-img1 {
    width: 180px;
    height: 140px;
    bottom: 0px;
    left: 40px;
  }

  .about-img {
    width: 70%;
    height: 200px;
  }

  .about-pos-img {
    position: absolute;
    width: 150px;
    height: 150px;
    bottom: 0;
    left: 50px;
  }

  .choose {
    font-size: 22px;
  }

  .choose-content {
    padding: 40px 50px;
    text-align: center;
  }

  .top ul li {
    width: 50%;
    height: 50%;
  }
}


@media (max-width: 576px) {
  .testimonial-container {
    padding: 0px 40px;
  }

  .top ul li {
    width: 100%;
    height: 100%;
  }

}


/* about page */

.about-section {
  /* background: url(../images/services1.jpg) ; */
  background-image:
    linear-gradient(45deg,
      rgba(74, 74, 74, 0.274),
      rgba(58, 58, 58, 0.288)), url(../images/about.jpg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 450px;
  padding: 200px 0;
  background-position: 0px 32%;
  background-repeat: no-repeat;
  background-size: cover;
  align-items: center;
  border: 80px solid var(--primary-color);
}

.about-section h2 {
  color: var(--white-color);
  font-size: 45px;
  font-weight: 600;
  font-family: "Poppins", Sans-serif;
}

.about-container h2 {
  color: var(--primary-color);
}

.about-years {
  margin: 10px 0px;
}

.about-years h2 {
  font-size: 35px;
  color: var(--primary-color);
}

.about-years p {
  font-size: 20px;
  color: var(--gray-color);
  font-weight: lighter;
}


/* service page */

.service-section {
  /* background: url(../images/service1.jpeg) ; */
  background-image:
    linear-gradient(45deg,
      rgba(74, 74, 74, 0.50),
      rgba(32, 32, 32, 0.50)), url(../images/service1.jpeg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 450px;
  padding: 200px 0px;
  background-position: 0px 35%;
  background-repeat: no-repeat;
  background-size: cover;
  align-items: center;
  border: 80px solid var(--primary-color);
}

.service-section h2 {
  color: var(--white-color);
  font-size: 45px;
  font-weight: 600;
  font-family: "Poppins", Sans-serif;
}

.services {
  display: flex;
  justify-content: center;
  height: 450px;
  background-position: 0 0;
  background-size: cover;
  background-repeat: no-repeat;
  align-items: flex-end;
  border-radius: 10px;
  margin: 15px 0px;
}

.services a {
  padding: 20px 40px;
  background-color: var(--primary-color);
  color: var(--white-color);
  text-decoration: none;
  font-size: 25px;
  font-weight: 500;
}

.services:nth-child(1) {
  background: url(../images/service2.jpg) no-repeat center center / cover;
}

.services:nth-child(2) {
  background: url(../images/service3.jpg) no-repeat center center / cover;
}


/* message  */


.message-section {
  /* background:url(../images/message1.jpg); */
  background-image:
    linear-gradient(45deg,
      rgba(74, 74, 74, 0.50),
      rgba(32, 32, 32, 0.50)), url(../images/message1.jpg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 450px;
  padding: 200px 0px;
  background-position: 0px 35%;
  background-repeat: no-repeat;
  background-size: cover;
  align-items: center;
  border: 80px solid var(--primary-color);
}

.message-section h2 {
  color: var(--white-color);
  font-size: 45px;
  font-weight: 600;
  font-family: "Poppins", Sans-serif;
}

.main-message-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.get-touch {
  color: var(--primary-color);
  opacity: 0.8;
  margin: 20px 0;
}

.message-container h4 {
  color: var(--primary-color);
}

.message-container i {
  color: #79a11c;
  text-shadow: 0px 0px 10px rgb(255, 255, 255) !important;
  font-size: 13px;
}

.message-container p {
  font-size: 16px;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.message-email {
  display: flex;
  justify-content: center;
  align-items: center;
}

.message-email i {
  margin-right: 5px;
}

.message-container a {
  text-decoration: none;
  color: var(--gray-color);
}

.message-container .fa-envelope-open-text,
.fa-clock.myclock {
  color: var(--white-color);
  opacity: 0.7;
  margin: 10px 0px;
  padding: 20px;
  background-color: var(--primary-color);
  font-size: 35px;
  text-shadow: none !important;
}


/* Poems  */

.poem-section {
  /* background:url(../images/poem-banner.jpg); */
  background-image:
    linear-gradient(45deg,
      rgba(74, 74, 74, 0.50),
      rgba(32, 32, 32, 0.50)), url(../images/message1.jpg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 450px;
  padding: 200px 0px;
  background-position: 0px 35%;
  background-repeat: no-repeat;
  background-size: cover;
  align-items: center;
  border: 80px solid var(--primary-color);
}

.poem-section h2 {
  color: var(--white-color);
  font-size: 45px;
  font-weight: 600;
  font-family: "Poppins", Sans-serif;
}

.border-all {
  border: 2px solid var(--secondary-color);
}

.funeral h3 {
  color: var(--primary-color);
  text-align: center;
}

.funeral p {
  color: var(--gray-color);
}

.terms h4 {
  color: var(--primary-color);
  font-weight: 800;
  margin: 30px 0px;
}

.website-link {
  text-decoration: none;
  font-weight: 500;
  color: var(--primary-color);
}

.website-link:hover {
  text-decoration: underline;
}

.privacy-list {
  list-style: circle !important;
}

.footer-link {
  color: var(--primary-color);
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

.call-section {
  margin-bottom: -50px;
  padding: 60px 100px 0px 100px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));

}

.call {
  background-color: var(--primary-color);
  padding: 30px 50px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.call i {
  color: var(--white-color);
  margin-right: 10px;
  font-size: 25px;
}

.call p a {
  color: var(--white-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;
}

.call p {
  color: var(--white-color);
}

.call-left {
  border-right: 1px solid var(--secondary-color);
}

.all-service-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  grid-gap: 10px;

}

.funeral-program:nth-child(1) {
  background: url(../images/funeral-program-service1.webp) no-repeat center center / cover;
}

.funeral-program:nth-child(2) {
  background: url(../images/funeral-program-service2.webp) no-repeat center center / cover;
}



.funeral-service-section {
  /* background:url(../images/message1.jpg); */
  background-image:
    linear-gradient(45deg,
      rgba(74, 74, 74, 0.50),
      rgba(32, 32, 32, 0.50)), url(../images/funeral-service-banner1.jpeg);
  display: flex;
  flex-direction: column;
  flex-direction: column;
  justify-content: center;
  height: 450px;
  padding: 200px 0px;
  background-position: 0px 35%;
  background-repeat: no-repeat;
  background-size: cover;
  align-items: center;
  border: 80px solid var(--primary-color);
}

.funeral-service-section h2 {
  color: var(--white-color);
  font-size: 45px;
  font-weight: 600;
  font-family: "Poppins", Sans-serif;
}

.funeral-program-section {
  /* background:url(../images/message1.jpg); */
  background-image:
    linear-gradient(45deg,
      rgba(74, 74, 74, 0.50),
      rgba(32, 32, 32, 0.50)), url(../images/funeral-program-banner1.jpeg);
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 450px;
  padding: 200px 0px;
  background-position: 0px 35%;
  background-repeat: no-repeat;
  background-size: cover;
  align-items: center;
  border: 80px solid var(--primary-color);
}

.breadcrumb .breadcrumb-item,
.breadcrumb .breadcrumb-item a {
  color: var(--white-color);
  text-decoration: none;
}

.breadcrumb-item+.breadcrumb-item::before {
  content: '' !important;
}

.fa-greater-than {
  color: #79A11C;
  font-size: 14px;
}

.funeral-program-section h2 {
  color: var(--white-color);
  font-size: 45px;
  font-weight: 600;
  font-family: "Poppins", Sans-serif;
}

.merchandise-section {
  /* background:url(../images/message1.jpg); */
  background-image:
    linear-gradient(45deg,
      rgba(74, 74, 74, 0.50),
      rgba(32, 32, 32, 0.50)), url(../images/merchandise-banner1.jpeg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 450px;
  padding: 200px 0px;
  background-position: 0px 35%;
  background-repeat: no-repeat;
  background-size: cover;
  align-items: center;
  border: 80px solid var(--primary-color);
}

.merchandise-section h2 {
  color: var(--white-color);
  font-size: 45px;
  font-weight: 600;
  font-family: "Poppins", Sans-serif;
}

.merchandise-service-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-gap: 10px;
}



.merchandise-program:nth-child(1) {
  background: url(../images/merchandise1.jpg) no-repeat center center / cover;
}

.merchandise-program:nth-child(2) {
  background: url(../images/merchandise2.jpg) no-repeat center center / cover;
}

.merchandise-program:nth-child(3) {
  background: url(../images/merchandise3.jpg) no-repeat center center / cover;
}


.traditional-section {
  /* background:url(../images/message1.jpg); */
  background-image:
    linear-gradient(45deg,
      rgba(74, 74, 74, 0.50),
      rgba(32, 32, 32, 0.50)), url(../images/traditional-funeral-services1.jpeg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 450px;
  padding: 200px 0px;
  background-position: 0px 35%;
  background-repeat: no-repeat;
  background-size: cover;
  align-items: center;
  border: 80px solid var(--primary-color);
}

.traditional-section h2 {
  color: var(--white-color);
  font-size: 45px;
  font-weight: 600;
  font-family: "Poppins", Sans-serif;
}

.military h3 {
  color: var(--primary-color);
  font-weight: 800;
}

.military p {
  line-height: 30px;
}

.military-heading {
  color: var(--primary-color);
}

.military-heading2 h5 {
  color: var(--primary-color);
  font-weight: 700;
}

.military-section {
  color: var(--white-color);
  background-color: var(--primary-color);
  text-align: center;
  padding: 20px 30px;
  border: 5px solid #fff;
  border-radius: 10px;
}

.traditional-heading h2 {

  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 10px;
}

.traditional-heading p {
  line-height: 27px;
}


.homegoing-section {
  background-image:
    linear-gradient(45deg,
      rgba(74, 74, 74, 0.50),
      rgba(32, 32, 32, 0.50)), url(../images/homegoing-banner1.jpeg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 450px;
  padding: 200px 0px;
  background-position: 0px 35%;
  background-repeat: no-repeat;
  background-size: cover;
  align-items: center;
  border: 80px solid var(--primary-color);
}

.homegoing-section h2 {
  color: var(--white-color);
  font-size: 45px;
  font-weight: 600;
  font-family: "Poppins", Sans-serif;
}


.blog-section {
  /* background: url(../images/service1.jpeg) ; */
  background-image:
    linear-gradient(45deg,
      rgba(74, 74, 74, 0.50),
      rgba(32, 32, 32, 0.50)), url(../images/blog-banner1.jpg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 450px;
  padding: 200px 0px;
  background-position: 0px 35%;
  background-repeat: no-repeat;
  background-size: cover;
  align-items: center;
  border: 80px solid var(--primary-color);
}

.blog-section h2 {
  color: var(--white-color);
  font-size: 45px;
  font-weight: 600;
  font-family: "Poppins", Sans-serif;
}

.blog>* {
  text-decoration: none;
}

.blog-category {
  color: var(--gray-color);
}

.blog-heading {
  color: var(--primary-color);
}

.blog-heading:hover {
  color: #87CEEB;
}

.blog-read {
  font-weight: 600;
  color: #87CEEB;
}

.blog-read .fa-arrow-right {
  transition: all 0.3s;
}

.blog-read:hover .fa-arrow-right {
  transform: translateX(10px);
}

.blog-post-heading {
  color: var(--primary-color);
}

.blog-post-links {
  text-decoration: none;
  color: var(--primary-color);
  opacity: 0.8;
}

.blog-post-links:hover {
  color: #87CEEB;
}

.blog-time {
  font-size: 14px;
}


.blog-question {
  background-image:
    linear-gradient(45deg,
      rgba(120, 21, 109, 0.70),
      rgba(120, 21, 109, 0.70)), url(../images/blog-banner3.jpg);
  color: var(--white-color);
  padding: 40px 60px;
  background-position: 0px 35%;
  background-repeat: no-repeat;
  background-size: cover;
  border: 20px solid var(--primary-color);

}

.blog-question a {
  text-decoration: none;
  color: var(--white-color);
}


.shop-section {
  height: 100px;
  background-color: var(--primary-color);
}

.btn-product {
  text-transform: capitalize;
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  color: #000;
  border-radius: 0;
  padding: 15px 30px;
  margin-top: 1.5em;
  background-color: #dcd7e3;
}

.btn-product:hover {
  background-color: #c2bfc5;
}

.card-img {
  transition: all 0.5s;
  border-radius: 5px 5px 0px 0px;
}

.card-img:hover {
  transform: scale(1.1);
}

.card-img-box {
  overflow: hidden;
}

.card-title {
  color: var(--primary-color);
  font-weight: 700;
}






@media screen and (max-width:400px) {
  section {
    height: 350px !important;
  }

  .blog-question {
    padding: 30px 20px;
  }

  .blog-phone,
  .blog-email {
    font-size: 14px;
  }

  .service-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-gap: 10px;

  }

  .service a {
    padding: 16px 30px;
    text-decoration: none;
    font-size: 20px;
  }

  .top-logo {
    width: 100px;
    height: 70px;
  }

  .phone a,
  .email a,
  .hours a {
    color: var(--white-color);
    text-decoration: none;
    font-size: 12px;
  }

  .phone .fa-phone,
  .email .fa-envelope,
  .hours .fa-clock {
    color: var(--primary-color);
    margin-right: 5px;
    font-size: 16px;
  }

  .phone,
  .email,
  .hours {
    padding: 2px 0;
  }

  .myBtn {
    padding: 8px 10px;
  }

  .banner {
    height: 400px;
    padding: 40px;

  }

  .banner h1 {
    font-size: 24px;
  }

  .banner p {
    font-size: 14px;
  }

  .about-years h2 {
    font-size: 25px;
  }

  .about-years p {
    font-size: 16px;
  }

}