*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #0f4c81;
  --primary-dark: #0a3560;
  --primary-light: #1a6cb5;
  --accent: #c9a227;
  --accent-light: #e8c547;
  --bg: #f8fafc;
  --bg-dark: #0b1d33;
  --text: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(15, 76, 129, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 76, 129, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: 10px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text strong {
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.logo-text small {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(15, 76, 129, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15, 76, 129, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(11, 29, 51, 0.95) 0%, rgba(15, 76, 129, 0.88) 50%, rgba(26, 108, 181, 0.85) 100%),
    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.03'%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-bg::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -20%;
  width: 80%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(201, 162, 39, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: var(--accent-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-ar {
  display: block;
  font-family: 'Noto Sans Arabic', sans-serif;
  font-size: 0.55em;
  color: var(--accent-light);
  margin-bottom: 4px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-legal {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 36px;
}

.legal-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-light);
  margin-bottom: 8px;
}

.legal-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-header {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Services */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.25s;
}

.service-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Company Info */
.company-info {
  background: linear-gradient(180deg, var(--bg) 0%, #eef4fa 100%);
}

.company-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.info-list {
  margin-top: 28px;
}

.info-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.info-row:last-child {
  border-bottom: none;
}

.info-row dt {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.info-row dd {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.95rem;
  line-height: 1.5;
}

.company-card-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-box {
  width: 100%;
  aspect-ratio: 1;
  max-width: 320px;
  background: linear-gradient(145deg, var(--primary-dark), var(--primary-light));
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
}

.visual-logo {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.15em;
}

.visual-tagline {
  font-size: 0.85rem;
  color: var(--accent-light);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.2s;
}

.contact-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
}

.contact-card-wide {
  grid-column: 1 / -1;
}

.contact-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.contact-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-card a {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-card a:hover {
  color: var(--primary-light);
}

.contact-card address {
  font-style: normal;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.7;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 56px 0 32px;
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-legal-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-light);
  max-width: 700px;
  margin: 0 auto 12px;
  line-height: 1.5;
}

.footer-tax {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent-light);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  .nav {
    display: none;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .company-card {
    grid-template-columns: 1fr;
    padding: 36px;
  }

  .company-card-visual {
    order: -1;
  }

  .visual-box {
    max-width: 240px;
    aspect-ratio: auto;
    padding: 48px;
  }
}

@media (max-width: 640px) {
  .header-inner .btn-sm {
    display: none;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 72px 0;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .company-card {
    padding: 28px 20px;
  }
}
