/*
Heeiz Fulfillment - Design System
Primary: #10646b  
Accent:  #00918A  
Dark:    #0b2f33  
BG:      #f8fcfc  
*/

:root {
  --heeiz-primary: #10646b;
  --heeiz-accent: #00918A;
  --heeiz-dark: #0b2f33;
  --heeiz-bg: #f8fcfc;
  --bs-primary: var(--heeiz-primary);
  --bs-body-font-family: 'Cairo', sans-serif;
}

body {
  font-family: 'Cairo', sans-serif;
  background-color: var(--heeiz-bg);
  color: var(--heeiz-dark);
}

/* -------------------------
   Typography & Base
------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--heeiz-dark);
}

.muted {
  color: #6c757d !important;
  font-size: 0.9rem;
}

.divider {
  border-bottom: 1px solid #e0e0e0;
  margin: 2rem 0;
}

/* -------------------------
   Layout & Sections
------------------------- */
.section {
  padding: 80px 0;
}

.section-title {
  font-weight: 800;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--heeiz-accent);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* -------------------------
   Components
------------------------- */

/* Navbar */
.navbar {
  transition: all 0.3s ease-in-out;
}
.navbar.scrolled {
  background-color: #fff !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.navbar-brand img {
  max-height: 40px;
}
.nav-link {
  color: var(--heeiz-dark);
  font-weight: 600;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--heeiz-primary);
  background-color: rgba(16, 100, 107, 0.05);
}

.dropdown-menu {
    border: none;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.07);
    border-radius: 12px;
}

.dropdown-item {
    font-weight: 600;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    color: var(--heeiz-primary);
    background-color: rgba(16, 100, 107, 0.05);
}

/* Hero Section */
.hero {
  padding: 120px 0;
  background-color: #eef7f7;
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
}
.hero p {
  font-size: 1.2rem;
  color: #555;
}

/* Buttons */
.btn-heeiz {
  background-color: var(--heeiz-primary);
  color: #fff;
  padding: 12px 30px;
  font-weight: 700;
  border-radius: 8px;
  border: 2px solid var(--heeiz-primary);
  transition: all 0.3s ease;
}
.btn-heeiz:hover {
  background-color: var(--heeiz-accent);
  border-color: var(--heeiz-accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn-heeiz-outline {
  background-color: transparent;
  color: var(--heeiz-primary);
  padding: 12px 30px;
  font-weight: 700;
  border-radius: 8px;
  border: 2px solid var(--heeiz-primary);
  transition: all 0.3s ease;
}
.btn-heeiz-outline:hover {
  background-color: var(--heeiz-primary);
  color: #fff;
}

#lang-switcher {
    cursor: pointer;
    font-weight: bold;
    color: var(--heeiz-accent);
}

/* Cards */
.cardx {
  background: #fff;
  border: none;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  height: 100%;
}
.cardx:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.cardx-icon {
    font-size: 3rem;
    color: var(--heeiz-accent);
    margin-bottom: 20px;
}
.cardx-title {
  font-weight: 700;
  margin-bottom: 15px;
}

/* KPI Boxes */
.kpi {
  background-color: #fff;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.04);
}
.kpi-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--heeiz-primary);
}
.kpi-label {
  font-weight: 600;
  color: #555;
}

/* Pills / Badges */
.pill {
  display: inline-block;
  padding: 6px 15px;
  border-radius: 50px;
  background-color: rgba(0, 145, 138, 0.1);
  color: var(--heeiz-accent);
  font-weight: 700;
  font-size: 0.8rem;
}

/* Pricing Tables */
.pricing-table {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s ease;
}
.pricing-table.featured {
    border-color: var(--heeiz-primary);
    box-shadow: 0 15px 40px rgba(16, 100, 107, 0.15);
}
.pricing-table .price {
    font-size: 3rem;
    font-weight: 800;
}
.pricing-table .price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: super;
}
.pricing-table .period {
    color: #777;
}

/* Forms */
.form-control {
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #ced4da;
}
.form-control:focus {
    border-color: var(--heeiz-primary);
    box-shadow: 0 0 0 0.25rem rgba(16, 100, 107, 0.25);
}
.form-label {
    font-weight: 600;
}

/* Footer */
footer {
  background-color: var(--heeiz-dark);
  color: #f8fcfc;
  padding: 60px 0 20px 0;
}
footer a {
  color: #a7d9db;
  text-decoration: none;
  transition: color 0.2s ease;
}
footer a:hover {
  color: #fff;
}
footer .footer-title {
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 40px;
}