  /* الأساسيات - نفس أنماط الصفحة الرئيسية */
  :root {
      --primary-color: #0d3c84;
      /* أزرق داكن أنيق */
      --secondary-color: #d4af37;
      /* ذهبي أنيق */
      --light-color: #f9f9f9;
      --dark-color: #222;
      --gray-color: #777;
      --gradient-bg: linear-gradient(135deg, #0d3c84 0%, #1a5cb0 100%);
      --gradient-3d: linear-gradient(135deg, #0d3c84 0%, #1a5cb0 100%);
  }

  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

  body {
      background-color: #f5f5f5;
      color: var(--dark-color);
      line-height: 1.6;
      overflow-x: hidden;
  }

  .container {
      width: 90%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 15px;
  }

  .section {
      padding: 80px 0;
  }

  .section-title {
      text-align: center;
      margin-bottom: 50px;
      position: relative;
  }

  .section-title h2 {
      font-size: 2.5rem;
      color: var(--primary-color);
      margin-bottom: 15px;
      position: relative;
      display: inline-block;
  }

  .section-title h2::after {
      content: '';
      position: absolute;
      bottom: -10px;
      right: 50%;
      transform: translateX(50%);
      width: 80px;
      height: 3px;
      background: var(--secondary-color);
      border-radius: 2px;
  }

  .section-title p {
      color: var(--gray-color);
      max-width: 600px;
      margin: 0 auto;
      font-size: 1.1rem;
  }

  .btn {
      display: inline-block;
      background-color: var(--secondary-color);
      color: #fff;
      padding: 12px 30px;
      border: none;
      border-radius: 5px;
      font-size: 1.1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      text-decoration: none;
      box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  }

  .btn:hover {
      background-color: #c19b2e;
      transform: translateY(-3px);
      box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  }

  /* الهيدر ثلاثي الأبعاد - نفس التصميم */
  header {
      background: var(--gradient-3d);
      position: fixed;
      width: 100%;
      top: 0;
      z-index: 1000;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
      border-bottom: 3px solid var(--secondary-color);
      height: 70px;
      transition: all 0.3s ease;
  }

  .header-3d-effect {
      position: relative;
      overflow: hidden;
      transform: translateZ(10px);
      height: 100%;
  }

  .header-3d-effect::before {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg,
              rgba(255, 255, 255, 0.08) 0%,
              rgba(255, 255, 255, 0.04) 25%,
              rgba(255, 255, 255, 0.02) 50%,
              rgba(255, 255, 255, 0) 100%);
      transform: skewX(-15deg) translateX(10px);
      z-index: 1;
  }

  .header-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 70px;
      position: relative;
      z-index: 2;
  }

  .logo {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 6px 10px;
      transform: translateZ(25px);
      transition: transform 0.3s ease;
  }

  .logo:hover {
      transform: translateZ(25px) scale(1.04);
  }

  .logo img {
      height: 100px;
      /* تكبير أوضح */
      margin-left: 0;

      /* توضيح اللوجو */
      filter:
          drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5)) contrast(1.15) brightness(1.1);
  }

  .logo-text {
      display: flex;
      flex-direction: column;
  }

  .logo h1 {
      font-size: 1.05rem;
      color: #ffffff;
      font-weight: 700;
      /* تخانة أوضح */
      text-shadow:
          0 2px 6px rgba(0, 0, 0, 0.6);
      margin-bottom: 2px;
      letter-spacing: 0.3px;
  }

  .logo p {
      color: var(--secondary-color);
      font-size: 0.72rem;
      font-weight: 600;
      text-shadow:
          0 1px 4px rgba(0, 0, 0, 0.6);
  }

  .logo-link {
      text-decoration: none;
      /* يشيل الخط */
      display: inline-block;
  }

  .logo-link:visited,
  .logo-link:hover,
  .logo-link:active {
      color: inherit;
  }

  .social-icons {
      display: flex;
      align-items: center;
  }

  .social-icons a {
      color: white;
      margin-right: 12px;
      font-size: 1rem;
      transition: all 0.3s;
      transform: translateZ(10px);
      display: inline-block;
  }

  .social-icons a:hover {
      color: var(--secondary-color);
      transform: translateZ(10px) translateY(-2px);
  }

  /* قائمة التنقل - نفس التصميم */
  nav ul {
      display: flex;
      list-style: none;
  }

  nav ul li {
      margin-right: 15px;
      position: relative;
      transform-style: preserve-3d;
  }

  nav ul li a {
      text-decoration: none;
      color: white;
      font-weight: 600;
      padding: 8px 12px;
      border-radius: 4px;
      transition: all 0.3s;
      position: relative;
      display: block;
      transform: translateZ(10px);
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
      letter-spacing: 0.3px;
      font-size: 0.9rem;
  }

  nav ul li a::before {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 100%;
      height: 100%;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 4px;
      transform: translateZ(-5px);
      transition: all 0.3s;
      opacity: 0;
  }

  nav ul li a:hover {
      background: rgba(255, 255, 255, 0.12);
      color: var(--secondary-color);
      transform: translateZ(15px);
  }

  nav ul li a:hover::before {
      opacity: 1;
      transform: translateZ(-3px);
  }

  nav ul li a.active {
      background: var(--secondary-color);
      color: var(--dark-color);
      transform: translateZ(15px);
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  }

  nav ul li a.active::before {
      opacity: 1;
      background: rgba(212, 175, 55, 0.3);
      transform: translateZ(-3px);
  }

  /* قائمة الهومبرجر - نفس التصميم */
  .hamburger {
      display: none;
      cursor: pointer;
      font-size: 1.3rem;
      color: white;
      z-index: 1001;
      background: rgba(255, 255, 255, 0.1);
      padding: 8px 12px;
      border-radius: 4px;
      transform: translateZ(10px);
      transition: all 0.3s;
      border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .hamburger:hover {
      background: rgba(255, 255, 255, 0.15);
      transform: translateZ(12px);
  }

  /* القائمة الجانبية - نفس التصميم */
  .side-menu {
      position: fixed;
      top: 0;
      right: -320px;
      width: 320px;
      height: 100vh;
      background: linear-gradient(135deg, #0d3c84 0%, #1a5cb0 100%);
      box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
      z-index: 9999;
      transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      overflow-y: auto;
      padding: 20px;
      border-left: 3px solid var(--secondary-color);
  }

  .side-menu.open {
      right: 0;
  }

  .side-menu-header {
      padding: 20px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
  }

  .side-menu-header .logo {
      transform: none;
  }

  .side-menu-header .logo h1 {
      font-size: 1.2rem;
  }

  .close-menu-btn {
      background: none;
      border: none;
      color: white;
      font-size: 1.5rem;
      cursor: pointer;
      transition: color 0.3s;
  }

  .close-menu-btn:hover {
      color: var(--secondary-color);
  }

  .side-menu-content {
      padding: 0 0 20px;
  }

  .side-menu ul {
      list-style: none;
  }

  .side-menu ul li {
      margin-bottom: 10px;
  }

  .side-menu ul li a {
      display: flex;
      align-items: center;
      padding: 15px;
      color: white;
      text-decoration: none;
      font-size: 1.1rem;
      font-weight: 600;
      border-radius: 8px;
      transition: all 0.3s;
      position: relative;
      overflow: hidden;
  }

  .side-menu ul li a i {
      margin-left: 10px;
      width: 25px;
      text-align: center;
  }

  .side-menu ul li a::before {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 100%;
      height: 100%;
      background: rgba(255, 255, 255, 0.1);
      transform: translateX(-100%);
      transition: transform 0.3s;
  }

  .side-menu ul li a:hover {
      background: rgba(255, 255, 255, 0.15);
      color: var(--secondary-color);
      padding-right: 25px;
  }

  .side-menu ul li a:hover::before {
      transform: translateX(0);
  }

  .side-menu ul li a.active {
      background: var(--secondary-color);
      color: var(--dark-color);
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  .side-menu-overlay {
      position: fixed;
      top: 0;
      right: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.7);
      z-index: 9998;
      display: none;
      backdrop-filter: blur(4px);
      opacity: 0;
      transition: opacity 0.3s;
  }

  .side-menu-overlay.show {
      display: block;
      opacity: 1;
  }

  /* البانر الرئيسي لصفحة الاتصال */
  .contact-hero {
      background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://i.pinimg.com/736x/e8/cb/67/e8cb67c06e9bd46a4291b54f3f4c63c4.jpg');
      background-size: cover;
      background-position: center;
      background-attachment: fixed;
      height: 60vh;
      display: flex;
      align-items: center;
      text-align: center;
      color: #fff;
      margin-top: 0;
      padding-top: 70px;
      position: relative;
      overflow: hidden;
  }

  .contact-hero::before {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(45deg, rgba(13, 60, 132, 0.4) 0%, rgba(26, 92, 176, 0.3) 100%);
      z-index: 1;
  }

  .hero-content {
      max-width: 900px;
      margin: 0 auto;
      transform: translateZ(15px);
      position: relative;
      z-index: 2;
  }

  .hero-content h2 {
      font-size: 3rem;
      margin-bottom: 25px;
      text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
      animation: fadeInDown 1s ease-out;
      line-height: 1.2;
  }

  .hero-content p {
      font-size: 1.2rem;
      margin-bottom: 40px;
      line-height: 1.8;
      animation: fadeInUp 1s ease-out 0.3s both;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
  }

  /* قسم الاتصال الرئيسي */
  .contact-section {
      background-color: #fff;
      position: relative;
      overflow: hidden;
  }

  .contact-section::before {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 100%;
      height: 100%;
      background: url('https://www.transparenttextures.com/patterns/diagonal-striped-brick.png');
      opacity: 0.05;
      z-index: 1;
  }

  .contact-container {
      position: relative;
      z-index: 2;
  }

  .contact-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 40px;
      margin-bottom: 60px;
  }

  .contact-info {
      background: white;
      padding: 40px;
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      border-top: 5px solid var(--primary-color);
      transition: all 0.3s ease;
  }

  .contact-info:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  }

  .contact-info h3 {
      color: var(--primary-color);
      margin-bottom: 30px;
      font-size: 1.8rem;
      position: relative;
      padding-bottom: 15px;
  }

  .contact-info h3::after {
      content: '';
      position: absolute;
      bottom: 0;
      right: 0;
      width: 60px;
      height: 3px;
      background-color: var(--secondary-color);
  }

  .contact-method {
      display: flex;
      align-items: flex-start;
      margin-bottom: 25px;
      padding-bottom: 25px;
      border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .contact-method:last-child {
      border-bottom: none;
      margin-bottom: 0;
      padding-bottom: 0;
  }

  .contact-icon {
      width: 60px;
      height: 60px;
      background: var(--gradient-3d);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-left: 20px;
      font-size: 1.5rem;
      flex-shrink: 0;
      box-shadow: 0 5px 15px rgba(13, 60, 132, 0.3);
  }

  .contact-details h4 {
      color: var(--primary-color);
      margin-bottom: 8px;
      font-size: 1.2rem;
  }

  .contact-details p {
      color: var(--gray-color);
      margin-bottom: 10px;
      line-height: 1.6;
  }

  .whatsapp-btn {
      display: inline-block;
      background-color: #25D366;
      color: white;
      padding: 10px 20px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: 600;
      margin-top: 10px;
      transition: all 0.3s ease;
      box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
  }

  .whatsapp-btn:hover {
      background-color: #128C7E;
      transform: translateY(-3px);
      box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
  }

  .whatsapp-btn i {
      margin-left: 5px;
  }

  /* نموذج الاتصال */
  .contact-form-container {
      background: white;
      padding: 40px;
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      border-top: 5px solid var(--secondary-color);
      transition: all 0.3s ease;
  }

  .contact-form-container:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  }

  .contact-form-container h3 {
      color: var(--primary-color);
      margin-bottom: 30px;
      font-size: 1.8rem;
      position: relative;
      padding-bottom: 15px;
  }

  .contact-form-container h3::after {
      content: '';
      position: absolute;
      bottom: 0;
      right: 0;
      width: 60px;
      height: 3px;
      background-color: var(--secondary-color);
  }

  .form-group {
      margin-bottom: 25px;
  }

  .form-group label {
      display: block;
      margin-bottom: 8px;
      color: var(--primary-color);
      font-weight: 600;
      font-size: 1.1rem;
  }

  .form-control {
      width: 100%;
      padding: 12px 15px;
      border: 2px solid #e0e0e0;
      border-radius: 8px;
      font-size: 1rem;
      transition: all 0.3s ease;
      background-color: #f9f9f9;
  }

  .form-control:focus {
      border-color: var(--primary-color);
      outline: none;
      background-color: white;
      box-shadow: 0 0 0 3px rgba(13, 60, 132, 0.1);
  }

  textarea.form-control {
      min-height: 180px;
      resize: vertical;
  }

  .submit-btn {
      background: var(--gradient-3d);
      color: white;
      border: none;
      padding: 15px 40px;
      font-size: 1.1rem;
      font-weight: 600;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s ease;
      width: 100%;
      box-shadow: 0 5px 15px rgba(13, 60, 132, 0.3);
  }

  .submit-btn:hover {
      background: var(--gradient-3d);
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(13, 60, 132, 0.4);
  }

  .submit-btn:active {
      transform: translateY(-1px);
  }

  /* طرق التواصل المباشرة */
  .direct-contact-methods {
      margin-top: 60px;
  }

  .methods-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
  }

  .method-card {
      background: white;
      padding: 40px 30px;
      border-radius: 15px;
      text-align: center;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      border-top: 5px solid var(--primary-color);
      transition: all 0.4s ease;
      position: relative;
      overflow: hidden;
  }

  .method-card::before {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 100%;
      height: 5px;
      background: var(--gradient-3d);
      transform: translateY(-100%);
      transition: transform 0.4s ease;
  }

  .method-card:hover {
      transform: translateY(-15px);
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  }

  .method-card:hover::before {
      transform: translateY(0);
  }

  .method-icon {
      font-size: 3rem;
      color: var(--primary-color);
      margin-bottom: 20px;
      display: inline-block;
      width: 80px;
      height: 80px;
      line-height: 80px;
      background: rgba(13, 60, 132, 0.1);
      border-radius: 50%;
      transition: all 0.3s ease;
  }

  .method-card:hover .method-icon {
      transform: scale(1.1) rotate(5deg);
      background: var(--gradient-3d);
      color: white;
  }

  .method-card h4 {
      color: var(--primary-color);
      margin-bottom: 15px;
      font-size: 1.4rem;
  }

  .method-card p {
      color: var(--gray-color);
      margin-bottom: 20px;
      line-height: 1.6;
  }

  .method-card .btn {
      background: var(--gradient-3d);
      border: none;
      margin-top: 10px;
  }

  .method-card .btn:hover {
      background: var(--gradient-3d);
      opacity: 0.9;
  }

  /* قسم مواقع الفروع */
  .branches-section {
      background-color: #f9f9f9;
      padding: 80px 0;
  }

  .branches-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
  }

  .branch-card {
      background: white;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      transition: all 0.3s ease;
  }

  .branch-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  }

  .branch-image {
      height: 200px;
      overflow: hidden;
  }

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

  .branch-card:hover .branch-image img {
      transform: scale(1.05);
  }

  .branch-content {
      padding: 25px;
  }

  .branch-content h4 {
      color: var(--primary-color);
      margin-bottom: 15px;
      font-size: 1.4rem;
  }

  .branch-info {
      display: flex;
      align-items: center;
      margin-bottom: 10px;
      color: var(--gray-color);
  }

  .branch-info i {
      margin-left: 10px;
      color: var(--secondary-color);
      width: 20px;
  }

  /* الخريطة */
  .map-section {
      margin-top: 60px;
  }

  .map-container {
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      height: 400px;
  }

  .map-container iframe {
      width: 100%;
      height: 100%;
      border: none;
  }

  /* الفوتر - نفس التصميم */
  footer {
      background: var(--gradient-3d);
      color: #fff;
      padding: 60px 0 30px;
      border-top: 3px solid var(--secondary-color);
  }

  .footer-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 40px;
      margin-bottom: 40px;
  }

  .footer-col h3 {
      font-size: 1.4rem;
      margin-bottom: 25px;
      color: var(--secondary-color);
      position: relative;
      padding-bottom: 12px;
  }

  .footer-col h3::after {
      content: '';
      position: absolute;
      bottom: 0;
      right: 0;
      width: 60px;
      height: 3px;
      background-color: var(--secondary-color);
  }

  .footer-col ul {
      list-style: none;
  }

  .footer-col ul li {
      margin-bottom: 12px;
  }

  .footer-col ul li a {
      color: #ddd;
      text-decoration: none;
      transition: all 0.3s;
      display: inline-block;
      padding: 5px 0;
  }

  .footer-col ul li a:hover {
      color: var(--secondary-color);
      transform: translateX(-5px);
  }

  .footer-col p {
      color: #ddd;
      line-height: 1.8;
      margin-bottom: 20px;
  }

  .contact-info-footer {
      margin-top: 20px;
  }

  .contact-info-footer p {
      margin-bottom: 15px;
      display: flex;
      align-items: center;
  }

  .contact-info-footer i {
      margin-left: 10px;
      color: var(--secondary-color);
      width: 25px;
  }

  .footer-social {
      margin-top: 25px;

  }

  .footer-social a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      color: white;
      margin-left: 10px;
      transition: all 0.3s;
      text-decoration: none;

  }

  .footer-social a:hover {
      background: var(--secondary-color);
      color: var(--dark-color);
      transform: translateY(-3px);
  }

  .copyright {
      text-align: center;
      padding-top: 30px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      color: #aaa;
      font-size: 0.9rem;
  }

  /* الأنيميشن */
  @keyframes fadeInDown {
      from {
          opacity: 0;
          transform: translateY(-30px);
      }

      to {
          opacity: 1;
          transform: translateY(0);
      }
  }

  @keyframes fadeInUp {
      from {
          opacity: 0;
          transform: translateY(30px);
      }

      to {
          opacity: 1;
          transform: translateY(0);
      }
  }

  /* التجاوب مع الشاشات الصغيرة */
  @media (max-width: 992px) {
      .header-container {
          flex-direction: row;
          justify-content: space-between;
      }

      .social-icons {
          display: none;
      }

      nav ul {
          display: none;
      }

      .hamburger {
          display: block;
      }

      .hero-content h2 {
          font-size: 2.5rem;
      }

      .section {
          padding: 60px 0;
      }

      .section-title h2 {
          font-size: 2rem;
      }

      .contact-hero {
          background-attachment: scroll;
          height: 50vh;
      }
  }

  @media (max-width: 768px) {
      .hero-content h2 {
          font-size: 2.2rem;
      }

      .hero-content p {
          font-size: 1.1rem;
      }

      .contact-grid,
      .methods-grid,
      .branches-grid {
          grid-template-columns: 1fr;
      }

      .side-menu {
          width: 85%;
          max-width: 300px;
      }

      .footer-container {
          grid-template-columns: 1fr;
          gap: 30px;
      }

      .footer-col h3 {
          font-size: 1.3rem;
      }
  }

  @media (max-width: 576px) {
      .hero-content h2 {
          font-size: 1.8rem;
      }

      .btn {
          padding: 10px 25px;
          font-size: 1rem;
      }

      .section-title h2 {
          font-size: 1.8rem;
      }

      .contact-info,
      .contact-form-container,
      .method-card {
          padding: 25px 20px;
      }

      .contact-icon {
          width: 50px;
          height: 50px;
          font-size: 1.2rem;
          margin-left: 15px;
      }

      .logo h1 {
          font-size: 1.1rem;
      }

      .map-container {
          height: 300px;
      }
  }