/* Custom CSS for Medical Center Webpage */

/* --- Variables and General Styles --- */
:root {
    --primary-color: #13B9B9; /* Vibrant Teal/Aqua */
    --secondary-color: #00A896; /* Darker Teal */
    --secondarylight-color: #E9FFFF; /* Darker Teal */
    --light-bg: #E7F6F6; /* Very light greenish-blue for alternating sections */
    --dark-bg: #2c3e50; /* Darker color for footer */
    --text-color: #333;
    --hero-gradient-start: #13B9B9;
    --hero-gradient-end: #fff;
    --text-main-color:#141414;
     --clr-white: #fff;
  --clr-black: #111;
}

body {
     font-family: "Cairo", sans-serif;
    /* font-family: 'Arial', sans-serif; Using a common Arabic-friendly font */
    color: var(--text-color);
    background-color: #fff;
    direction: rtl; /* Ensure RTL is set */
}
.numdv {
    direction: ltr;
    unicode-bidi: embed;
}
a {
    text-decoration: none;
}

.rounded-top-left-1 {
    border-top-left-radius: 1rem;
}
.rounded-top-right-1 {
    border-top-right-radius: 1rem;
}
.rounded-bottom-left-1 {
    border-bottom-left-radius: 1rem;
}
.rounded-bottom-right-1 {
    border-bottom-right-radius: 1rem;
}


/* --- Navigation and Header --- */
.custom-navbar {
    background: linear-gradient(to right, #c5ffff, #fff);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    color: var(--secondary-color) !important;
    font-size: 1.5rem;
}
.navbar-brand {
    max-width: 300px;
}
.nav-item {
    position: relative;

}
.dropdown-menu {
    right: 0;
    left: auto;
    text-align: right;
    min-width: 200px;
        top: 122%;
}
.dropdown-item {
    padding: 10px 10px 10px;
}

.dropdown-toggle::after {
    margin-right: .255em;

}
.dropdown-item.active, .dropdown-item:active {
    background-color: var(--primary-color);
}
.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    margin-left: 15px;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.custom-btn-contact {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    border-radius: 50px;
    padding: 8px 25px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.custom-btn-contact:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(to right, #13B9B9, #fff); /* Gradient background */
    color: #fff !important;
    /* padding-top: 80px; */
    /* padding-bottom: 80px; */
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    pointer-events: none;
}

.hero-text {
    color:#141414;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding: 0px;
    margin: 0 auto;
    width: 589px;
    height: 417px;
    filter: drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.16));

}
.hero-text h1 {
    font-size: 41px;
    font-weight: 600;
    word-spacing: 4px;
}
.hero-text h2  {
    font-size: 25px;
    font-weight: 600;
    word-spacing: 4px;
}

.top-line {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    /* align-items: center; */
    margin-bottom: 20px;
    height: 116px;
    margin-left: 10px;
    width: 100%;
}
.beside-logo-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}
.hero-logo {
    width: 99px;
    height: 99px;
}

.hero-text .lead {
    font-size: 19px;
    word-spacing: 8px;
    text-align: justify;
    padding-left: 10px;
    font-family: "Noto Kufi Arabic", sans-serif;
}
.hero-doctor-img {
    /* max-width: 100%; */
    height: auto;
    /* border: 5px solid #fff; */
    /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); */
}
.hero-stats {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
        padding: 0 10px;
}
.stat-box {
    /* background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);*/
    backdrop-filter: blur(5px); 
    color:  var(--primary-color);
        text-align: center;
}
.stat-box p{
    color:var(--text-main-color)
}

.custom-btn-book {
    color: #fff;
    border: 2px solid var(--primary-color);
    background-color: var(--primary-color);
    border-radius: 50px;
    font-weight: bold;
    padding: 10px 30px;
    transition: all 0.3s;
    width: 47%;
}

.custom-btn-book:hover {
    background-color:#fff;
    /* border-color: var(--light-bg); */
    color: var(--secondary-color);
}

