/* HYENA New – Light Corporate Theme */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --primary: #2563eb;
  --primary-soft: rgba(37, 99, 235, 0.12);
  --primary-dark: #1d4ed8;
  --accent: #16a34a;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --panel: #ffffff;
  --panel-elevated: #f1f5f9;
  --panel-soft: #f8fafc;
  --text-main: #0f172a;
  --text-soft: #64748b;
  --border-subtle: rgba(100, 116, 139, 0.28);
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.1);
  --transition-fast: 0.18s ease;
}

body {
  margin: 0;
  font-family: "Cairo", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #f8fafc 0, #ffffff 50%, #f1f5f9 100%);
  color: var(--text-main);
}

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

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* TOP BAR */

.top-bar {
  background: #ffffff;
  color: var(--text-soft);
  font-size: 0.8rem;
  border-bottom: 1px solid var(--border-subtle);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 1.5rem;
}

.top-bar a {
  color: var(--primary-dark);
}

.top-bar a:hover {
  text-decoration: underline;
}

.top-bar .divider {
  margin-inline: 0.5rem;
  opacity: 0.7;
}

.top-bar-actions {
  display: flex;
  align-items: center;
}

/* HEADER */

.main-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(148, 163, 184, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand.small .brand-mark {
  width: 30px;
  height: 30px;
  font-size: 0.9rem;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.96rem;
}

.brand-tagline {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav a {
  color: var(--text-soft);
  padding: 0.2rem 0.35rem;
  border-radius: 999px;
  transition: background-color var(--transition-fast),
    color var(--transition-fast);
}

.nav a:hover {
  color: var(--primary-dark);
  background-color: var(--primary-soft);
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  padding: 4px 5px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.nav-toggle span {
  height: 2px;
  border-radius: 999px;
  background: var(--text-main);
}

.nav-drawer {
  position: fixed;
  inset-inline: 0;
  top: 60px;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  transform: translateY(-100%);
  transition: transform 0.2s ease;
  z-index: 10;
}

.nav-drawer.open {
  transform: translateY(0);
}

.nav-drawer nav {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1.5rem 1.1rem;
  gap: 0.6rem;
}

.nav-drawer a {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  color: var(--text-main);
}

/* BUTTONS */

.btn {
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 1.4rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  transition: background-color var(--transition-fast),
    color var(--transition-fast), border-color var(--transition-fast),
    box-shadow var(--transition-fast), transform var(--transition-fast);
}

.btn.primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
}

.btn.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn.outline {
  background: #ffffff;
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.btn.outline:hover {
  background: var(--panel-elevated);
  border-color: rgba(37, 99, 235, 0.35);
}

.btn.full-width {
  width: 100%;
}

/* HERO */

.hero {
  background: radial-gradient(circle at top left, #eff6ff, #ffffff 55%);
  padding: 3.5rem 0 3.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 0.6rem;
}

.hero-content h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
}

.hero-text {
  margin: 0 0 1.4rem;
  color: var(--text-soft);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.6rem;
}

.hero-media {
  display: grid;
  gap: 1rem;
}

.hero-image-main {
  border-radius: 22px;
  overflow: hidden;
  background: #e2e8f0;
  min-height: 220px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
}

.hero-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.stat-card {
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 0.9rem 0.95rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.stat-value {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* SECTIONS */

.section {
  padding: 3.5rem 0;
}

.section.muted {
  background: radial-gradient(circle at top, #f1f5f9 0, #f8fafc 55%, #ffffff 100%);
}

.section-header {
  max-width: 640px;
  margin: 0 auto 2.4rem;
}

.section-header h2 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
}

.section-header p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 2.5rem;
}

/* CARDS */

.cards-grid.three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.card {
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 1.4rem 1.3rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.service-card h3 {
  color: var(--primary-dark);
}

/* ABOUT */

.about-highlights {
  display: grid;
  gap: 0.9rem;
}

.highlight {
  border-radius: 14px;
  border: 1px dashed var(--border-subtle);
  padding: 0.9rem 1rem;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.highlight h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
}

.highlight p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* MONITORING */

.monitoring-panel {
  display: grid;
  gap: 0.8rem;
}

.monitoring-card {
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.08),
    #ffffff 55%
  );
  border: 1px solid rgba(37, 99, 235, 0.22);
}

.monitoring-card h3 {
  margin: 0 0 0.3rem;
  font-size: 0.98rem;
}

.monitoring-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* PROJECTS */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.08);
}

.project-image {
  height: 170px;
  background-size: cover;
  background-position: center;
}

/* صور من Unsplash — مدن، تجاري، صحي، تعليمي */
.project-image-1 {
  background-image: url("https://images.unsplash.com/photo-1449824913935-59a10b8d2000?auto=format&fit=crop&w=900&q=80");
}

.project-image-2 {
  background-image: url("https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&w=900&q=80");
}

.project-image-3 {
  background-image: url("https://images.unsplash.com/photo-1562774053-701939374585?auto=format&fit=crop&w=900&q=80");
}

.project-body {
  padding: 1.1rem 1.2rem 1.3rem;
}

.project-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.project-body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* CONTACT */

.contact-section {
  background: radial-gradient(circle at top, #e2e8f0 0, #f8fafc 70%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 2rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.3rem 0 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.95rem;
}

.contact-list a {
  color: var(--primary-dark);
}

.contact-form {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 1.4rem 1.3rem;
  background: #ffffff;
  display: grid;
  gap: 0.75rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.field {
  display: grid;
  gap: 0.25rem;
}

.field label {
  font-size: 0.86rem;
  color: var(--text-soft);
}

.field input,
.field textarea {
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  padding: 0.55rem 0.7rem;
  font: inherit;
  color: var(--text-main);
  background: #f8fafc;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.35);
}

.form-note {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  color: var(--text-soft);
}

/* FOOTER */

.site-footer {
  background: #ffffff;
  color: var(--text-main);
  padding: 1.8rem 0 1.9rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.85rem;
}

.footer-main p {
  margin: 0.4rem 0 0;
  color: var(--text-soft);
}

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

.footer-links a {
  color: var(--text-soft);
  font-size: 0.85rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    order: -1;
  }

  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards-grid.three,
  .projects-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 800px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1.1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .hero {
    padding: 3rem 0 3.2rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

