@media (max-width: 576px) {
    .navbar-brand img {
        height: 38px !important;
        max-width: 130px;
    }
}
/* خلفية بيضاء لسلايدر العملاء */
.clients-slider-bg {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 32px 32px 32px 32px;
    margin-bottom: 32px;
}
  :root {
      --primary: #0b5fa5;
      --primary-dark: #083f6e;
      --primary-light: #e8f2fb;
      --secondary: #1e40af;
      --accent: #0ea5e9;
      --text-dark: #1e293b;
      --text-muted: #64748b;
      --border: #e2e8f0;
      --surface: #f8fafc;
      --white: #ffffff;
      --radius: 14px;
      --radius-sm: 8px;
  }

  * {
      box-sizing: border-box;
  }

  body {
      font-family: 'Tajawal', Arial, sans-serif;
      font-size: 16px;
      line-height: 1.75;
      color: var(--text-dark);
      background: #f0f4f8;
      min-width: 0;

  }

  /* ===== NAVBAR ===== */
  .navbar-main {
      background: var(--white);
      border-bottom: 1px solid var(--border);
      padding: 0;
      position: sticky;
      top: 0;
      z-index: 1000;
      box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  }

  .navbar-main .nav-link {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-dark) !important;
      padding: 18px 16px !important;
      border-bottom: 3px solid transparent;
      transition: all 0.2s;
  }

  .navbar-main .nav-link:hover,
  .navbar-main .nav-link.active {
      color: var(--primary) !important;
      border-bottom-color: var(--primary);
  }

  .navbar-brand img {
      height: 44px;
  }

  /* ===== HERO BANNER ===== */
  .hero-banner {
      background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--accent) 100%);
      color: #fff;
      padding: 64px 0 48px;
      position: relative;
      overflow: hidden;
  }

  .hero-banner::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  }

  .hero-banner h1 {
      font-size: 2.2rem;
      font-weight: 800;
      line-height: 1.3;
      margin-bottom: 16px;
  }

  .hero-banner p {
      font-size: 1.1rem;
      opacity: 0.9;
      max-width: 600px;
  }

  .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, 0.15);
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: 40px;
      padding: 6px 16px;
      font-size: 13px;
      margin-bottom: 20px;
      backdrop-filter: blur(4px);
  }

  /* ===== LAYOUT ===== */
  .page-wrapper {
      max-width: 1140px;
      margin: 0 auto;
      padding: 0 20px;
  }

  .main-content {
      padding: 40px 0 60px;
  }

  .content-grid {
      display: grid;
      grid-template-columns: 260px 1fr;
      gap: 28px;
      align-items: start;
  }

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

      .sidebar {
          order: 2;
      }

      .main-section {
          order: 1;
      }
  }

  /* ===== SIDEBAR ===== */
  .sidebar-card {
      background: var(--white);
      border-radius: var(--radius);
      border: 1px solid var(--border);
      overflow: hidden;
      position: sticky;
      top: 80px;
  }

  .sidebar-card .sidebar-title {
      background: var(--primary);
      color: #fff;
      padding: 14px 18px;
      font-size: 15px;
      font-weight: 700;
      margin: 0;
  }

  .sidebar-nav {
      padding: 8px 0;
      margin: 0;
      list-style: none;
  }

  .sidebar-nav li a {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 18px;
      font-size: 14px;
      color: var(--text-dark);
      text-decoration: none;
      transition: all 0.2s;
      border-right: 3px solid transparent;
  }

  .sidebar-nav li a:hover,
  .sidebar-nav li.active a {
      background: var(--primary-light);
      color: var(--primary);
      border-right-color: var(--primary);
  }

  .sidebar-nav li a i {
      width: 18px;
      color: var(--primary);
  }