.custom-btn-learn {
    background-color: #fff;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: bold;
    padding: 10px 30px;
    transition: all 0.3s;
    width: 47%;
}

.custom-btn-learn:hover {
    background-color: var(--primary-color);
    color:#fff;
}


/* moving bar */
.moving-bar {
    height: 50px;
    width: 100%;
    background-color: #fff;
}
.moving-bar ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    font-family: "Noto Kufi Arabic", sans-serif;
    line-height: 2.3;
    margin: 0;
    font-size: 17px;
}

.aboutme {
    padding:140px 0;
}

.aboutme-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    min-height: 450px;
}

.aboutme-text h2 {
    font-size: 28px;
    font-weight: 600;
    word-spacing: 4px;
}
.aboutme-text h2 span {
    color: var(--primary-color);
}
/* --- General Section Styles --- */
.custom-bg-light {
    background-color: var(--light-bg);
}

.custom-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.custom-link:hover {
    color: var(--secondary-color);
    
}

/* --- Before & After Gallery --- */
.gallery {
    padding:100px 0;
     background-image: url(../images/beforeafterbg2.png);
    background-size: cover;
    /* background-position: center center; */
}
.gallery h2 span {
    color: var(--primary-color);
    font-weight: 700;
}
.gallery .gallery-p {
    /* color: var(--text-color); */
    font-size: 16px;
    font-family: "Noto Sans Arabic", sans-serif;
    width: 62%;
    margin:10px auto;
}
.custom-card-before-after {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.custom-card-before-after:hover {
    transform: translateY(-5px);
}

.custom-card-before-after .card-img-top {
    border-radius: 15px 15px 0 0;
}

.custom-card-before-after .card-body {
    text-align: end;
}

.gallery .card {
  padding-block: 1rem;
  background: transparent;
  border-radius: 1.2rem;
  position: relative;
  height: 23rem;
  border-color: transparent;
      padding: 0 20px;
}

@media screen and (min-width: 53rem) {
  .gallery .card {
    border-radius: 1.8rem;
  }
}
.gallery .card p {
  /* position: absolute;
  right: 0;
  top: -1.25rem; */
}

.gallery .card p a {
  font-size: 0.9rem;
  display: inline-block;
  color: var(--clr-black);
}
.gallery .card p a:hover {
  font-weight: 600;
}
.gallery .card .card-inner {
  position: relative;
  width: inherit;
  height: inherit;
  border-bottom-right-radius: 0;
}
.gallery .card .card-inner .box {
  width: 100%;
  height: 100%;
  background: transparent;
  border-radius: 1.2rem;
  overflow: hidden;
}
.gallery .card .card-inner .box .videoBox {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.gallery .card .card-inner .box .videoBox iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.gallery .card .card-inner .box .imgBox {
  position: absolute;
  inset: 0;
}
.gallery .card .card-inner .box .imgBox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.articles .card .card-inner .box .imgBox:before ,
.gallery .card .card-inner .box .imgBox:before {
    content:'';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%), url(../images/beforeafterbg2.png);
    background-size: cover;
    opacity: 0.8;
    pointer-events: none;
            border-radius: 1.6rem;
}
@media screen and (min-width: 53rem) {
  .gallery .card .card-inner .box .imgBox img {
    border-radius: 1.6rem;
  }
}
.gallery .card .card-inner .box .more {
  position: absolute;
  top: -0.375rem;
  left: 0;
  width: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--clr-white);
  padding: 0.625rem 0.625rem 0.625rem;
      border-bottom-right-radius: 1rem;
}
.gallery .card .card-inner .box .more::before {
 position: absolute;
    content: "";
    top: 0.375rem;
    right: -1.188rem;
    background: transparent;
    width: 1.2rem;
    height: 1.2rem;
    border-bottom-right-radius: 2rem;
    box-shadow: 0.313rem 0.313rem 0px 0.313rem var(--clr-white);
    transform: rotate(180deg);
}
.gallery .card .card-inner .box .more::after {
  position: absolute;
  content: "";
  bottom: -1.188rem;
 left: -0.063rem;
  background: transparent;
  width: 1.2rem;
  height: 1.2rem;
  border-bottom-right-radius: 2rem;
  box-shadow: 0.313rem 0.313rem 0px 0.313rem var(--clr-white);
  transform: rotate(180deg);
}
.gallery .card .card-inner .box .more .arrow {
  width: 2.5rem;
  height: 2.5rem;
  border: 0.125rem solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease-in-out;
}
.gallery .card .card-inner .box .more .arrow:hover {
  background: var(--clr-white);
  border: 0.125rem solid var(--clr-white);
  color: var(--clr-white);
}
.gallery .card .card-inner .box .more .arrow:hover svg {
  color: var(--clr-white);
}
.gallery .card .card-inner .box .more svg {
  width: 1.063rem;
  color: var(--clr-white);
}
.gallery .card .card-text {
    padding-right: 15px;
    position: absolute;
    z-index: 99;
    bottom: 8px;
    width: 90%;
    text-align: right;
    color: #fff;
}
.gallery .card .card-text h6{
    font-size: 12px;
    font-weight: 700;
}
.gallery .card .card-text p{
    margin-bottom: 5px;
     font-family: "Cairo", sans-serif;
}

