/* generic style */
.title h2{
    padding-top: 0px;
    margin: 10px;
    margin-top: 0px;
    margin-right: 0px;
    direction: rtl;
    text-align: right;
}
.title p{
    color: #123D57;
    margin: 0px;
    padding: 0px;
    direction: rtl;
    text-align: right;
}
.img-gold-border-container{
    width: 325px;
    display: block;
    border-radius: 6px;
    position: relative;
}
.img-gold-border-container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.img-gold-border-container::before {
    content: "";
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background-color: #123D57;     /* Gold color */
    z-index: -1;
}
.div-1row-2col{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: right;
    flex-direction: row;
    flex-wrap: wrap;
}
@media only screen and (max-width: 700px) {
    .div-1row-2col{
        flex-direction: column;
        align-items: flex-end;
    }
    .div-1row-2col div{
        width: 100%;
    }
}

/* who we are section */
#who{
    margin-left: 70px;
    margin-right: 70px;
    margin-top: var(--BigMargin);
}
#who-pargraph{
    width: 50%;
    margin: 20px;
}
#who-pargraph p{
    margin-top: 30px;
}
@media only screen and (max-width: 700px) {
    #who-pargraph{
        width: 100%;
        margin: 0px;
        margin-top: 45px;
    }
    #who .img-gold-border-container{
        margin-left: 5px;
    }
    #who .div-1row-2col div{
        width: 90%;
    }
}
@media only screen and (max-width: 500px) {
    #who{
        margin-left: 20px;
        margin-right: 20px;
        margin-top: 70px;
    }
    #who-pargraph{
        margin-top: 30px;
    }
    .img-gold-border-container{
        width: 280px;
    }
    .img-gold-border-container::before {
        bottom: -15px;
        left: -15px;
    }
}
@media only screen and (max-width: 400px) {
    #who{
        margin: 15px;
        display: inline-block;
        margin-top: 50px;
    }
    .img-gold-border-container{
        width: 90%;
    }
    .img-gold-border-container::before {
        bottom: -10px;
        left: -10px;
    }
}

/* services */
.services-container{
    display: flex;justify-content: center;align-items: center;margin: 70px;background-color: #123D57;border-radius: 10px;margin-top: 105px;flex-direction: column;
}
.services-container h2{
    color: white;margin: 48px;
}
.services-cards-container{
    display: flex;justify-content: center;align-items: flex-start;flex-direction: row;flex-wrap: wrap;
}
.service-card{
    display: flex;justify-content: center;align-items: center;flex-direction: column;width: 350px;margin: 25px;color: black;
}
.service-card img{
    width: 350px;height: 200px;object-fit: cover;border-radius: 10px;
}
.service-card h4{
    background-color: white;border-radius: 5px;padding: 10px 25px;text-align: center;margin-top: -20px;
}
@media only screen and (max-width: 500px) {
    .services-container{
        margin: 20px;
        margin-top: 70px;
    }
    .services-container h2{
        margin: 30px;
        font-size: 28px;
    }
    .service-card{
        width: 90%;
        margin: 15px;
    }
    .service-card img{
        width: 100%;
        height: 180px;
    }
    .service-card h4{
        font-size: 16px;
        padding: 8px 15px;
    }
}
@media only screen and (max-width: 400px) {
    .services-container{
        margin: 10px;
        margin-top: 50px;
        border-radius: 5px;
    }
    .services-container h2{
        margin: 20px;
        font-size: 24px;
    }
    .service-card{
        width: 95%;
        margin: 10px;
    }
    .service-card img{
        height: 150px;
    }
}


/* articles */
.articles-container{
    margin-right: 70px;margin-left: 70px;margin-top: 105px;
}
.articles-card-container{
    display: flex;justify-content: center;align-items: center;flex-wrap: wrap;
}
.articles-card{
    display: flex;justify-content: center;align-items: flex-end;flex-direction: column;width: 350px;text-align: right;background-color: #cdd4df61;padding: 20px;margin: 20px;
}
.articles-card img{
    width: 310px;height: 150px;object-fit: cover;
}
.articles-card span{
    border-radius: 50px;padding: 2px 10px;margin: 10px 0px;font-size: 12px;
}
@media only screen and (max-width: 700px) {
    .articles-container{
        margin-right: 30px;
        margin-left: 30px;
        margin-top: 70px;
    }
}
@media only screen and (max-width: 500px) {
    .articles-container{
        margin-right: 15px;
        margin-left: 15px;
        margin-top: 50px;
    }
    .articles-card{
        width: 95%;
        margin: 15px 0;
        padding: 15px;
    }
    .articles-card img{
        width: 100%;
        height: 180px;
    }
    .articles-card h4{
        font-size: 16px;
    }
    .articles-card p{
        font-size: 14px;
    }
}
@media only screen and (max-width: 400px) {
    .articles-card{
        margin: 10px 0;
        padding: 12px;
    }
    .articles-card img{
        height: 150px;
    }
}
.category-red{
    background-color: #B96D6D;color: white;
}
.category-green{
    background-color: #82b96d;color: white;
}
.category-orange{
    background-color: #b9976d;color: white;
}
.category-yellow{
    background-color: #aab96d;color: white;
}
.articles-btn-container{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}
.articles-btn-container a{
    text-decoration: none;
    color: white;
    background-color: #1E6998;
    border-radius: 5px;
    padding: 5px 35px;
}

