/* ===========================
   ICOVRI 10 — Base & Reset
   =========================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Barlow Condensed', sans-serif;
  background: var(--bg-page);
  color: var(--text-body);
  overflow-x: hidden;
}

body.ar {
  font-family: 'Tajawal', sans-serif;
  direction: rtl;
}

/* ---- Section shared ---- */
section {
  padding: 100px 24px;
}

.section-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.section-label {
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #c9a227;
  margin-bottom: 12px;
  font-weight: 700;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-body);
  margin-bottom: 24px;
}

.section-title em {
  color: var(--gold);
  font-style: normal;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-bright), var(--gold));
  margin-bottom: 40px;
}

/* ---- Buttons ---- */
.btn-primary {
  background: var(--gold);
  color: #083b45;
  padding: 14px 40px;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  font-family: inherit;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-body);
  padding: 14px 40px;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(8, 59, 69, .4);
  transition: all 0.3s;
  font-family: inherit;
  text-decoration: none;
  display: inline-block;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ---- Logos strip ---- */
.logos-strip {
  background: var(--bg-page);
  border-top: 1px solid rgba(201, 162, 39, .1);
  border-bottom: 1px solid rgba(201, 162, 39, .1);
  padding: 24px 0;
}

.logos-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 0 32px;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.3s;
  filter: brightness(0) invert(1);
}

.logo-item:hover { opacity: 1; }

.logo-item img {
  height: 50px;
  max-width: 120px;
  object-fit: contain;
}

/* ---- Toast ---- */
#toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 28px;
  font-weight: 700;
  font-size: 14px;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s;
}

#toast.show {
  transform: translateY(0);
  opacity: 1;
}

body.ar #toast {
  right: auto;
  left: 32px;
}

/* ---- EN / AR visibility ---- */
body:not(.ar) .ar-only { display: none !important; }
body.ar        .en-only { display: none !important; }

.en-text, .ar-text { transition: opacity 0.2s; }
