/* ===== Reset & Base ===== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'Cairo', sans-serif;
      background: hsl(220, 20%, 97%);
      color: hsl(228, 45%, 15%);
      line-height: 1.6;
    }
    a { text-decoration: none; color: inherit; }
    ul { list-style: none; }
    img { max-width: 100%; display: block; }

    /* ===== Colors (CSS Variables) ===== */
    :root {
      --primary: 230, 60%, 20%;
      --primary-fg: 0, 0%, 100%;
      --secondary: 38, 80%, 55%;
      --secondary-fg: 0, 0%, 100%;
      --background: 220, 20%, 97%;
      --foreground: 228, 45%, 15%;
      --muted: 220, 20%, 94%;
      --muted-fg: 220, 10%, 45%;
      --card: 0, 0%, 100%;
      --border: 220, 15%, 88%;
      --navy-dark: 230, 70%, 12%;
      --navy: 230, 60%, 20%;
    }

    /* ===== Service Page Hero ===== */
    .page-hero {
      position: relative;
      min-height: 420px;
      display: flex; align-items: center; justify-content: center;
      overflow: hidden;
      padding-top: 80px;
    }
    .page-hero-bg {
      position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    }
    .page-hero .hero-overlay { position: absolute; inset: 0; }
    .page-hero-content {
      position: relative; z-index: 10; text-align: center; padding: 3rem 1rem;
      max-width: 800px; margin: 0 auto;
      animation: fadeInUp 0.6s ease-out;
    }
    .page-hero-content .breadcrumb {
      display: flex; align-items: center; justify-content: center; gap: 0.5rem;
      font-size: 0.875rem; color: hsla(var(--primary-fg), 0.6);
      margin-bottom: 1.5rem;
    }
    .page-hero-content .breadcrumb a { color: hsl(var(--secondary)); transition: opacity 0.3s; }
    .page-hero-content .breadcrumb a:hover { opacity: 0.8; }
    .page-hero-content h1 {
      font-size: 2.5rem; font-weight: 700; color: hsl(var(--primary-fg));
      margin-bottom: 1rem; line-height: 1.3;
    }
    .page-hero-content p {
      font-size: 1.125rem; color: hsla(var(--primary-fg), 0.8);
      max-width: 580px; margin: 0 auto;
    }
    @media (min-width: 768px) {
      .page-hero-content h1 { font-size: 3rem; }
    }

    /* ===== Utility ===== */
    .container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
    .gold-gradient { background: linear-gradient(135deg, hsl(var(--secondary)), hsl(38, 90%, 45%)); }
    .hero-overlay { background: linear-gradient(135deg, hsla(var(--navy-dark), 0.85), hsla(var(--navy), 0.7)); }
    .section-overlay { background: linear-gradient(135deg, hsla(var(--navy-dark), 0.9), hsla(var(--navy), 0.8)); }
    .gold-divider { width: 5rem; height: 4px; border-radius: 9999px; margin: 0 auto; }
    .section-title { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
    .text-center { text-align: center; }

    /* ===== Navbar ===== */
    .navbar {
      position: fixed; top: 0; right: 0; left: 0; z-index: 50;
      background: hsla(var(--primary), 0.8);
      backdrop-filter: blur(8px);
      padding: 1rem 0;
      transition: all 0.3s;
    }
    .navbar.scrolled {
      background: hsl(var(--primary));
      box-shadow: 0 4px 20px rgba(0,0,0,0.3);
      padding: 0.5rem 0;
    }
    .navbar .container { display: flex; align-items: center; justify-content: space-between; }
    .navbar .logo img { height: 48px; filter: brightness(0) invert(1); }
    .nav-links { display: flex; gap: 1.5rem; align-items: center; }
    .nav-links a {
      color: hsla(var(--primary-fg), 0.8); font-size: 0.875rem; font-weight: 500;
      transition: color 0.3s;
    }
    .nav-links a:hover, .nav-links a.active { color: hsl(var(--secondary)); }
    .mobile-toggle { display: none; background: none; border: none; color: hsl(var(--primary-fg)); cursor: pointer; }
    .mobile-toggle svg { width: 24px; height: 24px; }
    .mobile-menu {
      display: none; flex-direction: column; gap: 0.5rem;
      background: hsl(var(--primary)); padding: 1rem 1.5rem;
      border-top: 1px solid hsla(var(--primary-fg), 0.1);
    }
    .mobile-menu.open { display: flex; }
    .mobile-menu a {
      color: hsla(var(--primary-fg), 0.8); font-size: 0.875rem; padding: 0.5rem 0;
      transition: color 0.3s;
    }
    .mobile-menu a:hover { color: hsl(var(--secondary)); }

    @media (max-width: 1023px) {
      .nav-links { display: none; }
      .mobile-toggle { display: block; }
    }

    /* ===== Hero ===== */
    .hero {
      position: relative; min-height: 100vh; display: flex; align-items: center;
      justify-content: center; overflow: hidden;
    }
    .hero-bg {
      position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    }
    .hero .hero-overlay { position: absolute; inset: 0; }
    .hero-content {
      position: relative; z-index: 10; text-align: center; padding: 1rem;
      max-width: 800px; margin: 0 auto;
      animation: fadeInUp 0.6s ease-out;
    }
    .hero-content .hero-logo { height: 128px; margin: 0 auto 2rem; filter: brightness(0) invert(1); }
    .hero-content h1 {
      font-size: 2.5rem; font-weight: 700; color: hsl(var(--primary-fg));
      margin-bottom: 1.5rem; line-height: 1.3;
    }
    .hero-content p {
      font-size: 1.125rem; color: hsla(var(--primary-fg), 0.8);
      margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto;
    }
    .hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
    .btn-gold {
      padding: 0.75rem 2rem; border-radius: 0.5rem; font-weight: 600;
      color: hsl(var(--secondary-fg)); transition: opacity 0.3s;
    }
    .btn-gold:hover { opacity: 0.9; }
    .btn-outline {
      padding: 0.75rem 2rem; border-radius: 0.5rem; font-weight: 600;
      color: hsl(var(--primary-fg)); border: 2px solid hsla(var(--primary-fg), 0.3);
      background: transparent; transition: background 0.3s;
    }
    .btn-outline:hover { background: hsla(var(--primary-fg), 0.1); }

    @media (min-width: 768px) {
      .hero-content h1 { font-size: 3.5rem; }
      .hero-content .hero-logo { height: 160px; }
      .hero-content p { font-size: 1.25rem; }
    }

    /* ===== About ===== */
    .about { padding: 5rem 0; background: hsl(var(--background)); }
    .about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; margin-bottom: 5rem; }
    .about-text { font-size: 1.125rem; color: hsl(var(--muted-fg)); line-height: 1.8; margin-bottom: 1.5rem; }
    .stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: center; }
    .stat-card {
      background: hsl(var(--card)); border-radius: 0.5rem; padding: 1rem;
      border: 1px solid hsl(var(--border)); box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }
    .stat-card .number { font-size: 1.875rem; font-weight: 700; color: hsl(var(--secondary)); }
    .stat-card .label { font-size: 0.875rem; color: hsl(var(--muted-fg)); margin-top: 0.25rem; }
    .about-image { border-radius: 1rem; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
    .about-image img { width: 100%; height: 320px; object-fit: cover; }
    #img-grav { width: 50%; margin-right : 120px; }
    @media (max-width: 640px) { #img-grav { width: 60%; margin-right : 70px; } }
    .vision-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
    .vision-card {
      background: hsl(var(--primary)); border-radius: 1rem; padding: 2rem; color: hsl(var(--primary-fg));
    }
    .vision-card .card-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
    .vision-card .icon { width: 32px; height: 32px; color: hsl(var(--secondary)); }
    .vision-card h3 { font-size: 1.5rem; font-weight: 700; }
    .vision-card p { color: hsla(var(--primary-fg), 0.8); line-height: 1.8; }

    @media (min-width: 1024px) {
      .about-grid { grid-template-columns: 1fr 1fr; }
      .vision-grid { grid-template-columns: 1fr 1fr; }
    }

    /* ===== Services ===== */
    .services { padding: 5rem 0; background: hsl(var(--muted)); }
    .services-subtitle { color: hsl(var(--muted-fg)); margin-top: 1rem; max-width: 600px; margin-left: auto; margin-right: auto; }
    .services-heading { font-size: 1.5rem; font-weight: 700; color: hsl(var(--primary)); margin-bottom: 2rem; }
    .services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 4rem; }
    .service-card {
      background: hsl(var(--card)); border-radius: 0.75rem; padding: 1.5rem;
      border: 1px solid hsl(var(--border)); box-shadow: 0 1px 3px rgba(0,0,0,0.05);
      transition: all 0.3s;
    }
    .service-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.1); transform: translateY(-4px); }
    .service-card .icon-box {
      width: 56px; height: 56px; border-radius: 0.75rem;
      background: hsla(var(--primary), 0.1); display: flex; align-items: center;
      justify-content: center; margin-bottom: 1rem; transition: background 0.3s;
    }
    .service-card:hover .icon-box { background: hsla(var(--secondary), 0.2); }
    .service-card .icon-box svg { width: 28px; height: 28px; color: hsl(var(--primary)); transition: color 0.3s; display: block; flex-shrink: 0;}
    .service-card .icon-box::before,
    .service-card .icon-box::after { 
      display: none !important; 
      content: none !important; 
    }
    .service-card:hover .icon-box svg { color: hsl(var(--secondary)); }
    .service-card h4 { font-size: 1.125rem; font-weight: 700; color: hsl(var(--foreground)); margin-bottom: 0.5rem; }
    .service-card p { font-size: 0.875rem; color: hsl(var(--muted-fg)); line-height: 1.6; }

    @media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

    /* ===== Capabilities ===== */
    .capabilities { padding: 5rem 0; background: hsl(var(--primary)); color: hsl(var(--primary-fg)); }
    .cap-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
    .cap-item { text-align: center; }
    .cap-item .icon-circle {
      width: 80px; height: 80px; border-radius: 50%;
      background: hsla(var(--secondary), 0.2); display: flex; align-items: center;
      justify-content: center; margin: 0 auto 1.5rem;
    }
    .cap-item .icon-circle i { font-size: 35px; width: 40px; height: 40px; color: hsl(var(--secondary)); display: block; flex-shrink: 0;}
    .cap-item .icon-circle::before,
    .cap-item .icon-circle::after { 
      display: none !important; 
      content: none !important; 
    }
    .cap-item h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
    .cap-item p { color: hsla(var(--primary-fg), 0.7); line-height: 1.6; }

    @media (min-width: 768px) { .cap-grid { grid-template-columns: repeat(3, 1fr); } }

    /* ===== Projects ===== */
    .projects { padding: 5rem 0; background: hsl(var(--background)); }
    .projects-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
    .project-card {
      background: hsl(var(--card)); border-radius: 1rem; overflow: hidden;
      border: 1px solid hsl(var(--border)); box-shadow: 0 4px 15px rgba(0,0,0,0.08);
      transition: box-shadow 0.3s;
    }
    .project-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
    .project-card .card-img {
      position: relative; height: 192px; overflow: hidden;
    }
    .project-card .card-img img { width: 100%; height: 100%; object-fit: cover; }
    /*.project-card .card-img .section-overlay { position: absolute; inset: 0; }*/
    .project-card .card-img h3 {
      position: absolute; bottom: 1rem; right: 1.5rem;
      font-size: 1.25rem; font-weight: 700; color: hsl(var(--primary-fg)); text-shadow: 2px 2px 4px rgba(0, 0, 0, 5);
    }
    .project-card .card-body { padding: 1.5rem; }
    .project-card .card-body li {
      display: flex; align-items: flex-start; gap: 0.5rem;
      color: hsl(var(--muted-fg)); margin-bottom: 0.5rem;
    }
    .project-card .card-body li .dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: hsl(var(--secondary)); margin-top: 0.5rem; flex-shrink: 0;
    }

    @media (min-width: 768px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }

    /* ===== Certifications ===== */
    .certifications { padding: 5rem 0; background: hsl(var(--muted)); }
    .cert-subtitle { color: hsl(var(--muted-fg)); margin-top: 1rem; }
    .cert-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
    .cert-card {
      background: hsl(var(--card)); border-radius: 0.75rem; padding: 1.5rem;
      text-align: center; border: 1px solid hsl(var(--border));
      box-shadow: 0 1px 3px rgba(0,0,0,0.05); transition: box-shadow 0.3s;
    }
    .cert-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
    .cert-card .icon-circle {
      width: 64px; height: 64px; border-radius: 50%;
      background: hsla(var(--primary), 0.1); display: flex; align-items: center;
      justify-content: center; margin: 0 auto 1rem;
    }
    .cert-card .icon-circle svg { width: 32px; height: 32px; color: hsl(var(--primary)); display: block; flex-shrink: 0;}
    .cert-card .icon-circle::before,
    .cert-card .icon-circle::after { 
      display: none !important; 
      content: none !important; 
    }
    .cert-card h4 { font-size: 1.125rem; font-weight: 700; color: hsl(var(--foreground)); margin-bottom: 0.25rem; }
    .cert-card p { font-size: 0.875rem; color: hsl(var(--muted-fg)); margin-bottom: 0.5rem; }
    .cert-card .year { font-size: 0.75rem; font-weight: 500; color: hsl(var(--secondary)); }

    @media (min-width: 640px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (min-width: 1024px) { .cert-grid { grid-template-columns: repeat(4, 1fr); } }

    /* ===== Clients ===== */
    .clients { padding: 5rem 0; background: hsl(var(--background)); }
    .clients-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
    .client-badge {
      background: hsl(var(--card)); border: 1px solid hsl(var(--border));
      border-radius: 0.75rem; padding: 1rem 2rem; text-align: center;
      box-shadow: 0 1px 3px rgba(0,0,0,0.05); transition: all 0.3s; min-width: 160px;
    }
    .client-badge:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.1); border-color: hsla(var(--secondary), 0.3); }
    .client-badge span { font-size: 0.875rem; font-weight: 600; color: hsl(var(--foreground)); }

    /* ===== Contact ===== */
    .contact { padding: 5rem 0; background: hsl(var(--primary)); color: hsl(var(--primary-fg)); }
    .contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; max-width: 800px; margin: 0 auto; }
    .contact-logo { height: 96px; filter: brightness(0) invert(1); margin-bottom: 2rem; }
    .contact-desc { color: hsla(var(--primary-fg), 0.7); line-height: 1.8; margin-bottom: 2rem; }
    .contact-items { display: flex; flex-direction: column; gap: 1.5rem; }
    .contact-item { display: flex; align-items: center; gap: 1rem; }
    .contact-item .icon-circle {
      width: 48px; height: 48px; border-radius: 50%;
      background: hsla(var(--secondary), 0.2); display: flex; align-items: center;
      justify-content: center; flex-shrink: 0;
    }
    .contact-item .icon-circle svg { width: 20px; height: 20px; color: hsl(var(--secondary)); display: block; flex-shrink: 0;}
    .contact-item .icon-circle::before,
    .contact-item .icon-circle::after { 
      display: none !important; 
      content: none !important; 
    }
    .contact-item .label { font-size: 0.875rem; color: hsla(var(--primary-fg), 0.6); }
    .contact-item a { color: hsl(var(--primary-fg)); transition: color 0.3s; }
    .contact-item a:hover { color: hsl(var(--secondary)); }
    .footer {
      margin-top: 4rem; padding-top: 2rem;
      border-top: 1px solid hsla(var(--primary-fg), 0.1);
      text-align: center;
    }
    .footer p { color: hsla(var(--primary-fg), 0.5); font-size: 0.875rem; }

    @media (min-width: 768px) {
      .contact-grid { grid-template-columns: 1fr 1fr; }
    }

    /* ===== Animations ===== */
    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* ===== SVG Icons (inline) ===== */
    .icon-svg { display: inline-block; vertical-align: middle; }

    /* ===== CTA Section ===== */
    .services-cta {
      padding: 5rem 0;
      background: hsl(var(--primary));
      color: hsl(var(--primary-fg));
    }
    .cta-inner {
      text-align: center; max-width: 640px; margin: 0 auto;
    }
    .cta-inner h2 { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
    .cta-inner p { color: hsla(var(--primary-fg), 0.75); line-height: 1.8; margin-bottom: 2.5rem; }
    .cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
    .btn-gold {
      padding: 0.75rem 2.25rem; border-radius: 0.5rem; font-weight: 600;
      font-family: 'Cairo', sans-serif; font-size: 1rem;
      color: hsl(var(--secondary-fg)); transition: opacity 0.3s; cursor: pointer;
    }
    .btn-gold:hover { opacity: 0.9; }
    .btn-outline {
      padding: 0.75rem 2.25rem; border-radius: 0.5rem; font-weight: 600;
      font-family: 'Cairo', sans-serif; font-size: 1rem;
      color: hsl(var(--primary-fg)); border: 2px solid hsla(var(--primary-fg), 0.3);
      background: transparent; transition: background 0.3s; cursor: pointer;
    }
    .btn-outline:hover { background: hsla(var(--primary-fg), 0.1); }

    /* ===== Classification Page ===== */
    /* Section Header */
    .section-header { text-align: center; margin-bottom: 3.5rem; }
    .section-header h2 { font-size: 2rem; font-weight: 700; color: hsl(var(--primary)); margin-bottom: 0.5rem; }
    .section-header p { color: hsl(var(--muted-fg)); margin-top: 1rem; max-width: 600px; margin-left: auto; margin-right: auto; }

    /* Company Info */
    .company-info { padding: 5rem 0; background: hsl(var(--background)); }
    .info-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
    @media (min-width: 768px) { .info-grid { grid-template-columns: repeat(2,1fr); } }
    @media (min-width: 1024px) { .info-grid { grid-template-columns: repeat(3,1fr); } }
    .info-card { background: hsl(var(--card)); border-radius: 1rem; padding: 1.75rem; border: 1px solid hsl(var(--border)); box-shadow: 0 2px 10px rgba(0,0,0,0.06); transition: all 0.3s; }
    .info-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.1); transform: translateY(-3px); }
    .info-card .icon-box { width: 52px; height: 52px; border-radius: 0.75rem; background: hsla(var(--primary),0.08); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
    .info-card .icon-box svg { width: 26px; height: 26px; color: hsl(var(--primary)); display: block; flex-shrink: 0;}
    .info-card .icon-box::before,
    .info-card .icon-box::after { 
      display: none !important; 
      content: none !important; 
    }
    .info-card:hover .icon-box svg { color: hsl(var(--secondary)); }
    .info-card .card-label { font-size: 0.8rem; font-weight: 600; color: hsl(var(--muted-fg)); letter-spacing: 0.03em; margin-bottom: 0.35rem; }
    .info-card .card-value { font-size: 1.05rem; font-weight: 700; color: hsl(var(--foreground)); }
    .info-card .card-sub { font-size: 0.85rem; color: hsl(var(--muted-fg)); margin-top: 0.25rem; }

    /* Certificates */
    .certificates { padding: 5rem 0; background: hsl(var(--muted)); }
    .cert-tabs { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
    .cert-tab { padding: 0.6rem 1.5rem; border-radius: 2rem; font-size: 0.875rem; font-weight: 600; cursor: pointer; border: 2px solid hsl(var(--border)); background: hsl(var(--card)); color: hsl(var(--muted-fg)); transition: all 0.3s; font-family: "Cairo", sans-serif; }
    .cert-tab.active { background: hsl(var(--primary)); color: hsl(var(--primary-fg)); border-color: hsl(var(--primary)); }
    .cert-tab:hover:not(.active) { border-color: hsl(var(--secondary)); color: hsl(var(--secondary)); }
    .cert-panel { display: none; }
    .cert-panel.active { display: block; }
    .cert-doc-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
    @media (min-width: 900px) { .cert-doc-grid { grid-template-columns: repeat(2,1fr); } }
    .cert-doc-grid.cols3 { }
    @media (min-width: 900px) { .cert-doc-grid.cols3 { grid-template-columns: repeat(3,1fr); } }

    .cert-doc-card { background: hsl(var(--card)); border-radius: 1.25rem; border: 1px solid hsl(var(--border)); overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.07); transition: all 0.3s; }
    .cert-doc-card:hover { box-shadow: 0 12px 35px rgba(0,0,0,0.13); transform: translateY(-4px); }
    .cert-doc-header { padding: 1.25rem 1.5rem; display: flex; align-items: center; gap: 1rem; border-bottom: 1px solid hsl(var(--border)); }
    .cert-doc-header h4 { font-size: 1rem; font-weight: 700; color: hsl(var(--foreground)); flex: 1; }
    .badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.9rem; border-radius: 2rem; font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
    .badge-sa { background: hsla(0,70%,50%,0.1); color: hsl(0,70%,40%); }
    .badge-uae { background: hsla(210,70%,50%,0.1); color: hsl(210,70%,40%); }
    .badge-tax { background: hsla(150,60%,40%,0.1); color: hsl(150,60%,30%); }
    .cert-doc-body { padding: 1.5rem; }

    /* Image viewer */
    .cert-img-wrapper { background: hsl(220,20%,98%); border-radius: 0.75rem; overflow: hidden; border: 1px solid hsl(var(--border)); margin-bottom: 1.25rem; cursor: zoom-in; }
    .cert-img-wrapper img { width: 100%; display: block; transition: transform 0.3s; }
    .cert-img-wrapper:hover img { transform: scale(1.02); }
    .img-hint { text-align: center; font-size: 0.72rem; color: hsl(var(--muted-fg)); padding: 0.4rem 0; background: hsl(var(--muted)); }

    /* Detail list */
    .cert-detail-list { display: flex; flex-direction: column; gap: 0; }
    .cert-detail-item { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; border-bottom: 1px dashed hsl(var(--border)); }
    .cert-detail-item:last-child { border-bottom: none; }
    .cert-detail-item .key { font-size: 0.8rem; color: hsl(var(--muted-fg)); font-weight: 500; }
    .cert-detail-item .val { font-size: 0.85rem; font-weight: 700; color: hsl(var(--foreground)); text-align: left; direction: ltr; }
    .cert-detail-item .val.gold { color: hsl(var(--secondary)); }
    .status-badge { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.25rem 0.75rem; border-radius: 2rem; font-size: 0.75rem; font-weight: 700; }
    .status-active { background: hsla(150,60%,40%,0.1); color: hsl(150,60%,30%); }
    .status-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

    /* Dubai pages - 3 col thumbnails */
    .dubai-pages { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.75rem; margin-bottom: 1.25rem; }
    @media (max-width: 640px) { .dubai-pages { grid-template-columns: 1fr; } }
    .page-thumb { border-radius: 0.5rem; overflow: hidden; border: 1px solid hsl(var(--border)); cursor: zoom-in; transition: all 0.3s; }
    .page-thumb:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.15); transform: scale(1.02); }
    .page-thumb img { width: 100%; display: block; }
    .page-label { text-align: center; font-size: 0.7rem; color: hsl(var(--muted-fg)); margin-top: 0.35rem; font-weight: 600; }

    /* Lightbox */
    .lightbox { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0.92); align-items: center; justify-content: center; padding: 1rem; }
    .lightbox.open { display: flex; }
    .lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 0.75rem; object-fit: contain; }
    .lightbox-close { position: absolute; top: 1.5rem; left: 1.5rem; background: hsla(0,0%,100%,0.15); border: none; color: white; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; transition: background 0.3s; }
    .lightbox-close:hover { background: hsla(0,0%,100%,0.3); }

    @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }


    /* Form */
    .msg-form-wrap {
      background: hsl(var(--card)); border-radius: 1.25rem; padding: 2.5rem;
      border: 1px solid hsl(var(--border)); box-shadow: 0 8px 30px rgba(0,0,0,0.07);
    }
    .form-title { font-size: 1.4rem; font-weight: 800; color: hsl(var(--primary)); margin-bottom: 0.5rem; }
    .form-subtitle { font-size: 0.875rem; color: hsl(var(--muted-fg)); margin-bottom: 2rem; }
    .form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
    .form-group { display: flex; flex-direction: column; gap: 0.375rem; }
    .form-group label { font-size: 0.85rem; font-weight: 600; color: hsl(var(--foreground)); }
    .form-group label span { color: hsl(38,80%,50%); }
    .form-group input,
    .form-group select,
    .form-group textarea {
      width: 100%; padding: 0.75rem 1rem; border-radius: 0.625rem;
      border: 1.5px solid hsl(var(--border)); background: hsl(var(--background));
      font-family: 'Cairo', sans-serif; font-size: 0.9rem; color: hsl(var(--foreground));
      transition: border-color 0.2s, box-shadow 0.2s; outline: none;
    }
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      border-color: hsl(var(--primary));
      box-shadow: 0 0 0 3px hsla(var(--primary), 0.08);
    }
    .form-group textarea { resize: vertical; min-height: 130px; }
    .form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 12px center; background-size: 18px; padding-left: 36px; }
    .btn-submit {
      width: 100%; padding: 0.875rem 2rem; border-radius: 0.625rem;
      background: linear-gradient(135deg, hsl(var(--primary)), hsl(230,65%,30%));
      color: white; font-family: 'Cairo', sans-serif; font-size: 1rem; font-weight: 700;
      border: none; cursor: pointer; transition: all 0.3s; display: flex; align-items: center;
      justify-content: center; gap: 0.625rem; margin-top: 1.25rem;
    }
    .btn-submit:hover { box-shadow: 0 8px 24px hsla(var(--primary), 0.4); transform: translateY(-2px); }
    .btn-submit:active { transform: translateY(0); }
    .btn-submit svg { width: 20px; height: 20px; }
    .btn-submit .spinner { display: none; width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.3); border-top-color: white; border-radius: 50%; animation: spin 0.7s linear infinite; }
    .btn-submit.loading .btn-txt { display: none; }
    .btn-submit.loading .spinner { display: block; }
    .form-note { font-size: 0.78rem; color: hsl(var(--muted-fg)); text-align: center; margin-top: 0.75rem; }
    .form-note a { color: hsl(var(--primary)); font-weight: 600; }
    .toast {
      display: none; margin-top: 1rem; padding: 0.875rem 1.25rem; border-radius: 0.625rem;
      font-size: 0.875rem; font-weight: 600; text-align: center;
    }
    .toast.success { background: hsla(142,70%,45%,0.1); color: hsl(142,55%,30%); border: 1px solid hsla(142,70%,45%,0.25); display: block; }
    .toast.error { background: hsla(0,70%,50%,0.1); color: hsl(0,55%,35%); border: 1px solid hsla(0,70%,50%,0.25); display: block; }
    @media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
    @media (min-width: 1024px) { .contact-wrap { grid-template-columns: 1fr 1.4fr; } }

    /* ===== Contact / Message Form ===== */
    .contact-section { padding: 6rem 0; background: hsl(var(--background)); }
    .contact-wrap { display: grid; grid-template-columns: 1fr; gap: 3rem; }
    .contact-info h3 { font-size: 1.75rem; font-weight: 800; color: hsl(var(--primary)); margin-bottom: 1rem; }
    .contact-info p { color: hsl(var(--muted-fg)); line-height: 1.8; margin-bottom: 2rem; }
    .info-items { display: flex; flex-direction: column; gap: 1.25rem; }
    .info-item { display: flex; align-items: flex-start; gap: 1rem; }
    .info-icon {
      width: 48px; height: 48px; border-radius: 0.75rem; flex-shrink: 0;
      background: hsla(var(--primary), 0.08); display: flex; align-items: center; justify-content: center;
    }
    .info-icon svg { width: 22px; height: 22px; color: hsl(var(--primary)); }
    .info-item .info-lbl { font-size: 0.8rem; color: hsl(var(--muted-fg)); margin-bottom: 0.2rem; }
    .info-item .info-val { font-size: 0.95rem; font-weight: 600; color: hsl(var(--foreground)); }
    .info-item a.info-val { transition: color 0.2s; }
    .info-item a.info-val:hover { color: hsl(var(--secondary)); }

     /* ===== Story Section ===== */
    .story { padding: 6rem 0; background: hsl(var(--background)); }
    .story-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
    .story-label {
      display: inline-flex; align-items: center; gap: 0.5rem;
      background: hsla(var(--secondary), 0.1); color: hsl(var(--secondary));
      border-radius: 9999px; padding: 0.375rem 1rem; font-size: 0.8rem; font-weight: 600;
      margin-bottom: 1rem;
    }
    .story-label svg { width: 14px; height: 14px; }
    .story-title { font-size: 2rem; font-weight: 800; color: hsl(var(--primary)); margin-bottom: 1.5rem; line-height: 1.3; }
    .story-title em { font-style: normal; color: hsl(var(--secondary)); }
    .story-text { font-size: 1.05rem; color: hsl(var(--muted-fg)); line-height: 1.9; margin-bottom: 1.25rem; }
    .story-image-wrap {
      position: relative; border-radius: 1.25rem; overflow: hidden;
      box-shadow: 0 20px 50px rgba(0,0,0,0.18);
    }
    .story-image-wrap img { width: 100%; height: 400px; object-fit: cover; }
    .story-image-badge {
      position: absolute; bottom: 1.5rem; right: 1.5rem;
      background: hsl(var(--primary)); color: hsl(var(--primary-fg));
      border-radius: 1rem; padding: 1rem 1.5rem; text-align: center;
      box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    }
    .story-image-badge .num { font-size: 2.5rem; font-weight: 900; color: hsl(var(--secondary)); line-height: 1; }
    .story-image-badge .txt { font-size: 0.8rem; font-weight: 500; opacity: 0.8; }
    @media (min-width: 1024px) {
      .story-grid { grid-template-columns: 1fr 1fr; }
    }

    /* ===== Values ===== */
    .values { padding: 6rem 0; background: hsl(var(--muted)); }
    .values-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 3rem; }
    .value-card {
      background: hsl(var(--card)); border-radius: 1rem; padding: 2rem;
      border: 1px solid hsl(var(--border)); box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      transition: all 0.3s; display: flex; gap: 1.25rem;
    }
    .value-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.1); transform: translateY(-4px); }
    .value-icon {
      width: 56px; height: 56px; border-radius: 0.875rem; flex-shrink: 0;
      background: hsla(var(--primary), 0.08); display: flex; align-items: center; justify-content: center;
      transition: background 0.3s;
    }
    .value-card:hover .value-icon { background: hsla(var(--secondary), 0.15); }
    .value-icon svg { width: 28px; height: 28px; color: hsl(var(--primary)); transition: color 0.3s; }
    .value-card:hover .value-icon svg { color: hsl(var(--secondary)); }
    .value-body h4 { font-size: 1.1rem; font-weight: 700; color: hsl(var(--foreground)); margin-bottom: 0.5rem; }
    .value-body p { font-size: 0.875rem; color: hsl(var(--muted-fg)); line-height: 1.7; }
    @media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }

    /* ===== Vision & Mission ===== */
    .vision-mission { padding: 6rem 0; background: hsl(var(--background)); }
    .vm-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 3rem; }
    .vm-card {
      border-radius: 1.25rem; padding: 2.5rem; position: relative; overflow: hidden;
    }
    .vm-card.primary-card { background: hsl(var(--primary)); color: hsl(var(--primary-fg)); }
    .vm-card.gold-card { background: linear-gradient(135deg, hsl(38,85%,48%), hsl(38,95%,38%)); color: white; }
    .vm-card::before {
      content: ''; position: absolute; top: -40px; left: -40px;
      width: 160px; height: 160px; border-radius: 50%;
      background: hsla(var(--primary-fg), 0.05);
    }
    .vm-card .tag {
      display: inline-flex; align-items: center; gap: 0.5rem;
      background: hsla(var(--primary-fg), 0.12); border-radius: 9999px;
      padding: 0.25rem 0.875rem; font-size: 0.75rem; font-weight: 600; margin-bottom: 1.5rem;
      color: inherit; opacity: 0.9;
    }
    .vm-card h3 { font-size: 1.75rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.3; }
    .vm-card p { font-size: 1rem; opacity: 0.8; line-height: 1.8; }
    .vm-card .vm-icon {
      position: absolute; bottom: 1.5rem; left: 1.5rem;
      width: 64px; height: 64px; border-radius: 50%; background: hsla(var(--primary-fg), 0.08);
      display: flex; align-items: center; justify-content: center;
    }
    .vm-card .vm-icon svg { width: 32px; height: 32px; color: hsla(var(--primary-fg), 0.5); }
    @media (min-width: 768px) { .vm-grid { grid-template-columns: 1fr 1fr; } }


    /* ===== Services Intro ===== */
    .services-intro {
      padding: 5rem 0 3rem;
      background: hsl(var(--background));
    }
    .services-intro-grid {
      display: grid; grid-template-columns: 1fr; gap: 2rem;
      margin-top: 3rem;
    }
    .intro-stat {
      background: hsl(var(--card)); border-radius: 0.75rem; padding: 1.5rem;
      border: 1px solid hsl(var(--border)); text-align: center;
      box-shadow: 0 1px 3px rgba(0,0,0,0.05);
      transition: box-shadow 0.3s, transform 0.3s;
    }
    .intro-stat:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-3px); }
    .intro-stat .number { font-size: 2rem; font-weight: 700; color: hsl(var(--secondary)); }
    .intro-stat .label { font-size: 0.875rem; color: hsl(var(--muted-fg)); margin-top: 0.25rem; }
    @media (min-width: 640px) { .services-intro-grid { grid-template-columns: repeat(3, 1fr); } }


    /* ===== Services Section ===== */
    .services-section { padding: 5rem 0; background: hsl(var(--muted)); }
    .services-section .section-header { text-align: center; margin-bottom: 4rem; }
    .services-section .section-header p {
      color: hsl(var(--muted-fg)); margin-top: 1rem; max-width: 600px;
      margin-left: auto; margin-right: auto;
    }

    /* ===== Service Block ===== */
    .service-block {
      background: hsl(var(--card)); border-radius: 1.25rem; overflow: hidden;
      border: 1px solid hsl(var(--border)); box-shadow: 0 4px 20px rgba(0,0,0,0.06);
      margin-bottom: 2.5rem; transition: box-shadow 0.3s;
    }
    .service-block:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
    .service-block-inner {
      display: grid; grid-template-columns: 1fr;
    }
    .service-block-inner.reverse { direction: ltr; }
    .service-block-inner.reverse .service-info { direction: rtl; }

    .service-visual {
      position: relative; min-height: 260px; overflow: hidden;
      background: hsl(var(--primary));
    }
    .service-visual .service-num {
      position: absolute; top: 1.5rem; right: 1.5rem; z-index: 3;
      width: 52px; height: 52px; border-radius: 50%;
      background: hsla(var(--secondary), 0.9);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.25rem; font-weight: 800; color: white;
      box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }
    .service-block-inner.reverse .service-visual .service-num {
      right: auto; left: 1.5rem;
    }
    .service-visual .overlay-bg {
      position: absolute; inset: 0;
      background: linear-gradient(135deg, hsla(230,70%,12%,0.75), hsla(230,60%,20%,0.6));
      z-index: 1;
    }
    .service-visual .icon-display {
      position: absolute; inset: 0; z-index: 2;
      display: flex; align-items: center; justify-content: center;
    }
    .service-visual .icon-display svg {
      width: 100px; height: 100px;
      color: hsla(var(--secondary), 0.5);
      stroke-width: 1;
    }
    .service-visual .service-title-overlay {
      position: absolute; bottom: 0; right: 0; left: 0; z-index: 3;
      padding: 1.5rem;
      background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    }
    .service-visual .service-title-overlay h3 {
      font-size: 1.375rem; font-weight: 800;
      color: hsl(var(--primary-fg));
    }

    .service-info { padding: 2rem; }
    .service-info .desc {
      font-size: 0.95rem; color: hsl(var(--muted-fg));
      line-height: 1.8; margin-bottom: 1.5rem;
    }
    .service-items { display: grid; grid-template-columns: 1fr; gap: 0.6rem; }
    .service-item {
      display: flex; align-items: flex-start; gap: 0.75rem;
      padding: 0.625rem 0.875rem; border-radius: 0.5rem;
      background: hsl(var(--muted));
      border-right: 3px solid hsl(var(--secondary));
      font-size: 0.875rem; color: hsl(var(--foreground)); font-weight: 500;
      transition: background 0.2s;
    }
    .service-item:hover { background: hsla(var(--secondary), 0.08); }
    .service-item .dot {
      width: 7px; height: 7px; border-radius: 50%;
      background: hsl(var(--secondary)); flex-shrink: 0; margin-top: 0.35rem;
    }

    /* Applications sub-section */
    .applications { margin-top: 1.5rem; }
    .applications .app-title {
      font-size: 0.875rem; font-weight: 700; color: hsl(var(--primary));
      margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem;
    }
    .applications .app-title svg { width: 16px; height: 16px; }
    .app-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
    .app-chip {
      padding: 0.25rem 0.875rem; border-radius: 9999px;
      background: hsla(var(--primary), 0.08);
      border: 1px solid hsla(var(--primary), 0.2);
      font-size: 0.8rem; font-weight: 600; color: hsl(var(--primary));
    }

    @media (min-width: 768px) {
      .service-block-inner { grid-template-columns: 320px 1fr; }
      .service-block-inner.reverse { grid-template-columns: 1fr 320px; }
      .service-items { grid-template-columns: repeat(2, 1fr); }
      .service-visual { min-height: 100%; }
    }

    @media (min-width: 1024px) {
      .service-block-inner { grid-template-columns: 380px 1fr; }
      .service-block-inner.reverse { grid-template-columns: 1fr 380px; }
    }

    /* Social Media Icons Footer*/
    .social-links {
        display: flex;
        gap: 12px;
      }

      .social-btn {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(201, 168, 76, 0.4);
        display: flex;
        align-items: center;
        justify-content: center;
        color: hsl(var(--secondary));
        text-decoration: none;
        transition: background 0.3s, border-color 0.3s, transform 0.2s;
      }

      .social-btn:hover {
        background: rgba(201, 168, 76, 0.2);
        border-color: hsl(var(--secondary));
        transform: translateY(-3px);
      }
