/* ===========================
   Base & Reset
   =========================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
  background-color: #020617;
  line-height: 1.6;
  direction: ltr;
}

body.is-rtl {
  direction: rtl;
  font-family: "Tajawal", "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===========================
   Typography & Utilities
   =========================== */

.section {
  padding: 5rem 0;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: #38bdf8;
  margin: 0 0 0.75rem;
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 2.7vw, 2.5rem);
  color: #e5e7eb;
}

.section-description {
  margin: 0;
  max-width: 32rem;
  color: #94a3b8;
}

.section-header {
  max-width: 32rem;
}

.section-header--center {
  text-align: center;
  margin: 0 auto 2.5rem;
}

.section-header--center .section-header,
.section-header--center .section-description {
  margin-left: auto;
  margin-right: auto;
}

.section-header--between {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.section-inner {
  display: grid;
  gap: 3rem;
}

.section-inner--split {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.5fr);
}

/* Buttons & links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    transform 0.12s ease, box-shadow 0.12s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
  color: #0b1120;
  box-shadow: 0 14px 30px rgba(34, 197, 94, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(14, 165, 233, 0.4);
}

.btn-ghost {
  background-color: rgba(15, 23, 42, 0.7);
  border-color: rgba(148, 163, 184, 0.5);
  color: #e5e7eb;
}

.btn-ghost:hover {
  background-color: rgba(15, 23, 42, 1);
  border-color: #e5e7eb;
}

.btn-full {
  width: 100%;
}

.link-inline {
  font-size: 0.9rem;
  color: #38bdf8;
  text-decoration: none;
  border-bottom: 1px solid rgba(56, 189, 248, 0.4);
  padding-bottom: 0.15rem;
}

.link-inline:hover {
  border-color: #38bdf8;
}

/* ===========================
   Header & Navigation
   =========================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.95),
    rgba(15, 23, 42, 0.8),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.lang-toggle {
  margin-inline: 1rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background-color: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.lang-toggle:hover {
  border-color: #e5e7eb;
}
.whatsapp {
  width: 40px;
    height: 40px;
    border-radius: 50%;
    background: green;
    color: white;
    font-size: 22px;
    position: fixed;
    z-index: 1000;
    bottom: 100px;
    left: 20px;
    cursor: pointer;
}
.whatsapp:hover{
transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(14, 165, 233, 0.4);
}
.location {
  width: 40px;
    height: 40px;
    border-radius: 50%;
    background: blue;
    color: white;
    font-size: 22px;
    position: fixed;
    z-index: 1000;
    bottom: 45px;
    left: 20px;
    cursor: pointer;
}
.location:hover{
transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(14, 165, 233, 0.4);
}
/* Brand */

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 0.75rem;
}
.brand img {
width: 26px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.9rem;
  background: radial-gradient(circle at 10% 20%, #22c55e, #0ea5e9);
  color: #020617;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 10px 26px rgba(56, 189, 248, 0.5);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  color: #f9fafb;
  font-weight: 600;
  font-size: 1rem;
}

.brand-tagline {
  color: #64748b;
  font-size: 0.75rem;
}

/* Desktop nav */

.main-nav {
  display: none;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: #cbd5f5;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, #22c55e, #0ea5e9);
  transition: width 0.2s ease;
}

.nav-list a:hover::after {
  width: 100%;
}

/* Mobile nav toggle */

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.24rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background-color: rgba(15, 23, 42, 0.9);
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle-bar {
  width: 100%;
  height: 2px;
  background-color: #e5e7eb;
  border-radius: 999px;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

/* Mobile nav drawer */

.mobile-nav {
  display: none;
  padding: 0 1.5rem 0.75rem;
  background-color: rgba(15, 23, 42, 0.98);
  border-bottom: 1px solid rgba(30, 64, 175, 0.5);
}

.mobile-nav-list {
  list-style: none;
  padding: 0.75rem 0 1rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-nav-list a {
  display: block;
  padding: 0.55rem 0;
  color: #cbd5f5;
  text-decoration: none;
}

/* Active mobile nav state */

.site-header.is-nav-open .mobile-nav {
  display: block;
}

/* transform bars into "X" */

.site-header.is-nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}

.site-header.is-nav-open .nav-toggle-bar:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}

/* ===========================
   Hero
   =========================== */

.hero {
 display: flex;
 flex-direction: row-reverse;
  color: #e5e7eb;
}
@media (max-width: 768px) {
.hero {
 display: flex;
 flex-direction: column-reverse;
  color: #e5e7eb;
}
}

.hero-media img {
/* margin-top: 15px; */
border-radius: 20px;
  background-position: center;
  margin: 1.5rem 1.5rem 1.5rem;
  box-shadow: 0 40px 80px rgba(15, 23, 42, 0.8);
}
@media (max-width: 768px) {
.hero-media img {
width: 100%;
margin: 0;
}
}
.hero-content {
  align-self: center;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.hero-kicker {
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  margin: 0 0 0.75rem;
}

.hero-heading {
  font-size: clamp(2.1rem, 4vw, 3rem);
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  color: #94a3b8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.hero-highlight {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin: 0;
}

.hero-stat {
  min-width: 8rem;
}

.hero-stat dt {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.2rem;
}

.hero-stat dd {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 600;
}

/* ===========================
   About
   =========================== */

.about {
  background: radial-gradient(circle at top, #020617 0, #020617 32%, #020617 100%);
  color: #e5e7eb;
}

.about-body {
  color: #cbd5f5;
  max-width: 32rem;
}
.about .section-header img {
width: 75%;}

@media (max-width: 768px) {
.section-header  {
text-align: center;
}
}
/* ===========================
   Services
   =========================== */

.services {
  background: radial-gradient(circle at top left, #0f172a, #020617 48%);
  color: #e5e7eb;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.service-card {
  padding: 1.75rem 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.7));
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.7);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(34, 197, 94, 0.2), transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-index {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #22c55e;
}

.service-title {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.service-text {
  margin: 0;
  color: #94a3b8;
}

/* ===========================
   Projects / Portfolio
   =========================== */

.projects {
  background-color: #020617;
  color: #e5e7eb;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.75rem;
}

.project-card {
  margin: 0;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-image-wrapper {
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
  background-color: #020617;
}

.project-image {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1.1rem;
  transition: opacity 0.3s ease;
}

.project-overlay-label {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.86);
  color: #e5e7eb;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.project-caption {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: #cbd5f5;
}

/* Hover state, also triggered via JS class for touch devices */

.project-card:hover .project-image,
.project-card.is-hovered .project-image {
  transform: scale(1.06);
}

.project-card:hover .project-overlay,
.project-card.is-hovered .project-overlay {
  opacity: 1;
}

/* ===========================
   Stats / Achievements
   =========================== */

.stats {
  background: radial-gradient(circle at center, #0b1120, #020617 55%);
  color: #e5e7eb;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.stat-item {
  padding: 1.5rem 1.4rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
}

.stat-value {
  margin: 0 0 0.35rem;
  font-size: 1.6rem;
  font-weight: 600;
  color: #f9fafb;
}

.stat-label {
  margin: 0;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* ===========================
   Contact
   =========================== */

.contact {
  background-color: #020617;
  color: #e5e7eb;
}

.contact-details p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: #94a3b8;
}

.contact-form {
  padding: 1.75rem 1.5rem;
  border-radius: 1.5rem;
  background-color: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(30, 64, 175, 0.6);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.9);
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.form-field {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  margin-bottom: 1.1rem;
}

.form-field label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  border-radius: 0.9rem;
  border: 1px solid rgba(51, 65, 85, 0.9);
  background-color: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  padding: 0.7rem 0.85rem;
  font: inherit;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 1px solid #0ea5e9;
  border-color: #0ea5e9;
}
/* اراء العملاء */

.testmoins:hover{
transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(14, 165, 233, 0.4);
}
.stardiv{
  text-align: center;
  color: yellow;
}
.testmoins-text{
    text-align: center;

}
.testmoins-name{
color: gray;
}
/* ===========================
   Footer
   =========================== */

.site-footer {
  background-color: #020617;
  color: #9ca3af;
  border-top: 1px solid rgba(15, 23, 42, 0.95);
  margin-top: 4rem;
}

.footer-inner {
  padding: 2.75rem 1.5rem 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand {
  max-width: 260px;
}
.footer-brand img {
  width: 26px;
}

.footer-text {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
}

.footer-columns {
  display: flex;
  gap: 2.5rem;
}

.footer-heading {
  margin: 0 0 0.55rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #e5e7eb;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li + li {
  margin-top: 0.3rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: #9ca3af;
  text-decoration: none;
}

.footer-links a:hover {
  color: #e5e7eb;
}

.footer-bottom {
  border-top: 1px solid rgba(15, 23, 42, 0.95);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem 1.3rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.footer-madeby {
  margin: 0;
}

/* ===========================
   RTL helpers
   =========================== */

html[dir="rtl"] .nav-list {
  flex-direction: row-reverse;
}

html[dir="rtl"] .section-header {
 
}

html[dir="rtl"] .footer-bottom-inner {
  text-align: right;
}

/* ===========================
   Responsive
   =========================== */

@media (min-width: 768px) {
  .main-nav {
    display: block;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.1fr);
  }

  .hero-content {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }

  .section-inner--split {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr);
  }
}

@media (max-width: 767.98px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    margin: 0 1.5rem 0;
    min-height: 240px;
    border-radius: 0 0 2.5rem 2.5rem;
  }

  .hero-content {
    padding-top: 2.75rem;
  }

  .section {
    padding: 3.75rem 0;
  }

  .section-inner--split {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-header--between {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}