.gallery .card .card-text span {
    font-size: 12px;
}

.gallery .video {
  height: 20rem;
  align-self: flex-end;
}

.poster {
  position: relative;
  display: inline-flex;
}

.poster:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: url("https://images.unsplash.com/photo-1534361960057-19889db9621e?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  background-size: cover;
  transition: 1s ease;
  opacity: 0.8;
  cursor: pointer;
}

.poster-active:after {
  opacity: 0;
  pointer-events: none;
}
/* --- Services Section --- */
.services {
    background-image: url(../images/servicesbg2.png);
    background-size: cover;
    background-position: center center;
    padding:100px 0
}
.services .services-p {
    /* color: var(--text-color); */
    font-size: 16px;
    font-family: "Noto Sans Arabic", sans-serif;
    width: 62%;
    margin:10px auto;
}
.services .card .card-body {
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
        padding: 0;
}
.services .card h5 {
    text-decoration: underline;
}
.services .card h5,
.services .card p{
    text-align: center;
}
.services .card p,
.services .card a.btn{ 
    font-family: "Noto Sans Arabic", sans-serif;
}
.services .card ul{
    padding-right: 0;
        margin-right: 0px;
    text-align: right;
    font-family: "Noto Sans Arabic", sans-serif;
}
.services .card a.btn{
       width: 50%;
    margin: 0px auto; 
}
.services .card .more {
    position: absolute;
    bottom: -0.375rem;
    left: 0;
    width: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light-bg);
    padding: 0.625rem 0.625rem 0.625rem 0;
    border-top-right-radius: 1rem;
}
.services .card .more a { 
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background-color: #E9FFFF;
    padding: 13px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    
}
.services .card .more a img{ 
    width: 40px;
}
.services .card .more::before {
 position: absolute;
    content: "";
    top: -1.188rem;
    left: 0rem;
    background: transparent;
    width: 1.2rem;
    height: 1.2rem;
    border-bottom-right-radius: 2rem;
    box-shadow: 0.313rem 0.313rem 0px 0.313rem var(--light-bg);
    transform: rotate(90deg);
}
.services .card .more::after {
  position: absolute;
    content: "";
    bottom: 0.375rem;
    right: -1.188rem;
    background: transparent;
    width: 1.2rem;
    height: 1.2rem;
    border-bottom-right-radius: 1rem;
    box-shadow: 0.313rem 0.313rem 0px 0.313rem var(--light-bg);
    transform: rotate(90deg);
}

.custom-service-card {
    border: 1px solid #eee;
    border-radius: 15px;
    /* box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05); */
    transition: box-shadow 0.3s;
}

/* .custom-service-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
} */

.custom-text-primary {
    color: var(--primary-color) !important;
}

.custom-service-card .bi-check-circle-fill {
    color: var(--primary-color);
}

