/* الألوان الأساسية */
:root {
  --cream-white: #fff;
  --text-color-1: #9f925f;
  --text-color: #333333;
  --border-color: rgba(124, 113, 97, 0.18);
  --hover-background: rgba(124, 113, 97, 0.08);
  --scrolled-background: rgba(255, 253, 248, 0.72);
}

/* إعدادات عامة */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Cairo', sans-serif;
  font-weight: 300;
  min-height: 100vh;
  background-color: var(--cream-white);
  color: var(--text-color);
  direction: rtl;
}

/* الشريط العلوي الثابت */
.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  background-color: var(--cream-white);
}

.navbar {
  width: min(1200px, calc(100% - 40px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 42px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.namelogo {
  color: var(--text-color-1);
  font-weight: 600;
  font-family: 'Cairo', sans-serif;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-links a {
  display: block;
  padding: 12px 14px;
  color: var(--text-color);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: var(--text-color-1); 
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-color-1); 
}

.nav-links a:hover::after {
  width: 100%;
}

.topbar.is-scrolled {
  background-color: var(--scrolled-background);
  box-shadow: 0 8px 24px rgba(76, 67, 55, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* أقسام الصفحة العامة */
main {
  padding-top: 88px;
}

.content-section {
  min-height: auto;
  display: grid;
  place-items: center;
  padding: 60px 24px;
  border-bottom: 1px solid var(--border-color);
  scroll-margin-top: 88px;
}

.content-section:nth-child(even) {
  background-color: rgba(124, 113, 97, 0.025);
}

/* خلفيات الأقسام بالتناوب */
main > .hero-section,
main > #services,
main > #reviews {
  background-color: #ffffff;
}

main > #works,
main > #about,
main > #contact {
  background-color: #f7f4ee;
}

main > #works,
main > #services,
main > #about,
main > #reviews,
main > #contact {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100% - 1200px) / 2));
  padding-left: max(20px, calc((100% - 1200px) / 2));
}

.section-content {
  width: min(720px, 100%);
}

.content-section h2 {
  margin-bottom: 24px;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.25;
}

.content-section p:not(.hero-line-1):not(.hero-line-4) {
  font-size: 18px;
  line-height: 2.1;
}

/* --- تنسيق القسم الرئيسي (Hero Section) --- */

.hero-section {
  padding: 80px 24px 60px;
  min-height: auto;
  display: flex;
  align-items: center;
}

.hero-container {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

/* جهة النصوص (يمين) */
.hero-text {
  flex: 1;
  max-width: 580px;
}

/* السطر 1: غليظ، صغير، شفاف بلون البني */
.hero-line-1 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-color-1);
  opacity: 0.7;
  margin-bottom: 12px;
  display: block;
}

.hero-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

/* السطر 2: خط أسود، وكلمة "منزلك" كبيرة وبنية */
.hero-line-2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.3;
}

.hero-line-2 .highlight {
  color: var(--text-color-1);
  font-size: 42px;
  font-weight: 700;
}

/* السطر 3: أسود كامل */
.hero-line-3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.3;
}

/* السطر 4: صغير ومتقارب وأكثر انسجاماً */
.hero-line-4 {
  font-size: 16px;
  line-height: 1.8;
  color: #555555;
  font-weight: 400;
  max-width: 95%;
}

.hero-image-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.hero-image-wrapper::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -12px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--text-color-1);
  border-radius: 16px;
  opacity: 0.25;
  z-index: 1;
}

.hero-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  height: 420px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 16px 35px rgba(128, 108, 39, 0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(128, 108, 39, 0.2);
}