.main-section {
    background: #fff;
    padding: 32px;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
/* 
  width: 100%;
  max-width: 220px;
  height: 140px;
  object-fit: cover;
  background: #fff;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
  padding: 32px;
  margin-bottom: 24px;
  } */

  .section-title {
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--primary-dark);
      margin-bottom: 20px;
      padding-bottom: 12px;
      border-bottom: 2px solid var(--primary-light);
      display: flex;
      align-items: center;
      gap: 10px;
  }

  .section-title .title-icon {
      width: 36px;
      height: 36px;
      background: var(--primary-light);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary);
      font-size: 16px;
      flex-shrink: 0;
  }

  /* ===== INTRO ===== */
  .intro-box {
      display: grid;
      grid-template-columns: 1fr 240px;
      gap: 28px;
      align-items: center;
      margin-bottom: 0;
  }

  .intro-box-odoo {
      grid-template-columns: 1fr 400px;
  }

  @media (max-width: 680px) {
      .intro-box, .intro-box-odoo {
          grid-template-columns: 1fr;
      }


  }

  .intro-img img {
      width: 100%;
      border-radius: var(--radius);
      border: 1px solid var(--border);
      object-fit: cover;
  }

  .intro-text p {
      font-size: 15px;
      color: #334155;
      line-height: 1.8;
      margin-bottom: 0;
  }

  /* ===== ACCORDION ===== */
  .acc-item {
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      margin-bottom: 10px;
      overflow: hidden;
      transition: box-shadow 0.2s;
  }

  .acc-item:hover {
      box-shadow: 0 2px 12px rgba(11, 95, 165, 0.08);
  }

  .acc-btn {
      width: 100%;
      background: var(--surface);
      border: none;
      padding: 14px 18px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      font-family: 'Tajawal', sans-serif;
      font-size: 15px;
      font-weight: 600;
      color: var(--primary-dark);
      text-align: right;
      transition: background 0.2s;
  }

  .acc-btn:hover {
      background: var(--primary-light);
  }

  .acc-btn.open {
      background: var(--primary-light);
      color: var(--primary);
  }

  .acc-btn .acc-icon {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: transform 0.3s, background 0.2s;
  }

  .acc-btn.open .acc-icon {
      transform: rotate(180deg);
      background: var(--primary);
      color: #fff;
  }

  .acc-body {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      background: var(--white);
  }

  .acc-body.open {
      max-height: 500px;
  }

  .acc-inner {
      padding: 14px 18px 16px;
      font-size: 14.5px;
      color: #475569;
      line-height: 1.75;
      border-top: 1px solid var(--border);
  }

  /* ===== STATS GRID ===== */
  .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 16px;
      margin-bottom: 8px;
  }

  .stat-card {
      background: var(--primary-light);
      border-radius: var(--radius-sm);
      padding: 20px 16px;
      text-align: center;
  }

  .stat-card .stat-number {
      font-size: 1.8rem;
      font-weight: 800;
      color: var(--primary);
      line-height: 1;
      margin-bottom: 6px;
  }

  .stat-card .stat-label {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.4;
  }

  /* ===== MODULES GRID ===== */
  .modules-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 14px;
  }

  .module-card {
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 18px;
      transition: all 0.2s;
      cursor: pointer;
  }

  .module-card:hover {
      border-color: var(--primary);
      background: var(--primary-light);
      transform: translateY(-2px);
      box-shadow: 0 4px 16px rgba(11, 95, 165, 0.1);
  }

  .module-card .module-icon {
      width: 42px;
      height: 42px;
      background: var(--primary-light);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary);
      font-size: 18px;
      margin-bottom: 10px;
  }

  .module-card:hover .module-icon {
      background: #fff;
  }

  .module-card h6 {
      font-size: 14px;
      font-weight: 700;
      color: var(--primary-dark);
      margin-bottom: 5px;
  }

  .module-card p {
      font-size: 12.5px;
      color: var(--text-muted);
      margin: 0;
      line-height: 1.5;
  }

  .module-body-expand {
      display: none;
      margin-top: 8px;
      font-size: 13px;
      color: #475569;
      line-height: 1.6;
      border-top: 1px dashed var(--border);
      padding-top: 8px;
  }

  .module-card.expanded .module-body-expand {
      display: block;
  }

  /* ===== FAQ ===== */
  .faq-item {
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      margin-bottom: 10px;
      overflow: hidden;
  }

  .faq-q {
      width: 100%;
      background: var(--surface);
      border: none;
      padding: 14px 18px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      font-family: 'Tajawal', sans-serif;
      font-size: 14.5px;
      font-weight: 600;
      color: var(--text-dark);
      text-align: right;
      gap: 12px;
  }

  .faq-q i {
      flex-shrink: 0;
      transition: transform 0.3s;
      color: var(--primary);
  }

  .faq-q.open i {
      transform: rotate(180deg);
  }

  .faq-a {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease;
      background: var(--white);
  }

  .faq-a.open {
      max-height: 300px;
  }

  .faq-a-inner {
      padding: 12px 18px 16px;
      font-size: 14px;
      color: #475569;
      line-height: 1.75;
      border-top: 1px solid var(--border);
  }

  /* ===== WHY US ===== */
  .why-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 16px;
  }

  .why-card {
      background: var(--surface);
      border-radius: var(--radius-sm);
      padding: 22px 18px;
      border: 1px solid var(--border);
      text-align: center;
  }

  .why-card .why-icon {
      width: 52px;
      height: 52px;
      background: var(--primary-light);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 12px;
      color: var(--primary);
      font-size: 22px;
  }

  .why-card h6 {
      font-size: 15px;
      font-weight: 700;
      color: var(--primary-dark);
      margin-bottom: 6px;
  }

  .why-card p {
      font-size: 13px;
      color: var(--text-muted);
      margin: 0;
  }

  /* ===== CTA BANNER ===== */
  .cta-banner {
      background: linear-gradient(135deg, var(--primary-dark), var(--primary));
      border-radius: var(--radius);
      padding: 36px 32px;
      color: #fff;
      text-align: center;
  }

  .cta-banner h4 {
      font-size: 1.4rem;
      font-weight: 800;
      margin-bottom: 10px;
  }

  .cta-banner p {
      opacity: 0.85;
      margin-bottom: 20px;
      font-size: 15px;
  }

  .btn-cta {
      background: #fff;
      color: var(--primary);
      border: none;
      padding: 12px 32px;
      border-radius: 40px;
      font-size: 15px;
      font-weight: 700;
      font-family: 'Tajawal', sans-serif;
      cursor: pointer;
      transition: all 0.2s;
      display: inline-block;
      text-decoration: none;
  }

  .btn-cta:hover {
      background: var(--primary-light);
      transform: translateY(-2px);
  }

  /* ===== FLOATING BTN ===== */
  .float-btn {
      position: fixed;
      bottom: 28px;
      left: 28px;
      background: var(--primary);
      color: #fff;
      border: none;
      border-radius: 50px;
      padding: 13px 22px;
      font-size: 14px;
      font-weight: 700;
      font-family: 'Tajawal', sans-serif;
      cursor: pointer;
      box-shadow: 0 8px 24px rgba(11, 95, 165, 0.35);
      z-index: 999;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: all 0.2s;
  }

  .float-btn:hover {
      background: var(--primary-dark);
      transform: translateY(-3px);
  }

  @media (max-width: 576px) {
      .float-btn {
          padding: 10px 16px;
          font-size: 13px;
      }
  }

  /* ===== MODAL ===== */
  .modal-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.65);
      backdrop-filter: blur(6px);
      z-index: 9999;
      align-items: center;
      justify-content: center;
  }

  .modal-overlay.show {
      display: flex;
  }

  .modal-box {
      background: var(--white);
      width: 430px;
      max-width: 94vw;
      border-radius: 20px;
      padding: 26px 22px;
      direction: rtl;
      text-align: right;
      max-height: 90vh;
      overflow-y: auto;
      animation: slideUp 0.3s ease;
  }

  @keyframes slideUp {
      from {
          opacity: 0;
          transform: translateY(20px);
      }

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

  .modal-box h3 {
      font-size: 1.3rem;
      font-weight: 800;
      color: var(--primary-dark);
      margin-bottom: 14px;
      text-align: center;
  }

  .modal-box label {
      font-size: 14px;
      font-weight: 600;
      color: var(--text-muted);
      display: block;
      margin-bottom: 4px;
  }

  .modal-box input[type="text"],
  .modal-box input[type="tel"],
  .modal-box input[type="email"] {
      width: 100%;
      border: 1.5px solid var(--border);
      border-radius: var(--radius-sm);
      padding: 9px 12px;
      min-height: 42px;
      font-size: 14px;
      font-family: 'Tajawal', sans-serif;
      background: var(--surface);
      transition: border-color 0.2s;
      outline: none;
      margin-bottom: 12px;
  }

  .modal-box input:focus {
      border-color: var(--primary);
      background: #fff;
  }

  .phone-row {
      display: flex;
      gap: 10px;
      align-items: stretch;
  }

  .phone-row input[type="tel"] {
      margin-bottom: 0;
      min-height: 42px;
  }

  .phone-prefix {
      background: var(--surface);
      border: 1.5px solid var(--border);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      padding: 0 14px;
      font-size: 14px;
      color: var(--text-muted);
      direction: ltr;
      white-space: nowrap;
      margin-bottom: 0;
  }

  .modal-btn-row {
      display: flex;
      gap: 10px;
      margin-top: 4px;
  }

  .btn-submit {
      flex: 1;
      background: var(--primary);
      color: #fff;
      border: none;
      padding: 10px;
      border-radius: 40px;
      font-size: 14px;
      font-weight: 700;
      font-family: 'Tajawal', sans-serif;
      cursor: pointer;
      transition: background 0.2s;
  }

  .btn-submit:hover {
      background: var(--primary-dark);
  }

  .btn-cancel {
      flex: 1;
      background: var(--surface);
      color: var(--text-dark);
      border: 1.5px solid var(--border);
      padding: 10px;
      border-radius: 40px;
      font-size: 14px;
      font-weight: 600;
      font-family: 'Tajawal', sans-serif;
      cursor: pointer;
  }

  .hint {
      font-size: 12px;
      color: var(--text-muted);
      margin-top: -6px;
      margin-bottom: 10px;
  }

  .hidden-bot {
      display: none;
  }

  /* ===== FOOTER ===== */
  footer {
      background: var(--primary-dark);
      color: rgba(255, 255, 255, 0.75);
      text-align: center;
      padding: 20px;
      font-size: 14px;
  }

  footer a {
      color: rgba(255, 255, 255, 0.9);
  }




  .clients-slider img {
      max-width: 100%;
      height: 100px;
      object-fit: contain;
      transition: 0.3s;
      opacity: 1;
      width: 50px;
  }


  .clients-slider {
      width: 100%;
      max-width: 100%;
      overflow: hidden;
  }



  .hero-banner::before {
      pointer-events: none;
  }


  /* ===== ADDITIONS FOR INDEX PAGE ===== */

  /* Hero Slider */
  .hero-slider {
      position: relative;
      width: 100%;
      height: 500px;
      overflow: hidden;
      background: #1a1a2e;
  }

  .slide {
      position: absolute;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 0.7s ease;
  }

  .slide.active {
      opacity: 1;
      z-index: 1;
  }

  .slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
  }

  .slide-caption {
      position: absolute;
      bottom: 80px;
      right: 10%;
      background: rgba(0, 0, 0, 0.7);
      color: #fff;
      padding: 12px 25px;
      border-radius: 50px;
      font-size: 18px;
      font-weight: 500;
      z-index: 2;
  }

  .slider-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0, 0, 0, 0.5);
      color: white;
      border: none;
      width: 45px;
      height: 45px;
      border-radius: 50%;
      cursor: pointer;
      z-index: 10;
      transition: 0.3s;
      font-size: 20px;
  }

  .slider-btn:hover {
      background: var(--primary);
  }

  .slider-prev {
      right: 20px;
  }

  .slider-next {
      left: 20px;
  }

  /* Section Container */
  .section-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 60px 20px;
  }

  .section-title {
      font-size: 28px;
      font-weight: 700;
      color: var(--primary-dark);
      margin-bottom: 30px;
      position: relative;
      padding-right: 20px;
  }

  .section-title:before {
      content: '';
      position: absolute;
      right: 0;
      top: 10px;
      bottom: 10px;
      width: 5px;
      background: var(--primary);
      border-radius: 5px;
  }

  .separator {
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
      margin: 40px auto 0;
      width: 100px;
  }

  /* Cards Grid */
  .cards-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      margin-top: 20px;
  }

  .service-card {
      background: var(--white);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease;
      padding: 25px;
      text-align: center;
  }

  .service-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  }

  .service-card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      border-radius: var(--radius-sm);
      margin-bottom: 20px;
  }

  .service-card h3 {
      font-size: 22px;
      font-weight: 700;
      margin-bottom: 15px;
      color: var(--primary-dark);
  }

  .service-card p {
      color: var(--text-muted);
      font-size: 14px;
      margin-bottom: 20px;
      line-height: 1.7;
  }

  .btn {
      display: inline-block;
      padding: 10px 25px;
      background: var(--primary);
      color: white;
      text-decoration: none;
      border-radius: 50px;
      font-weight: 500;
      transition: 0.3s;
      border: none;
      cursor: pointer;
      font-family: 'Tajawal', sans-serif;
  }

  .btn:hover {
      background: var(--primary-dark);
      transform: translateY(-2px);
      color: #fff;
  }

  /* Two Column Layout */
  .two-col-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
  }

  .info-box {
      background: var(--white);
      border-radius: var(--radius);
      padding: 30px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  }

  .info-box h3 {
      font-size: 22px;
      margin-bottom: 20px;
      color: var(--primary);
      display: flex;
      align-items: center;
      gap: 10px;
  }

  .info-box h3 i {
      font-size: 24px;
  }

  .info-box img {
      width: 100%;
      height: auto;
  }

  .news-date {

      font-size: 13px;
      margin-bottom: 10px;
  }

  .download-link {
      color: var(--primary);
      font-weight: bold;
      text-decoration: none;
  }

  .download-link:hover {
      text-decoration: underline;
  }

  /* Clients & Partners */
  .clients-logos {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 40px;
      margin-top: 20px;
  }

  .clients-logos img {
      max-height: 60px;
      width: auto;
      opacity: 0.7;
      transition: 0.3s;
  }

  .clients-logos img:hover {
      opacity: 1;
  }

  .partners-logos {
      display: flex;
      justify-content: center;
      gap: 40px;
      margin-top: 20px;
      flex-wrap: wrap;
  }

  .partners-logos img {
      max-height: 50px;
      width: auto;
  }

  /* Index Navbar overrides */
  .nav-flex {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 15px;
  }

  .logo img {
      height: 50px;
      width: auto;
  }

  .nav-links {
      display: flex;
      gap: 5px;
      list-style: none;
      margin: 0;
      padding: 0;
      flex-wrap: wrap;
  }

  .nav-links li a {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-dark);
      text-decoration: none;
      padding: 10px 18px;
      border-radius: 30px;
      transition: all 0.3s ease;
      display: block;
  }

  .nav-links li a:hover,
  .nav-links li a.active {
      background: var(--primary);
      color: var(--white);
  }

  /* Form Search */
  .form-search form {
      display: flex;
      align-items: center;
      background: #f1f5f9;
      border-radius: 50px;
      padding: 4px 8px;
  }

  .form-search input {
      border: none;
      background: transparent;
      padding: 8px 15px;
      font-family: 'Tajawal', sans-serif;
      font-size: 13px;
      width: 160px;
      outline: none;
  }

  .search_button {
      display: inline-block;
      width: 34px;
      height: 34px;
      background: var(--primary);
      border-radius: 50%;
      position: relative;
      cursor: pointer;
      transition: 0.3s;
  }

  .search_button:hover {
      background: var(--primary-dark);
  }

  .search_button::after {
      content: "\f002";
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      position: absolute;
      color: white;
      font-size: 14px;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
  }

  /* Container override for navbar */
  .navbar-main .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
  }

  /* Responsive for index */
  @media (max-width: 768px) {
      .hero-slider {
          height: 350px;
      }

      .slide-caption {
          font-size: 14px;
          bottom: 30px;
          right: 5%;
          left: 5%;
          text-align: center;
      }

      .two-col-grid {
          grid-template-columns: 1fr;
          gap: 25px;
      }

      .section-container {
          padding: 40px 15px;
      }

      .nav-flex {
          flex-direction: column;
      }

      .form-search {
          margin-right: 0;
      }

      .nav-links {
          justify-content: center;
      }

      .cards-grid {
          grid-template-columns: 1fr;
      }

      .section-title {
          font-size: 24px;
      }
  }

  @media (max-width: 480px) {
      .hero-slider {
          height: 250px;
      }

      .service-card img {
          height: 140px;
      }

      .slide-caption {
          font-size: 12px;
          padding: 8px 16px;
          bottom: 20px;
      }
  }


  /* xxxx */
  /* ===== CUSTOM SCROLLBAR ===== */

  /* تخصيص شريط التمرير للصفحة بأكملها */
  ::-webkit-scrollbar {
      width: 8px;
      height: 8px;
  }

  ::-webkit-scrollbar-track {
      background: var(--surface);
      border-radius: 10px;
  }

  ::-webkit-scrollbar-thumb {
      background: var(--primary);
      border-radius: 10px;
  }

  ::-webkit-scrollbar-thumb:hover {
      background: var(--primary-dark);
  }

  /* تخصيص شريط التمرير داخل قسم "تاريخنا" فقط */
  .scrollable-timeline::-webkit-scrollbar {
      width: 5px;
  }

  .scrollable-timeline::-webkit-scrollbar-track {
      background: var(--primary-light);
      border-radius: 10px;
  }

  .scrollable-timeline::-webkit-scrollbar-thumb {
      background: var(--primary);
      border-radius: 10px;
  }

  .scrollable-timeline::-webkit-scrollbar-thumb:hover {
      background: var(--primary-dark);
  }



  /* ===== SERVICES PAGE STYLES ===== */

  /* Services Grid - 3 columns */
  .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
      margin-bottom: 40px;
  }

  /* Services Card */
  .service-item {
      background: var(--white);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease;
      padding: 0;
      text-align: center;
  }

  .service-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  }

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

  .service-item-content {
      padding: 20px;
  }

  .service-item h3 {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 12px;
  }

  .service-item h3 a {
      color: var(--primary-dark);
      text-decoration: none;
      transition: color 0.3s;
  }

  .service-item h3 a:hover {
      color: var(--primary);
  }

  .service-item p {
      color: var(--text-muted);
      font-size: 13px;
      line-height: 1.7;
      margin-bottom: 15px;
  }

  .service-item .link {
      color: var(--primary);
      text-decoration: none;
      font-size: 13px;
      font-weight: 500;
  }

  .service-item .link:hover {
      text-decoration: underline;
  }

  /* Responsive for services grid */
  @media (max-width: 992px) {
      .services-grid {
          grid-template-columns: repeat(2, 1fr);
          gap: 25px;
      }
  }

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

  .navbar-toggler:focus {
      box-shadow: none !important;
  }

  @media(min-width:768px) and (max-width:991px) {
      .intro-box {
          grid-template-columns: 1fr;
      }

      .cards-grid {
          grid-template-columns: 1fr;
      }

      .service-card img {
          width: auto;
          height: auto;
          max-width: 100%;
      }
  }

  .owl-nav {
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translate(-50%, -50%);
  }

  .owl-nav .owl-prev, .owl-nav .owl-next {
      color: var(--primary) !important;
      font-size: 35px !important;
      margin: 5px;

  }

  .communication {
      flex-direction: column !important;
  }