.custom-btn-whatsapp {
    background-color: #25D366; /* WhatsApp Green */
    border-color: #25D366;
    color: #fff;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.custom-btn-whatsapp:hover {
    background-color: #128C7E;
    border-color: #128C7E;
}
.services .custom-service-card .card-body p {
    margin-bottom: 5px;
    font-size: .875em;
}
.services .custom-service-card .card-body ul {
    font-size: .875em;
}
.services .custom-service-card .card-body ul li::before {
    margin-left: 5px;
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}
/* --- FAQ Section --- */
.faq {
    padding:100px 0;
     background-image: url(../images/beforeafterbg2.png);
    background-size: cover;
    /* background-position: center center; */
}

.faq h2, 
.faq p {
    text-align: center;
}
.faq p {
    font-size: 16px;
    font-family: "Noto Sans Arabic", sans-serif;
    width: 62%;
    margin: 10px auto;
}
.faq h2 span {
    color: var(--primary-color);
}

.faq .accordion-button::after {
    margin-right: auto;
    margin-left: 0;

}
.faq .accordion-body p{
    text-align: right;
    width: 100%;
}
.faq .card {
  padding-block: 0rem;
  background: var(--clr-white);
  border-radius: 1.2rem;
  position: relative;
  height: 21rem;
}

.faq .card p {
  position: absolute;
  right: 0;
  top: -1.25rem;
}
.faq .card p a {
  font-size: 0.9rem;
  display: inline-block;
  color: var(--clr-black);
}
.faq .card p a:hover {
  font-weight: 600;
}
.faq .card .card-inner {
  position: relative;
  width: inherit;
  height: inherit;
  border-bottom-right-radius: 0;
}
.faq .card .card-inner .box {
  width: 100%;
  height: 100%;
  background: var(--clr-white);
  border-radius: 1.2rem;
  overflow: hidden;
}
.faq .card .card-inner .box .videoBox {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.faq .card .card-inner .box .videoBox iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.faq .card .card-inner .box .imgBox {
  position: absolute;
  inset: 0;
}
.faq .card .card-inner .box .imgBox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.faq .card .card-inner .box .tag {
  position: absolute;
  bottom: -0.375rem;
  left: -1px;
  width: 224px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--clr-white);
  padding: 0.625rem 0.625rem 0.625rem 0;
  border-top-right-radius: 1rem;
}
.faq .card .card-inner .box .tag::before {
  position: absolute;
  content: "";
  top: -1.188rem;
  left: 0;
  background: transparent;
  width: 1.2rem;
  height: 1.2rem;
  border-bottom-right-radius: 2rem;
  box-shadow: 0.313rem 0.313rem 0px 0.313rem var(--clr-white);
  transform: rotate(90deg);
}
.faq .card .card-inner .box .tag::after {
  position: absolute;
  content: "";
  bottom: 0.375rem;
  right: -1.188rem;
  background: transparent;
  width: 1.2rem;
  height: 1.2rem;
  border-bottom-right-radius: 1rem;
  box-shadow: 0.313rem 0.313rem 0px 0.313rem var(--clr-white);
  transform: rotate(90deg);
}
.faq .card .card-inner .box .tag a {
  /* font-size: 0.8rem; */
  color: var(--primary-color);
  font-weight: 400;
  border: 0.125rem solid var(--primary-color);
  border-radius: 3.125rem;
  padding: 0.313rem 0.625rem;
  display: inline-block;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}
.faq .card .card-inner .box .tag a:hover {
  color: var(--clr-white);
  background: var(--primary-color);
  border: 0.125rem solid var(--primary-color);
}


.custom-faq-item {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px !important;
}

.faq .accordion-button {
    text-align: right;
    font-weight: bold;
    color: var(--text-color);
    background-color: #fff;
    border-radius:10px !important;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.08);
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: var(--light-bg);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.accordion-body {
    text-align: right;
    border-top: 1px solid #eee;
}
.faq .readmore {
    display: block;
    margin-top: 20px;
}
/* --- Articles/Tips Section --- */
.articles {
    padding:100px 0;
}

