html {
    direction: rtl;
    text-align: right;
}
:root {
  --nav-height: 7rem;
}
.floating-btn {
  position: fixed;
  top: 50vh;
  left: 2rem;
  z-index: 1000;
}
.separator {
  width: 100%;
  height: 1px;
  background-color: #e6e8f0;
  margin: 2rem 0;
}
.breadcrumb-item.active {
  color: var(--bs-primary);
  font-weight: bold;
}
nav.navbar {
  position: fixed;
  width: 85%;
  margin: 0 auto;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  border-bottom-right-radius: 24px;
  border-bottom-left-radius: 24px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  background-color: #fff !important;
}
nav.navbar .container-fluid{
  padding-right: 40px !important;
  padding-left: 40px !important;
  background-color: #fff !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-bottom-right-radius: 24px;
  border-bottom-left-radius: 24px;
}
.nav-item .nav-link {
  color: #6d738f !important;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: 0.3s;
}
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav {

    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
}
.nav-item .nav-link.active {
  color: var(--bs-primary) !important;
}
.navbar-collapse.collapse.show {
  background-color: #fff !important;
  padding: 1rem;
  border-radius: 24px;
}
section:not(:first-of-type) {
  padding: 4rem 0;
}
section:first-of-type .container-fluid,
section:first-of-type .container {
  padding-top: var(--nav-height);
}
section.hero .sec-img img {
  max-height: 35rem;
  object-fit: cover;
}

section.aspects .row {
  margin-top: 4rem;
}
section.aspects .aspect-card {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border: 1px solid #e6e8f0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
section.aspects .aspect-card .card-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--bs-primary);
  color: #fff;
  text-align: center;
  line-height: 3rem;
}
section.aspects .aspect-card h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
section.aspects .aspect-card p {
  padding: 0.5rem 1rem;
}

section.partners .partner-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}
section.partners .partner-logo img {
  max-width: 10rem;
  margin: 0 1rem;
}
section.programs .program-card {
  border: 1px solid #e6e8f0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 24px;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
}
section.programs .program-card .progress .progress-bar span {
  padding: 0.5rem 1rem;
  color: #fff;
  font-weight: 500;
}
section.programs .program-card .progress-values {
  padding-top: 10px;
}
section.stats .stat-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
}
section.stats .stat-card .card-icon {
  width: 5rem;
  height: 5rem;
  margin-bottom: 1rem;
  line-height: 3rem;
}
section.stats .stat-card h3 {
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
section.stats .stat-card p {
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
}
section.why-us {
  position: relative;
}
section.why-us .sec-before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
}
section.why-us .sec-before img {
  max-width: 100%;
  height: 15rem;
  margin-bottom: 2rem;
}
section.why-us .why-us-questions {
  margin: 0 auto;
  margin-top: 4rem;
}
section.why-us .why-us-questions .accordion-item {
  border: 1px solid #e6e8f0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 0rem;
}
section.why-us .why-us-questions .accordion-item .accordion-button {
  background: #fff;
  color: #6d738f;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 1rem 2rem;
  border: none;
  border-bottom: 1px solid #e6e8f0;
  transition: 0.3s;
  padding: 1rem 2rem;
}
section.why-us
  .why-us-questions
  .accordion-item
  .accordion-button:not(.collapsed) {
  background: transparent !important;
  color: var(--bs-primary) !important;
}
section.contact .contact-item {
  gap: 1rem;
}
section.contact .contact-item .contact-item-icon {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background-color: var(--bs-primary);
  color: #fff;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
section.contact .contact-item h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
section.contact .contact-item p {
  padding: 0.5rem 0;
}

section.contact .contact-form-container {
  padding: 2rem;
  border: 1px solid #e6e8f0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 24px;
}
section.contact .contact-form-container h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
section.contact .contact-form-container p {
  padding: 0.5rem 0;
  color: #6d738f;
}

section.contact .contact-form-container .form-group {
  margin-bottom: 1rem;
}
section.contact .contact-form-container input,
section.contact .contact-form-container textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #e6e8f0;
  border-radius: 12px;
  background-color: #f8f9fc;
  transition: 0.3s;
  direction: rtl;
  line-height: 1.5;
}
section.contact .contact-form-container input:focus,
section.contact .contact-form-container textarea:focus {
  border-color: var(--bs-primary);
}
section.contact .contact-form-container button {
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  background-color: var(--bs-primary);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  transition: 0.3s;
  cursor: pointer;
  width: 100%;
}

section.cta {
  position: relative;
}
section.cta .sec-before {
  position: absolute;
  top: 0;
  left: 0;
  transform: scaleX(-1);
  height: 100%;
}
/* footer */
footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 15px;
}

footer ul li a {
  color: #fff;
  text-decoration: none;
}

footer .contact-footer-container .contact-footer-item {
  margin-bottom: 15px;
}

footer .contact-footer-container .contact-footer-item h5 {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 5px;
  color: #ffffff9c;
}

footer .contact-footer-container .contact-footer-item span {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.7;
  color: #fff;
}

footer .social-media a {
  text-decoration: none;
}

footer img {
  max-width: 100%;
}

