/* ============================================
   Qolivera — Shared Components
   Navbar · Footer · Buttons · Cards · Badges
   ============================================ */

/* ===== BUTTONS ===================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-arabic);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn-outline:hover {
  background: var(--orange);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.9rem;
}

/* ===== BTN-HERO (shared split button) =============== */
.btn-hero {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}
.bh-text {
  background: var(--white);
  color: var(--navy);
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 16px 28px;
  display: block;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn-hero:hover .bh-text { background: #f0ede8; }
.bh-icon {
  background: var(--orange);
  color: var(--white);
  font-size: 1.1rem;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}
.btn-hero:hover .bh-icon {
  background: var(--orange-hover);
  transform: translate(2px, -2px);
}

/* Ghost CTA — outlined button */
.btn-hero-ghost {
  font-family: 'Cairo', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.btn-hero-ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.10);
  transform: translateY(-2px);
}
.btn-hero-ghost--sm {
  font-size: 0.82rem;
  padding: 11px 20px;
}

/* btn-hero small */
.btn-hero--sm .bh-text {
  font-size: 0.82rem;
  padding: 11px 20px;
}
.btn-hero--sm .bh-icon {
  font-size: 0.9rem;
  padding: 11px 14px;
}

/* ===== SP-TAG-PILL (shared label pill) ============== */
.sp-tag-pill {
  display: inline-block;
  background: rgba(232,118,26,0.12);
  color: var(--orange) !important;
  font-size: 0.7rem !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(232,118,26,0.3);
}

/* ===== NAVBAR ====================================== */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(8, 15, 28, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(255,255,255,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.nav-logo {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.nav-logo span {
  color: var(--orange);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(232,118,26,0.15);
}
.nav-links a.active {
  color: var(--orange);
}

/* CTA in nav */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 24px 24px;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-decoration: none;
  transition: color var(--transition);
}
.mobile-menu a:hover,
.mobile-menu a.active { color: var(--orange); }
.mobile-menu .btn { margin-top: 16px; width: 100%; justify-content: center; }

@media (max-width: 992px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
}

/* ===== FOOTER ====================================== */
.footer {
  background: var(--navy);
  border-top: 3px solid var(--orange);
}

/* Logo — shared */
.footer-logo {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--white);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 16px;
  text-decoration: none;
}
.footer-logo span { color: var(--orange); }

/* ---- Main grid: 3 columns ---- */
.ft-main {
  display: grid;
  grid-template-columns: 1.3fr 1.4fr 1fr;
  gap: 56px;
  padding: 48px 0 36px;
}

/* Brand col */
.ft-desc {
  font-size: 0.84rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.38);
  margin-bottom: 24px;
  max-width: 300px;
}
.ft-vision-logo {
  height: 28px;
  width: auto;
  border-radius: 5px;
  transition: opacity 0.3s ease;
}
.ft-vision-logo:hover { opacity: 0.8; }

/* Nav — 2 sub-columns */
.ft-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* Column title */
.ft-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}

/* Links list */
.ft-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ft-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.25s ease;
}
.ft-links a:hover { color: var(--orange); }

/* Plain list (activities) */
.ft-links--plain li {
  color: rgba(255,255,255,0.4);
  font-size: 0.84rem;
  padding: 6px 0;
  line-height: 1.5;
}

/* Contact col */
.ft-c-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  padding: 7px 0;
  transition: color 0.25s ease;
}
a.ft-c-row:hover { color: var(--orange); }
.ft-c-icon {
  color: var(--orange);
  opacity: 0.65;
  flex-shrink: 0;
  font-size: 0.9rem;
}

/* Bottom bar */
.ft-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.2);
}

/* footer-license / vision-badge kept for other pages */
.footer-license {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-top: 12px;
}
.vision-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(232,118,26,0.4);
  border-radius: var(--radius);
  padding: 16px 24px;
  text-align: center;
  margin-bottom: 24px;
}
.vision-badge .badge-label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--orange); }
.vision-badge .badge-year  { font-size: 2rem; font-weight: 700; color: var(--white); line-height: 1; }
.vision-badge .badge-sub   { font-size: 0.75rem; color: rgba(255,255,255,0.6); }

@media (max-width: 992px) {
  .ft-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .ft-brand { grid-column: 1 / -1; }
  .ft-desc { max-width: 100%; }
}
@media (max-width: 576px) {
  .ft-main { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 28px; }
  .ft-nav { grid-template-columns: 1fr 1fr; }
  .ft-bottom { flex-direction: column; gap: 6px; text-align: center; }
}

