body {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
}

#header li.nav-item a.nav-link {
  padding: 0 15px;
  font-weight: 500;
}

section#HomeBanner {
  background: #faa61a;
  padding: 0;
  min-height: auto;
}

section#header {
  padding: 0;
  min-height: 102px;
}

a.navbar-brand img {
  height: 80px;
}

.BannerText {
  padding: 200px 40px 40px 100px;
  background-image: url(../images/BannertextBG.png);
  background-size: cover;
  height: 575px;
  align-items: center;
}

.BannerText p {
  font-size: 18px;
  font-weight: 500;
}

.primaryBtn {
  height: 45px;
  padding: 10px 20px;
  border-radius: 2px;
}

.BannerText h1 strong {
  font-weight: 700;
  font-size: 40px;
}

.BannerText h1 {
  font-size: 40px;
}

section#aboutUsSec h5 {
  margin: 0;
}

.aboutUsContent img.img-fluid.rounded-start {
  width: 60px;
}

.imgText {
  position: absolute;
  bottom: 60px;
  width: 320px;
  right: 80px;
  text-align: center;
  color: #fff;
}

.imgText h5 {
  line-height: 30px;
  font-size: 24px;
}

.aboutUsContent h2:before {
  position: absolute;
  content: "";
  width: 8px;
  height: 65px;
  background: #faa61a;
  top: 5px;
  left: 0;
}

h2.mb-3.position-relative {
  padding-left: 20px;
}

.aboutUsContent .imgBox {
  width: 70px;
  background: #faa61a;
  height: 70px;
  text-align: center;
  margin: 0 auto;
  line-height: 70px;
  border-radius: 50%;
}

.aboutUsContent img.img-fluid.rounded-start {
  width: 40px;
}

section#SeniorSolution .yellow-BG {
  padding: 60px 300px 60px 60px;
  background-size: cover;
  color: #fff;
}

section#SeniorSolution {
  background-image: url(../images/SeniorSolutionBg.png);
  height: 500px;
  background-size: cover;
}

.service-card {
  border: none;
  cursor: pointer;
}

/* .service-card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}
  

.service-card:hover .overlay {
  opacity: 1;
}

.overlay-text h5 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.overlay-text p {
  font-size: 0.95rem;
} */

.overlay-text {
  display: flex;
  padding: 15px;
  background: #fff;
  box-shadow: 0 0 10px 15px #11111117;
  position: absolute;
  bottom: -30px;
  width: 80%;
  transition: 0.3s;
  left: 15%;
  padding-left: 35px;
  border-radius: 5px;
  min-height: 80px;
}

.overlay-text .IconBox img {
  width: 35px;
}

.overlay h5.card-title {
  font-size: 18px;
  line-height: 22px;
  margin: 0;
  font-weight: 600;
}

.service-card p {
  display: none;
}

.overlay-text .IconBox {
  min-width: 50px;
  height: 50px;
  background: #58595b;
  line-height: 50px;
  text-align: center;
  position: absolute;
  left: -28px;
  top: 12px;
  transition: 0.3s;
  border-radius: 5px;
}

.service-card:hover .overlay-text {
  transform: translateY(-50px);
  height: 205px;
}

.service-card:hover .overlay-text .IconBox {
  background: #faa61a;
}

.service-card:hover .overlay-text p {
  display: block;
  margin-top: 10px;
}

section#Ourservices .col-md-4 {
  margin-bottom: 30px;
}

.card.h-100.shadow-sm.p-3 {
  padding-top: 0 !important;
}

/* .card.h-100.shadow-sm.p-3 .card-body {
  padding: 0;
} */

section#whyChooseUs .whyIcon {
  width: 60px;
  height: 60px;
  background: #faa61a;
  margin: 0 auto 10px;
  line-height: 60px;
  border-radius: 50%;
}

section#whyChooseUs .whyIcon img {
  width: 40px;
}

section#whyChooseUs .card-body {
  padding: 25px 10px 0;
}

section#whyChooseUs h5.card-title {
  font-size: 15px;
  padding: 10px 0px 0px;
  line-height: 20px;
}

