/* === Visual Identity Colors === */
:root {
  --color-primary-dark: #232d45;
  /* أزرق داكن - خلفية رئيسية */
  --color-primary-blue: #234a7d;
  /* أزرق ملكي - جوهرة */
  --color-gold: #c9a14a;
  /* ذهبي - نص وزخارف */
  --color-white: #fff;
  /* أبيض - نصوص ثانوية */
  --color-bg-light: #f7f8fa;
  /* خلفية فاتحة اختيارية */
  --color-background: #e1e9f5;
  /* خلفية عامة */
}

/* === Header Styles === */
.main-header {
  background: var(--color-white);
  box-shadow: 0 2px 16px rgba(44, 83, 100, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: fadeInDown 1s cubic-bezier(.77, 0, .18, 1) both;
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 2rem;
  max-width: 1200px;
  margin: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.site-logo {
  height: 58px;
  width: auto;
  display: block;
}

.logo span {
  color: var(--color-primary-dark);
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 2px;
  font-family: inherit;
}

.logo span:hover {
  color: var(--color-gold);
}

.logo a {
  color: var(--color-primary-dark);
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-decoration: none;
  transition: color 0.3s;
}

.logo a:hover {
  color: var(--color-gold);
}

/* .navbar ul li a.active,
.navbar ul li a.active:hover {
  color: var(--color-gold);
}
.navbar ul li a.active::after {
  width: 100%;
  background: var(--color-gold);
} */
.navbar {
  display: flex;
  align-items: center;
  width: 100%;
}

.navbar ul {
  flex: 1;
  display: flex;
  justify-content: center;
  /* توسيط التبويبات */
  gap: 3rem;
  /* زيادة المسافة بين التبويبات */
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar ul li a {
  color: var(--color-primary-dark);
  font-size: 1.35rem;
  font-weight: bold;
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
  letter-spacing: 0.5px;
}

.navbar ul li a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width 0.3s;
  position: absolute;
  bottom: -4px;
  left: 0;
}

.navbar ul li a:hover {
  color: var(--color-gold);
}

.navbar ul li a:hover::after {
  width: 100%;
}

.order-btn {
  background: linear-gradient(90deg, var(--color-primary-blue) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  font-weight: bold;
  margin-right: 2rem;
  /* بدلاً من margin-left */
  margin-left: 0;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.15);
  transition: background 0.3s, color 0.3s, transform 0.2s;
  border: none;
  outline: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.order-btn:hover {
  background: linear-gradient(90deg, #ffb347 0%, var(--color-gold) 100%);
  color: var(--color-primary-dark);
  transform: scale(1.07) rotate(-2deg);
}

.order-btn-desktop {
  display: inline-block;
}

.order-btn-mobile {
  display: none;
}

/* Hamburger menu for mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-right: 0.5rem;
  margin-left: 1.5rem;
}

.menu-toggle span {
  width: 30px;
  height: 3px;
  background: #000;
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(.77, 0, .18, 1);
}

@media (max-width: 900px) {
  .main-header .container {
    padding: 0.7rem 1rem;
  }

  .navbar ul {
    gap: 1.2rem;
  }

  .order-btn {
    margin-left: 1rem;
    padding: 0.5rem 1rem;
  }

  .order-btn-desktop {
    display: none !important;
  }

  .order-btn-mobile {
    display: inline-block !important;
    width: 70%;
    margin: 0 auto;
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    color: #fff !important;
  }

  .order-btn-mobile-li {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .main-header .container {
    flex-direction: row-reverse;
  }

  .navbar {
    width: auto;
    flex: none;
  }

  .navbar ul {
    position: absolute;
    top: 70px;
    background: var(--color-bg-light);
    flex-direction: column;
    width: 200px;
    padding: 1.5rem 0;
    gap: 1.5rem;
    box-shadow: 0 8px 24px rgba(44, 83, 100, 0.15);
    border-radius: 0 0 12px 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(.77, 0, .18, 1);
    z-index: 2001;
    text-align: center;
  }

  html[dir="rtl"] .navbar ul {
    right: auto;
    left: 0;
    direction: rtl;
  }

  html[dir="ltr"] .navbar ul {
    left: auto;
    right: 0;
    direction: ltr;
  }

  .navbar.active ul {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-toggle {
    display: flex;
    margin-left: 0;
    margin-right: 0.5rem;
    order: 2;
  }

  .logo {
    order: 1;
  }
}

/* Animation for header appearance */
/* @keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
} */
/* === Footer === */
/* === Footer === */
.main-footer {
  /* طبقة شفافة باللون الداكن فوق الصورة المحلية */
  background: linear-gradient(rgba(35, 45, 69, 0.88),
      rgba(35, 45, 69, 0.88)),
    url('/img/footer-bg.jpg') center/cover no-repeat;
  color: var(--color-white);
  padding: 2.5rem 0 0.5rem 0;
  position: relative;
  margin-top: 3rem;
  box-shadow: 0 -2px 16px rgba(44, 83, 100, 0.08);
  animation: fadeInUp 1.2s cubic-bezier(.77, 0, .18, 1) both;
  font-family: inherit;
}

.footer-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: auto;
  padding: 0 2rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-title {
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
  color: var(--color-white);
  font-weight: bold;
  letter-spacing: 1px;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem 0;
}

.footer-contact-list li {
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-contact-list li:hover {
  color: var(--color-gold);
}

.footer-contact-list i {
  font-size: 1.1rem;
  min-width: 20px;
}

.footer-partner {
  margin-top: 1.2rem;
}

.footer-partner img {
  width: 110px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(44, 83, 100, 0.10);
  display: block;
}

.footer-links {
  flex: 1 1 180px;
  min-width: 180px;
  max-width: 220px;
  text-align: right;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
}

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

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a {
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 1.05rem;
}

.footer-links ul li a:hover {
  color: var(--color-gold);
  text-decoration: underline;
}

.footer-contact {
  flex: 1 1 260px;
  min-width: 200px;
  max-width: 300px;
  text-align: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.footer-about {
  flex: 1 1 300px;
  min-width: 220px;
  max-width: 340px;
  text-align: right;
  align-items: flex-end;
  display: flex;
  flex-direction: column;
}

.footer-logo img {
  width: 90px;
  margin-bottom: 1.1rem;
  margin-left: 0;
  margin-right: 0;
  display: block;
  align-self: flex-end;
}

.footer-logo {
  margin-bottom: 1.1rem;
  align-self: start;
}

.footer-about-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #fff;
  margin-bottom: 1.2rem;
  text-align: right;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  justify-content: flex-end;
  align-self: flex-start;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--color-primary-blue);
  border-radius: 50%;
  color: var(--color-gold);
  font-size: 1.3rem;
  transition: background 0.3s, color 0.3s, transform 0.3s;
  box-shadow: 0 2px 8px rgba(44, 83, 100, 0.10);
}

.social-icon:hover {
  background: var(--color-gold);
  color: var(--color-primary-dark);
  transform: scale(1.15) rotate(-8deg);
}

.footer-bottom {
  text-align: center;
  padding: 1.2rem 0 0.2rem 0;
  font-size: 1rem;
  color: #bbb;
  border-top: 1px solid #333;
  margin-top: 2rem;
  letter-spacing: 1px;
  background: var(--color-primary-blue);
}

@media (max-width: 900px) {

  .footer-about,
  .footer-social,
  .footer-logo img {
    align-items: center !important;
    align-self: center !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .footer-about,
  .footer-links,
  .footer-contact {
    text-align: center;
    align-items: center;
    max-width: 100%;
  }

  .footer-logo img {
    margin: 0 auto 1.1rem auto;
  }

  .footer-about-text {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .main-footer {
    padding: 1.5rem 0 0.5rem 0;
  }

  .footer-container {
    padding: 0 0.5rem;
    gap: 1rem;
  }

  .footer-title {
    font-size: 1.1rem;
  }

  .footer-bottom {
    font-size: 0.95rem;
    padding: 0.7rem 0 0.2rem 0;
  }

  .footer-partner img {
    width: 80px;
  }
}

/* === Hero Section === */
.hero-section {
  position: relative;
  background: var(--color-bg-light);
  /* لون سكري ثابت */
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 40px;
  padding-bottom: 0;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: unset;
  max-height: unset;
  object-fit: fill;
  background: none;
  z-index: 1;
  opacity: 1;
  filter: none;
  animation: heroBgFadeIn 1.5s 0.2s both;
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-bg-img {
    object-fit: cover;
    background: none;
  }
}

.hero-left-img {
  position: absolute;
  bottom: 60px;
  /* رفع الصورة للأعلى */
  left: 0;
  width: 320px;
  max-width: 35vw;
  z-index: 3;
  animation: heroLeftIn 1.3s 0.5s both;
}

.hero-right-img {
  position: absolute;
  bottom: 60px;
  /* رفع الصورة للأعلى */
  right: 0;
  width: 320px;
  max-width: 35vw;
  z-index: 3;
  animation: heroRightIn 1.3s 0.7s both;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  color: #232526;
  animation: heroContentIn 1.2s 0.8s both;
}

.hero-content h1 {
  font-size: 2.7rem;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 1.2rem;
  position: relative;
  color: #232526;
  letter-spacing: 1px;
}

.hero-highlight {
  color: #a36a2c;
  position: relative;
  z-index: 2;
}

.hero-underline {
  display: block;
  width: 180px;
  height: 7px;
  background: linear-gradient(90deg, #a36a2c 60%, #fff0 100%);
  margin: -18px auto 0 auto;
  border-radius: 4px;
  z-index: 1;
}

.hero-content p {
  font-size: 1.15rem;
  color: #232526;
  line-height: 2;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-bg-img {
    min-height: 180px;
  }

  .hero-left-img,
  .hero-right-img {
    bottom: 80px;
    /* رفع البرجين للأعلى أكثر */
    width: 240px;
    /* زيادة الحجم */
    max-width: 60vw;
    z-index: 2;
    /* خلف الرمال */
  }

  .hero-bg-img {
    z-index: 4;
  }
}

@media (max-width: 600px) {
  .hero-section {
    min-height: 250px;
    padding-top: 20px;
  }

  .footer-logo {
    margin-bottom: 1.1rem;
    align-self: center;
  }

  .hero-content {
    max-width: 98vw;
    padding: 0 8px;
  }

  .hero-content h1 {
    font-size: 1.2rem;
  }

  .hero-bg-img {
    max-height: 100%;
    z-index: 4;
    object-fit: fill;
  }

  .hero-left-img,
  .hero-right-img {
    bottom: 200px;
    /* رفع البرجين للأعلى أكثر */
    width: 120px;
    /* زيادة الحجم */
    max-width: 70vw;
    z-index: 2;
    /* خلف الرمال */
  }

  .hero-bg-img {
    z-index: 4;
  }

  .hero-underline {
    width: 60px;
    height: 3px;
    margin-top: -5px;
  }
}

/* @keyframes heroBgFadeIn {
  0% { opacity: 0; transform: translateY(60px) scale(1.05); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroLeftIn {
  0% { opacity: 0; transform: translateX(-80px) scale(1.1); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes heroRightIn {
  0% { opacity: 0; transform: translateX(80px) scale(1.1); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes heroContentIn {
  0% { opacity: 0; transform: translateY(-40px) scale(1.05); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
} */

/* === About Us Section === */
.about-section {
  background: #fff;
  padding: 60px 0 40px 0;
  animation: aboutFadeIn 1.2s cubic-bezier(.77, 0, .18, 1) both;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  position: relative;
  z-index: 5;
}

.about-image {
  flex: 1 1 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image img {
  width: 550px;
  max-width: 95vw;
  border-radius: 36px;
  box-shadow: 0 4px 32px rgba(44, 83, 100, 0.10);
  object-fit: cover;
  animation: aboutImgIn 1.2s 0.3s both;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: right;
  direction: rtl;
  animation: aboutContentIn 1.2s 0.5s both;
}

.about-label {
  display: inline-block;
  color: var(--color-primary-dark);
  font-size: 2.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
  background: var(--color-bg-light);
  border-radius: 8px;
  padding: 0.2rem 1.1rem 0.2rem 0.7rem;
  box-shadow: 0 1px 6px rgba(44, 83, 100, 0.06);
}

.about-title {
  font-size: 2.2rem;
  color: var(--color-gold);
  font-weight: bold;
  margin-bottom: 1.1rem;
  line-height: 1.3;
}

.about-text {
  font-size: 1.18rem;
  color: var(--color-primary-dark);
  line-height: 2.1;
  margin-bottom: 1.7rem;
  max-width: 520px;
}

.about-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary-dark);
  font-size: 1.15rem;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s, transform 0.2s;
  position: relative;
  z-index: 2;
}

.about-more:hover {
  color: var(--color-gold);
  transform: translateX(-6px) scale(1.07);
}

.about-arrow {
  font-size: 1.3rem;
  margin-right: 0.2rem;
  transition: color 0.3s, transform 0.2s;
}

@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    gap: 2.2rem;
    padding: 0 1.2rem;
  }

  .about-content {
    align-items: center;
    text-align: center;
    direction: rtl;
  }

  .about-text {
    max-width: 98vw;
  }
}

@media (max-width: 600px) {
  .about-section {
    padding: 30px 0 20px 0;
  }

  .about-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .about-image img {
    width: 100%;
    min-width: 0;
    border-radius: 18px;
  }

  .about-title {
    font-size: 1.2rem;
  }

  .about-label {
    font-size: 0.95rem;
    padding: 0.15rem 0.7rem 0.15rem 0.5rem;
  }

  .about-text {
    font-size: 1rem;
    margin-bottom: 1.1rem;
  }

  .about-more {
    font-size: 1rem;
  }
}

/* @keyframes aboutFadeIn {
  0% { opacity: 0; transform: translateY(60px) scale(1.03); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes aboutImgIn {
  0% { opacity: 0; transform: scale(1.08) translateX(-60px); }
  100% { opacity: 1; transform: scale(1) translateX(0); }
}
@keyframes aboutContentIn {
  0% { opacity: 0; transform: translateY(40px) scale(1.03); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
} */

/* === Services Section === */
.services-section {
  background: var(--color-bg-light);
  padding: 60px 0 40px 0;
  animation: servicesFadeIn 1.2s cubic-bezier(.77, 0, .18, 1) both;
}

.services-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-header {
  text-align: center;
  margin-bottom: 2.5rem;
  animation: servicesHeaderIn 1.1s 0.2s both;
}

.services-label {
  display: inline-block;
  color: var(--color-primary-dark);
  font-size: 2.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
  background: #fff;
  border-radius: 8px;
  padding: 0.2rem 1.1rem 0.2rem 0.7rem;
  box-shadow: 0 1px 6px rgba(44, 83, 100, 0.06);
}

.services-title {
  font-size: 2.2rem;
  color: var(--color-gold);
  font-weight: bold;
  margin-bottom: 1.1rem;
  line-height: 1.3;
}

.services-desc {
  font-size: 1.18rem;
  color: var(--color-primary-dark);
  line-height: 2.1;
  margin-bottom: 0;
}

.services-cards {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  width: 100%;
  animation: servicesCardsIn 1.2s 0.4s both;
}

.service-card {
  border-radius: 28px;
  box-shadow: 0 4px 32px rgba(44, 83, 100, 0.10);
  overflow: hidden;
  width: 370px;
  max-width: 95vw;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  animation: serviceCardIn 1.1s both;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.04) rotate(-1deg);
  box-shadow: 0 8px 32px rgba(44, 83, 100, 0.18);
}

.service-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: grayscale(0.5) brightness(0.5);
  transition: filter 0.3s;
}

.service-card:hover .service-img {
  filter: grayscale(0.2) brightness(0.95);
}

.service-title {
  color: #fff;
  font-size: 1.45rem;
  font-weight: bold;
  padding: 1.2rem 1.5rem 1.2rem 0.5rem;
  text-align: right;
  width: 100%;
  position: absolute;
  bottom: 0;
  right: 0;
  border-radius: 0 0 28px 28px;
  letter-spacing: 0.5px;
}

.services-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary-dark);
  font-size: 1.15rem;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s, transform 0.2s;
  position: relative;
  z-index: 2;
  margin-top: 0.5rem;
}