/* contact */
.contact-container{
    margin-left: 70px;
    margin-right: 70px;
    margin-top: 105px;
}
.contact-row{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: row-reverse;
}
.contact-column{
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.contact-card{
    border-radius: 10px;border: 1px solid #123D57;width: calc(100% - 20px);min-width: 90%; margin: 20px;
}
.contact-card-no-mt{
    margin-top: 0px;
}
.contact-card h4{
    background-color: #123D57;border-radius: 10px 10px 0px 0px;text-align: center;color: white;padding: 10px;
}
.contact-card p{
    padding: 20px;text-align: right;
}
.clinic-name{
    font-size: x-large;
    font-weight: 800;
}
.contact-form{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 30px;
}
.contact-form input,
.contact-form textarea{
    width: 100%;
}
@media only screen and (max-width: 700px) {
    .contact-container{
        margin-left: 30px;
        margin-right: 30px;
        margin-top: 70px;
    }
    .contact-row{
        flex-direction: column;
    }
    .contact-column{
        width: 100%;
    }
}
@media only screen and (max-width: 500px) {
    .contact-container{
        margin-left: 15px;
        margin-right: 15px;
        margin-top: 50px;
    }
    .contact-card{
        min-width: 95%;
        margin: 10px;
    }
    .contact-card h4{
        font-size: 18px;
    }
    .contact-card p{
        padding: 15px;
        font-size: 14px;
    }
    .clinic-name{
        font-size: 18px;
    }
    .contact-form{
        padding: 20px 15px;
    }
}
@media only screen and (max-width: 400px) {
    .contact-container{
        margin-left: 10px;
        margin-right: 10px;
        margin-top: 40px;
    }
    .contact-card{
        min-width: 98%;
        margin: 8px;
    }
    .contact-card p{
        padding: 10px;
        font-size: 13px;
    }
    .clinic-name{
        font-size: 16px;
    }
    .contact-form{
        padding: 15px 10px;
    }
}

/* footer */
.footer-dark {
    padding:50px 0;
    color:#f0f9ff;
    margin-top: var(--BigMargin);
    background-color: #123D57;
    text-align: right;
  }
  .footer-div{
      padding: 30px;
      color: white;
  }
  .footer-dark h3 {
    margin-top:0;
    margin-bottom:12px;
    font-weight:bold;
    font-size:16px;
    color: white;
  }
  .footer-div p{
      color: white;
  }
  
  .footer-dark ul {
    padding:0;
    list-style:none;
    line-height:1.6;
    font-size:14px;
    margin-bottom:0;
  }
  
  .footer-dark ul a {
    color:inherit;
    text-decoration:none;
    opacity:0.6;
  }
  
  .footer-dark ul a:hover {
    opacity:0.8;
  }
  
  @media (max-width:767px) {
    .footer-dark .item:not(.social) {
      text-align:center;
      padding-bottom:20px;
    }
  }
  
  .footer-dark .item.text {
    margin-bottom:36px;
  }
  
  @media (max-width:767px) {
    .footer-dark .item.text {
      margin-bottom:0;
    }
  }
  
  .footer-dark .item.text p {
    opacity:0.6;
    margin-bottom:0;
    color: white;
  }
  
  .footer-dark .item.social {
    text-align:center;
  }
  
  @media (max-width:991px) {
    .footer-dark .item.social {
      text-align:center;
      margin-top:20px;
    }
  }
  
  .footer-dark .item.social > a {
    font-size:20px;
    width:36px;
    height:36px;
    line-height:36px;
    display:inline-block;
    text-align:center;
    border-radius:50%;
    box-shadow:0 0 0 1px rgba(255,255,255,0.4);
    margin:0 8px;
    color:#fff;
    opacity:0.75;
  }
  
  .footer-dark .item.social > a:hover {
    opacity:0.9;
  }
  
  .footer-dark .copyright {
    text-align:center;
    padding-top:24px;
    opacity:0.3;
    font-size:13px;
    margin-bottom:0;
  }