/* تجاوب الشاشات الصغيرة (الموبايل) */
@media (max-width: 850px) {
  html {
    scroll-padding-top: 154px;
  }

  .navbar {
    width: min(100% - 24px, 700px);
    min-height: auto;
    padding: 14px 0;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    justify-content: center;
    gap: 2px;
  }

  .nav-links a {
    padding: 9px 10px;
    font-size: 14px;
  }

  main {
    padding-top: 154px;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-line-4 {
    max-width: 100%;
  }

  .hero-image-wrapper {
    justify-content: center;
  }

  .hero-image-wrapper::before {
    display: none;
  }

  .hero-img {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .brand img {
    width: 68px;
    height: 68px;
  }

  .nav-links a {
    padding: 8px 7px;
    font-size: 13px;
  }
}
/* ***************************** اعمالنا************************ */
.works-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 96px;
  text-align: center;
  scroll-margin-top: 88px;
}

.works-heading {
  max-width: 760px;
  margin: 0 auto;
}

.works-heading h2 {
  margin-bottom: 12px;
  color: var(--text-color-1);
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1;
}

.works-heading p:not(.eyebrow) {
  color: var(--text-color);
  font-size: 16px;
  line-height: 2;
  margin-bottom: 18px;
}
.eyebrow{
     text-decoration-line: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 8px;
    color: var(--text-color-1);
     opacity: 0.7;
}

.work-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 18px auto 38px;
}

.filter-button {
  min-width: 104px;
  padding: 12px 20px;
  border: 1px solid rgba(72, 65, 54, 0.1);
  border-radius: 999px;
  background:var(--cream-white);
  color: var(--text-color);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(76, 67, 55, 0.04);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.filter-button:hover,
.filter-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(76, 67, 55, 0.1);
  outline: none;
}