.services-more:hover {
  color: var(--color-gold);
  transform: translateX(-6px) scale(1.07);
}

.services-arrow {
  font-size: 1.3rem;
  margin-right: 0.2rem;
  transition: color 0.3s, transform 0.2s;
}

@media (max-width: 1100px) {
  .services-cards {
    gap: 1.2rem;
  }

  .service-card {
    width: 320px;
  }
}

@media (max-width: 900px) {
  .services-section {
    padding: 40px 0 20px 0;
  }

  .services-container {
    padding: 0 1.2rem;
  }

  .services-title {
    font-size: 1.3rem;
  }

  .service-card {
    width: 98vw;
    min-width: 0;
  }
}

@media (max-width: 600px) {
  .services-section {
    padding: 30px 0 15px 0;
  }

  .services-container {
    padding-left: 8px;
    padding-right: 8px;
  }

  .services-header {
    margin-bottom: 1.2rem;
  }

  .services-title {
    font-size: 1.1rem;
  }

  .services-desc {
    font-size: 0.98rem;
  }

  .service-card {
    width: 100%;
    min-width: 0;
    border-radius: 18px;
  }

  .service-title {
    font-size: 1.1rem;
    padding: 0.7rem 1rem 0.7rem 0.3rem;
    border-radius: 0 0 18px 18px;
  }
}

