/* تمنهنت الدولية — تصميم احترافي */
:root {
  --ink: #0c1628;
  --ink-soft: #1a2d4a;
  --sand: #c9a227;
  --sand-light: #e8d48a;
  --mist: #f4f6f9;
  --white: #ffffff;
  --muted: #5c6b7f;
  --radius: 14px;
  --shadow: 0 20px 50px rgba(12, 22, 40, 0.12);
  --font: "Tajawal", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--mist);
  direction: rtl;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--sand);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--ink-soft);
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-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 rgba(12, 22, 40, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-weight: 800;
  font-size: 1rem;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand span {
  max-width: 200px;
  line-height: 1.35;
}

.nav-toggle {
  display: none;
  border: none;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--sand);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 1rem;
    border-bottom: 1px solid rgba(12, 22, 40, 0.08);
    display: none;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(12, 22, 40, 0.88) 0%,
    rgba(12, 22, 40, 0.55) 45%,
    rgba(12, 22, 40, 0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 3rem 0 4rem;
}

.hero-content h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.65rem);
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1.25;
  max-width: 18ch;
}

.hero-content .tagline {
  font-size: 1.1rem;
  opacity: 0.92;
  max-width: 36ch;
  margin-bottom: 1.75rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-badges span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 0.5rem;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: transparent;
  cursor: pointer;
  padding: 0;
  opacity: 0.5;
}

.hero-dots button.active {
  background: var(--sand);
  border-color: var(--sand);
  opacity: 1;
}

/* Sections */
section {
  padding: 4.5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-title h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.section-title p {
  color: var(--muted);
  margin: 0;
  max-width: 42ch;
  margin-inline: auto;
}

/* About */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-cover {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}

.about-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h3 {
  font-size: 1.35rem;
  margin-top: 0;
  color: var(--ink-soft);
}

.founded {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: var(--white);
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius);
  font-weight: 700;
  margin: 1rem 0 1.25rem;
}

.founded svg {
  flex-shrink: 0;
  opacity: 0.9;
}

/* Vision / Mission / Goal */
.vmg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .vmg-grid {
    grid-template-columns: 1fr;
  }
}

.vmg-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.85rem 1.5rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--sand);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vmg-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(12, 22, 40, 0.14);
}

.vmg-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.1rem;
  background: linear-gradient(145deg, var(--mist) 0%, #e8ecf2 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sand);
}

.vmg-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  color: var(--ink);
}

.vmg-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Cover strip */
.cover-strip {
  padding: 0;
  line-height: 0;
}

.cover-strip img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

/* Contact */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info h3 {
  margin-top: 0;
  font-size: 1.25rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1.1rem;
  color: var(--muted);
}

.contact-list svg {
  flex-shrink: 0;
  color: var(--sand);
  margin-top: 0.2rem;
}

.contact-list strong {
  color: var(--ink);
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.contact-form-wrap {
  background: var(--mist);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(12, 22, 40, 0.06);
}

.contact-form-wrap h3 {
  margin-top: 0;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--ink-soft);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(12, 22, 40, 0.12);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
  direction: rtl;
}

.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--sand);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2);
}

.btn-submit {
  width: 100%;
  padding: 0.9rem 1.25rem;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(12, 22, 40, 0.25);
}

.form-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  display: none;
}

.form-message.success {
  display: block;
  background: #e8f5e9;
  color: #1b5e20;
}

.form-message.error {
  display: block;
  background: #ffebee;
  color: #b71c1c;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer .brand-footer {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  color: var(--white);
  font-weight: 700;
}

.site-footer .brand-footer img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.site-footer a {
  color: var(--sand-light);
}
