/*
Theme Name: Astra Child
Template:   astra
Version:    1.0.0
*/

/* ============================================================
   Site-wide custom CSS (migrated from parent theme Customizer)
   ============================================================ */

/* Sticky header */
#masthead {
  position: fixed !important;
  top: 0; right: 0; left: 0;
  z-index: 9999;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  transform: translateY(-110%);
  transition: transform .5s ease, box-shadow .5s ease;
}

#masthead.is-visible {
  transform: translateY(0);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Pricing element */
.free-price {
  font-family: "Cairo", sans-serif !important;
  font-weight: 700;
  color: #1F3A5F;
  font-size: 16px;
}

/* Floating WhatsApp button */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(0,0,0,.25);
    z-index: 99999;
    transition: transform .25s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

.whatsapp-icon {
    width: 26px;
    height: 26px;
    fill: #fff;
}

/* EAEL horizontal menu RTL fix */
.eael-simple-menu-container .eael-simple-menu.eael-simple-menu-horizontal li { float: right; }

/* Contact Form 7 select */
.cf7-select {
  width: 100%;
  height: 55px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid #d0d5dd;
  background-color: #fff;
  font-size: 15px;
  color: #1d2939;
  cursor: pointer;
  transition: all .3s ease;
}

.cf7-select:hover { border-color: #1e3a8a; }

.cf7-select:focus {
  outline: none;
  border-color: #1e3a8a;
  box-shadow: 0 0 0 3px rgba(30,58,138,.15);
}

.cf7-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #0f172a;
}

html[dir="rtl"] .cf7-select { background-position: left 16px center; }

/* Org chart */
.org-responsive {
  overflow-x: auto;
  background: #000;
  padding: 20px;
}

.org-canvas {
  position: relative;
  width: 1400px;
  height: 1200px;
  margin: auto;
  font-family: 'Cairo', Tahoma, sans-serif;
}

.org-lines {
  position: absolute;
  inset: 0;
  stroke: #3fa9f5;
  stroke-width: 2;
}

.box {
  position: absolute;
  min-width: 190px;
  padding: 12px 16px;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
  box-shadow: 0 0 0 1px rgba(63,169,245,0.7);
}

.main  { background: #0f4c75; color: #fff; font-weight: 600; }
.dept  { background: #1b6ca8; color: #fff; }

.committee {
  background: #f3e6d8;
  color: #000;
  box-shadow: 0 0 0 1px #e0cbb3;
}

@media (max-width: 768px) {
  .org-canvas { transform: scale(0.8); transform-origin: top center; }
}

@media (max-width: 480px) {
  .org-canvas { transform: scale(0.65); }
}
