  :root {
    --gold: #C9A84C;
    --gold-light: #E8C97A;
    --gold-dark: #8B6914;
    --dark: #0D0D0D;
    --dark-2: #141414;
    --dark-3: #1C1C1C;
    --dark-4: #242424;
    --text: #F5F2EC;
    --text-muted: #9A9488;
    --border: rgba(201,168,76,0.2);
  }
 
  * { margin: 0; padding: 0; box-sizing: border-box; }
 
  html { scroll-behavior: smooth; }
 
  body {
    font-family: 'Cairo', sans-serif;
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
  }
 
  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 5%;
    background: rgba(13,13,13,0.95);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
  }
 
  .logo {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 1px;
  }
 
  .logo span { color: var(--text); }
 
  nav ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
  }
 
  nav ul a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
  }
  
  .second-header {
    display: block;
    margin-top: 0.5rem;
    font-size: clamp(2.8rem, 6vw, 5rem);
    color: var(--gold);
  }

  nav ul a:hover { color: var(--gold); }
 
  .nav-cta {
    background: var(--gold);
    color: var(--dark) !important;
    padding: 0.6rem 1.4rem;
    border-radius: 4px;
    font-weight: 700 !important;
  }
 
  .nav-cta:hover { background: var(--gold-light) !important; color: var(--dark) !important; }
 
  /* HERO */
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 5%;
    overflow: hidden;
  }
 
  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(135deg, rgba(201,168,76,0.08) 0%, transparent 50%),
      repeating-linear-gradient(
        90deg,
        transparent,
        transparent 80px,
        rgba(201,168,76,0.03) 80px,
        rgba(201,168,76,0.03) 81px
      ),
      repeating-linear-gradient(
        0deg,
        transparent,
        transparent 80px,
        rgba(201,168,76,0.03) 80px,
        rgba(201,168,76,0.03) 81px
      );
  }
 
  .hero-accent {
    position: absolute;
    top: 20%;
    left: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
    pointer-events: none;
  }
 
  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
  }
 
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201,168,76,0.12);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 0.4rem 1.2rem;
    font-size: 0.85rem;
    color: var(--gold);
    margin-bottom: 2rem;
  }
 
  .hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: pulse 2s infinite;
  }
 
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
  }
 
  .hero h1 {
    font-family: 'Tajawal', sans-serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
  }
 
  .hero h1 em {
    font-style: normal;
    color: var(--gold);
    position: relative;
  }
 
  .hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 540px;
  }
 
  .hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
 
  .btn-primary {
    background: var(--gold);
    color: var(--dark);
    padding: 0.9rem 2.2rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    font-family: 'Cairo', sans-serif;
  }
 
  .btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
  }
 
  .btn-outline {
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.9rem 2.2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    font-family: 'Cairo', sans-serif;
  }
 
  .btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
  }
 
  .hero-stats {
    position: absolute;
    left: 5%;
    bottom: 10%;
    display: flex;
    gap: 3rem;
    z-index: 2;
  }
 
  .stat-item {
    text-align: center;
  }
 
  .stat-num {
    font-family: 'Tajawal', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold);
  }
 
  .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
  }
 
  /* SECTION SHARED */
  section { padding: 6rem 5%; }
 
  .section-tag {
    display: inline-block;
    background: rgba(201,168,76,0.1);
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 2px;
    margin-bottom: 1rem;
  }
 
  .section-title {
    font-family: 'Tajawal', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
  }
 
  .section-title em {
    font-style: normal;
    color: var(--gold);
  }
 
  .section-sub {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 550px;
  }
 
  /* SERVICES */
  .services { background: var(--dark-2); }
 
  .services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 2rem;
  }
 
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5px;
    background: var(--border);
    border: 1px solid var(--border);
  }
 
  .service-card {
    background: var(--dark-2);
    padding: 2.5rem 2rem;
    transition: background 0.3s;
    cursor: default;
  }
 
  .service-card:hover { background: var(--dark-3); }
 
  .service-icon {
    width: 56px;
    height: 56px;
    background: rgba(201,168,76,0.1);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
  }
 
  .service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text);
  }
 
  .service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
  }
 
  .service-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s;
  }
 
  .service-card:hover .service-arrow { opacity: 1; }
 
  /* PROJECTS */
  .projects-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
    margin-top: 3rem;
  }
 
  .project-card {
    position: relative;
    overflow: hidden;
    background: var(--dark-3);
    border: 1px solid var(--border);
  }
 
  .project-card.large { grid-row: 1 / 3; min-height: 520px; }
  .project-card.small { min-height: 240px; }
 
  .project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
 
  .project-placeholder {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--dark-3) 0%, var(--dark-4) 100%);
    position: relative;
  }
 
  .project-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      45deg,
      transparent,
      transparent 20px,
      rgba(201,168,76,0.02) 20px,
      rgba(201,168,76,0.02) 21px
    );
  }
 
  .proj-icon {
    font-size: 3rem;
    opacity: 0.3;
    position: relative;
    z-index: 1;
  }
 
  .project-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(30%);
    transition: transform 0.4s ease;
  }
 
  .project-card:hover .project-overlay { transform: translateY(0); }
 
  .project-cat {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
  }
 
  .project-overlay h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }
 
  .project-overlay p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
  }
 
  /* WHY US */
  .why { background: var(--dark-2); }
 
  .why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }
 
  .why-visual {
    position: relative;
    height: 480px;
  }
 
  .why-box-main {
    position: absolute;
    inset: 0;
    background: var(--dark-3);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    opacity: 0.2;
  }
 
  .why-badge {
    position: absolute;
    background: var(--gold);
    color: var(--dark);
    padding: 1.2rem 1.5rem;
    font-weight: 800;
    font-family: 'Tajawal', sans-serif;
  }
 
  .why-badge.top-right {
    top: -20px;
    left: -20px;
    font-size: 0.85rem;
  }
 
  .why-badge.bottom-left {
    bottom: -20px;
    right: -20px;
    font-size: 2rem;
    text-align: center;
  }
 
  .why-badge.bottom-left span {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(0,0,0,0.6);
  }
 
  .features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
  }
 
  .feature-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    padding: 1.2rem;
    border: 1px solid transparent;
    transition: border-color 0.3s, background 0.3s;
    border-radius: 2px;
  }
 
  .feature-item:hover {
    border-color: var(--border);
    background: rgba(201,168,76,0.04);
  }
 
  .feature-num {
    font-family: 'Tajawal', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold);
    opacity: 0.4;
    min-width: 3rem;
    line-height: 1;
  }
 
  .feature-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
  }
 
  .feature-content p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
  }
 
  /* CONTACT */
  .contact { background: var(--dark); }
 
  .contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: start;
  }
 
  .contact-info h2 {
    font-family: 'Tajawal', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
  }
 
  .contact-info p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
  }
 
  .contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
  }
 
  .contact-detail-icon {
    width: 40px;
    height: 40px;
    background: rgba(201,168,76,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
  }
 
  .contact-detail-text {
    font-size: 0.9rem;
    font-weight: 600;
  }
 
  .contact-detail-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
  }
 
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
 
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
 
  .form-group { display: flex; flex-direction: column; gap: 0.4rem; }
 
  .form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
  }
 
  .form-group input,
  .form-group textarea,
  .form-group select {
    background: var(--dark-3);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.85rem 1rem;
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
    border-radius: 2px;
    width: 100%;
  }
 
  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus {
    border-color: var(--gold);
  }
 
  .form-group textarea { min-height: 120px; resize: vertical; }
 
  .form-group select option { background: var(--dark-3); }
 
  .form-submit {
    background: var(--gold);
    color: var(--dark);
    border: none;
    padding: 1rem;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 2px;
  }
 
  .form-submit:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
  }
 
  /* FOOTER */
  footer {
    background: var(--dark-2);
    border-top: 1px solid var(--border);
    padding: 3rem 5% 2rem;
  }
 
  .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
  }
 
  .footer-logo {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gold);
  }
 
  .footer-logo span { color: var(--text-muted); }
 
  .footer-copy {
    font-size: 0.85rem;
    color: var(--text-muted);
  }
 
  .footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
  }
 
  .footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
  }
 
  .footer-links a:hover { color: var(--gold); }
 
  /* DIVIDER */
  .divider {
    height: 1px;
    background: var(--border);
    margin: 0 5%;
  }
 
  /* MOBILE */
  @media (max-width: 768px) {
    nav ul { display: none; }
    .hero-stats { gap: 1.5rem; bottom: 5%; }
    .projects-grid { grid-template-columns: 1fr; }
    .project-card.large { grid-row: auto; min-height: 300px; }
    .why-grid { grid-template-columns: 1fr; }
    .why-visual { display: none; }
    .contact-inner { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
    .services-header { flex-direction: column; align-items: flex-start; }
    /* Ensure fade-up-2 spacing and wrapping on small screens */
    h1 .fade-up-2,
    .second-header {
      overflow-wrap: break-word;
      /* 2. Adds the spacing you want at the top */
      margin-top: 20px;
      /* Optional: Ensures the word break happens even in older browsers */
      word-break: break-word;
    }

    .second-header {
      display: block;
      margin-top: 1rem;
      font-size: clamp(2.8rem, 6vw, 5rem);
    }
  }
 
  /* ANIMATIONS */
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }

  h1 .fade-up-2,
  .second-header {
    overflow-wrap: break-word;
    /* 2. Adds the spacing you want at the top */
    margin-top: 30px;
    /* Optional: Ensures the word break happens even in older browsers */
    word-break: break-word;
  }
 
  .fade-up { animation: fadeInUp 0.7s ease forwards; }
  .fade-up-2 { animation: fadeInUp 0.7s 0.2s ease forwards; opacity: 0; }
  .fade-up-3 { animation: fadeInUp 0.7s 0.4s ease forwards; opacity: 0; }
 
  /* GOLD LINE */
  .gold-line {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin-bottom: 1.5rem;
  }

  /* SCROLL TO TOP BUTTON */
  .scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--dark);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  .scroll-to-top.show {
    opacity: 1;
    visibility: visible;
  }

  .scroll-to-top:hover {
    background: var(--gold-light);
    transform: translateY(-5px);
  }

  .scroll-to-top svg {
    width: 24px;
    height: 24px;
  }

