/* ============================================================
   Hoopoe Electric — contemporary design layer (v3, 2026-07-16)
   Loaded LAST so it layers on top of the template.
   Rollback = remove the <link> to this file in includes/header.php.

   Palette: rich emerald + bright electric-mint accent + deep
   charcoal + clean off-white. Type: Poppins (body) / Sora (display).
   ============================================================ */

:root {
  --emerald:      #0F9E63;   /* primary — premium electric green */
  --emerald-dark: #0A7A4B;   /* hover / depth */
  --mint:         #35E3A0;   /* bright accent for eyebrows/highlights */
  --ink:          #0D1411;   /* near-black, slight green tint */
  --ink-soft:     #16211C;
  --paper:        #F6F8F6;   /* off-white section bg */
  --muted:        #5b6763;
}

/* ---------- Typography ---------- */
body { font-family: 'Poppins', Arial, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, .sec-title h2, .main-slider .content h2 { font-family: 'Sora', 'Poppins', sans-serif !important; }
a, .theme-btn, .service-block-three .inner-box,
.fleet-block .inner-box, .project-block .inner-box { transition: all .3s cubic-bezier(.2,.7,.3,1) !important; }

/* ---------- STICKY GLASS HEADER ---------- */
.main-header .header-top { background: var(--ink) !important; }
.main-header .header-top a { color: #c9d2ce !important; }
.main-header .header-top a:hover { color: var(--mint) !important; }
.main-header .header-top .top-right .list li a .icon { color: var(--mint) !important; }

.main-header .header-upper {
  position: sticky; top: 0; z-index: 999;
  background: rgba(13,20,17,.72) !important;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.main-header .header-upper .nav-outer .main-menu .navigation > li > a { color: #eef2f0 !important; font-weight: 500; }
.main-header .header-upper .nav-outer .main-menu .navigation > li.current > a,
.main-header .header-upper .nav-outer .main-menu .navigation > li:hover > a { color: var(--mint) !important; }

/* Header "Book Now" pill (theme uses .main-header .outer-box .btn-box .vendor-btn, spec 0-4-0) */
.main-header .outer-box .btn-box .vendor-btn,
.main-header .btn-box .vendor-btn,
.main-header .vendor-btn {
  background: var(--emerald) !important;
  color: #ffffff !important;
  border-radius: 40px !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 24px rgba(15,158,99,.35);
}
.main-header .outer-box .btn-box .vendor-btn:hover,
.main-header .btn-box .vendor-btn:hover,
.main-header .vendor-btn:hover {
  background: var(--mint) !important; color: #06231a !important; transform: translateY(-2px);
}

/* ---------- SCROLL-TO-TOP: was a black square peeking behind WhatsApp ---------- */
.scroll-to-top {
  background: var(--emerald) !important;
  border-radius: 50% !important;
  width: 46px !important; height: 46px !important;
  line-height: 46px !important;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  /* move it up so it never sits under the floating WhatsApp button */
  right: 26px !important; bottom: 96px !important;
}
.scroll-to-top:hover { background: var(--mint) !important; color: var(--ink) !important; }
@media only screen and (max-width: 767px) {
  /* on mobile the sticky bar + WA float area is busy — keep it clear */
  .scroll-to-top { bottom: 120px !important; right: 16px !important; }
}

/* ---------- HERO ---------- */
.main-slider .slide { position: relative; }
.main-slider .slide:before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(8,12,10,.86) 0%, rgba(8,12,10,.55) 42%, rgba(8,12,10,.12) 78%),
    linear-gradient(180deg, rgba(8,12,10,.20) 0%, rgba(8,12,10,.55) 100%);
}
.main-slider .slide .auto-container { position: relative; z-index: 2; }

.main-slider .content .title {
  display: inline-block;
  letter-spacing: 2.5px !important;
  text-transform: uppercase;
  font-weight: 600 !important;
  font-size: 13px !important;
  color: var(--mint) !important;
  background: rgba(53,227,160,.10);
  border: 1px solid rgba(53,227,160,.35);
  padding: 7px 16px; border-radius: 40px;
  margin-bottom: 22px !important;
}
.main-slider .content h2 {
  font-size: 66px !important;
  line-height: 1.04 !important;
  font-weight: 800 !important;
  letter-spacing: -1.5px;
  color: #fff !important;
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
  margin-bottom: 20px !important;
}
.main-slider .content .hero-sub {
  color: #dfe6e2 !important;
  font-size: 18px; line-height: 1.55;
  max-width: 540px; margin-bottom: 34px;
  font-weight: 400;
}
.main-slider .content .btn-box { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- BUTTONS ---------- */
.theme-btn { border-radius: 40px !important; font-weight: 700 !important; letter-spacing: .3px; }
.btn-style-one, .btn-style-two {
  background: var(--emerald) !important;
  color: #06231a !important;
  padding: 17px 38px !important;
  box-shadow: 0 12px 30px rgba(15,158,99,.34);
}
.btn-style-one:hover, .btn-style-two:hover {
  background: var(--mint) !important; color: #06231a !important;
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(53,227,160,.42);
}
/* Ghost/secondary button */
.btn-ghost {
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
  padding: 17px 34px !important;
  border: 1.5px solid rgba(255,255,255,.55) !important;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: #fff !important; color: var(--ink) !important; transform: translateY(-3px); }

/* ---------- SECTION HEADINGS ---------- */
.sec-title h2, .vehicle-section h2, .call-to-action-section .title-box h2,
.testimonial-section h2, .fleet-section h2 {
  font-weight: 800 !important; letter-spacing: -.8px;
}
.vehicle-section .title-box .title, .sec-title .title {
  color: var(--emerald) !important; font-weight: 700 !important;
  letter-spacing: 2px; text-transform: uppercase;
}

/* ---------- SERVICE CARDS ---------- */
.call-to-action-section .service-block-three .inner-box.card-box {
  background: #fff; border-radius: 18px; padding: 36px 26px !important;
  box-shadow: 0 12px 34px rgba(0,0,0,.10);
  border: 1px solid rgba(0,0,0,.05); height: 100%;
}
.call-to-action-section .service-block-three .inner-box.card-box:hover {
  transform: translateY(-10px); box-shadow: 0 28px 54px rgba(0,0,0,.20);
}
.call-to-action-section .service-block-three .inner-box.card-box h3 a { font-weight: 700; color: var(--ink); }
.call-to-action-section .service-block-three .inner-box.card-box .text {
  font-size: 13.5px; line-height: 1.65; color: var(--muted); margin: 12px 0 16px;
}
.call-to-action-section .service-block-three .inner-box.card-box .read-more { font-weight: 700; color: var(--emerald-dark); }

/* ---------- FLEET / TESTIMONIAL CARDS ---------- */
.fleet-block .inner-box, .project-block .inner-box {
  border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.fleet-block .inner-box:hover, .project-block .inner-box:hover {
  transform: translateY(-8px); box-shadow: 0 24px 48px rgba(0,0,0,.18);
}
.testimonial-section .testimonial-block .inner-box, .testimonial-block .inner-box {
  border-radius: 18px !important; box-shadow: 0 12px 34px rgba(0,0,0,.08);
}

/* ---------- CTA BAND ---------- */
.call-to-action-section-two, .subscribe-section, .contact-section .call-band {
  background: linear-gradient(120deg, var(--emerald-dark) 0%, var(--emerald) 55%, var(--mint) 130%) !important;
}

/* Generic green accents used across the theme */
.theme-color, .preloader { color: var(--emerald) !important; }

/* ---------- STICKY MOBILE ACTION BAR ---------- */
.hoopoe-mobile-bar { display: none; }
a[aria-label="Chat on WhatsApp"].hoopoe-wa-float { animation: hoopoePulse 2.4s infinite; }
@keyframes hoopoePulse {
  0%   { box-shadow: 0 4px 12px rgba(0,0,0,.3), 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 4px 12px rgba(0,0,0,.3), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 4px 12px rgba(0,0,0,.3), 0 0 0 0 rgba(37,211,102,0); }
}

@media only screen and (max-width: 767px) {
  .hoopoe-mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10000;
    box-shadow: 0 -4px 18px rgba(0,0,0,.20);
  }
  .hoopoe-mobile-bar a {
    flex: 1; text-align: center; padding: 12px 4px 10px;
    font-size: 12.5px; font-weight: 700; color: #fff; text-decoration: none;
    display: flex; flex-direction: column; align-items: center; gap: 3px; line-height: 1;
  }
  .hoopoe-mobile-bar .hmb-ico { font-size: 17px; }
  .hoopoe-mobile-bar .hmb-call { background: var(--ink); }
  .hoopoe-mobile-bar .hmb-wa   { background: #25D366; }
  .hoopoe-mobile-bar .hmb-book { background: var(--emerald); }
  .hoopoe-wa-float { display: none !important; }
  body { padding-bottom: 56px; }

  .main-slider .content h2 { font-size: 36px !important; letter-spacing: -1px; }
  .main-slider .content .hero-sub { font-size: 15.5px; }
  .main-slider .content .btn-box { gap: 10px; }
  .main-slider .slide:before {
    background: linear-gradient(180deg, rgba(8,12,10,.45) 0%, rgba(8,12,10,.72) 100%);
  }
  .btn-style-one, .btn-style-two, .btn-ghost { padding: 14px 26px !important; }
  /* sticky glass header can crowd small screens — keep it normal flow */
  .main-header .header-upper { position: relative; backdrop-filter: none; background: var(--ink) !important; }
}

/* ============================================================
   TRUST BAR (homepage, under hero) — 2026-07-18
   ============================================================ */
.hp-trustbar {
  background: var(--paper);
  border-bottom: 1px solid rgba(0,0,0,.05);
  padding: 26px 0;
}
.hp-trust-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
  margin: 0; padding: 0; list-style: none;
}
.hp-trust-list li {
  flex: 1 1 210px; max-width: 260px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 8px 16px; border-right: 1px solid rgba(0,0,0,.08);
}
.hp-trust-list li:last-child { border-right: none; }
.hp-trust-ic {
  font-size: 26px; color: var(--emerald); line-height: 1;
  font-family: 'Sora','Poppins',sans-serif; font-weight: 800; margin-bottom: 8px;
}
.hp-trust-t {
  font-family: 'Sora','Poppins',sans-serif; font-weight: 700;
  font-size: 15.5px; color: var(--ink);
}
.hp-trust-s { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.hp-trust-s a { color: var(--emerald-dark); font-weight: 600; text-decoration: underline; }
@media only screen and (max-width: 767px) {
  .hp-trust-list li { flex: 1 1 45%; border-right: none; border-bottom: 1px solid rgba(0,0,0,.06); padding-bottom: 14px; }
}

/* ============================================================
   PRICES PAGE — fixed-price display (Raj's real rates, 2026-07-18)
   ============================================================ */
.hp-price-intro {
  max-width: 760px; margin: 0 auto 46px; text-align: center;
  color: var(--muted); font-size: 16px; line-height: 1.7;
}
.hp-pricing { max-width: 940px; margin: 0 auto; }
.hp-price-card {
  background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.09); border: 1px solid rgba(0,0,0,.05);
  margin-bottom: 34px;
}
.hp-price-head {
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-soft) 100%);
  padding: 26px 32px; color: #fff;
}
.hp-price-head h3 {
  font-family: 'Sora','Poppins',sans-serif; font-weight: 800;
  font-size: 23px; color: #fff; margin: 0 0 4px;
}
.hp-price-head p { margin: 0; color: var(--mint); font-size: 14px; font-weight: 500; letter-spacing: .3px; }

.hp-table-scroll { overflow-x: auto; }
.hp-rate-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.hp-rate-table thead th {
  text-align: center; padding: 16px 14px; font-family: 'Sora','Poppins',sans-serif;
  font-weight: 700; font-size: 14px; color: var(--ink);
  background: var(--paper); border-bottom: 2px solid rgba(15,158,99,.25);
}
.hp-rate-table thead th:first-child { text-align: left; }
.hp-rate-table thead th span {
  display: block; font-family: 'Poppins',sans-serif; font-weight: 400;
  font-size: 11px; color: var(--muted); margin-top: 2px; text-transform: none; letter-spacing: 0;
}
.hp-rate-table tbody td {
  padding: 15px 14px; text-align: center; font-weight: 700; font-size: 16px;
  color: var(--emerald-dark); border-bottom: 1px solid rgba(0,0,0,.06);
}
.hp-rate-table tbody td:first-child {
  text-align: left; font-weight: 600; font-size: 14.5px; color: var(--ink);
}
.hp-rate-table tbody tr:hover td { background: rgba(53,227,160,.06); }
.hp-rate-table td.hp-dash { color: #c3ccc8; font-weight: 400; }

.hp-hourly-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 0;
}
.hp-hourly-box {
  padding: 34px 24px; text-align: center; border-right: 1px solid rgba(0,0,0,.06);
}
.hp-hourly-box:last-child { border-right: none; }
.hp-hourly-price {
  font-family: 'Sora','Poppins',sans-serif; font-weight: 800; font-size: 40px;
  color: var(--emerald); line-height: 1;
}
.hp-hourly-price span { font-size: 16px; font-weight: 600; color: var(--muted); }
.hp-hourly-box h4 {
  font-family: 'Sora','Poppins',sans-serif; font-weight: 700; font-size: 17px;
  margin: 14px 0 8px; color: var(--ink);
}
.hp-hourly-box p { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; }
.hp-hourly-feature { background: linear-gradient(160deg, rgba(15,158,99,.06), rgba(53,227,160,.04)); }

.hp-price-cta { text-align: center; padding: 12px 10px 6px; }
.hp-price-cta p { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.hp-price-cta .theme-btn { margin: 6px; }
.hp-wa-btn { background: #25D366 !important; border-color: #25D366 !important; color: #fff !important; }
.hp-wa-btn:hover { background: #1eb457 !important; color: #fff !important; }

/* Instant fare quote */
.hp-quote {
  background: #fff; border-radius: 18px; padding: 28px 28px 24px;
  box-shadow: 0 10px 40px rgba(13,20,17,.08); margin: 0 0 36px;
  border: 1px solid rgba(15,158,99,.12);
}
.hp-quote-head h3 {
  font-family: 'Sora','Poppins',sans-serif; font-weight: 700; font-size: 22px;
  margin: 0 0 6px; color: var(--ink);
}
.hp-quote-head p { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.hp-quote-grid {
  display: grid; grid-template-columns: 1.4fr 1.2fr .8fr; gap: 14px; margin-bottom: 18px;
}
.hp-quote-field span {
  display: block; font-size: 12px; font-weight: 600; letter-spacing: .4px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
}
.hp-quote-field select {
  width: 100%; height: 48px; border-radius: 12px; border: 1px solid rgba(0,0,0,.12);
  padding: 0 12px; background: #fff; font-size: 15px; color: var(--ink);
}
.hp-quote-result {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px;
  padding: 18px 20px; border-radius: 14px;
  background: linear-gradient(160deg, rgba(15,158,99,.08), rgba(53,227,160,.05));
}
.hp-quote-amount {
  font-family: 'Sora','Poppins',sans-serif; font-weight: 800; font-size: 42px;
  color: var(--emerald); line-height: 1;
}
.hp-quote-note { margin: 0; flex: 1; min-width: 180px; color: var(--muted); font-size: 13px; }
.hp-quote-unavailable { color: #b45309; font-size: 14px; margin: 8px 0 0; }
.hp-book-quote {
  margin-top: 18px; padding: 14px; border-radius: 12px;
  background: rgba(15,158,99,.08); border: 1px solid rgba(15,158,99,.15);
}
.hp-book-quote-amount {
  font-family: 'Sora','Poppins',sans-serif; font-weight: 800; font-size: 28px;
  color: var(--emerald); margin: 4px 0 8px;
}

@media only screen and (max-width: 767px) {
  .hp-hourly-grid { grid-template-columns: 1fr; }
  .hp-hourly-box { border-right: none; border-bottom: 1px solid rgba(0,0,0,.06); }
  .hp-hourly-box:last-child { border-bottom: none; }
  .hp-price-head { padding: 22px; }
  .hp-quote-grid { grid-template-columns: 1fr; }
  .hp-quote { padding: 22px 18px; }
  .hp-quote-amount { font-size: 34px; }
}