/* hero-programs */
section.breadcrumb-hero {
  min-height: 60vh;
  background-size: cover;
  text-align: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
section.hero-programs {
  background-image: url(../images/programs-hero.jpeg);
}
section.hero-programs .sec-content {
  position: relative;
  z-index: 1;
}
section.hero-programs::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

/* hero-prosthetic */
section.hero-prosthetic .sec-content {
  padding-right: 7rem !important;
}
section.hero-prosthetic .hero-info-card .hero-info-card-item {
  padding: 1.5rem;
  background-color: rgb(157 173 255 / 21%);
}
section.hero-prosthetic .hero-info-card .hero-info-card-item img {
  height: 4rem;
  width: 4rem;
  margin-bottom: 1rem;
}
section.hero-prosthetic .hero-info-card .hero-info-card-item h5 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
section.hero-prosthetic .hero-info-card-img {
  max-height: 20rem;
}
section.hero-prosthetic .hero-info-card-img img {
  max-width: 100%;
  height: 100%;
}
section.encourage {
  background-color: #f8f9fc;
  padding: 4rem 0;
}
section.encourage .sec-desc p {
  color: #6d738f;
  font-weight: normal;
  font-size: 1.2rem !important;
}
section.encourage img {
  border-radius: 24px;
}
section.mental-encourage ~ section {
  background-color: #fff !important;
}

/* about */
section.hero.hero-about {
  background-image: none;
  background-color: #e5e2f7;
}
section.about-discover .nav-tabs {
  border: none;
}
section.about-discover .btn-group button {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 12px;
  /* margin: 0 0.5rem; */
  transition: 0.3s;
}
.about-discover .partners .partner-logo {
  border: 1px solid #e6e8f0;
  padding: 1rem;
  border-radius: 2px;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* blog */
section.blog .blog-cards-container .card {
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease-in-out;
  border-radius: 8px;
  position: relative;
}
section.blog .blog-cards-container .card .card-img {
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}
section.blog .blog-cards-container .card .card-img img {
  transition: transform 0.3s ease-in-out;
  transform: scale(1);
}
section.blog .blog-cards-container .card:hover .card-img img {
  transition: transform 0.3s ease-in-out;
  transform: scale(1.1);
}
section.blog .blog-cards-container .card .card-body a {
  display: block;
  width: 70%;
}
section.blog .blog-cards-container .card .card-body p {
  padding: 15px 0;
  font-size: 1em;
}
section.blog .blog-cards-container .card .card-date {
  position: absolute;
  top: 43%;
  left: 6%;

  padding: 10px 15px;
  background: #fff;
  border-radius: 8px;
  font-size: 1em;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
section.blog .blog-sidebar .blog-sidebar-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}
section.blog .blog-sidebar .most-visted-img img {
  max-width: 100px;
  max-height: 100px;
}
section.blog .blog-sidebar .blog-sidebar-item .title span {
  font-size: 1.1rem;
}
section.blog .blog-sidebar .blog-sidebar-item .input-group input {
  background: #f6f6f6;
  border-radius: 15px;
  padding: 15px;
  border: 0;
}
section.blog .blog-sidebar .input-group input::placeholder {
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;
  color: #bdbdbd;
}

section.blog .blog-sidebar .blog-sidebar-item .input-group button {
  background: linear-gradient(
    257.34deg,
    #6d738f 24.71%,
    var(--bs-primary) 59.17%
  );
  border-radius: 15px 0px 0px 15px;
  flex-basis: 65px;
  border: 0;
}

section.blog
  .blog-sidebar
  .categories-container
  .categories-item
  .category-name {
  font-weight: 400;
  font-size: 1rem;
  color: #000000;
  background: #f6f6f6;
  flex: 1 1 auto;
  padding: 17px;
  border-radius: 0px 15px 15px 0px;
  height: 100%;
}

section.blog
  .blog-sidebar
  .categories-container
  .categories-item
  .category-name.active {
  background: var(--bs-primary);
}
section.blog
  .blog-sidebar
  .categories-container
  .categories-item
  .category-number {
  background: linear-gradient(
    257.34deg,
    #6d738f 24.71%,
    var(--bs-primary) 59.17%
  );
  border-radius: 15px 0px 0px 15px;
  flex-basis: 65px;
  border: 0;
  padding: 15px;
  text-align: center;
  color: white;
  font-size: 1.2rem;
}
section.blog .blog-sidebar-item .most-visited-item {
  border-bottom: 1px solid #f2f2f2;
  padding: 15px 0;
  padding-left: 15px;
}
section.blog .blog-sidebar-item .most-visited-item:first-of-type {
  padding-top: 0;
}
section.blog .blog-sidebar-item .most-visited-item:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}
section.blog .blog-sidebar-item .social-items-container img {
  width: 40px;
  height: 40px;
}
section.blog .blog-sidebar-item .tags-container a {
  background: #f2f2f2;
  border-radius: 15px;
  padding: 6px 24px;
  margin: 5px;
  display: inline-block;
  color: #000000;
  font-size: 1rem;
  font-weight: 400;
  transition: all 0.3s ease-in-out;
}
section.blog .blog-sidebar-item .tags-container a:hover {
  background: linear-gradient(
    257.34deg,
    #6d738f 24.71%,
    var(--bs-primary) 59.17%
  );
  color: #fff;
}

section.blog .blog-main-container .date-category {
  color: #4f4f4f;
  font-weight: 600;
  font-size: 1.1rem;
}
section.blog .blog-main-container .post-text p {
  font-size: 1.1rem;
  line-height: 1.8rem;
  color: #4f4f4f;
}

section.media-center .video-card {
  border-radius: 24px;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
}
section.media-center .video-card img {
  position: relative;
}
/* add icon on the image */
section.media-center img {
  max-width: 100%;
  width: 100%;
}
section.media-center .video-card .video-card-link {
  gap: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 1rem;
}
section.media-center .video-card .video-card-link a {
  text-decoration: none;
}