/* @keyframes servicesFadeIn {
  0% { opacity: 0; transform: translateY(60px) scale(1.03); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes servicesHeaderIn {
  0% { opacity: 0; transform: translateY(-30px) scale(1.03); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes servicesCardsIn {
  0% { opacity: 0; transform: translateY(40px) scale(1.03); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes serviceCardIn {
  0% { opacity: 0; transform: scale(1.08) translateY(60px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
} */

/* === Portfolio Section (أعمالنا) === */
.portfolio-section {
  background: var(--color-bg-light);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.portfolio-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portfolio-header {
  text-align: center;
  margin-bottom: 3rem;
}

.portfolio-label {
  display: inline-block;
  color: var(--color-primary-dark);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: 1.5px;
  background: #fff;
  border-radius: 50px;
  padding: 0.4rem 1.4rem;
  box-shadow: 0 4px 15px rgba(35, 45, 69, 0.05);
  text-transform: uppercase;
}

.portfolio-title {
  font-size: 2.5rem;
  color: var(--color-gold);
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}

.portfolio-slider-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  gap: 1.2rem;
}

.portfolio-slider {
  display: flex;
  gap: 1.8rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1.5rem 0.5rem;
  width: 100%;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

.portfolio-slider::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

/* بطاقة المشروع */
.portfolio-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(35, 45, 69, 0.08);
  flex: 0 0 calc(33.333% - 1.2rem);
  /* 3 بطاقات في الشاشات الكبيرة */
  min-width: 300px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(201, 161, 74, 0.15);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(35, 45, 69, 0.15);
}

