/* Custom Styles for Arabhost.com */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap');

/* Custom Styling & Theme Overrides for Pico CSS */
    :root {
      --pico-font-family: 'Tajawal', system-ui, -apple-system, sans-serif;
      --pico-primary: #0a2540;
      --pico-primary-background: #0a2540;
      --pico-primary-hover: #12385f;
      --pico-primary-underline: rgba(10, 37, 64, 0.5);
      --pico-background-color: #f8fafc;
      --pico-card-background-color: #ffffff;
      --pico-card-border-color: #e2e8f0;
      --pico-color: #1e293b;
      --pico-border-radius: 12px;
      --navy-main: #0a2540;
      --brand-blue: #0066ff;
      --ice-blue: #f0f4f8;
      --accent-gold: #d97706;
    }

    /* Hide top nav bar on mobiles */
    @media (max-width: 768px) {
      .nav-links-clean,
      .hero-stats-card {
        display: none !important;
        }
      }

    /* Force Light Mode Overrides */
    @media (prefers-color-scheme: dark) {
      :root {
        --pico-background-color: #f8fafc !important;
        --pico-card-background-color: #ffffff !important;
        --pico-card-border-color: #e2e8f0 !important;
        --pico-color: #1e293b !important;
      }
    }

    body {
      font-family: var(--pico-font-family);
      background-color: var(--pico-background-color);
      color: var(--pico-color);
      line-height: 1.7;
    }

    /* Boxed Container Default 1200px max */
    .boxed-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1.25rem;
    }

    /* Base Font Scale */
    html {
      font-size: 17px; /* Increased mobile base font size by +1 degree (was 15-16px) */
    }

    @media (min-width: 769px) {
      html {
        font-size: 20px; /* Desktop base scale remains 20px */
      }
    }

    h1 { font-size: 2.35rem; font-weight: 900; }
    h2 { font-size: 1.85rem; font-weight: 800; }
    h3 { font-size: 1.35rem; font-weight: 800; }
     .btn-primary-custom-LG {
      background-color: var(--navy-main);
      color: #ffffff;
      border: none;
      font-weight: 700;
      padding: 0.85rem 1.9rem;
      border-radius: 10px;
      align-items: center;
      gap: 0.6rem;
      text-decoration: none;
      transition: all 0.2s ease;
      cursor: pointer;
      width: 30% !important;
      justify-content: center;
      margin-top: 1rem;
      display: inline-flex !important;
      }

      .service-list li {
        font-size: 0.98rem;
      }
   
    /* Scaled up Mobile Typography for readability */
    @media (max-width: 768px) {
      html {
        font-size: 19px; /* Clear legible mobile font */
      }
      h1 { font-size: 1.85rem !important; }
      h2 { font-size: 1.5rem !important; }
      h3 { font-size: 1.25rem !important; }
      .hero-grid {
        grid-template-columns: 1fr !important;
      }
      .cta-button-group a {
      font-size: 0.96rem !important;
      }
      .btn-primary-custom-LG {
        width: 100% !important;
        justify-content: center;
        margin-top: 1rem;
      }
      .service-list li {
        font-size: 1.1rem !important;
      }
        .section-title-contact-mobile {
          display: none;
      }
      .footer-links {
        display: none !important;
      }
      .footer-text {
        margin-right: 10px !important;
        font-size: 19px !important;
      }
    }

    /* Header Nav (Text-Only Left Nav, Brand on Right) */
    header.boxed-container {
      padding-top: 1.2rem;
      padding-bottom: 0rem;
    }

    nav.top-navbar {
      background: #ffffff;
      padding: 0.85rem 1.6rem;
      border-radius: 16px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
      border: 1px solid #e2e8f0;
      margin-bottom: 1rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .brand-logo-container {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      text-decoration: none;
    }

    .logo-mark {
      width: 60px;
      height: 60px;
      background-color: var(--navy-main);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 6px;
      flex-shrink: 0;
    }

    .logo-mark svg {
      width: 100%;
      height: 100%;
    }

    .brand-text-wrapper {
      display: flex;
      flex-direction: column;
    }

    .brand-title {
      font-weight: 900;
      font-size: 1.6rem;
      color: var(--navy-main);
      line-height: 1.1;
      margin: 0;
    }

    .brand-subtitle {
      font-size: 0.99rem;
      color: #64748b;
      font-weight: 700;
      letter-spacing: 0.5px;
    }

    /* Redesigned Text-Only Navigation Links (Left Side in RTL) */
    .nav-links-clean {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .nav-link-item {
      color: #334155;
      font-weight: 700;
      font-size: 0.95rem;
      text-decoration: none;
      transition: color 0.2s ease, border-color 0.2s ease;
      padding: 0.4rem 0.2rem;
      border-bottom: 2px solid transparent;
      cursor: pointer;
    }

    .nav-link-item:hover, .nav-link-item.active {
      color: var(--navy-main);
      border-bottom-color: var(--navy-main);
    }

    .nav-cta-btn {
      background-color: var(--navy-main);
      color: #ffffff !important;
      font-weight: 700;
      font-size: 0.9rem;
      padding: 0.55rem 1.25rem;
      border-radius: 10px;
      text-decoration: none;
      transition: background-color 0.2s ease;
      border-bottom: none !important;
    }

    .nav-cta-btn:hover {
      background-color: #12385f;
      color: #ffffff !important;
    }

    /* Responsive Mobile Nav Stacking */
    @media (max-width: 768px) {
      nav.top-navbar {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        text-align: center;
        padding: 1rem;
      }
      .nav-links-clean {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.9rem;
      }
    }

    /* Trust Badge */
    .trust-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background-color: #4eae52;
      color: #ffffff;
      padding: 0.35rem 0.95rem;
      border-radius: 50px;
      font-size: 0.85rem;
      font-weight: 700;
      border: 1px solid #fde68a;
      margin-bottom: 1.2rem;
    }

    /* Hero Section */
    .hero-card {
      background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
      border: 1px solid #cbd5e1;
      border-radius: 20px;
      padding: 2.8rem 2.2rem;
      margin-bottom: 3rem;
      box-shadow: 0 10px 30px rgba(10, 37, 64, 0.05);
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.3fr 0.7fr;
      gap: 2rem;
      align-items: center;
    }

    .hero-content h1 {
      color: var(--navy-main);
      line-height: 1.25;
      margin-bottom: 1.2rem;
    }

    .hero-content p {
      color: #334155;
      font-size: 1.15rem;
      margin-bottom: 2rem;
    }

    .cta-button-group {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .btn-primary-custom {
      background-color: var(--navy-main);
      color: #ffffff;
      border: none;
      font-weight: 700;
      padding: 0.85rem 1.9rem;
      border-radius: 10px;
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      text-decoration: none;
      transition: all 0.2s ease;
      cursor: pointer;
    }

    .btn-primary-custom:hover {
      background-color: #12385f;
      color: #ffffff;
      transform: translateY(-2px);
    }

    .btn-whatsapp {
      background-color: #25d366;
      color: #ffffff;
      border: none;
      font-weight: 700;
      padding: 0.85rem 1.7rem;
      border-radius: 10px;
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      text-decoration: none;
      transition: all 0.2s ease;
    }

    .btn-whatsapp:hover {
      background-color: #1eb956;
      color: #ffffff;
      transform: translateY(-2px);
    }

    .hero-stats-card {
      background: #ffffff;
      border-radius: 16px;
      padding: 1.6rem;
      border: 1px solid #e2e8f0;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    }

    .stat-item {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 0.85rem 0;
      border-bottom: 1px dashed #e2e8f0;
    }

    .stat-item:last-child {
      border-bottom: none;
    }

    .stat-icon {
      width: 46px;
      height: 46px;
      border-radius: 10px;
      background: var(--ice-blue);
      color: var(--navy-main);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.25rem;
      flex-shrink: 0;
    }

    .stat-text h4 {
      margin: 0;
      font-size: 1rem;
      font-weight: 800;
      color: var(--navy-main);
    }

    .stat-text p {
      margin: 0;
      font-size: 0.85rem;
      color: #64748b;
    }

    /* Section Styling */
    .section-header {
      text-align: center;
      margin-bottom: 2.8rem;
    }

    .section-tag {
      color: var(--navy-main);
      font-weight: 800;
      font-size: 1.5rem;
      text-transform: uppercase;
      letter-spacing: 1px;
      background: var(--ice-blue);
      padding: 0.35rem 1.1rem;
      border-radius: 20px;
      display: inline-block;
      margin-bottom: 0.6rem;
    }

    .section-title {
      color: var(--navy-main);
      margin-bottom: 0.6rem;
    }

    .section-desc {
      color: #64748b;
      max-width: 680px;
      margin: 0 auto;
      font-size: 1.05rem;
    }

    /* Service Cards Grid */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
      gap: 1.8rem;
      margin-bottom: 4rem;
    }

    .service-card {
      background: #ffffff;
      border-radius: 16px;
      border: 1px solid #e2e8f0;
      padding: 2.2rem;
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
      height: 100%;
    }

    .service-card:hover {
      border-color: var(--navy-main);
      box-shadow: 0 12px 28px rgba(10, 37, 64, 0.08);
      transform: translateY(-4px);
    }

    .service-icon-box {
      width: 58px;
      height: 58px;
      border-radius: 14px;
      background-color: var(--ice-blue);
      color: var(--navy-main);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.55rem;
      margin-bottom: 1.3rem;
    }

    .service-title {
      color: var(--navy-main);
      margin-bottom: 0.8rem;
    }

    .service-list {
      list-style: none;
      padding: 0;
      margin: 0 0 1.6rem 0;
    }

    .service-list li {
      list-style: none !important;
      list-style-type: none !important;
      position: relative;
      padding-right: 1.7rem;
      margin-bottom: 0.65rem;
      color: #334155;
      font-size: 0.98rem;
    }

    .service-list li::before {
      content: "\f00c";
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      position: absolute;
      right: 0;
      color: #10b981;
      font-size: 0.88rem;
    }

    .card-badge {
      display: inline-block;
      font-size: 0.78rem;
      font-weight: 700;
      padding: 0.2rem 0.65rem;
      border-radius: 6px;
      background-color: var(--ice-blue);
      color: var(--navy-main);
      margin-bottom: 0.85rem;
    }

    /* Pricing Section Grid */
    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 1.8rem;
      margin-bottom: 4rem;
    }

    .pricing-card {
      background: #ffffff;
      border-radius: 18px;
      border: 1px solid #e2e8f0;
      padding: 2.2rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
      transition: all 0.3s ease;
    }

    .pricing-card.popular {
      border: 2px solid var(--navy-main);
      box-shadow: 0 10px 30px rgba(10, 37, 64, 0.1);
    }

    .pricing-header {
      margin-bottom: 1.5rem;
    }

    .pricing-price {
      font-size: 2rem;
      font-weight: 900;
      color: var(--navy-main);
      line-height: 1;
      margin: 1rem 0 0.5rem 0;
    }

    .pricing-price span {
      font-size: 1rem;
      font-weight: 600;
      color: #64748b;
    }

    /* Table Container Overflow for Mobile */
    .table-responsive-wrapper {
      width: 100%;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      margin-bottom: 3rem;
      border: 1px solid #e2e8f0;
      border-radius: 16px;
      background: #ffffff;
    }

    table.comparison-table {
      width: 100%;
      border-collapse: collapse;
      min-width: 650px;
      margin: 0;
    }

    table.comparison-table th, table.comparison-table td {
      padding: 1rem 1.25rem;
      border-bottom: 1px solid #e2e8f0;
      text-align: right;
    }

    table.comparison-table th {
      background-color: var(--ice-blue);
      color: var(--navy-main);
      font-weight: 800;
    }

    /* Guarantee Box */
    .guarantee-box {
      background: var(--navy-main);
      color: #ffffff;
      border-radius: 20px;
      padding: 3.2rem 2.2rem;
      margin-bottom: 4rem;
      text-align: center;
      box-shadow: 0 10px 30px rgba(10, 37, 64, 0.15);
    }

    .guarantee-box h3 {
      color: #ffffff;
      margin-bottom: 1.2rem;
    }

    .guarantee-box p {
      color: #cbd5e1;
      max-width: 820px;
      margin: 0 auto 2rem auto;
      font-size: 1.15rem;
    }

    /* Footer */
    footer {
      border-top: 1px solid #e2e8f0;
      padding: 2.5rem 0;
      background: #ffffff;
      margin-top: 3rem;
    }

    .footer-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .footer-text {
      color: #64748b;
      font-size: 0.95rem;
      margin: 0;
    }

    .footer-links {
      display: flex;
      gap: 1.4rem;
    }

    .footer-links a {
      color: #64748b;
      text-decoration: none;
      font-size: 0.95rem;
      transition: color 0.2s;
    }

    .footer-links a:hover {
      color: var(--navy-main);
    }

    /* Utility Page Switcher Display */
    .page-section {
      display: none;
    }
    .page-section.active {
      display: block;
    }

  /* تحويل المؤشر إلى شكل إصبع عند التمرير فوق روابط وعناصر الفوتر */
footer a,
footer button,
footer [onclick] {
  cursor: pointer !important;
}

.comparison-table-plans th, 
.comparison-table-plans td {
  text-align: center !important;
  vertical-align: middle !important;
}

.comparison-table-plans th:first-child,
.comparison-table-plans td:first-child {
  text-align: right !important;
}