/* =========================================================
   Haboub Al Rahbi Integrated Business SPC — Brand Stylesheet
   Auto service / maintenance palette: deep navy + amber-orange
   Loaded AFTER bootstrap.min.css and style.css so it wins.
   ========================================================= */

:root {
  --brand-navy: #0b2c4d;
  --brand-navy-2: #123a63;
  --brand-navy-dark: #071b30;
  --brand-accent: #ff7a1a;
  --brand-accent-dark: #e0620a;
  --brand-light: #f6f8fb;
  --brand-gray: #5b6b7b;
}

/* ---------- Bootstrap utility overrides ---------- */
.btn-primary {
  background-color: var(--brand-accent) !important;
  border-color: var(--brand-accent) !important;
  color: #fff !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled):active {
  background-color: var(--brand-accent-dark) !important;
  border-color: var(--brand-accent-dark) !important;
}
.btn-outline-primary {
  color: var(--brand-accent) !important;
  border-color: var(--brand-accent) !important;
}
.btn-outline-primary:hover {
  background-color: var(--brand-accent) !important;
  color: #fff !important;
}
.btn-navy {
  background-color: var(--brand-navy) !important;
  border-color: var(--brand-navy) !important;
  color: #fff !important;
}
.btn-navy:hover {
  background-color: var(--brand-navy-2) !important;
  border-color: var(--brand-navy-2) !important;
  color: #fff !important;
}
.text-primary { color: var(--brand-accent) !important; }
.bg-primary { background-color: var(--brand-accent) !important; }
.border-primary { border-color: var(--brand-accent) !important; }
.text-navy { color: var(--brand-navy) !important; }
.bg-navy { background-color: var(--brand-navy) !important; }

::selection { background: var(--brand-accent); color: #fff; }

/* Footer + dark section rebrand (was pure black / slate) */
.site-footer { background: var(--brand-navy-dark) !important; }
.section-2 { background: var(--brand-navy) !important; }

/* ---------- Logo ---------- */
.site-navbar .site-logo a.brand-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  line-height: 1.1;
}
.site-navbar .site-logo .brand-logo-badge {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--brand-accent);
}
.site-navbar .site-logo .brand-logo-text {
  display: flex;
  flex-direction: column;
}
.site-navbar .site-logo .brand-logo-text strong {
  font-size: 1.05rem;
  letter-spacing: .03em;
  color: #fff;
  font-weight: 700;
}
.site-navbar .site-logo .brand-logo-text span {
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-accent);
  font-weight: 700;
}
.sticky-wrapper.is-sticky .site-navbar .brand-logo-text strong { color: var(--brand-navy); }
@media (max-width: 991.98px) {
  .site-navbar .site-logo .brand-logo-badge { width: 34px; height: 34px; font-size: 1rem; }
  .site-navbar .site-logo .brand-logo-text strong { font-size: .9rem; }
}