.portfolio-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f5f5f5;
}

.portfolio-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-img-wrapper img {
  transform: scale(1.02);
}

.portfolio-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.portfolio-tag {
  background: rgba(35, 45, 69, 0.85);
  color: var(--color-gold);
  backdrop-filter: blur(4px);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.3rem 0.9rem;
  border-radius: 30px;
}

.portfolio-info {
  padding: 1.5rem;
  text-align: right;
  direction: rtl;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-card-title {
  font-size: 1.35rem;
  color: var(--color-primary-dark);
  margin: 0 0 0.5rem 0;
  font-weight: 700;
}

.portfolio-card-desc {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* أزرار التنقل */
.portfolio-nav {
  background: var(--color-white);
  color: var(--color-primary-dark);
  border: 2px solid rgba(201, 161, 74, 0.3);
  border-radius: 50%;
  min-width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  z-index: 5;
  flex-shrink: 0;
}

.portfolio-nav:hover {
  background: var(--color-gold);
  color: #fff;
  border-color: var(--color-gold);
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(201, 161, 74, 0.3);
}

.portfolio-more {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-primary-dark);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: 2.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.portfolio-more:hover {
  color: var(--color-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* الاستجابة للشاشات (Responsive) */
@media (max-width: 1024px) {
  .portfolio-card {
    flex: 0 0 calc(50% - 1rem);
    /* بطاقتان في اللوحي */
  }
}

@media (max-width: 768px) {
  .portfolio-section {
    padding: 50px 0;
  }

  .portfolio-container {
    padding: 0 1rem;
  }

  .portfolio-title {
    font-size: 1.8rem;
  }

  .portfolio-slider-wrapper {
    gap: 0.5rem;
  }

  .portfolio-card {
    flex: 0 0 85%;
    /* بطاقة واحدة بارزة للشاشات الصغيرة */
    min-width: unset;
  }

  .portfolio-nav {
    min-width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .portfolio-card {
    flex: 0 0 92%;
  }

  .portfolio-nav {
    display: none;
    /* إخفاء أزرار التنقل في الشاشات الصغيرة جداً والاعتماد على السحب بالأصبع */
  }
}

/* @keyframes portfolioFadeIn {
  0% { opacity: 0; transform: translateY(60px) scale(1.03); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes portfolioHeaderIn {
  0% { opacity: 0; transform: translateY(-30px) scale(1.03); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes portfolioCardIn {
  0% { opacity: 0; transform: scale(1.08) translateY(60px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
} */

/* === New Modern Partners Section (شركاؤنا - التصميم العصري والشفاف) === */
.partners-section {
  background: transparent !important;
  /* خلفية بدون لون تماماً */
  padding: 60px 0;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.partners-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partners-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.partners-label {
  display: inline-block;
  color: var(--color-primary-dark);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: 1.5px;
  background: #fff;
  border-radius: 50px;
  padding: 0.4rem 1.4rem;
  box-shadow: 0 4px 15px rgba(35, 45, 69, 0.05);
  text-transform: uppercase;
}

.partners-title {
  font-size: 2.3rem;
  color: var(--color-gold);
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}

/* غلاف السلايدر والأزرار */
.partners-slider-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* السلايدر القابل للتحريك بالسحب أو بالأزرار */
.partners-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1.5rem 0.5rem;
  width: 100%;
  scrollbar-width: none;
  /* إخفاء شريط التمرير في Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
  cursor: grab;
  user-select: none;
}

.partners-slider:active {
  cursor: grabbing;
}

.partners-slider.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.partners-slider::-webkit-scrollbar {
  display: none;
  /* إخفاء شريط التمرير في Chrome/Safari */
}

/* تصميم بطاقة الشريك الخرافي والعصري */
.partner-card {
  flex: 0 0 calc(20% - 1.2rem);
  /* عرض 5 بطاقات في الشاشات الكبيرة */
  min-width: 200px;
  height: 140px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 22px;
  border: 1px solid rgba(201, 161, 74, 0.25);
  box-shadow: 0 10px 25px rgba(35, 45, 69, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.partner-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 18px 35px rgba(201, 161, 74, 0.22);
  background: #ffffff;
  border-color: var(--color-gold);
}

.partner-logo-box {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(0.2) opacity(0.9);
  transition: all 0.4s ease;
  pointer-events: none;
  border-radius: 8px;
}

.partner-card:hover .partner-logo-box img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.08);
}

/* أزرار التنقل */
.partners-nav {
  background: #ffffff;
  color: var(--color-primary-dark);
  border: 2px solid rgba(201, 161, 74, 0.3);
  border-radius: 50%;
  min-width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  z-index: 5;
  flex-shrink: 0;
}

.partners-nav:hover {
  background: var(--color-gold);
  color: #fff;
  border-color: var(--color-gold);
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(201, 161, 74, 0.35);
}

/* التجاوب مع مختلف الشاشات */
@media (max-width: 1100px) {
  .partner-card {
    flex: 0 0 calc(25% - 1.2rem);
    /* 4 بطاقات */
  }
}

@media (max-width: 850px) {
  .partner-card {
    flex: 0 0 calc(33.333% - 1rem);
    /* 3 بطاقات */
    min-width: 170px;
    height: 125px;
  }
}

@media (max-width: 600px) {
  .partners-section {
    padding: 40px 0;
  }

  .partner-card {
    flex: 0 0 calc(50% - 0.8rem);
    /* بطاقتان للجوال */
    min-width: 140px;
    height: 110px;
    border-radius: 16px;
    padding: 0.8rem;
  }

  .partners-nav {
    min-width: 38px;
    height: 38px;
  }

  .partners-title {
    font-size: 1.6rem;
  }
}

/* @keyframes partnersFadeIn {
  0% { opacity: 0; transform: translateY(60px) scale(1.03); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes partnersHeaderIn {
  0% { opacity: 0; transform: translateY(-30px) scale(1.03); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
} */

/* === Contact Us Section (تواصل معنا) === */
/* === Contact Section Tweak === */
.contact-section {
  background: var(--color-white);
  padding: 80px 0 60px 0 !important;
  /* مسافة علوية كافية تبعد قسم تواصل معنا عن صورة الهيرو */
  color: #fff;
  position: relative;
  width: 100%;
}

.contact-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-top: 10px;
  /* مسافة إضافية للجملة */
}

.contact-label {
  display: inline-block;
  color: var(--color-gold);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 161, 74, 0.2);
  border-radius: 50px;
  padding: 0.4rem 1.4rem;
  margin-bottom: 0.75rem;
}

.contact-title {
  font-size: 2.3rem;
  color: var(--color-primary-dark);
  font-weight: 800;
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start !important;
  margin-bottom: 3.5rem;
  overflow: visible;
  max-height: none;
}

.contact-info-cards,
.contact-form-wrapper {
  overflow: visible;
  max-height: none;
}

/* Glassmorphism Cards - الكروت الشفافة */
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  justify-content: center;
}

.glass-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.4rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(201, 161, 74, 0.4);
  transform: translateX(-6px);
}

