/* ===== SOS - Skills On Sales - Main Stylesheet ===== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --black: #272324;
  --yellow: #f0d65f;
  --gray-light: #e9e9e9;
  --gray-mid: #999;
  --white: #ffffff;
  --yellow-dark: #d4bc3a;
  --black-soft: #1a1617;
  --section-pad: 100px 0;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Droid Arabic Kufi', sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

body[dir="rtl"] { font-family: 'Droid Arabic Kufi', 'Inter', sans-serif; }

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  background: transparent;
}

nav.scrolled {
  background: var(--black);
  padding: 14px 60px;
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

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

.nav-logo-text {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-logo-text span {
  color: var(--yellow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--yellow);
  transition: width 0.3s ease;
}

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

.nav-cta {
  background: var(--yellow);
  color: var(--black) !important;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 700 !important;
  font-size: 13px !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover { background: var(--yellow-dark) !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

.lang-toggle {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8);
  padding: 7px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
  margin-left: 10px;
}

.lang-toggle:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

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

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: var(--black);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: repeating-linear-gradient(
    45deg,
    var(--yellow) 0px,
    var(--yellow) 1px,
    transparent 1px,
    transparent 60px
  );
}

.hero-chevrons {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.06;
  width: 600px;
  height: 600px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 60px 80px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-eyebrow::before {
  content: '';
  width: 30px; height: 2px;
  background: var(--yellow);
}

.hero h1 {
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  max-width: 780px;
  margin-bottom: 28px;
  letter-spacing: -1px;
}

.hero h1 em {
  font-style: normal;
  color: var(--yellow);
}

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--black);
  padding: 16px 36px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: all 0.2s;
}

.btn-primary:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(240,214,95,0.3); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
  transition: all 0.2s;
}

.btn-secondary:hover { color: var(--yellow); border-color: var(--yellow); }

.hero-stats {
  display: flex;
  gap: 60px;
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item {}

.stat-number {
  font-size: 40px;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  display: block;
}

/* ===== SECTION SHARED ===== */
.section {
  padding: var(--section-pad);
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.section-gray {
  background: #f7f7f7;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-eyebrow::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--yellow);
}

.section-dark .section-eyebrow { color: var(--yellow); }

h2.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.section-dark h2.section-title { color: var(--white); }

.section-subtitle {
  font-size: 17px;
  color: var(--gray-mid);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 60px;
}

.section-dark .section-subtitle { color: rgba(255,255,255,0.55); }

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #e0e0e0;
  margin-top: 20px;
}

.service-card {
  background: var(--white);
  padding: 50px 40px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--yellow);
  transition: width 0.4s ease;
}

.service-card:hover::before { width: 100%; }
.service-card:hover { background: var(--black); }
.service-card:hover .service-title { color: var(--yellow); }
.service-card:hover .service-desc { color: rgba(255,255,255,0.6); }
.service-card:hover .service-icon { filter: brightness(10); }

.service-icon {
  width: 48px; height: 48px;
  margin-bottom: 28px;
  opacity: 0.8;
  transition: filter 0.3s;
}

.service-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--yellow);
  margin-bottom: 14px;
  display: block;
}

.service-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 14px;
  transition: color 0.3s;
  line-height: 1.2;
}

.service-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  transition: color 0.3s;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 24px;
  letter-spacing: 0.5px;
}

/* ===== WHY US ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-visual {
  position: relative;
}

.why-big-number {
  font-size: 160px;
  font-weight: 900;
  color: var(--yellow);
  opacity: 0.12;
  line-height: 1;
  position: absolute;
  top: -20px; left: -20px;
  pointer-events: none;
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.why-item-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  background: rgba(240,214,95,0.12);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.why-item-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.why-item-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  border-color: var(--yellow);
}

.team-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--gray-light);
  display: block;
}

.team-photo-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--black) 0%, #3d3839 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-photo-placeholder span {
  font-size: 48px;
  font-weight: 900;
  color: var(--yellow);
  opacity: 0.6;
}

.team-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.team-info {
  padding: 24px;
}

.team-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-role {
  font-size: 13px;
  color: var(--yellow-dark);
  font-weight: 600;
  margin-bottom: 10px;
}

.team-bio {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #eee;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.blog-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--black), #3d3839);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-thumb-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--black) 0%, #3d3839 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-thumb-placeholder img {
  width: 50px;
  opacity: 0.3;
}

.blog-body {
  padding: 28px;
}

.blog-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow-dark);
  margin-bottom: 10px;
  display: block;
}

.blog-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}

.blog-excerpt {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-meta {
  font-size: 12px;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.contact-info p {
  color: rgba(255,255,255,0.55);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-item-icon {
  width: 42px; height: 42px;
  min-width: 42px;
  background: rgba(240,214,95,0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.contact-item-text span {
  display: block;
  font-size: 12px;
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-item-text a,
.contact-item-text p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  text-decoration: none;
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 14px 18px;
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--yellow);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group select option { background: var(--black); }

/* ===== FOOTER ===== */
footer {
  background: var(--black-soft);
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

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

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  text-decoration: none;
}

.footer-logo img { height: 36px; }

.footer-logo-text {
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
}

.footer-logo-text span { color: var(--yellow); }

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 28px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 15px;
  transition: all 0.2s;
}

.social-link:hover { background: var(--yellow); color: var(--black); }

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

.footer-motto {
  font-size: 13px;
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: 1px;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  color: var(--white);
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--yellow); }

.mobile-close {
  position: absolute;
  top: 28px; right: 28px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  nav { padding: 18px 30px; }
  nav.scrolled { padding: 14px 30px; }
  .container { padding: 0 30px; }
  .hero-content { padding: 120px 30px 80px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .why-grid { gap: 50px; }
  .hero-stats { gap: 40px; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 768px) {
  .nav-links, .lang-toggle { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { flex-wrap: wrap; gap: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* ===== RTL SUPPORT ===== */
[dir="rtl"] .hero-eyebrow::before,
[dir="rtl"] .section-eyebrow::before { display: none; }
[dir="rtl"] .hero-eyebrow::after,
[dir="rtl"] .section-eyebrow::after {
  content: '';
  width: 24px; height: 2px;
  background: var(--yellow);
  order: -1;
}
[dir="rtl"] .hero-chevrons { right: auto; left: -60px; transform: translateY(-50%) scaleX(-1); }
[dir="rtl"] .nav-cta { margin-right: 10px; margin-left: 0; }

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }

@font-face{font-family:'Droid Arabic Kufi';src:url('../fonts/droid-arabic-kufi-regular.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:'Droid Arabic Kufi';src:url('../fonts/droid-arabic-kufi-bold.ttf') format('truetype');font-weight:700;font-display:swap}
