:root {
  --brand: #17375e;
  --brand-strong: #0d2543;
  --brand-soft: #eaf3ff;
  --accent: #f4a41d;
  --accent-soft: #fff2d9;
  --text: #122033;
  --muted: #5c6b7b;
  --border: #dfe8f2;
  --surface: #ffffff;
  --surface-alt: #f7faff;
  --shadow: 0 18px 40px rgba(23, 55, 94, 0.10);
  --radius: 24px;
  --radius-sm: 16px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: "Tajawal", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(244, 164, 29, 0.10), transparent 26%),
    linear-gradient(180deg, #fdfefe 0%, #f7faff 100%);
  color: var(--text);
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(223, 232, 242, 0.9);
}

.navbar {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--brand);
  white-space: nowrap;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-soft);
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--brand);
}

.nav-cta,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-cta {
  background: var(--brand);
  color: white;
  padding: 10px 18px;
  box-shadow: 0 10px 24px rgba(23, 55, 94, 0.16);
}

.nav-cta:hover,
.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
}

main {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  padding: 56px 0 40px;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.25;
  margin: 12px 0 16px;
  color: var(--brand-strong);
}

.gradient-text {
  display: block;
  color: var(--brand);
}

.hero-badge,
.section-badge,
.panel-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  background: var(--brand-soft);
  color: var(--brand);
}

.hero-desc {
  font-size: 1.04rem;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.primary-action {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: white;
  padding: 13px 22px;
  box-shadow: 0 12px 28px rgba(23, 55, 94, 0.18);
}

.secondary-action {
  border: 1px solid var(--border);
  padding: 13px 20px;
  background: white;
  color: var(--brand);
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-points li {
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-card {
  background: linear-gradient(145deg, var(--brand), var(--brand-strong));
  color: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  margin: 10px 0;
  font-size: 1.5rem;
}

.hero-card p {
  margin: 0;
  opacity: 0.94;
}

.hero-stats {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.stat-item {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
  padding: 14px 16px;
}

.stat-item strong {
  display: block;
  font-size: 1.06rem;
}

.stat-item span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,0.85);
  font-size: 0.93rem;
}

.section {
  padding: 44px 0 8px;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 12px 0 8px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--brand-strong);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  max-width: 720px;
}

.info-grid,
.services-grid,
.why-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.why-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.service-card,
.why-card,
.contact-card,
.project-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  box-shadow: 0 10px 24px rgba(18, 32, 51, 0.04);
}

.info-card h3,
.service-card h3,
.why-card h3,
.contact-card h3,
.project-panel h3 {
  margin: 0 0 8px;
  color: var(--brand-strong);
}

.info-card p,
.service-card p,
.why-card p,
.contact-card p,
.project-panel p,
.project-panel li {
  margin: 0;
  color: var(--muted);
}

.projects-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.project-panel ul {
  padding-right: 18px;
  margin: 10px 0 0;
  display: grid;
  gap: 8px;
}

.site-footer {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--brand);
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero,
  .projects-layout,
  .info-grid,
  .services-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    min-height: 70px;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-card {
    padding: 22px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-cta {
    padding: 9px 14px;
    font-size: 0.92rem;
  }
}