#testimonialsSec {
  background-image: url(../images/testimonialsBG.png);
  height: 490px;
  width: 100%;
  background-size: contain;
  background-repeat: no-repeat;
}

.carousel-wrapper {
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  flex: 0 0 50%;
  box-sizing: border-box;
  padding: 15px;
}

.testimonial-box {
  border: 1px solid #868686;
  border-radius: 10px;
  padding: 60px 30px 30px;
  background-color: transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  height: 100%;
  text-align: center;
  color: #fff;
  position: relative;
}

.testimonial-box svg {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translate(-50%) rotate(180deg);
}

.testimonial-box h5 {
  margin-bottom: 0;
  font-size: 18px;
}

.carousel-controls .btn:hover {
  background-color: #faa61a !important;
  border-color: transparent;
}

#testimonialsSec button.btn.btn-outline-secondary.me-2 {
  background: #58595b;
}

#testimonialsSec button.btn.btn-outline-secondary {
  background: #faa61a;
  color: #fff;
}

.testimonial-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

.testimonial-box svg path {
  fill: #464646;
}

.carousel-controls {
  text-align: center;
  margin-top: 20px;
}

.col-md-6.pl-5 {
  padding-left: 100px;
}

#testimonialsSec h2 {
  color: #fff;
}

.testimonial-card p.text-muted {
  color: #fff !important;
  margin-bottom: 10px;
}

.testimonial-box p {
  font-size: 14px;
  color: #e3e3e3;
  margin-bottom: 0;
}

section#whyChooseUs {
  background: #f4f4f4;
}

.modal-content p.text-muted.mb-0 {
  font-size: 12px;
  color: #f4f4f4 !important;
}

.modal-content p {
  font-size: 13px;
}

.modal-content img.img-fluid {
  float: left;
  margin: 0 20px 20px 0;
  width: 290px;
  border: 5px solid #f4f4f4;
}

.modal-content .modal-body {
  padding: 30px 30px 15px;
  background-image: url(../images/popupBG.png);
  color: #fff;
  background-size: contain;
}

section#ourTeamSec .card.text-center.shadow-sm {
  position: relative;
  cursor: pointer;
  border-radius: 10px;
}

section#ourTeamSec .card.text-center.shadow-sm img.img-fluid {
  border-radius: 10px;
}

section#ourTeamSec .card-body {
  position: absolute;
  z-index: 1;
  bottom: 0;
  text-align: left;
  width: 100%;
  background: linear-gradient(
    359deg,
    rgb(20 20 20 / 87%) 0%,
    rgb(255 255 255 / 0%) 100%
  );
  height: 250px;
  padding: 165px 30px 0;
  color: #fff;
  border-radius: 10px;
}

.card.h-100.shadow-sm:hover {
  transition: 0.2s;
  transform: translateY(-15px);
}

section#ourTeamSec p.card-text.text-muted {
  color: #f4f4f4 !important;
  font-size: 14px;
}

div#memberModal2 img.img-fluid,
div#memberModal3 img.img-fluid {
  width: 248px;
}

textarea#message {
  font-size: 13px;
  height: 70px;
  border-radius: 2px;
  margin: 0 10px 20px;
  width: 94%;
}

form#contactForm .mb-3 .form-control {
  font-size: 13px;
  height: 45px;
  border-radius: 2px;
}

form#contactForm .mb-3 {
  width: 30%;
  display: inline-block;
  margin: 10px 10px 20px !important;
}

button#submitBtn {
  font-size: 14px;
  border-radius: 2px;
  width: 20%;
  height: 45px;
  background: #faa61a;
  margin-left: 10px;
  border: transparent;
}
section#contacts {
  background-image: url(../images/Parallax.png);
  background-size: cover;
  background-attachment: fixed;
}

.footerThree .contactDetails.d-flex img.SocialIcon {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

footer#footerSec li,
footer#footerSec p {
  font-size: 13px;
  line-height: 22px;
}