.glass-icon {
  width: 52px;
  height: 52px;
  background: rgba(201, 161, 74, 0.12);
  border: 1px solid rgba(201, 161, 74, 0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  flex-shrink: 0;
}

.glass-content h4 {
  font-size: 1.05rem;
  color: var(--color-primary-dark);
  margin: 0 0 0.3rem 0;
  font-weight: 700;
}

.glass-content p,
.glass-content a {
  font-size: 0.95rem;
  color: var(--color-primary-blue);
  margin: 0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.glass-content a:hover {
  color: var(--color-gold);
}

/* Location card inside contact info cards */
.location-card-link {
  cursor: pointer;
  transition: all 0.3s ease;
}

.location-card-link:hover {
  transform: translateX(-6px);
  border-color: rgba(201, 161, 74, 0.4);
}

.location-card-link .glass-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.location-card-link .glass-content a {
  display: inline-block;
  margin-top: 0.1rem;
  color: var(--color-primary-blue);
}

.location-card-link .glass-content small {
  display: block;
  margin-top: 0.15rem;
  color: var(--color-primary-blue);
  font-size: 0.8rem;
}

/* Form Styles */
.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  overflow: visible !important;
  /* منع ظهور أي شريط تمرير داخلي */
  max-height: none !important;
  /* السماح للفورم بالتمدد الطبيعي مع الصفحة */
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  overflow: visible !important;
}

.form-group {
  width: 100%;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(35, 45, 69, 0.28);
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  color: var(--color-primary-dark);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-gold);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 0 3px rgba(201, 161, 74, 0.18);
}

