:root {
  --bg: #ffffff;        /* خلفية بيضاء */
  --card: #f9f9f9;      /* لون الكارد فاتح */
  --text: #1a1a1a;      /* نص غامق */
  --muted: #666666;     /* نص ثانوي */
  --border: #dddddd;    /* حدود فاتحة */
  --treco-gray: #7A7A78;
  --treco-orange: #C7772E;
  --gradient: linear-gradient(135deg, #C7772E, #7A7A78);
  --radius:12px;
}

* { box-sizing: border-box; }

/* العناوين */
h1, h2, h3 {
  color: var(--treco-orange);
}


html, body {
  height: 100%;              /* نخلي الصفحة طولها كامل */
  margin: 0;
  display: flex;
  flex-direction: column;    /* نخلي العناصر فوق بعض */
  padding: 0; 
}

.content {
  flex: 1;                   /* يخلي المحتوى يتمدد ويملأ الفراغ */
}

.site-footer {
   background: var(--treco-gray);
  color: #fff;
  text-align: center;
  padding: 6px 10px;
  font-size: 14px;
  width: 100%;
}
.site-footer p {
  font-size: 1.0rem; /* أو أي قيمة تناسبك */
}

.divider { 
      width: 700px;
       height: 2px; 
       background: var(--treco-orange);
        margin: 0 auto;
         border-radius: 2px; }
body {
  font-family: "Trebuchet MS", "Segoe UI", Georgia, sans-serif; /* خط جميل بدون نت */
  color: var(--text);
  background: var(--bg);
  font-size: 18px;

}

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
/* السكشن الجمالي */
 .projects-intro {
   text-align: center; 
 } 
   .projects-intro h2 { 
    font-size: 1.5rem; 
    color: #000000;} 
       .projects-intro h3 { 
    font-size: 1.0rem; 
    color: #000000;} 
     .projects-intro .divider { 
      width: 700px;
       height: 2px; 
       background: var(--treco-orange);
        margin: 0 auto;
         border-radius: 2px; }

/* عنصر وهمي يرسم ظل تحت الهيدر */
.site-header::after {
  content: "";
  position: absolute;
  bottom: -10px; left: 0; right: 0;
  height: 10px;
  background: linear-gradient(
    rgba(0,0,0,0.25), 
    rgba(0,0,0,0)
  );
  pointer-events: none; /* باش ما يأثرش على الكليك */
}

/* Animationمتاع نص الميني هيرو */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}


.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px; /* أكبر شوي */
  padding: 0 24px;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 24px; /* خط أكبر */
}
.logo-mark {
  width: 55px;
  height: 44px;
  border-radius: 8px;   /* لو تبي زوايا مدورة */

}

.logo-text { font-size: 24px; }

/* Navigation */
.nav { display: flex; align-items: center; }
.nav-list {
  list-style: none;
  display: flex;
  gap: 12px;
  margin: 0; padding: 0;
/* القائمة العادية (ديسكتوب) */
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
 color:rgb(58, 58, 58);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight:600;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-link:hover {
  background: var(--treco-orange);
  color: #fff;
}
.nav-link.active-link {
   background: var(--treco-orange);
  color: #fff;
}


/* لما تكون مفتوحة */
.nav-list.active {
  display: block;
}
/* Main content */
.content {
  padding-top: 110px; /* مساحة أكبر للهيدر */
  padding-bottom: 40px;
}

/* Responsive */
/* زر الهامبرغر */ 
.nav-toggle {
  display: none; /* مخفي في الديسكتوب */
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1003;
}

/* الخطوط */
.bar {
  width: 100%;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
}

/* التحويل إلى X */
.nav-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* موبايل */
@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex; /* يظهر زر الهامبرغر */
  }

  .nav-list {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 40%;
    background: #fff;
    padding: 24px;
    flex-direction: column;
    z-index: 1002;
    display: none; /* مخفية افتراضياً */
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }

  .nav-list.active {
    display: flex; /* تظهر القائمة */
  }
 .projects-intro .divider { 
      width: 200px;
       height: 2px; 
       background: var(--treco-orange);
        margin: 0 auto;
         border-radius: 2px; }
         .divider { 
      width: 200px;
       height: 2px; 
       background: var(--treco-orange);
        margin: 0 auto;
         border-radius: 2px; }
}