/* ---------- Hero video (home only) ---------- */
.hero-video-section {
  position: relative;
  overflow: hidden;
  background-color: var(--brand-navy-dark);
}
.hero-video-section .hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero-video-section .hero-media video,
.hero-video-section .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video-section .hero-media:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 27, 48, .78) 0%, rgba(11, 44, 77, .72) 45%, rgba(7, 27, 48, .9) 100%);
}
.hero-video-section > .container { position: relative; z-index: 2; }
.hero-video-section .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--brand-accent);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero-video-section .hero-eyebrow:before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--brand-accent);
  display: inline-block;
}
.hero-video-section h1 {
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.hero-video-section p.lead {
  color: rgba(255,255,255,.85);
  font-size: 1.15rem;
  max-width: 560px;
}
@media (max-width: 767.98px) {
  .hero-video-section h1 { font-size: 2rem; }
}
.hero-cta { margin-top: 2rem; }
.hero-cta .btn { padding: .9rem 1.8rem; font-weight: 700; border-radius: 4px; margin-right: .75rem; margin-bottom: .75rem; }

/* Quick info / trust strip overlapping hero bottom */
.quick-info-strip {
  position: relative;
  z-index: 3;
  margin-top: -60px;
}
.quick-info-strip .quick-info-card {
  background: #fff;
  box-shadow: 0 15px 40px -10px rgba(7, 27, 48, .25);
  border-radius: 6px;
  padding: 2rem;
}
.quick-info-item { display: flex; align-items: center; gap: 1rem; }
.quick-info-item .qi-icon {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.quick-info-item strong { display: block; color: var(--brand-navy); font-size: 1rem; }
.quick-info-item span { color: var(--brand-gray); font-size: .9rem; }

/* ---------- Section heading helper ---------- */
.section-eyebrow {
  display: inline-block;
  color: var(--brand-accent);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.section-heading h2 { color: var(--brand-navy); font-weight: 700; }

/* ---------- Service cards (icon style) ---------- */
.svc-card {
  background: #fff;
  border-radius: 6px;
  padding: 2.2rem 1.6rem;
  text-align: center;
  height: 100%;
  box-shadow: 0 10px 30px -15px rgba(7,27,48,.15);
  transition: transform .25s ease, box-shadow .25s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 18px 35px -12px rgba(7,27,48,.25); }
.svc-card .svc-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid var(--brand-accent);
  color: var(--brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  margin: 0 auto 1.2rem auto;
}
.svc-card h3 { font-size: 1.1rem; color: var(--brand-navy); margin-bottom: .6rem; font-weight: 700; }
.svc-card p { color: var(--brand-gray); font-size: .92rem; margin-bottom: 0; }

/* Services page: photo + icon card */
.svc-photo-card {
  position: relative;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 10px 30px -15px rgba(7,27,48,.18);
  height: 100%;
}
.svc-photo-card .svc-photo { position: relative; overflow: hidden; border-radius: 6px 6px 0 0; }
.svc-photo-card .svc-photo img { width: 100%; height: 210px; object-fit: cover; display: block; transition: transform .4s ease; }
.svc-photo-card:hover .svc-photo img { transform: scale(1.06); }
.svc-photo-card .svc-photo-icon {
  position: absolute;
  top: 184px;
  left: 24px;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.svc-photo-card .svc-photo-body { padding: 2.2rem 1.5rem 1.6rem 1.5rem; }
.svc-photo-card h3 { color: var(--brand-navy); font-size: 1.15rem; font-weight: 700; margin-bottom: .6rem; }
.svc-photo-card p { color: var(--brand-gray); font-size: .92rem; margin-bottom: 0; }

/* ---------- Why choose us ---------- */
.why-us-item { display: flex; gap: 1rem; margin-bottom: 1.8rem; }
.why-us-item .wu-icon {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,122,26,.12);
  color: var(--brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.why-us-item h3 { font-size: 1.02rem; color: var(--brand-navy); font-weight: 700; margin-bottom: .3rem; }
.why-us-item p { color: var(--brand-gray); font-size: .9rem; margin-bottom: 0; }

/* ---------- Gallery ---------- */
.gallery-item { display: block; overflow: hidden; border-radius: 6px; position: relative; margin-bottom: 30px; }
.gallery-item img { width: 100%; height: 260px; object-fit: cover; display: block; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .gallery-caption {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(180deg, rgba(7,27,48,0) 0%, rgba(7,27,48,.85) 100%);
  color: #fff; padding: 40px 18px 14px 18px; font-size: .92rem; font-weight: 600;
}

/* ---------- Slogan / quote banner ---------- */
.slogan-banner {
  background: var(--brand-navy);
  background-image: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-dark) 100%);
  padding: 4.5em 0;
  text-align: center;
}
.slogan-banner p {
  color: #fff;
  font-size: 1.7rem;
  font-weight: 700;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.5;
}
.slogan-banner p:before {
  content: "\f10d";
  font-family: "icomoon";
  display: block;
  font-size: 1.6rem;
  color: var(--brand-accent);
  margin-bottom: 1rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--brand-accent);
  padding: 3em 0;
}
.cta-band h2 { color: #fff; font-weight: 700; margin-bottom: .3rem; }
.cta-band p { color: rgba(255,255,255,.9); margin-bottom: 0; }
.cta-band .btn-light { font-weight: 700; }

/* ---------- Contact / footer icons ---------- */
.contact-info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-list .ci-icon {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand-navy);
  display: flex; align-items: center; justify-content: center;
}
.site-footer .brand-logo-text strong { color: #fff; }
.site-footer .footer-about-badge {
  width: 46px; height:46px; border-radius:50%;
  border: 2px solid var(--brand-accent); color: var(--brand-accent);
  display:flex; align-items:center; justify-content:center; font-size:1.2rem; margin-bottom: 1rem;
}
.footer-social a {
  display: inline-flex;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  align-items: center; justify-content: center;
  margin-right: .5rem;
  color: #fff !important;
}
.footer-social a:hover { background: var(--brand-accent); }

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  z-index: 2000;
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff !important; }

/* ---------- Process steps ---------- */
.how-it-works .step .number { border-color: var(--brand-accent) !important; color: var(--brand-accent) !important; }
.how-it-works .step .number > span { color: var(--brand-accent) !important; }
.how-it-works .step:after { background: var(--brand-accent) !important; }

/* ---------- Team-at-work cards (About) ---------- */
.team-work-card { text-align: center; }
.team-work-card img { width: 100%; height: 260px; object-fit: cover; border-radius: 6px; margin-bottom: 1rem; }
.team-work-card h3 { font-size: 1rem; color: var(--brand-navy); font-weight: 700; }

/* Inner page hero tweak: darker gradient instead of flat overlay for brand feel */
.ftco-cover-1.brand-overlay:before {
  background: linear-gradient(180deg, rgba(7,27,48,.72) 0%, rgba(11,44,77,.68) 100%) !important;
  opacity: 1 !important;
}

/* Map */
.map-embed { border: 0; width: 100%; height: 340px; border-radius: 6px; }

/* Category pill */
.tag-pill {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand-navy);
  border-radius: 30px;
  padding: .25rem .85rem;
  font-size: .78rem;
  font-weight: 700;
  margin: 0 .3rem .5rem 0;
}