.articles h2, 
.articles p {
    text-align: center;
}
.articles ul {
   font-size: 16px;
    font-family: "Noto Sans Arabic", sans-serif; 
    text-align: right;
}
.articles p {
    font-size: 16px;
    font-family: "Noto Sans Arabic", sans-serif;
    width: 62%;
    margin: 10px auto;
}
.articles h2 span {
    color: var(--primary-color);
}

.articles .card {
  padding-block: 1rem;
  background: transparent;
  border-radius: 1.2rem;
  position: relative;
  height: 17rem;
  border-color: transparent;
      padding: 0 10px;
}

@media screen and (min-width: 53rem) {
  .articles .card {
    border-radius: 1.8rem;
  }
}
.articles .card .card-text p {
    text-align: right;
        width: 100%;
    font-size: 18px;
}

.articles .card p a {
  font-size: 0.9rem;
  display: inline-block;
  color: var(--clr-black);
}
.articles .card p a:hover {
  /* font-weight: 600; */
}
.articles .card .card-inner {
  position: relative;
  width: inherit;
  height: inherit;
  border-bottom-right-radius: 0;
}
.articles .card .card-inner .box {
  width: 100%;
  height: 100%;
  background: transparent;
  border-radius: 1.2rem;
  overflow: hidden;
}
.articles .card .card-inner .box .videoBox {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.articles .card .card-inner .box .videoBox iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.articles .card .card-inner .box .imgBox {
  position: absolute;
  inset: 0;
}
.articles .card .card-inner .box .imgBox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}
@media screen and (min-width: 53rem) {
  .articles .card .card-inner .box .imgBox img {
    border-radius: 1.6rem;
  }
}
.articles .card .card-inner .box .more {
  position: absolute;
  top: -0.375rem;
  left: 0;
  width: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--light-bg);
  padding: 0.625rem 0.625rem 0.625rem;
      border-bottom-right-radius: 1rem;
}
.articles .card .card-inner .box .more::before {
 position: absolute;
    content: "";
    top: 0.375rem;
    right: -1.188rem;
    background: transparent;
    width: 1.2rem;
    height: 1.2rem;
    border-bottom-right-radius: 2rem;
    box-shadow: 0.313rem 0.313rem 0px 0.313rem var(--light-bg);
    transform: rotate(180deg);
}
.articles .card .card-inner .box .more::after {
  position: absolute;
  content: "";
  bottom: -1.188rem;
 left: -0.063rem;
  background: transparent;
  width: 1.2rem;
  height: 1.2rem;
  border-bottom-right-radius: 2rem;
  box-shadow: 0.313rem 0.313rem 0px 0.313rem var(--light-bg);
  transform: rotate(180deg);
}
.articles .card .card-inner .box .more .arrow {
  width: 2.5rem;
  height: 2.5rem;
  border: 0.125rem solid var(--light-bg);;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease-in-out;
}
.articles .card .card-inner .box .more .arrow:hover {
  background: var(--light-bg);
  border: 0.125rem solid var(--light-bg);;
  color: var(--light-bg);;
}
.articles .card .card-inner .box .more .arrow:hover svg {
  color: var(--light-bg);;
}
.articles .card .card-inner .box .more svg {
  width: 1.063rem;
  color: var(--light-bg);;
}
.articles .card .card-text {
    padding-right: 15px;
    position: absolute;
    z-index: 99;
    bottom: 8px;
    width: 90%;
    text-align: right;
    color: #fff;
}
.articles .card .card-text h6{
    font-size: 12px;
    font-weight: 700;
}
.articles .card .card-text p{
    margin-bottom: 5px;
     font-family: "Cairo", sans-serif;
}

.articles .card .card-text span {
    font-size: 14px;
    font-family: "Noto Sans Arabic", sans-serif;
}

.custom-article-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.custom-article-card:hover {
    transform: translateY(-5px);
}