/* ---- INDEX ---- */

.index-mini-hero {
  position: relative; /* بدل absolute */
  height: 350px;
  background: url("../Images/Home.jpg")  center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 100px; /* نفس ارتفاع الهيدر */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}


.index-mini-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5); /* طبقة شفافة */

}

.index-mini-content {
  position: relative;
  text-align: center;
  color: #e0e0e0;
  z-index: 1;
  animation: fadeUp 1s ease forwards;
}

.index-mini-content h2 {
  font-size: 6.0rem;
  margin-bottom: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 4px;
  background: linear-gradient(135deg, #ffea74, #7A7A78);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
}

.index-mini-content p {

  font-size: 1.2rem;
  color: #eee;
}

section { padding: 80px 20px; text-align: center; }
/* العناوين */
h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: #C7772E;
  position: relative;
}


/* النص */
p {
  max-width: 700px;
  margin: 20px auto 20px;
  color: #555;
  font-size: 1.4rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;

  background: #C7772E;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  transition: all .3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.about .btn {
 width: 40%;
}
.btn:hover {
  background: #a85d20;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* Services Cards */
.cards {
  display:inline-flex;
  justify-content: center;
  gap: 30px;
  margin: 40px 0;
 
}

.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  padding: 30px;
  width: 260px; /* أعرض */
  transition: transform .3s ease, box-shadow .3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}
.card p {
  font-size: 1.2rem;

}

.icon-boxx img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

/* Projects image */
.projects img {
  width: 75%; /* أوسع شوية */
  max-width: 100%;
  border-radius: 16px;
  margin: 20px auto 20px;
  display: block;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* Why Us points */
.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 20px;
  margin-top: 30px;
}

.point {
  background: #ffffff; /* smoked white */
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform .3s ease;
}

.point:hover {
  transform: scale(1.05);
}

/* CTA */
.cta {
  background: #ffffff; /* خلفية Smoked White أنيقة */
  color: #333;
  padding: 80px 20px;
  border-radius: 20px;
  margin: 60px auto;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  max-width: 1100px;
}

.cta p {
  font-size: 1.3rem;
  color: #555;
  margin-bottom: 20px;
  font-weight: 400;
}

.cta h2 {
  font-size: 2.0rem;
  margin-bottom: 25px;
  line-height: 1.4;
  font-weight: 600;
  color: #C7772E;
}


.cta .btn {
  display: inline-block;
  padding: 14px 32px;
  width: 40%;
  background: #C7772E;
  color: #fff;
  font-weight: 500;
  border-radius: 35px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cta .btn:hover {
  background: #a85d20;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}


/* ✨ Mobile Styles */
@media (max-width: 768px) {

  /* عام */
  section {
    padding: 50px 15px;
  }

  h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  

  p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 15px;
  }

  /* الأزرار */
  .btn {
    display: block;
    width: 90%; /* شبه فل ويدث */
    margin: 15px auto 0;
    padding: 12px;
    font-size: 1rem;
    border-radius: 25px;
  }

  /* الكاردات */
  .cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .card {
    width: 95%; /* أعرض في الموبايل */
    padding: 20px;
  }

  .card p {
    font-size: 1rem;
    text-align: center;
  }

  .icon-boxx img {
    width: 45px;
    height: 45px;
    margin-bottom: 10px;
  }

  /* صورة البروجكتس */
  .projects img {
    width: 95%; /* أوسع */
    max-width: 100%;
    border-radius: 12px;
    margin: 0 auto 20px;
    display: block;
  }

  /* Why Us */
  .points {
    grid-template-columns: 1fr; /* عمود واحد */
    gap: 15px;
  }

  .point {
    padding: 15px;
    font-size: 0.95rem;
  }

  .cta {
    padding: 50px 20px;
    margin: 40px 15px 100px; /* مساحة تحتها */
    border-radius: 16px;
  }

  .cta p {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .cta h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }

  .cta .btn {
    display: block;
    width: 100%; /* فل ويدث في الموبايل */
    padding: 12px;
    font-size: 1rem;
    border-radius: 25px;
    margin-top: 10px;
  }
}

/* ---- ABOUT ---- */
.about-mini-hero {
  position: relative; /* بدل absolute */
  height: 350px;
  background: url("../Images/about-hero.jpeg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 100px; /* نفس ارتفاع الهيدر */
  margin-bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}


.mini-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6); /* طبقة شفافة */

}

