/* =========================================================
   هوية ديار من البروفايل — ذهبي مطفأ + خلفيات غامقة
   الهيكل LTR مثل القالب، والنصوص العربية عبر dir=rtl محلياً
   ========================================================= */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

/* ----- Top bar (غامق من هوية البروفايل) ----- */
.top-bar {
  background: #1a1a1a !important;
}

.top-bar .logo h4 {
  margin: 0;
  color: #b59157;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 700;
}

.top-bar .top-bar-text h3 {
  text-align: center;
  color: #b59157;
}

.top-bar .top-bar-text p {
  margin: 0;
  color: #f3f0ea;
}

.top-bar .top-bar-icon i {
  color: #b59157;
  font-size: 40px;
  line-height: 1;
  display: inline-block;
  position: relative;
  z-index: 3;
}

/* ----- Nav (مطابق للمكلا) ----- */
.nav-bar .nav-desktop-logo {
  width: 90px !important;
  max-width: 90px;
  height: auto;
  background: #fff;
  padding: 4px;
  border-radius: 5px;
}

.nav-bar .nav-mobile-logo {
  display: none;
  background: #fff;
  padding: 2px;
}

@media (max-width: 991.98px) {
  .nav-bar .nav-mobile-logo {
    display: inline-block;
    width: 48px !important;
    height: auto;
    margin-left: auto;
    margin-right: 8px;
    border: 0;
  }

  /* الصورة ليست زر فتح القائمة */
  .nav-bar img.navbar-toggler.nav-mobile-logo {
    pointer-events: none;
  }
}

.lang-nav-link {
  font-weight: 700 !important;
  color: #b59157 !important;
}

.lang-nav-link:hover {
  color: #b59157 !important;
}

/* ----- Feature strip (رؤية / رسالة / قيم) ----- */
.feature .feature-icon i,
.fact .fact-icon i {
  position: relative;
  z-index: 3;
  line-height: 1;
  display: inline-block;
}

.feature .feature-icon i {
  color: #b59157;
  font-size: 42px;
}

.feature .col-md-12:nth-child(2n) .feature-icon i {
  color: #1a1a1a;
}

.feature .feature-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature .feature-text ul li {
  margin: 0.15rem 0;
}

/* إبقاء ترتيب أعمدة الـ feature مثل المكلا (LTR) */
.feature,
.feature .row {
  direction: ltr;
}

.feature .feature-text {
  direction: rtl;
}

/* ----- Facts ----- */
.fact .fact-icon i {
  font-size: 52px;
  background-image: linear-gradient(#ffffff, #b59157);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #b59157;
}

.fact .fact-right .fact-icon i {
  background-image: linear-gradient(#ffffff, #1a1a1a);
  color: #1a1a1a;
}

.video,
.testimonial {
  background:
    linear-gradient(rgba(26, 26, 26, 0.92), rgba(26, 26, 26, 0.92)),
    url("../img/projects.jpg") center / cover no-repeat !important;
}

.about-img .brand-panel {
  background: #1a1a1a;
  border: 8px solid #b59157;
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
}

.about-img .brand-panel svg,
.about-img .brand-panel img {
  width: 160px;
  height: auto;
  margin-bottom: 1rem;
  background: #fff;
  border-radius: 8px;
  padding: 8px;
}

.about-img .brand-panel strong {
  display: block;
  color: #b59157;
  font-size: 1.25rem;
}

.about-img .brand-panel small {
  color: #c9a86e;
}

/* ----- Goals section ----- */
.goals-section {
  padding: 60px 0;
  background: #1a1a1a;
  color: #f3f0ea;
}

.goals-section .section-header p {
  color: #b59157;
}

.goals-section .section-header h2 {
  color: #fff;
}

.goal-item {
  background: #2e2e2e;
  border: 1px solid #3d3a38;
  border-top: 3px solid #b59157;
  padding: 1.5rem 1.25rem;
  height: 100%;
  margin-bottom: 1.5rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.goal-item:hover {
  background: #252525;
  border-color: #b59157;
}

.goal-item .goal-num {
  display: inline-block;
  color: #b59157;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.goal-item h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.goal-item p {
  color: #cfcac3;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer .brand-mark-wrap img {
  max-width: 140px;
  height: auto;
  display: block;
}

.open-facebook.btn-warning {
  background-color: #b59157 !important;
  border-color: #b59157 !important;
}

.goals-section .row {
  justify-content: center;
}

body.is-en .goals-section .goal-item,
body.is-en .goals-section .section-header {
  direction: ltr;
  text-align: left;
}

body.is-en .goals-section .goal-item.text-center,
body.is-en .goals-section .section-header.text-center {
  text-align: center;
}

.team-item .team-img img {
  object-fit: cover;
  height: 250px;
  width: 100%;
}

.service-item .service-img img {
  height: 250px;
  object-fit: cover;
  width: 100%;
}

.blog-item .blog-img img {
  object-fit: cover;
  width: 100%;
}

.portfolio .portfolio-img img {
  height: 250px;
  object-fit: cover;
  width: 100%;
}

.contact-section {
  padding: 60px 0;
  background: #f8f8f8;
}

.contact-section .contact-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 2rem;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.06);
}

.contact-section .form-control {
  border-radius: 0;
  height: auto;
  padding: 0.75rem 1rem;
}

.contact-section .btn-submit {
  background: #b59157;
  color: #1a1a1a;
  border: none;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  width: 100%;
}

.contact-section .btn-submit:hover {
  background: #1a1a1a;
  color: #b59157;
}

.carousel-caption .btn-profile {
  background: #a67f45 !important;
  border-color: #a67f45 !important;
  color: #fff !important;
}

.carousel-caption .btn-profile:hover {
  background: #1a1a1a !important;
  border-color: #1a1a1a !important;
  color: #b59157 !important;
}

.open-facebook,
.open-buttonn2,
.open-buttonn4 {
  text-decoration: none;
}

.footer .brand-mark-wrap {
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  display: inline-block;
}

/* الإنجليزية: نصوص LTR دون قلب هيكل القالب */
body.is-en .feature .feature-text,
body.is-en .about-text,
body.is-en .section-header,
body.is-en .faqs .card-body,
body.is-en .blog-text,
body.is-en .contact-section,
body.is-en .footer-contact,
body.is-en .newsletter {
  direction: ltr;
  text-align: left;
}

body.is-en .top-bar,
body.is-en #navbarCollapse {
  direction: ltr;
}