.custom-article-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.custom-article-card .card-body {
    text-align: end;
}
/* --- Article Page --- */
.article-page table {
    --bs-table-color: var(--bs-body-color);
    --bs-table-bg: transparent;
    --bs-table-border-color: var(--bs-border-color);
    --bs-table-accent-bg: transparent;
    --bs-table-striped-color: var(--bs-body-color);
    --bs-table-striped-bg: rgba(0, 0, 0, 0.05);
    --bs-table-active-color: var(--bs-body-color);
    --bs-table-active-bg: rgba(0, 0, 0, 0.1);
    --bs-table-hover-color: var(--bs-body-color);
    --bs-table-hover-bg: rgba(0, 0, 0, 0.075);
    width: 100%;
    margin-bottom: 1rem;
    color: var(--bs-table-color);
    vertical-align: top;
    border-color: var(--bs-table-border-color);
    width: 70%;
    margin:10px auto;
}
.article-page table tbody,.article-page table td,.article-page table tfoot, th,.article-page table thead, tr {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
}
.article-page table>:not(caption)>*>* {
    padding: .5rem .5rem;
    background-color: var(--bs-table-bg);
    border-bottom-width: var(--bs-border-width);
    box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}
.article-page table>tbody>tr:nth-of-type(odd)>* {
    --bs-table-accent-bg: var(--bs-table-striped-bg);
    color: var(--bs-table-striped-color);
}
.article-page table>:not(caption)>*>* {
    border-width: 0 var(--bs-border-width);
}


.article-page p {
    width: 100%;
    text-align: right;
    margin: 0px;
}
.article-page ul {
    font-size: 16px;
    font-family: "Noto Sans Arabic", sans-serif;
    text-align: right;
        margin-bottom: 0;
        margin-right:0;
}
.article-page h4 {
    font-size: 18px;
    font-family: "Noto Sans Arabic", sans-serif;
    text-align: right;
        margin-top: 10px;
    /* font-weight: bold; */
}
.article-page-header {
    background-image: none !important;
    height: 350px;
    padding:50px 0;
}
.article-page-header .article-page-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.article-page-header .article-page-header-content .leftdv .cover-img {
    max-height: 200px;
    
}
.article-page-header .article-page-header-content .rightdv {
    text-align: right;
}
.article-page-header .article-page-header-content .rightdv h1{
    font-size: 2.3rem;
}
.article-tags {
    margin-top: 15px;
    display: flex;
    justify-content: start;
}
.article-tags,
.article-tags ul{
    text-align: right;
}
.article-tags ul{
    list-style: none;
    margin-right: 10px;
    padding-right: 10px;
}
.article-tags ul li{
    display: inline;
    padding-right: 5px;
    padding-left: 5px;
}
.article-tags ul li:not(:first-child){
    border-right: 1px solid #888;
}
.related-articles-title {
    margin-top: 30px;
    text-align: right;
    margin-bottom: 30px;
}

/* --- Testimonials Section --- */
.testimonials {
    padding:100px 0;
     background-image: url(../images/beforeafterbg2.png);
    background-size: cover;
}

.testimonials h2, 
.testimonials p.leadp {
    text-align: center;
}
.testimonials p.leadp {
    font-size: 16px;
    font-family: "Noto Sans Arabic", sans-serif;
    width: 65%;
    margin: 10px auto;
}
.testimonials h2 span {
    color: var(--primary-color);
}

.custom-testimonial-card {
    background-color: var(--light-bg);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: end;
        min-height: 320px;
}

.custom-testimonial-card img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    /* border: 3px solid var(--primary-color); */
}
.custom-testimonial-card p {
    font-family: "Noto Sans Arabic", sans-serif;
    
}
.testimonials .rightdv {
    color:var(--primary-color);
    font-size: 60px;
}

.custom-rating .bi-star-fill {
    color: gold;
}

/* --- Footer CTA Section --- */
.footer-cta-section {
    background:
    linear-gradient(90deg,var(--secondarylight-color) 0%, var(--primary-color) 31%, var(--primary-color) 100%);
    
    /* padding-top: 60px;
    padding-bottom: 60px; */
    height: 364px;
}
.footer-cta-section p { 
    font-family: "Noto Sans Arabic", sans-serif;
    font-size: 16px;
}


