@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

:root {
  --maroon: #400601;
  --red: #D91E1E;
  --crimson: #BF3030;
  --dark-red: #8C2323;
  --light: #F2F2F2;
  --white: #ffffff;
  --dark: #1a0a0a;
  --text: #2d1515;
  --text-light: #f0e8e8;
  --radius: 16px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  direction: rtl;
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  overflow-x: clip;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  padding: 18px 0;
  background: transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(64, 6, 1, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 45px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-cta {
  background: var(--red);
  color: var(--white);
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  border: 2px solid var(--red);
  direction: ltr;
}

.nav-cta:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.nav-cta::after {
  display: none !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 28px;
  height: 2.5px;
  background: var(--white);
  border-radius: 4px;
  transition: var(--transition);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 20s ease infinite alternate;
}

@keyframes heroZoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.08);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(64, 6, 1, 0.7) 0%, rgba(26, 10, 10, 0.55) 50%, rgba(140, 35, 35, 0.3) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 60px;
}

.hero-content {
  max-width: 650px;
  text-align: right;
  margin-right: 0 !important;
  margin-left: auto !important;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217, 30, 30, 0.2);
  border: 1px solid rgba(217, 30, 30, 0.4);
  padding: 8px 20px;
  border-radius: 50px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--red);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--white);
  position: relative;
  display: inline-block;
  z-index: 1;
}

.hero h1 span::after {
  content: '';
  position: absolute;
  bottom: 8%;
  right: -2%;
  left: -2%;
  height: 28%;
  background: var(--red);
  z-index: -1;
  border-radius: 6px;
}

.hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  border: 2px solid var(--red);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--crimson);
  border-color: var(--crimson);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(217, 30, 30, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* ── SECTION COMMONS ── */
.section {
  padding: 100px 0;
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 1;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.05);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 16px;
}

.section-header p {
  color: #666;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-line {
  width: 60px;
  height: 4px;
  background: var(--red);
  border-radius: 4px;
  margin: 16px auto 0;
}

/* ── SERVICES ── */
.services {
  background: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(64, 6, 1, 0.06);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--crimson));
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(64, 6, 1, 0.12);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(217, 30, 30, 0.1), rgba(64, 6, 1, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.88rem;
  color: #777;
  line-height: 1.7;
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgba(217, 30, 30, 0.2);
  border-radius: var(--radius);
}

.about-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 20px;
  line-height: 1.4;
}

.about-content p {
  color: #555;
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 24px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--light);
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--maroon);
}

.about-feature svg {
  width: 20px;
  height: 20px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2;
}

/* ── FINAL GROUP (Contact + Footer) ── */
.final-group {
  background: var(--maroon);
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* ── CONTACT ── */
.contact {
  flex-grow: 1;
  background: var(--maroon);
  color: var(--white);
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact .section-header h2 {
  color: var(--white);
}

.contact .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.contact .section-line {
  background: var(--red);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-4px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(217, 30, 30, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2;
}

.contact-icon svg.solid-icon {
  fill: var(--red);
  stroke: none;
}

.contact-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--white);
}

.contact-item p,
.contact-item a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  direction: ltr;
  display: inline-block;
  text-align: right;
}

.contact-item a:hover {
  color: var(--red);
}

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  height: 100%;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

/* ── FOOTER ── */
.footer {
  background: #0d0404;
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 30px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 50px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--red);
  padding-right: 8px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--red);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* ── FLOATING WHATSAPP ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  animation: whatsappPulse 2s ease infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

@keyframes whatsappPulse {

  0%,
  100% {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7);
  }
}

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media(max-width: 1024px) {

  .hero,
  .section {
    position: relative;
    top: auto;
    min-height: auto;
    display: block;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(64, 6, 1, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    backdrop-filter: blur(20px);
  }

  .nav-links.active {
    display: flex;
    z-index: 1001;
  }

  .nav-links a {
    font-size: 1.3rem;
  }

  .hamburger {
    display: flex;
    z-index: 1002;
  }

  .hero .container {
    justify-content: flex-start;
  }

  .hero-content {
    text-align: right;
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }
}