.filter-button.active {
  border-color: var(--text-color-1);
  background: var(--text-color-1);
  color: var(--cream-white);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.work-card {
  position: relative;
  aspect-ratio: 1.18 / 1;
  overflow: hidden;
  border: 1px solid rgba(124, 113, 97, 0.12);
  border-radius: 15px;
  background: #eeeae3;
  box-shadow: 0 4px 12px rgba(76, 67, 55, 0.04);
  isolation: isolate;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.work-card.is-hidden {
  display: none;
}

.work-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(35, 30, 24, 0.85), rgba(35, 30, 24, 0.05) 68%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.work-overlay {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 2;
  color: var(--cream-white);
  text-align: right;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.work-overlay span {
  display: block;
  margin-bottom: 8px;
  color: var(--text-color-1);
  font-size: 13px;
  font-weight: 700;
}

.work-overlay h3 {
  font-size: 18px;
  line-height: 1.6;
}

.work-card:hover img,
.work-card:focus-within img {
  transform: scale(1.06);
}

.work-card:hover::after,
.work-card:focus-within::after,
.work-card:hover .work-overlay,
.work-card:focus-within .work-overlay {
  opacity: 1;
}

.work-card:hover .work-overlay,
.work-card:focus-within .work-overlay {
  transform: translateY(0);
}

@media (max-width: 850px) {
  .works-section {
    width: min(100% - 24px, 700px);
    scroll-margin-top: 154px;
  }

  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .works-section {
    padding: 54px 0 70px;
  }

  .work-filters {
    gap: 8px;
    margin-top: 30px;
  }

  .filter-button {
    min-width: auto;
    padding: 10px 13px;
    font-size: 13px;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

 /* ***************************** خدماتنا************************ */ 

/* قسم الخدمات */
.services-section {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 60px 0;
  scroll-margin-top: 88px;
}

/* عنوان ووصف قسم الخدمات */
.services-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

.services-header h2 {
  margin-bottom: 12px;
  color: var(--text-color-1);
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1;
}

.services-header p {
  color: var(--text-color);
  font-size: 16px;
  line-height: 2;
  margin-bottom: 18px;
}

/* شبكة توزيع الكروت المتجاوبة */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

/* الكرت الفردي */
.feature-card {
  width: 100%;
  background-color: var(--cream-white, #ffffff);
  border: 1px solid var(--border-color, rgba(124, 113, 97, 0.18));
  border-radius: 18px;
  overflow: hidden;
  padding: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
              box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
              border-color 0.4s ease;
  cursor: pointer;
}

.card-image-wrapper {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.card-content {
  padding: 18px 6px 6px;
  text-align: right;
}

.card-title {
  color: var(--text-color, #333333);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.card-description {
  color: #666666;
  font-size: 14.5px;
  line-height: 1.7;
  font-weight: 300;
}

/* الأنميشن عند التأشير */
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(128, 108, 39, 0.15);
  border-color: rgba(128, 108, 39, 0.3);
}

.feature-card:hover .card-image-wrapper img {
  transform: scale(1.06);
}

.feature-card:hover .card-title {
  color: var(--text-color-1, #806c27);
}


/* =========================================
   قسم من نحن فقط
========================================= */

.about-section {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 90px 0 110px;
  direction: rtl;
  font-family: "Cairo", Tahoma, Arial, sans-serif;
  color: #707070;
  scroll-margin-top: 90px;
}

/* يقسم القسم إلى عمودين:
   العمود الأول في اليمين للعناوين
   العمود الثاني في اليسار للمحتوى */
.about-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.8fr);
  gap: clamp(45px, 8vw, 110px);
  align-items: start;
}

/* الجهة اليمنى */
.about-intro {
  padding-top: 12px;
  text-align: right;
}

.about-link {
  display: inline-block;
  margin-bottom: 28px;
  color: #806c27;
  font-size: 23px;
  font-weight: 400;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
  transition: color 0.3s ease;
}

.about-link:hover {
  color: #a28635;
}

.about-heading h2 {
  margin: 0;
  color: #55504a;
  font-size: clamp(45px, 5vw, 72px);
  font-weight: 500;
  line-height: 1.25;
}

/* الجهة اليسرى */
.about-content {
  min-width: 0;
}

.company-intro {
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(124, 113, 97, 0.2);
}

.company-intro h1 {
  margin: 0 0 16px;
  color: #292724;
  font-size: clamp(25px, 2.5vw, 34px);
  font-weight: 700;
  line-height: 1.5;
}

.company-intro p {
  margin: 0 0 12px;
  color: #66615b;
  font-size: 16px;
  font-weight: 300;
  line-height: 2.1;
}

.company-intro p:last-child {
  margin-bottom: 0;
}

/* العناصر المرقمة */
.about-values {
  display: grid;
  gap: 36px;
  padding-top: 38px;
}

.about-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.second-row {
  grid-template-columns: minmax(0, 1fr);
}

.about-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
  transition: transform 0.3s ease;
}

.about-item:hover {
  transform: translateY(-5px);
}

.item-number {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #9f925f;
  color: var(--cream-white);
  font-family: Arial, sans-serif;
  font-size: 17px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-item:hover .item-number {
  transform: scale(1.08);
  box-shadow: 0 9px 25px rgba(128, 108, 39, 0.2);
}

.item-text {
  flex: 1;
  text-align: right;
}

.item-text h3 {
  margin: 3px 0 7px;
  color: #222;
  font-size: 20px;
  font-weight: 700;
}

.item-text p {
  margin: 0;
  color: #66615b;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
}
.about-contact-button {
  background: #9f925f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 42px;
    border-radius: 14px;
    transition: 0.3s ease;
    cursor: pointer;
    border: none;
    gap: 8px;
    color: var(--cream-white);
}

.about-contact-button:hover {
    background-color: #9f925f;
     transform: translateY(-4px);
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.3);
}

/* الأجهزة اللوحية */
@media (max-width: 900px) {
  .about-section {
    width: min(100% - 36px, 700px);
    padding: 70px 0 85px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-intro {
    padding-top: 0;
    text-align: center;
  }

  .about-link {
    margin-bottom: 16px;
    font-size: 21px;
  }

  .about-heading h2 {
    font-size: clamp(44px, 9vw, 62px);
  }
}

/* الهواتف */
@media (max-width: 620px) {
  .about-section {
    width: min(100% - 28px, 500px);
    padding: 55px 0 70px;
  }

  .about-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-values {
    gap: 28px;
    padding-top: 30px;
  }

  .item-number {
    width: 58px;
    height: 58px;
    font-size: 15px;
  }

  .item-text h3 {
    font-size: 18px;
  }

  .item-text p,
  .company-intro p {
    font-size: 14px;
  }
}

/* =========================================
   قسم آراء العملاء فقط
========================================= */

.reviews-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0 110px;
  color: #333333;
  font-family: "Cairo", Tahoma, Arial, sans-serif;
  text-align: center;
  direction: rtl;
  scroll-margin-top: 90px;
}

.reviews-heading {
  width: min(720px, 100%);
  margin: 0 auto 55px;
  text-align: center;
}

.reviews-heading h2 {
   margin-bottom: 12px;
  color: var(--text-color-1);
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1;
  
  
}

.reviews-heading p {
  margin: 0;
  color: #66615b;
  font-size: 16px;
  line-height: 2;
}

.reviews-kicker {
  font-size: 20px;
  font-weight: 700;
       text-decoration-line: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 8px;
    color: var(--text-color-1);
     opacity: 0.7;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
  gap: 64px;
}

.review-card {
  position: relative;
  width: min(100%, 470px);
  min-height: 350px;
  margin: 0 auto;
  padding: 62px 38px 38px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.review-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 35px rgba(52, 117, 139, 0.13);
}

.reviewer-info {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.reviewer-image {
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 2px solid var(--text-color-1);;
  border-radius: 50%;
  background-color: #f3eee5;
}

.reviewer-info h3 {
  margin: 0 0 5px;
  color: var(--text-color);
  font-size: 18px;
  font-weight: 700;
}

.reviewer-info span {
  color: var(--text-color-1);
  font-size: 12px;
  font-weight: 500;
   text-decoration-line: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
    opacity: 0.7;

}

.review-text {
  margin: 0;
  color: #55504a;
  font-size: 15px;
  line-height: 2;
}
.review-card h5{
  color: var(--text-color);
  font-size: 12px;
  font-weight: 500;
   text-decoration-line: underline;
    text-underline-offset: 5px;
    opacity: 0.7;
}
.line {
  border-top: 2px dashed rgba(85, 80, 74, 0.3);
  width: 100%;
}

@media (max-width: 850px) {
  .reviews-section {
    width: min(100% - 32px, 700px);
    padding: 75px 0 85px;
    scroll-margin-top: 154px;
  }

  .reviews-grid {
    gap: 28px;
  }

  .review-card {
    min-height: 300px;
    padding: 52px 28px 30px;
  }
}

@media (max-width: 620px) {
  .reviews-section {
    width: min(100% - 24px, 500px);
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .review-card {
    width: min(100%, 390px);
    min-height: 330px;
    padding: 62px 34px 38px;
  }
}


.reviews-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.review-card {
  width: 100%;
  min-height: 230px;
  padding: 32px 34px;
  border: 1px solid rgba(124, 113, 97, 0.16);
  border-radius: 18px;
  background-color: #fff;
  box-shadow: 0 8px 24px rgba(76, 67, 55, 0.06);
  display: block;
  text-align: right;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: rgba(128, 108, 39, 0.3);
  box-shadow: 0 15px 30px rgba(76, 67, 55, 0.1);
}

.reviewer-info {
  justify-content: flex-start;
  margin-bottom: 20px;
}

.reviewer-image {
  width: 64px;
  height: 64px;
  border: 2px solid var(--text-color-1);
}

.review-text {
  padding-top: 18px;
  border-top: 1px solid rgba(124, 113, 97, 0.12);
  color: var(--text-color);
  font-size: 15px;
  line-height: 1.9;
}

@media (max-width: 620px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    min-height: auto;
    padding: 26px 24px;
    border-radius: 16px;
  }
}


.contact-section {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0 110px;
  font-family: "Cairo", Tahoma, Arial, sans-serif;
  scroll-margin-top: 90px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 54px;
  align-items: stretch;
  direction: ltr;
}

/* الخريطة في اليسار */
.contact-map {
  min-height: 540px;
  overflow: hidden;
  border: 1px solid rgba(124, 113, 97, 0.14);
  border-radius: 22px;
  background: #f4f0e9;
  box-shadow: 0 10px 28px rgba(76, 67, 55, 0.06);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 540px;
  border: 0;
}

/* لوحة المعلومات في اليمين */
.contact-info-card {
  min-height: 540px;
  padding: 54px 42px 38px;
  border-radius: 54px;
  background: var(--text-color-1);
  color: #ffffff;
  direction: rtl;
  text-align: right;
  box-shadow: 0 14px 34px rgba(54, 48, 42, 0.14);
}

.contact-info-card h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 20px);
  line-height: 1.4;
}

.contact-intro {
  margin: 0 0 38px;
  color: #e9e5e5;
  font-size: 14px;
  line-height: 2;
  
}

.contact-details {
  display: grid;
  gap: 25px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  
}

.contact-detail img {
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
 
  object-fit: contain;
}

.contact-detail h3 {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: 16px;
}

.contact-detail a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  text-decoration: none;
}

.contact-detail a:hover {
  color: #e3c98f;
}

/* دوائر التواصل الاجتماعي
.social-links {
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 52px;
} */





/* الأجهزة اللوحية */
@media (max-width: 900px) {
  .contact-section {
    width: min(100% - 32px, 700px);
    padding: 75px 0 85px;
    scroll-margin-top: 154px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-info-card {
    min-height: auto;
    border-radius: 36px;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 400px;
  }
}

/* الهواتف */
@media (max-width: 520px) {
  .contact-section {
    width: min(100% - 24px, 500px);
  }

  .contact-info-card {
    padding: 38px 24px 30px;
    border-radius: 28px;
  }

  .contact-intro {
    margin-bottom: 32px;
    font-size: 16px;
  }

  .contact-detail img {
    width: 42px;
    height: 42px;
  }

  /* .social-links {
    gap: 10px;
    margin-top: 38px;
  }

  .social-links a {
    width: 46px;
    height: 46px;
  } */
}


/* تمرير سلس بين أقسام الصفحة */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}

/* الحركة الأساسية عند ظهور العناصر أثناء التمرير */
.scroll-reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.75s ease,
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ظهور العناصر بشكل متدرج */
.work-card.scroll-reveal:nth-child(2),
.review-card.scroll-reveal:nth-child(2),
.about-value-item.scroll-reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.work-card.scroll-reveal:nth-child(3),
.about-value-item.scroll-reveal:nth-child(3) {
  transition-delay: 0.18s;
}

.work-card.scroll-reveal:nth-child(4) {
  transition-delay: 0.26s;
}

.work-card.scroll-reveal:nth-child(5) {
  transition-delay: 0.34s;
}

.work-card.scroll-reveal:nth-child(6) {
  transition-delay: 0.42s;
}

/* تحسين الضغط على روابط التنقل */
.nav-links a,
.brand {
  -webkit-tap-highlight-color: transparent;
}

/* إلغاء الحركة لمن يفضل تقليل الحركات */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scroll-reveal,
  .scroll-reveal.is-visible,
  .work-card,
  .review-card,
  .about-value-item,
  .contact-map,
  .contact-info-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* تنسيقات شريط التذييل */
footer {
    background-color: #333; /* لون الخلفية */
    color: #fff; /* لون النص */
    padding: 40px 0; /* مسافة بادئة رأسية */
}

.container {
    max-width: 1200px; /* العرض الأقصى للحاوية */
    margin: 0 auto; /* توسيط الحاوية */
    padding: 0 20px; /* مسافة بادئة أفقية */
}

.footer-sections {
    display: flex; /* استخدام Flexbox */
    justify-content: space-between; /* توزيع الأعمدة بشكل متساوٍ */
    flex-wrap: wrap; /* السماح بالالتفاف على الشاشات الصغيرة */
}

.footer-column {
    flex: 1 1 250px;
    margin-bottom: 20px; 
}

.logo-column img {
    max-width: 250px; 
    height: auto; 
}

/* تنسيق عناوين الأعمدة */
.footer-column h3 {
    margin-bottom: 15px;
    position: relative;       
    padding-bottom: 8px;      
    display: inline-block;    
}

/* إنشاء الخط الأحمر تحت العناوين */
.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;                   
    width: 50%;              
    height: 2px;             
    background-color: var(--text-color-1); 
    border-radius: 2px;       
}

.footer-column ul {
    list-style: none;
    padding: 0;
   
    
}

.footer-column ul li {
    margin-bottom: 10px; 
     font-size: 14px;
}

.footer-column a {
    color: #fff; 
    text-decoration: none; 
}
.footer-column p{
font-size: 14px;
}
.copyrights {
    border-top: 1px solid #555; /* خط علوي */
    margin-top: 30px; /* هامش علوي */
    padding-top: 20px; /* مسافة بادئة علوية */
    text-align: center; /* توسيط النص */
}
.footer-column a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: var(--text-color-1); 
  transition: width 0.3s ease;
}

.footer-column a:hover {
  color: var(--text-color-1); 
}

.footer-column a:hover::after {
  width: 100%;
}