.custom-btn-cta {
    background-color: #fff;
    border-color: #fff;
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: bold;
    padding: 10px 30px;
    transition: all 0.3s;
}

.custom-btn-cta:hover {
    background-color: var(--light-bg);
    border-color: var(--light-bg);
    color: var(--secondary-color);
}

.cta-doctor-img {
    max-width: 80%;
    height: auto;
}
/* About Page */

.about-page {
    padding: 70px 0;
    background-image: url(../images/servicesbg2.png);
    background-size: cover;
    background-position: center center;
}
.about-page h1 {
    font-size: 48px;
}

.about-page h1 span {
    color: var(--primary-color);
}  
.about-page .aboutme-text {
    
    justify-content: center;
    align-items: start;
} 
.about-page .aboutme-text p {
width: 550px;
text-align: justify;
/* font-size: 18px; */
}
.about-page .card {
    text-align: center;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.08);
    border-radius: 24px;
}
.about-page .card h4{
    font-size: 38px;
}
/* --- about-dr-ahmad --- */

.about-dr-ahmad {
    padding: 70px 0;
   
}
.about-dr-ahmad h2 {
    font-size: 28px;
    font-weight: normal;
}
/* .about-dr-ahmad p {
    font-family: "Noto Sans Arabic", sans-serif;
} */

.about-dr-ahmad .aboutme-text {
    min-height: 100px;
}
.about-dr-ahmad .certs {
    margin-top: 100px;
}
.about-dr-ahmad .certs .card {
    height: 150px;
}
.about-dr-ahmad .certs .card .card-text h6{
    font-size: 18px;
}
.about-dr-ahmad .certs .card .card-text a{
    color:#fff;
}


.about-dr-ahmad .certs .card .imgBox{
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%), url(../images/cert.jpg);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    background-size: cover;
}

/* --- vision Section --- */
.vision {
    padding:70px 0;
}
.vison h2{
    font-size: 48px;
}
.vision h2 span {
    color: var(--primary-color);
}
.vision ul {
    list-style: none;
    /* font-family: "Noto Sans Arabic", sans-serif;
    font-size: 14px; */
    margin-left: 30px;
    margin-right: 0;
}
.vision ul li {
    margin:10px 0;
}
.vision ul li:before {
    content: "\f00c";
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    color: var(--primary-color);
    margin-left: 5px;
}
.vision .vision-img{
    height: 337px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%), url(../images/cert.jpg);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    background-size: cover;
}

/* --- Our Team --- */
.ourteam {
        background: #FFF;
    padding:70px 0;
    background-image: url(../images/beforeafterbg2.png);
    background-size: cover;
    /* background-position: center center; */

}
.ourteam .card {
    height: auto;
}

.ourteam .card h2,
.ourteam .card .card-text p,
.ourteam .card .card-text span {
    text-align:center;
    
}
.ourteam .card .card-text p,
.ourteam .card .card-text span {
    /* font-family: "Noto Sans Arabic", sans-serif; */
    font-size: 14px;
    color:#333;
}
.ourteam .card h2{
    color:var(--primary-color);
    font-size: 18px;
    margin-top: 10px;
}
.ourteam .card .card-inner .box .imgBox {
    position: relative;
}
.ourteam .card .card-text {
    position: relative;
}

/* --- FAQInPage ---*/

.faqinpage {
    padding: 70px 0;
    background-image: url(../images/servicesbg2.png);
}

/* --- Service Banner --- */
.service-banner {
    padding:0;
    background-image: url(../images/servicesbg2.png);
    background-size: cover;
    background-position: center center;
   
}
.service-banner .picdv {
    text-align: left;
}
.service-banner h1  {
    font-size: 48px;
}
.service-banner p  {
    font-size: 28px;
}
.service-banner h1 span {
    color: var(--primary-color)
}
.service-banner .aboutme-text {
    justify-content: center;
}