.form-group select.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23c9a14a' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  cursor: pointer;
}

.form-group select option {
  background-color: var(--color-bg-light);
  color: var(--color-primary-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-gold);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 12px rgba(201, 161, 74, 0.25);
}

.contact-btn {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold) 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 1rem 1.8rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 161, 74, 0.35);
}

/* Full Width Map */
.contact-map-full {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-map-full iframe {
  filter: grayscale(20%) contrast(1.1);
  transition: filter 0.3s ease;
}

.contact-map-full iframe:hover {
  filter: grayscale(0%);
}

/* Responsive Handling */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 50px 0 40px 0;
  }

  .contact-title {
    font-size: 1.8rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }
}

/* @keyframes contactFadeIn {
  0% { opacity: 0; transform: translateY(60px) scale(1.03); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes contactContainerIn {
  0% { opacity: 0; transform: translateY(40px) scale(1.03); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
} */

/* === قيمنا وأهدافنا، رؤيتنا Vision/Mission/Values Section === */
.vision-section {
  width: 100%;
  background: transparent;
  margin: 48px 0 0 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 1px;
}

.vision-container {
  background: var(--color-bg-light);
  border-radius: 40px;
  box-shadow: 0 2px 16px rgba(44, 83, 100, 0.07);
  padding: 40px 56px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1320px;
  width: 90%;
  margin: 0 auto;
  animation: fadeInUp 1.2s cubic-bezier(.77, 0, .18, 1) both;
}