/* ===== SERVICE CARD ================================ */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-top-color var(--transition), box-shadow var(--transition), transform var(--transition);
  border-top: 3px solid transparent;
}
.service-card:hover {
  border-top-color: var(--orange);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}
.service-card .card-icon {
  width: 52px;
  height: 52px;
  background: var(--card-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--orange);
  font-size: 1.4rem;
}
.service-card h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}
.service-card .card-en {
  font-family: var(--font-english);
  font-style: italic;
  color: var(--gray);
  font-size: 0.85rem;
  direction: ltr;
  margin-bottom: 12px;
  display: block;
}
.service-card p { color: var(--gray); font-size: 0.95rem; }

/* ===== PRODUCT CARD ================================ */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: border-bottom-color var(--transition), box-shadow var(--transition);
  border-bottom: 3px solid transparent;
}
.product-card:hover {
  border-bottom-color: var(--orange);
  box-shadow: 0 8px 28px rgba(0,0,0,0.07);
}
.product-card .cat-number {
  font-family: var(--font-english);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(232,118,26,0.12);
  position: absolute;
  top: 20px;
  left: 20px;
  line-height: 1;
}

/* ===== STAT ITEM =================================== */
.stat-item {
  text-align: center;
  padding: 32px 16px;
}
.stat-item .stat-number {
  font-family: var(--font-english);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.stat-item .stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  display: block;
  margin-bottom: 4px;
}
.stat-item .stat-label-en {
  font-family: var(--font-english);
  font-style: italic;
  color: var(--gray);
  font-size: 0.8rem;
  direction: ltr;
  display: block;
}

/* ===== WHY-US CARD ================================= */
.why-card {
  padding: 28px;
  position: relative;
}
.why-card .why-index {
  font-family: var(--font-english);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(232,118,26,0.15);
  line-height: 1;
  margin-bottom: 8px;
}
.why-card h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.why-card p { color: var(--gray); font-size: 0.9rem; }

/* ===== FORM ======================================== */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-arabic);
  font-size: 0.95rem;
  color: var(--body-text);
  background: var(--white);
  transition: border-color var(--transition);
  direction: rtl;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--orange);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select { appearance: none; cursor: pointer; }

/* ===== PAGE HERO ==================================== */
.page-hero {
  background: var(--navy);
  padding: 120px 0 64px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero .hero-sub {
  font-family: var(--font-english);
  font-style: italic;
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  direction: ltr;
}
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: 16px;
}
.page-hero .breadcrumb a {
  color: var(--orange);
  text-decoration: none;
}
.page-hero .breadcrumb .sep { color: rgba(255,255,255,0.3); }

/* ===== ICON SIZING (Lucide, per context) ============== */
.bh-icon svg.lucide          { width: 18px; height: 18px; }
.btn svg.lucide              { width: 18px; height: 18px; }
.btn-sm svg.lucide          { width: 16px; height: 16px; }
.btn-hero--sm .bh-icon svg.lucide { width: 16px; height: 16px; }
.ft-c-icon svg.lucide        { width: 16px; height: 16px; }

.hero-label svg.lucide       { width: 14px; height: 14px; }
.hero-ticker .ti             { width: 15px; height: 15px; }
.hero-ticker .ti-sep         { width: 11px; height: 11px; }
.hf-icon svg.lucide          { width: 22px; height: 22px; }

.sp-icon svg.lucide          { width: 28px; height: 28px; }
.sp-arrow svg.lucide         { width: 20px; height: 20px; }
.at-feat-icon svg.lucide     { width: 18px; height: 18px; }
.at-vision-badge svg.lucide  { width: 18px; height: 18px; }
.wu-b-icon svg.lucide        { width: 22px; height: 22px; }
.vs-active-dot svg.lucide,
.vs-col-icon svg.lucide      { width: 18px; height: 18px; }

.ab-sf-icon svg.lucide       { width: 18px; height: 18px; }
.ab-mv-icon svg.lucide       { width: 26px; height: 26px; }
.ab-val-icon svg.lucide      { width: 24px; height: 24px; }
.ab-act-card svg.lucide      { width: 20px; height: 20px; }

.sfc-icon svg.lucide         { width: 28px; height: 28px; }
.sci-icon svg.lucide         { width: 22px; height: 22px; }
.ci-icon svg.lucide          { width: 22px; height: 22px; }
.office-hours h4 svg.lucide  { width: 17px; height: 17px; }

.cat-tab svg.lucide          { width: 16px; height: 16px; }
.cat-icon svg.lucide         { width: 26px; height: 26px; }
.pic-tag svg.lucide          { width: 12px; height: 12px; }