footer#footerSec small.text-center {
  margin: 0 auto;
  display: block;
}

section#whyChooseUs .serviceHeading {
  width: 52% !important;
}

.error {
  color: #ff7272;
  font-size: 12px;
  position: absolute;
}

@media only screen and (max-width: 1024px) {
  .BannerText h1 strong,
  .BannerText h1 {
    font-size: 36px;
  }

  .BannerText {
    padding: 40px;
    height: 380px;
  }

  section#aboutUsSec img {
    width: 100%;
  }

  .aboutUsContent .imgBox img {
    width: 40px !important;
  }

  section#SeniorSolution .yellow-BG {
    padding: 50px;
  }
}

@media only screen and (max-width: 479px) {
  a.navbar-brand img {
    margin-left: 20px;
    height: 80px;
  }

  .BannerText {
    padding: 40px;
    height: 300px;
    background-size: cover;
  }

  .imgText {
    position: absolute;
    bottom: 25px;
    width: 220px;
    right: 24px;
    text-align: center;
    color: #fff;
  }

  section#aboutUsSec h5 {
    margin: 0;
    font-size: 16px;
    line-height: 20px;
  }

  .aboutUsContent {
    margin-top: 30px;
  }

  .aboutUsContent .card-body {
    padding: 15px 0;
  }

  .aboutUsContent .imgBox {
    margin: 0;
  }

  section#aboutUsSec {
    padding: 30px 30px 0;
  }

  section#SeniorSolution,
  section#Ourservices,
  section#whyChooseUs,
  section#ourTeamSec {
    padding: 30px;
    height: auto;
  }
  section#SeniorSolution .yellow-BG {
    padding: 0;
  }

  .serviceHeading.w-50 {
    width: 100% !important;
  }

  .service-card {
    margin-bottom: 30px;
  }

  section#Ourservices .container.py-5 {
    padding-bottom: 0 !important;
  }

  section#ourTeamSec .card-body {
    padding: 180px 15px 0;
  }
  section#ourTeamSec p.card-text.text-muted {
    font-size: 11px;
  }

  form#contactForm .mb-3 {
    width: 100%;
    display: inline-block;
    margin: 10px 0 10px !important;
  }

  textarea#message {
    font-size: 13px;
    height: auto;
    border-radius: 2px;
    margin: 10px 0 20px !important;
    width: 100%;
  }

  button#submitBtn {
    width: 100%;
    margin-left: 0;
  }

  footer#footerSec .col-md-3.text-center {
    text-align: left !important;
    padding-bottom: 20px;
  }

  footer#footerSec ul {
    padding: 0 10px;
  }

  footer#footerSec {
    text-align: left;
    padding: 30px !important;
  }

  section#ourTeamSec .container.py-5 {
    padding: 10px 15px 0 !important;
  }

  section#contacts {
    height: auto;
    padding: 30px;
  }

  .offcanvas-body a.nav-link {
    padding: 0px 0 10px !important;
  }

  button.navbar-toggler.d-lg-none {
    box-shadow: none;
  }

  #testimonialsSec .col-md-6.pl-5 {
    padding: 0;
  }

  #testimonialsSec {
    height: auto;
    background-size: cover;
    background-position: right;
    padding: 30px;
  }

  .testimonial-card {
    flex: 0 0 100%;
  }
  section#whyChooseUs .serviceHeading {
    width: auto !important;
  }

  section#aboutUsSec .imgText h5 {
    margin-bottom: 0;
    font-size: 13px;
    line-height: 18px;
  }
}

@media only screen and (max-width: 400px) {
  .BannerText h1 strong,
  .BannerText h1 {
    font-size: 30px;
  }

  #ourTeamSec .card-body h5 {
    margin-bottom: 0;
  }

  .imgText {
    position: absolute;
    bottom: 25px;
    width: 177px;
    right: 24px;
    text-align: center;
    color: #fff;
  }

  section#aboutUsSec h5 {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 20px;
  }

  .service-card:hover .overlay-text p {
    display: block;
    margin-top: 10px;
    font-size: 12px;
  }
}