.vision-block {
  margin-bottom: 0;
}

.vision-title {
  color: var(--color-gold);
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 12px;
  font-family: inherit;
  letter-spacing: 1px;
}

.vision-text {
  color: var(--color-primary-dark);
  font-size: 1.25rem;
  line-height: 1.1;
  margin: 0;
  font-family: inherit;
}

.vision-list {
  color: var(--color-primary-dark);
  font-size: 1.25rem;
  line-height: 2.1;
  margin: 0;
  padding-right: 1.2em;
  list-style: disc inside;
  font-family: inherit;
}

.vision-list li {
  margin-bottom: 0.3em;
}

/* === Animation === */
/* @keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
} */

/* === Responsive === */
@media (max-width: 900px) {
  .vision-container {
    padding: 32px 18px;
    border-radius: 24px;
    gap: 28px;
  }

  .vision-title {
    font-size: 1.5rem;
  }

  .vision-text {
    font-size: 1.05rem;
  }
}

@media (max-width: 600px) {
  .vision-container {
    padding: 18px 6px;
    border-radius: 14px;
    gap: 18px;
  }

  .vision-title {
    font-size: 1.1rem;
  }

  .vision-text {
    font-size: 0.95rem;
  }

  .vision-list {
    font-size: 0.95rem;
  }
}

/* === End Vision/Mission/Values Section === */

/* === Portfolio Main Page Custom === */
.portfolio-main-section {
  min-height: 100vh;
  padding: 48px 0;
  animation: fadeInUp 1.2s cubic-bezier(.77, 0, .18, 1) both;
}

.portfolio-main-container {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
}

.portfolio-main-card {
  background: var(--color-bg-light);
  border-radius: 36px;
  box-shadow: 0 4px 32px rgba(44, 83, 100, 0.10);
  padding: 36px 32px 24px 32px;
  flex: 1 1 480px;
  min-width: 600px;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 2rem;
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
  animation: cardFadeIn 1.2s cubic-bezier(.77, 0, .18, 1) both;
}

.portfolio-main-card:hover {
  box-shadow: 0 8px 40px rgba(44, 83, 100, 0.18);
  transform: translateY(-8px) scale(1.03);
}

.portfolio-main-title {
  color: var(--color-gold);
  font-size: 2.1rem;
  font-weight: bold;
  margin-bottom: 1.2rem;
  text-align: center;
  width: 100%;
  font-family: inherit;
}

.portfolio-main-desc {
  color: var(--color-primary-dark);
  font-size: 1.18rem;
  line-height: 2.1;
  margin-bottom: 2.2rem;
  text-align: right;
  width: 100%;
  font-family: inherit;
}

