/* مواسم الأعمال - Premium Corporate Stylesheet */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #0F3D2E;
  --green-l: #1a5a42;
  --beige: #F7F4EC;
  --beige-d: #efe9db;
  --gold: #C8A96A;
  --gold-l: #d4b87e;
  --gold-d: #b8954f;
  --black: #111;
  --white: #fff;
  --gray: #666;
  --gray-l: #999;
  --border: rgba(15,61,46,0.06);
  --shadow: 0 4px 24px rgba(15,61,46,0.06);
  --shadow-h: 0 12px 40px rgba(15,61,46,0.1);
  --tr: 0.35s cubic-bezier(0.4,0,0.2,1);
  --rad: 20px;
  
  --mw-primary: #0F3D2E;
  --mw-white: #ffffff;
  --mw-accent: #C8A96A;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Cairo', sans-serif;
  direction: rtl;
  text-align: right;
  background: var(--beige);
  color: var(--black);
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container { width: min(100% - 40px, 1200px); margin: 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
section { padding: 100px 0; position: relative; }

/* ── Section Label ── */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.section-label.center-label {
  justify-content: center;
}

.label-line {
  width: 40px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

/* ── Section Title ── */
.section-title {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--green);
  margin-bottom: 10px;
  text-align: center;
  letter-spacing: -0.5px;
}

.section-title.align-right { text-align: right; }
.section-title.white-title { color: var(--white); }

.section-subtitle {
  font-size: 1rem;
  color: var(--gray);
  text-align: center;
  margin-bottom: 56px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.section-accent {
  font-size: 1rem;
  color: var(--gold);
  font-weight: 600;
  text-align: center;
  margin-bottom: 56px;
  letter-spacing: 0.5px;
}

.section-cta { text-align: center; margin-top: 48px; }

/* ── Button ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: var(--white);
  padding: 14px 38px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--tr);
  font-family: inherit;
  letter-spacing: 0.3px;
}

.btn-primary:hover {
  background: var(--green-l);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15,61,46,0.2);
}

/* ══════════════════════════════
   NAVBAR
   ══════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--tr);
}

.navbar.scrolled { box-shadow: var(--shadow); }

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

.navbar-logo { display: flex; align-items: center; }
.navbar-logo img { height: 56px; width: auto; }

.navbar-links { display: flex; align-items: center; gap: 36px; }

.navbar-links a {
  font-size: 0.9rem;
  color: var(--black);
  font-weight: 600;
  transition: var(--tr);
  position: relative;
  padding: 6px 0;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: var(--tr);
  border-radius: 1px;
}

.navbar-links a:hover { color: var(--green); }
.navbar-links a:hover::after { width: 100%; }

.navbar-cta .btn-primary {
  padding: 10px 28px;
  font-size: 0.85rem;
  border-radius: 8px;
}

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

.menu-toggle span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--green);
  border-radius: 2px;
  transition: var(--tr);
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-6px); }

/* ══════════════════════════════
   HERO
   ══════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  padding-top: 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(170deg, #0a2e21 0%, var(--green) 50%, var(--green-l) 100%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 100px;
  background: var(--beige);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 3;
}

.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/general/hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
}

.hero-content { max-width: 800px; margin: 0 auto; }

.hero-title {
  font-size: 3.6rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title .highlight { color: var(--gold); }

.hero-tagline {
  font-size: 1.3rem;
  color: var(--gold-l);
  margin-bottom: 44px;
  font-weight: 500;
}

.hero-scroll {
  position: absolute;
  bottom: 120px; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  text-align: center;
  color: var(--gray-l);
  font-size: 0.82rem;
  font-weight: 500;
}

.scroll-icon {
  width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  margin: 10px auto 0;
  position: relative;
}

.scroll-icon::after {
  content: '';
  width: 4px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { top: 6px; opacity: 1; }
  50% { top: 20px; opacity: 0.3; }
}

/* ══════════════════════════════
   ABOUT
   ══════════════════════════════ */
.about { background: var(--white); padding: 100px 0; }

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-brand-card {
  background: var(--green);
  border-radius: var(--rad);
  padding: 60px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.about-brand-card img {
  max-width: 160px;
  margin-bottom: 24px;
  filter: brightness(0) saturate(100%) invert(78%) sepia(23%) saturate(580%) hue-rotate(352deg) brightness(88%) contrast(85%);
}

.about-brand-card p {
  color: var(--gold-l);
  font-size: 1rem;
  font-weight: 500;
}

.about-text-side .section-title {
  margin-bottom: 24px;
  font-size: 2.2rem;
}

.about-text {
  font-size: 1rem;
  line-height: 2;
  color: #555;
  margin-bottom: 16px;
}

/* ══════════════════════════════
   STATS
   ══════════════════════════════ */
.stats {
  background: linear-gradient(170deg, #081f16, #0a2e21, var(--green));
  padding: 130px 0 110px;
}

.stats::before {
  content: '';
  position: absolute; top: -1px; left: 0; right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 0%);
}

.stats::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0;
  height: 80px;
  background: var(--beige);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.stats .section-label span { color: var(--gold-l); }
.stats .label-line { background: rgba(200,169,106,0.4); }

.stats .white-title { margin-bottom: 8px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.stat-card {
  text-align: center;
  padding: 40px 24px 36px;
  background: rgba(255,255,255,0.04);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: var(--tr);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-6px);
  border-color: rgba(200,169,106,0.3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(200,169,106,0.1);
  border: 1px solid rgba(200,169,106,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
  transition: var(--tr);
}

.stat-card:hover .stat-icon {
  background: rgba(200,169,106,0.18);
  border-color: rgba(200,169,106,0.3);
  transform: scale(1.05);
}

.stat-number {
  font-size: 3.4rem;
  font-weight: 900;
  color: var(--white);
  display: block;
  margin-bottom: 12px;
  letter-spacing: -1px;
  line-height: 1;
}

.stat-divider {
  width: 36px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  margin-bottom: 14px;
  opacity: 0.6;
  transition: var(--tr);
}

.stat-card:hover .stat-divider {
  width: 50px;
  opacity: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.stat-card:hover .stat-label {
  color: rgba(255,255,255,0.85);
}

/* ══════════════════════════════
   SERVICES
   ══════════════════════════════ */
.services { background: var(--beige); }

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

.service-card {
  background: #f0ede5;
  border-radius: 18px;
  padding: 36px 30px 32px;
  transition: var(--tr);
  border: none;
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(15,61,46,0.08);
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--white);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-bottom: 24px;
  font-size: 1.35rem;
  border: 1px solid #e5e1d8;
  transition: var(--tr);
  flex-shrink: 0;
}

.service-card:hover .service-icon-wrap {
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 4px 12px rgba(15,61,46,0.15);
}

.service-card:hover .service-icon-wrap svg {
  stroke: var(--white);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 10px;
  text-align: right;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.9;
  text-align: right;
}

/* ══════════════════════════════
   DIFFERENCE
   ══════════════════════════════ */
.difference { background: var(--white); }

.difference-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.diff-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 30px 28px;
  background: var(--beige);
  border-radius: 16px;
  transition: var(--tr);
  border: 1px solid transparent;
}

.diff-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(15,61,46,0.06);
  border-color: rgba(200,169,106,0.15);
}

.diff-marker {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid #e5e1d8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  transition: var(--tr);
}

.diff-item:hover .diff-marker {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(15,61,46,0.15);
}

.diff-item p {
  font-size: 1rem;
  color: #333;
  line-height: 1.8;
  font-weight: 700;
}

/* ══════════════════════════════
   PORTFOLIO
   ══════════════════════════════ */
.portfolio { background: var(--white); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.portfolio-card {
  border-radius: 14px;
  overflow: hidden;
  transition: var(--tr);
  border: 1px solid rgba(15,61,46,0.05);
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(15,61,46,0.08);
}

.portfolio-img {
  width: 100%;
  background: var(--beige);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: 0.5s ease;
}

.portfolio-card:hover .portfolio-img img {
  transform: scale(1.04);
}

/* ══════════════════════════════
   PARTNERS
   ══════════════════════════════ */
.partners { background: var(--beige); }

.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: stretch;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  background: var(--white);
  border-radius: 16px;
  min-height: 110px;
  transition: var(--tr);
  border: 1px solid rgba(15,61,46,0.06);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.partner-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(15,61,46,0.08);
  border-color: rgba(200,169,106,0.2);
}

.partner-logo img {
  max-height: 65px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: var(--tr);
}

.partner-logo:hover img {
  opacity: 1;
  transform: scale(1.06);
}

/* ══════════════════════════════
   CONTACT
   ══════════════════════════════ */
.contact { background: var(--beige); }

.contact-form-wrapper {
  max-width: 740px;
  margin: 0 auto;
  background: var(--white);
  padding: 52px 44px;
  border-radius: var(--rad);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.form-group { display: flex; flex-direction: column; }
.form-group.full-width { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid #e5e0d6;
  border-radius: 10px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--black);
  background: var(--beige);
  transition: var(--tr);
  direction: rtl;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,169,106,0.1);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { text-align: center; margin-top: 12px; }
.form-submit .btn-primary { padding: 15px 56px; font-size: 1rem; }

/* ══════════════════════════════
/* ── Footer ────────────────────────────────────────── */
.pk-footer {
  background-color: var(--mw-primary);
  padding: 40px 20px;
  color: var(--mw-white);
  text-align: center;
  border-radius: 28px 28px 0 0;
  margin-top: 24px;
  position: relative;
  z-index: 10;
}
.pk-footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.pk-footer-logo {
  height: 50px;
  filter: brightness(0) invert(1);
}
.pk-footer-desc {
  font-size: 0.9rem;
  opacity: 0.8;
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.6;
}
.pk-footer-social {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}
.pk-footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mw-white);
  font-size: 1.2rem;
  transition: all 0.3s;
}
.pk-footer-social a:hover {
  background: var(--mw-accent);
}
.pk-footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 10px 0;
}
.pk-footer-bottom {
  font-size: 0.8rem;
  opacity: 0.7;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.pk-footer-bottom a {
  color: var(--mw-white);
  text-decoration: none;
  transition: color 0.2s;
}
.pk-footer-bottom a:hover {
  color: var(--mw-accent);
}

@media (max-width: 1024px) {
  .pk-footer {
    padding-bottom: 120px;
  }
}

/* ══════════════════════════════
   WHATSAPP FLOAT
   ══════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px; left: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: var(--white);
  padding: 12px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
  transition: var(--tr);
  font-family: inherit;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
}

.whatsapp-float svg { width: 20px; height: 20px; fill: currentColor; }

/* ══════════════════════════════
   SCROLL REVEAL
   ══════════════════════════════ */
section:not(.hero) {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

section.revealed { opacity: 1; transform: translateY(0); }
.hero { opacity: 1; transform: none; }

/* ══════════════════════════════
   RESPONSIVE
   ══════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(4, 1fr); }
  .about-wrapper { gap: 40px; }
}

@media (max-width: 768px) {
  section { padding: 70px 0; }
  .section-title { font-size: 1.9rem; }
  .navbar .container { height: 65px; }
  .navbar-logo img { height: 44px; }
  .menu-toggle { display: flex; }

  .navbar-links {
    position: fixed; top: 65px; right: -100%;
    width: 100%; height: calc(100vh - 65px);
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding-top: 36px; gap: 0;
    transition: var(--tr);
    box-shadow: var(--shadow-h);
  }

  .navbar-links.active { right: 0; }

  .navbar-links a {
    font-size: 1.05rem; padding: 15px 0;
    width: 80%; text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }

  .navbar-cta { display: none; }
  .navbar-links .mobile-cta { display: inline-flex; margin-top: 24px; }

  .hero { min-height: 85vh; }
  .hero::after, .stats::before, .stats::after, .footer::before { height: 40px; }
  .hero-title { font-size: 2.2rem; line-height: 1.55; }
  .hero-tagline { font-size: 1.05rem; }
  .hero-scroll { bottom: 80px; }

  .about-wrapper { grid-template-columns: 1fr; }
  .about-brand-card { min-height: 260px; padding: 40px 30px; order: -1; }
  .about-text-side .section-title { text-align: center; }
  .about-text-side .section-label { justify-content: center; }
  .about-text { text-align: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-number { font-size: 2.2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .difference-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-form-wrapper { padding: 32px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; text-align: center; }
  .footer-brand { text-align: center; }
  .footer-logo { margin-left: auto; margin-right: auto; }
  .whatsapp-float { bottom: 18px; left: 18px; padding: 10px 18px; font-size: 0.85rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.7rem; }
  .stat-card { padding: 24px 12px; }
  .stat-number { font-size: 1.8rem; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .about-brand-card img { max-width: 120px; }
}