.about-service h4{
    color:var(--primary-color);
    font-size: 16px;
    font-family: "Noto Sans Arabic", sans-serif;
    font-weight: bold;

}
.service-text ul {
    list-style: none;
        margin: 0;
}
.service-text ul li:before {
    content: "\f00c";
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    color: var(--primary-color);
    margin-left: 5px;
}

/* Gallery Page */
.gallery-page {
    height: 300px;
    background-image: url(../images/gallery_banner.png);
    background-size: cover;
    background-color: #ccf5f5;
}
.gallery-page p {
    font-size: 18px;
}
/* --- Footer --- */
.custom-footer {
    background-color: var(--dark-bg);
}
.custom-footer .logowithtxt{ 
    display: flex;
    
}

.custom-footer  h5 {
    color:var(--primary-color)
}
.custom-footer .h5footer2 {
    margin-right: 40px;
}
.custom-footer  p,
.custom-footer  ul {
    font-size: 14px;
    font-family: "Noto Sans Arabic", sans-serif;
}

.custom-footer  ul li {
    padding:10px 0;
}
.custom-footer .logowithtxt img {
    height: 27px;
    margin-left: 15px;
} 
.custom-footer a {
    color: #fff;
    text-decoration: none;
}

.custom-footer a:hover {
    color: var(--primary-color);
}

.custom-footer .bi {
    color: var(--primary-color);
}

.social-icons a {
    font-size: 1.5rem;
}





/* --- Before & After Gallery Page --- */
.gallery-page form {
    width: 50%;
    margin: 0 auto;
}
.gallery-page1 h4 {
    text-align: right;
    color: var(--primary-color);
}

.gallery-section1 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: calc(var(--bs-border-width) * -1);
    border-top-right-radius: 0;
    border-top-left-radius: 20%;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 20%;
}


.gallery-page2 .card .card-inner .box .more {
    background: var(--light-bg);
}
.gallery-page2 .card .card-inner .box .more::before {
    box-shadow: 0.313rem 0.313rem 0px 0.313rem var(--light-bg);
}
.gallery-page2 .card .card-inner .box .more svg {
    color: var(--light-bg);
}
.gallery .card .card-inner .box .more .arrow {
    width: 2.5rem;
    height: 2.5rem;
    border: 0.125rem solid #fff;
}
.btn:hover {
    color: var(--primary-color);
    background-color: var(--light-bg);
    border-color: var(--light-bg);
}
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--primary-color);
    --bs-btn-hover-border-color: var(--primary-color);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--primary-color);
    --bs-btn-active-border-color: var(--primary-color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--primary-color);
    --bs-btn-disabled-border-color: var(--primary-color);
}

/* moving-bar */
.moving-bar ul {
    list-style: none;
}
.moving-bar .news-item {
    color: #111;
    padding-left: 30px;
    padding-right: 30px;
    display: inline;
}


/*  Contact Page */

.contact-page {
    padding: 70px 0;
}
.contact-page .hero-text{
    width: 80%;
    align-items: flex-start;
}
.contact-page .hero-text h1 {
    color: var(--primary-color);
    font-size: 28px;
}
.contact-page .contact-form-card {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.16);
    border-radius: 24px;
     color: #333;
     width: 80%;
  margin-right: auto;
}
.contact-page .contact-form-card h4{
    font-size: 18px;
    color: var(--primary-color);
    
}
.contact-page .contact-form-card p {
    font-size: 14px;
    color: #333;
    font-family: "Noto Sans Arabic", sans-serif;
}
.contact-page .contact-form-card form  {
    text-align: right;
    font-size: 14px;

}
.contact-page .contact-form-card .form-label {
    font-family: "Noto Sans Arabic", sans-serif;
    color: #333;
    margin-top: 16px;
    
}
.contact-page .contact-form-card select,
.contact-page .contact-form-card textarea,
.contact-page .contact-form-card input {
    font-family: "Noto Sans Arabic", sans-serif;
    font-size: 14px;

}
.contact-page .contact-form-card input::placeholder {
    color: #666;
     font-size: 14px;
    font-family: "Noto Sans Arabic", sans-serif;
}