.portfolio-main-img {
  margin-top: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.portfolio-main-img img {
  width: 100%;
  height: 450px;
  border-radius: 24px;
  box-shadow: 0 2px 16px rgba(44, 83, 100, 0.10);
  object-fit: fill;
  background: #fff;
  transition: transform 0.3s;
}

.portfolio-main-card:hover .portfolio-main-img img {
  transform: scale(1.04) rotate(-1deg);
}

/* Animation */
/* @keyframes cardFadeIn {
  0% { opacity: 0; transform: translateY(60px) scale(1.03);}
  100% { opacity: 1; transform: translateY(0) scale(1);}
} */

/* Responsive */
@media (max-width: 900px) {
  .portfolio-main-container {
    gap: 1.2rem;
  }

  .portfolio-main-card {
    min-width: 320px;
    max-width: 98vw;
  }
}

@media (max-width: 600px) {
  .portfolio-main-container {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }

  .portfolio-main-card {
    min-width: 85%;
    max-width: 85%;
    border-radius: 18px;
    min-height: 300px;
    max-height: 300px;
  }

  .portfolio-main-title {
    font-size: 1.2rem;
  }

  .portfolio-main-desc {
    font-size: 1rem;
  }

  .portfolio-main-img img {
    max-width: 90vw;
    height: 210px;
    border-radius: 10px;
    object-fit: fill;
  }
}

/* === Fix Horizontal Scroll on Mobile (Samsung Fix) === */
html {
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
  max-width: 100%;
}

/* Samsung Internet Fix */
.vision-section {
  width: 100%;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
}

.vision-container {
  width: 90%;
  max-width: 100%;
  overflow-x: hidden;
}

.contact-section {
  width: 100%;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
}

.contact-row-flex {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 768px) {

  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .vision-container {
    width: 95%;
    margin: 0 auto;
  }

  .navbar ul {
    gap: 0.8rem;
  }

  .main-header .container {
    padding: 0.7rem 0.5rem;
    max-width: 100%;
  }
}

@media (max-width: 600px) {

  html,
  body {
    width: 100%;
    overflow-x: clip;
  }

  .vision-section {
    width: 100%;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
  }

  .vision-container {
    width: 100%;
    padding: 12px !important;
    margin: 0 !important;
    border-radius: 14px;
  }

  .contact-form-wrapper {
    min-width: 0 !important;
    width: 100% !important;
    padding: 12px;
    margin: 0;
  }

  .contact-map-wrapper {
    min-width: 0 !important;
    width: 100% !important;
    padding: 0;
    margin: 0;
  }

  .contact-row-flex {
    gap: 0.5rem !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    overflow-x: hidden;
  }

  .contact-section {
    padding: 45px 0 25px 0 !important;
    /* الحفاظ على مسافة مريحة على الجوال أيضاً */
    margin: 0;
    width: 100%;
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .main-header .container {
    padding: 0.5rem 0.3rem;
    max-width: 100%;
    width: 100%;
  }

  .vision-container {
    width: 100%;
    padding: 8px !important;
  }

  .contact-row-flex {
    gap: 0.5rem !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
  }

  .contact-form-wrapper {
    padding: 8px !important;
    margin: 0 !important;
    width: 100%;
  }

  .contact-map-wrapper {
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
  }
}

/* أزرار التواصل الثابتة */
.floating-contact-buttons {
  position: fixed;
  bottom: 25px;
  right: 25px;
  /* أو left: 25px حسب تفضيلك */
  z-index: 9999;
  /* لضمان ظهور الأزرار فوق كل عناصر الصفحة */
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  color: #fff;
}

/* لون زر الواتساب */
.whatsapp-btn {
  background-color: #25d366;
}

/* لون زر الاتصال */
.call-btn {
  background-color: #234a7d;
  /* لون الموقع الأزرق الرئيسي */
}

/* التجاوب مع الشاشات الصغيرة (الجوال) */
@media (max-width: 768px) {
  .floating-contact-buttons {
    bottom: 20px;
    right: 15px;
  }

  .float-btn {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
}


/* === Portfolio Main Page Redesign === */
.portfolio-main-section {
  min-height: 100vh;
  padding: 60px 0 80px 0;
  background: var(--color-white);
}

.portfolio-main-container {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* بطاقة الشركة الرئيسية */
.company-portfolio-card {
  background: var(--color-white);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(35, 45, 69, 0.06);
  border: 1px solid rgba(201, 161, 74, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.company-portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(35, 45, 69, 0.12);
}

/* عنوان الشركة والخط التجميلي */
.company-card-header {
  margin-bottom: 1rem;
}

.company-name {
  color: var(--color-primary-dark);
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 0.5rem 0;
  letter-spacing: 0.5px;
}

.company-title-line {
  width: 60px;
  height: 4px;
  background: var(--color-gold);
  border-radius: 2px;
}

/* قصة النجاح */
.company-story {
  margin-bottom: 2rem;
}

.company-story p {
  color: #4a5568;
  font-size: 1.15rem;
  line-height: 1.9;
  margin: 0;
}

/* شبكة البانرات للشركة الواحدة */
.company-banners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.banner-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  background: #f8fafc;
  border: 1px solid #edf2f7;
}

.banner-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.banner-item:hover img {
  transform: scale(1.03);
}

/* التجاوب مع الشاشات الصغيرة (الجوال والتابلت) */
@media (max-width: 900px) {
  .company-portfolio-card {
    padding: 1.8rem;
    border-radius: 18px;
  }

  .company-name {
    font-size: 1.6rem;
  }

  .company-story p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .company-banners-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

@media (max-width: 600px) {
  .portfolio-main-section {
    padding: 30px 0 50px 0;
  }

  .company-portfolio-card {
    padding: 1.2rem;
    border-radius: 14px;
  }

  .company-name {
    font-size: 1.35rem;
  }
}

/* ==================================================== */
/* Visual Gallery Styling
/* ==================================================== */
.visual-gallery-section {
  padding: 80px 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.gallery-header {
  text-align: center;
  margin-bottom: 40px;
}

.gallery-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  font-size: 0.9rem;
  color: var(--color-gold);
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.gallery-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.gallery-desc {
  font-size: 1rem;
  color: #a0a0a0;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* أزرار التصفية */
.gallery-filter-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 45px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ddd;
  padding: 10px 24px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--color-gold), #e65100);
  border-color: var(--color-gold);
  color: #fff;
  box-shadow: 0 5px 18px rgba(255, 157, 0, 0.3);
  transform: translateY(-2px);
}

/* شبكة البطاقات */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.gallery-item {
  transition: all 0.4s ease;
}

.gallery-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #f5f5f5;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: transparent;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: none;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-zoom-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--color-gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.6);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 6px 20px rgba(255, 157, 0, 0.4);
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-card:hover .gallery-zoom-icon {
  transform: scale(1);
}

/* Lightbox Modal */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.gallery-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img-content {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.gallery-lightbox.active .lightbox-img-content {
  transform: scale(1);
}

.lightbox-close-btn {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lightbox-close-btn:hover {
  color: var(--color-gold);
}