.mini-content {
  position: relative;
  text-align: center;
  color: #ffffff;
  z-index: 1;
  animation: fadeUp 1s ease forwards;
}

.mini-content h2 {
  font-size: 6.0rem;
  margin-bottom: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #d19b68, #d8d8d8);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
}


.mini-content p {
  font-size: 1.2rem;
  color: #eee;
}
@media (max-width: 768px) {
  
    .index-mini-hero {
        height: 250px;
    }
        .index-mini-content h2 {
        font-size: 3.0rem;
    }

  .about-mini-hero {
    height: 250px;
  }
  .mini-content h2 {
    font-size: 3rem;
  }
  .mini-content p {
    font-size: 1rem;
  }
}
.about-section {
  display: flex;
  align-items: flex-start; /* النصوص تبدأ من نفس السطر */
  gap: 30px;
  background: var(--card);
  padding: 40px;
  margin-bottom: 50px;
  margin-top: 50px;
  border-radius: 16px;
   background:rgb(255, 255, 255);          /* خلفية أوضح */
   box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}


.about-section:hover {
  transform: translateY(-8px);
}


.icon-box {
  flex: 0 0 80px;
  height: 80px;
  width: 80px;
  border-radius: 50%;
  background: var(--treco-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
  align-self: center; /* يخلي الأيقونة ترجع للوسط */
}

.icon-box img {
  width: 40px;
  height: 40px;
  filter: invert(1);
  transition: transform 0.3s ease;
}

/* لما تمر على البوكس كامل */
.about-section:hover .icon-box {
  transform: scale(1.2); /* تكبر الدائرة */
}

.about-section:hover .icon-box img {
  transform: scale(1.1); /* تكبر الصورة داخلها */
}


.text-box {
  flex: 1;
}

.text-box h2 {
  color: var(--treco-orange);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.text-box p {
  line-height: 1.8;
  font-size: 1rem;
}

/* Arabic */
.text-box.ar {
  text-align: right;
  direction: rtl;
}

/* English */
.text-box.en {
  text-align: left;
  direction: ltr;
}

/* Responsive */
@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    text-align: center;
  }
  .icon-box {
    margin-bottom: 20px;
  }
}


/* Map Section Styles */

.about-map {
  background: var(--card);
  padding: 40px 20px;
  margin-top: 40px;

}

.map-title {
  text-align: center;
  color:black;
  font-size: 26px;
  margin-bottom:40px;
  font-weight: 700;
}

