*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Tajawal", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: url('m3.png') no-repeat center center fixed;
  background-size: cover;
  color: #f9fafb;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
  
}

.container {
  width: min(1100px, 100% - 3rem);
  margin-inline: auto;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(to bottom, rgba(5, 9, 20, 0.95), rgba(5, 9, 20, 0.7));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.75rem;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-hello {
  font-size: 0.8rem;
  color: #cbd5f5;
}

.logo-name {
  font-weight: 800;
  font-size: 1.1rem;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
}

.main-menu a {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  color: #e5e7eb;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.main-menu a:hover {
  background: rgba(148, 163, 184, 0.15);
  transform: translateY(-1px);
}

.main-menu a.active {
  background: #f97316;
  color: #0f172a;
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-outline {
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  padding: 0.35rem 1.1rem;
  background: transparent;
  color: #e5e7eb;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease,
    box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-outline:hover {
  background: #e5e7eb;
  color: #0f172a;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.6);
  transform: translateY(-1px);
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #cbd5f5;
  background: rgba(15, 23, 42, 0.85);
}

.hero {
  padding-block: 4rem 3rem;
  
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  color: #cbd5f5;
  font-size: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  position: absolute;
    top: 100px; 
    right: 10px; 
    margin: 520px 690px  0 9px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.1rem);
  line-height: 1.1;
}

.hero-title .accent {
  color: #f97316;
}

.hero-subtitle {
  max-width: 32rem;
  color: #e5e7eb;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: #f97316;
  color: #0f172a;
  box-shadow: 0 22px 50px rgba(249, 115, 22, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(249, 115, 22, 0.55);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

.btn-secondary:hover {
  background: rgba(148, 163, 184, 0.15);
}

.btn-full {
  width: 100%;
  border: none;
}

.hero-partners {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.partners-label {
  font-size: 0.85rem;
  color: #cbd5f5;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

.partners-logos span {
  opacity: 0.8;
}

.hero-image-wrapper {
  display: flex;
  justify-content: center;
}

.hero-image-circle {
  position: relative;
  width: min(320px, 80vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at top, #f97316 0, #020617 55%, #020617 100%);
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.9);
  padding: 0.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-circle::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: inherit;
  border: 1px solid rgba(249, 115, 22, 0.4);
  pointer-events: none;
}

.hero-image-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  position: absolute;
    top: 100px; 
    right: 10px; 
    margin: -100px 0px 90px 9px
}

.section {
  padding-block: 3rem;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.section-text {
  max-width: 40rem;
  color: #e5e7eb;
}

.services {
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.7), rgba(2, 6, 23, 0.7));
}

.contact {
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.8),
    rgba(15, 23, 42, 0.75),
    rgba(2, 6, 23, 0.8)
  );
  margin-top: 3rem;
}

.cards-grid {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.cards-grid--tall {
  align-items: stretch;
}

.card {
  background: rgba(15, 23, 42, 0.7);
  border-radius: 1rem;
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(249, 115, 22, 0.3);
}

.card-post {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-image img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.card-body {
  padding: 1.3rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.card-meta {
  font-size: 0.8rem;
  color: #9ca3af;
}

.card-body h3 {
  font-size: 1.05rem;
}

.card-body p {
  font-size: 0.94rem;
}

.card-body .btn-secondary {
  margin-top: 0.35rem;
  align-self: flex-start;
}

.downloads-list {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.download-item {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.4rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.download-item h3 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.download-item p {
  font-size: 0.9rem;
  color: #e5e7eb;
}

.card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.card p {
  font-size: 0.95rem;
  color: #e5e7eb;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.contact-form {
  background: rgba(15, 23, 42, 0.75);
  border-radius: 1.2rem;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.95);
  max-width: 520px;
  margin-inline: auto;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-group {
  flex: 1 1 160px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.9rem;
  color: #e5e7eb;
}

.form-group input,
.form-group textarea {
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.6);
  padding: 0.7rem 0.9rem;
  color: #f9fafb;
  font-family: inherit;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #6b7280;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.4);
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding-block: 1.5rem;
  background: rgba(2, 6, 23, 0.85);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #9ca3af;
}

@media (max-width: 960px) {
  .nav-inner {
    flex-wrap: wrap;
  }

  .main-menu {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-text {
    order: 2;
    text-align: center;
    align-items: center;
  }

  .hero-subtitle {
    max-width: none;
  }

  .hero-partners {
    align-items: center;
  }

  .partners-logos {
    justify-content: center;
  }

  .contact-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form {
    max-width: 100%;
    margin-inline-start: 0;
  }
}

@media (max-width: 720px) {
  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form {
    padding-inline: 1.3rem;
  }

  .form-row {
    flex-direction: column;
  }

  .btn-full {
    font-size: 0.95rem;
    padding-block: 0.85rem;
  }
}