.map-box {
  border: 2px solid var(--treco-gray);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* بروجكتس*/

.project-mini-hero {
  position: relative; /* بدل absolute */
  height: 350px;
  background: url("../Images/projects-hero.jpeg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 100px; /* نفس ارتفاع الهيدر */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}


.proj-mini-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5); /* طبقة شفافة */

}

.proj-mini-content {
  position: relative;
  text-align: center;
  color: #fff;
  z-index: 1;
  animation: fadeUp 1s ease forwards;
}

.proj-mini-content h2 {
  font-size: 6em;
  margin-bottom: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #72928e, #e7e7e7);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
}


.proj-mini-content p {
  font-size: 1.2rem;
  color: #eee;
}
/* العنوان */
.project-title {
  flex: 1;                      /* ياخذ ثلث الكارد */
  text-align: center;
  margin: 0;
  font-size: 0.8rem;            /* حجم أصغر */
  color: var(--text);
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  justify-content: center;      /* يخلي النص في الوسط عمودي */
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;

}

.project-card {
  display: flex;
  flex-direction: column;       /* يخلي المحتوى عمودي */
  background:rgb(255, 255, 255);          /* خلفية أوضح */
   box-shadow: 0 8px 8px rgba(0,0,0,.15);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: .3s;
  position: relative;
  margin-top: 100px;            /* نفس ارتفاع الهيدر */
  height: 300px;                /* ارتفاع ثابت للكارد */
  margin-bottom: 15px;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

/* الصورة */
.thumb {  
  flex: 2;                      /* ياخذ ثلثين الكارد */
  background-size: cover;
  background-position: center;
}

@media (max-width: 768px) {
    .project-mini-hero {
        height: 250px;
    }
        .proj-mini-content h2 {
        font-size: 3rem;
    }
}

/* Lightbox */
.lightbox{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.9);
  z-index:1000000;
  flex-direction:column;
}
.lightbox.active{
  width: 80%;          
  height: 90%;       
  margin: 2% auto;     
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  overflow: hidden;     /* لمنع أي تجاوز للصورة */
  display: flex;
  flex-direction: column; /* محتوى عمودي: صورة + وصف */
}

.lightbox-header{
  display:flex;justify-content:space-between;align-items:center;padding:10px 20px;color:#fff;}
.lightbox-title{
  margin:0;font-size:1.2rem;}
.close{
  cursor:pointer;font-size:28px;
color: black;
}
.lightbox-body{
  flex:1;display:block;align-items:center;justify-content:center;position:relative;height: 20%;}
  .lightbox-image{
  width: 100%;      /* يأخذ عرض كامل الـ Lightbox */
  height: 65vh;     /* يحافظ على نسبة الصورة */
  display: flex;
  align-items: center;
  justify-content: center;
flex: 1;
overflow: hidden;
  padding: 0 8% 0 8%; /* حواف جانبية */
}
 .lightbox-image img {
  max-width: 100%;
  max-height: 100%;
  margin:0 20px 0 20px;
   object-fit: contain; /* يحافظ على الصورة بدون قص */
 }
.prev,.next{
  position:absolute;top:50%;transform:translateY(-50%);font-size:40px;color:var(--treco-orange);cursor:pointer;padding:0 20px;}
.prev{
  left:0px;}
.next{
  right:0px;}
.lightbox-thumbs{
  display:flex;gap:8px; padding:10px;background:rgba(255, 255, 255, 0.849);
justify-content: center;}
.lightbox-thumbs img{
  height:60px;cursor:pointer;border-radius:6px;opacity:.6;transition:.3s;}
.lightbox-thumbs img.active{
  opacity:1;border:2px solid var(--treco-orange);}
  
@media (max-width: 768px) {
  .lightbox {
    width: 90%;        /* تقريبا يملى الشاشة */
    Height: 70%;  /* ارتفاع مناسب للشاشة */
  }
   .lightbox.active{
      margin: 8% auto;     
}

  .lightbox-image{
  width: 100%;      /* يأخذ عرض كامل الـ Lightbox */
  height: 60vh;     /* يحافظ على نسبة الصورة */
  display: flex;
  align-items: center;
  justify-content: center;
flex: 1;
overflow: hidden;
  padding: 0 8% 0 8%; /* حواف جانبية */
}
 .lightbox-image img {
  max-width: 100%;
  max-height: 100%;
  margin:0 20px 0 20px;
   object-fit: contain; /* يحافظ على الصورة بدون قص */
 }
}

 /*services*/
 
.ser-mini-hero {
  position: relative; /* بدل absolute */
  height: 350px;
  background: url("../Images/services-hero.jpeg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 100px; /* نفس ارتفاع الهيدر */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}


.ser-mini-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* طبقة شفافة */

}

.ser-mini-content {
  position: relative;
  text-align: center;
  color: #fff;
  z-index: 1;
  animation: fadeUp 1s ease forwards;
}

.ser-mini-content h2 {
  font-size: 6rem;
  margin-bottom: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #ffffff, #2e2a28);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
}


.ser-mini-content p {
  font-size: 1.2rem;
  color: #eee;
}
.services {
  max-width: 1200px;
  margin: 0px auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.service-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff; /* خلفية أنيقة */
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  padding: 20px;
  margin-bottom: 20px;
}

.service-box .text {
  flex: 1;
  padding: 20px;
}

.service-box .text h3.en {
  font-size: 1.3rem;
  font-weight: bold;
  color: #C7772E;
  margin-bottom: 10px;
}

.service-box .text p.en {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.service-box .text h3.ar {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 10px;
  text-align: right;
}

.service-box .text p.ar {
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: right;
   direction: rtl;
}

.service-box .image {
  flex: 1;
  text-align: center;
}

.service-box .image img {
  max-width: 100%;
  border-radius: 10px;
}

/* ترتيب الصور */
.right-img .image { order: 2; }
.right-img .text { order: 1; }

.left-img .image { order: 1; }
.left-img .text { order: 2; }

/* ✨ موبايل */
@media (max-width: 768px) {
  .service-box {
    flex-direction: column;
    text-align: center;
  }

  .service-box .text {
    padding: 10px;
  }

  .service-box .text h3.en,
  .service-box .text h3.ar {
    text-align: center;
  }

  .service-box .text p.ar,
  .service-box .text p.en {
    text-align: center;
  }

  .service-box .image {
    order: -1; /* الصورة فوق */
    margin-bottom: 15px;
  }

    .ser-mini-hero {
        height: 250px;
    }
        .ser-mini-content h2 {
        font-size: 3rem;
    }
}


/*  Contact Section Styles */
/* القسم كامل */
.contact {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 40px;
  background: #f9f9f9;;   /* خلفية رصاصي فاتح */
  margin-top: 90px;      /* يخلي الفورم يبدأ بعد الهيدر الثابت */
}

/* صندوق المعلومات */
.contact-info {
  flex: 1;
  background: #fff;       /* أبيض */
  padding: 24px;
  border-radius: 8px;
  border: 1px solid #ddd;
   box-shadow: 0 6px 16px rgba(0,0,0,0.1);
   text-align: left;
}

/* صندوق الفورم */
.contact-form {
  flex: 1;
  background: #fff;       /* أبيض */
  padding: 24px;
  border-radius: 8px;
  border: 1px solid #ddd;
   box-shadow: 0 6px 16px rgba(0,0,0,0.1);
   text-align: left;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact input, .contact textarea { padding: 12px; border: 1px solid #ccc; border-radius: 8px; font-size: 1rem; } 
.contact button { padding: 14px; background: #C7772E; color: #fff; border: none; border-radius: 8px; font-size: 1rem; cursor: pointer; transition: 0.3s; }
 .contact button:hover { background:var(--treco-orange); }
/* Social Media Links */
.social-box {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.social-link img {
  width: 55px;
  height: 55px;
  transition: transform 0.2s ease;
}

.social-link img:hover {
  transform: scale(1.1);
}
/* موبايل */
@media (max-width: 768px) {
  .contact {
    flex-direction: column; /* يخليهم فوق بعض */
  }

  .contact-info {
    order: 1; /* يجي الأول */
  }

  .contact-form {
    order: 2; /* يجي بعده */
    width: 100%; /* ياخذ العرض كامل */
  }
}
@media (max-width: 428px) {
  

  .lightbox.active {
    margin: 30% auto;
      width: 95%;
    max-height: 60%;
  }
  .lightbox-image{
  width: 100%;      /* يأخذ عرض كامل الـ Lightbox */
  height:100%;     /* يحافظ على نسبة الصورة */
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  overflow: hidden;
  padding: 0 8% 0 8%; /* حواف جانبية */
}
 .lightbox-image img {
  max-width: 100%;
  max-height: 100%;
  margin:0 20px 0 20px;
   object-fit: contain; /* يحافظ على الصورة بدون قص */
 }
 .prev,.next{
  position:absolute;top:50%;transform:translateY(-50%);font-size:20px;color:var(--treco-orange);cursor:pointer;padding:0 5px;
}
.lightbox-thumbs{
  display:flex;gap:4px; padding: 2px; background:rgba(255, 255, 255, 0.849);
justify-content: center;}
.lightbox-header{
  display:flex;justify-content:space-between;align-items:center;padding:5px 10px;color:#fff;}
.lightbox-title{
  margin:0;font-size:0.8rem;}

  .site-footer {
   background: var(--treco-gray);
  color: #fff;
  text-align: center;
  padding: 1px 5px;
  
  width: 100%;
  margin-top: 10px;
}
.site-footer p {
  font-size: 0.8rem; /* أو أي قيمة تناسبك */
}
.mini-content h2 {
        font-size: 2.5rem;
    }
    .index-mini-content h2 {
        font-size: 2.5rem;
    }
    .ser-mini-content h2 {
        font-size: 2.5rem;
    }
    .proj-mini-content h2 {
        font-size: 2.5rem;
    }
}
