/* ==========================================================================
   HYDROSEAL WATERPROOFING UAE - PREMIUM DESIGN SYSTEM
   Brand Colors:
   - Primary Green: #2E9D47 / #238636 (droplet brand color)
   - Primary Dark Green: #1E6B30
   - Accent Mint: #E8F5E9
   - Executive Slate / Midnight: #0B132B / #1C2541 / #0F172A
   - Crisp White & Light Gray: #FFFFFF / #F8FAFC
   - Alert Red & Amber: #DC2626 / #EA580C / #F59E0B
   ========================================================================== */

:root {
  --hs-primary: #2E9D47;
  --hs-primary-dark: #1E6B30;
  --hs-primary-light: #48BB65;
  --hs-primary-soft: #E8F7EC;
  --hs-obsidian: #0A1128;
  --hs-obsidian-surface: #0E1A3C;
  --hs-obsidian-card: #14224A;
  --hs-emerald: #059669;
  --hs-emerald-dark: #047857;
  --hs-emerald-light: #10B981;
  --hs-emerald-soft: #ECFDF5;
  --hs-gold: #C5A059;
  --hs-gold-light: #E2CFA2;
  --hs-gold-dark: #9A7734;
  --hs-gold-soft: #FDF9F0;
  --hs-gold-glow: rgba(197, 160, 89, 0.4);
  --hs-dark: #0F172A;
  --hs-dark-card: #1E293B;
  --hs-gray-50: #F8FAFC;
  --hs-gray-100: #F1F5F9;
  --hs-gray-200: #E2E8F0;
  --hs-gray-400: #94A3B8;
  --hs-gray-600: #475569;
  --hs-gray-800: #1E293B;
  --hs-accent-amber: #F59E0B;
  --hs-emergency-red: #DC2626;
  --hs-emergency-bg: #FEF2F2;
  --hs-font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --hs-font-heading: 'Plus Jakarta Sans', var(--hs-font-main);
  --hs-shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --hs-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --hs-shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);
  --hs-shadow-luxury: 0 20px 48px rgba(10, 17, 40, 0.18);
  --hs-shadow-glow: 0 0 24px rgba(46, 157, 71, 0.35);
  --hs-radius: 12px;
  --hs-radius-lg: 20px;
}

html {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--hs-font-main);
  color: var(--hs-dark);
  background-color: #FFFFFF;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 75px; /* for sticky mobile footer on small screens */
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

main {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: var(--hs-font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--hs-dark);
}

/* --------------------------------------------------------------------------
   TOP EMERGENCY ANNOUNCEMENT BAR
   -------------------------------------------------------------------------- */
.top-emergency-bar {
  background: linear-gradient(90deg, #991B1B 0%, #DC2626 50%, #B91C1C 100%);
  color: #FFFFFF;
  font-size: 0.88rem;
  padding: 7px 0;
  font-weight: 600;
  line-height: 1.3;
}

.top-emergency-bar .emergency-action-link {
  color: #FEF08A;
  text-decoration: underline;
  margin-left: 8px;
  font-size: 0.86rem;
  transition: color 0.2s ease;
}

.top-emergency-bar .emergency-action-link:hover {
  color: #FFFFFF;
}

.emergency-bar-mobile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  max-width: 100%;
  margin-left: 0 !important;
  text-decoration: none !important;
  color: #FFFFFF !important;
  font-size: 0.76rem;
  line-height: 1.2;
  white-space: nowrap;
}

.emergency-msg-mobile {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #FFFFFF;
}

.emergency-msg-mobile strong {
  color: #FFFFFF;
}

.emergency-badge-mobile {
  background: #FEF08A;
  color: #7F1D1D;
  font-weight: 800;
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: 9999px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

.emergency-bar-mobile-link:hover .emergency-badge-mobile,
.emergency-bar-mobile-link:active .emergency-badge-mobile {
  background: #FFFFFF;
  color: #B91C1C;
  transform: scale(1.04);
}

@media (max-width: 360px) {
  .top-emergency-bar {
    padding: 6px 0;
  }
  .emergency-bar-mobile-link {
    font-size: 0.72rem;
    gap: 5px;
  }
  .emergency-badge-mobile {
    font-size: 0.64rem;
    padding: 2px 6px;
  }
}

.pulse-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  background-color: #22C55E;
  border-radius: 50%;
  margin-right: 6px;
  animation: pulseAnimation 1.6s infinite ease-in-out;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* --------------------------------------------------------------------------
   STICKY NAVIGATION & HEADER (Rock-Solid Mobile & Desktop Sticky Positioning)
   -------------------------------------------------------------------------- */
.site-header-sticky-wrapper {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1045;
  width: 100%;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.site-navbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 4px 20px rgba(10, 17, 40, 0.05);
  padding: 10px 0;
  width: 100%;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1040;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.navbar-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  flex-shrink: 1;
}

.navbar-brand picture {
  display: flex;
  align-items: center;
  min-width: 0;
  flex-shrink: 1;
  line-height: 0;
}

.navbar-brand img,
.site-header-logo {
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  vertical-align: middle;
  display: block;
}

.navbar-nav {
  white-space: nowrap;
}

.nav-link {
  font-weight: 600;
  color: #334155 !important;
  padding: 7px 12px !important;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  white-space: nowrap;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover {
  color: var(--hs-primary) !important;
  background-color: #F8FAFC;
}

.nav-link.active {
  color: var(--hs-primary-dark) !important;
  background-color: var(--hs-primary-soft);
}

.nav-urgent-pill {
  color: #DC2626 !important;
  font-weight: 700 !important;
  background-color: #FEF2F2 !important;
  border: 1px solid #FECACA;
  padding: 5px 12px !important;
  border-radius: 50px !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-urgent-pill:hover {
  background-color: #FEE2E2 !important;
  border-color: #FCA5A5;
}

.badge-urgent-live {
  background-color: #DC2626;
  color: #FFFFFF;
  font-size: 0.70rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

/* Header Action Buttons (Modern, robust, single-line pills) */
.btn-header-action {
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  text-decoration: none;
  border: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-header-call {
  background-color: #F8FAFC;
  color: #0F172A;
  border: 1.5px solid #E2E8F0;
}

.btn-header-call i {
  color: #16A34A;
  font-size: 0.95rem;
}

.btn-header-call:hover {
  background-color: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-header-call:hover i {
  color: #4ADE80;
}

.btn-header-wa {
  background-color: #25D366;
  color: #FFFFFF;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.25);
}

.btn-header-wa i {
  font-size: 1.05rem;
}

.btn-header-wa:hover {
  background-color: #1EBE5D;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.btn-header-survey {
  background: linear-gradient(135deg, #2E9D47 0%, #1E6B30 100%);
  color: #FFFFFF;
  box-shadow: 0 3px 10px rgba(46, 157, 71, 0.25);
}

.btn-header-survey i {
  font-size: 0.95rem;
}

.btn-header-survey:hover {
  background: linear-gradient(135deg, #27883d 0%, #175525 100%);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(46, 157, 71, 0.38);
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero-wrapper {
  position: relative;
  background: linear-gradient(135deg, #0B132B 0%, #172554 50%, #0F172A 100%);
  color: #FFFFFF;
  padding: 60px 0 80px;
  overflow: hidden;
}

.hero-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(46, 157, 71, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge-response {
  display: inline-flex;
  align-items: center;
  background: rgba(46, 157, 71, 0.2);
  border: 1px solid rgba(72, 187, 101, 0.5);
  color: #86EFAC;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  white-space: nowrap !important;
  max-width: 100%;
}

.hero-badge-response span:not(.pulse-dot) {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .hero-badge-response {
    font-size: 0.72rem;
    padding: 5px 12px;
    margin-bottom: 16px;
    gap: 6px;
    letter-spacing: 0.01em;
  }
}

@media (max-width: 360px) {
  .hero-badge-response {
    font-size: 0.66rem;
    padding: 4px 9px;
  }
}

.hero-title {
  font-size: 2.7rem;
  line-height: 1.15;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.hero-title span {
  color: #4ADE80;
  position: relative;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #CBD5E1;
  margin-bottom: 28px;
  max-width: 620px;
}

/* Hero Primary Action CTAs (Side-by-side on all viewports) */
.hero-actions-row {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  width: 100%;
}

.btn-hero-action {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  min-width: 0;
}

.btn-hero-action i {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.btn-hero-action .btn-action-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  line-height: 1.25;
}

.btn-hero-action .btn-action-label {
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-hero-action .btn-action-val {
  font-size: 0.80rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-hero-call {
  background-color: #F8FAFC;
  color: #0F172A;
  border: 1.5px solid #E2E8F0;
}

.btn-hero-call .btn-action-val {
  color: #475569;
}

.btn-hero-call:hover {
  background-color: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}

.btn-hero-call:hover .btn-action-val {
  color: #CBD5E1;
}

.btn-hero-call:hover i {
  color: #4ADE80 !important;
}

.btn-hero-wa {
  background: linear-gradient(135deg, #25D366 0%, #1EBE5D 100%);
  color: #FFFFFF;
  border: 1.5px solid #16A34A;
}

.btn-hero-wa .btn-action-val {
  color: rgba(255, 255, 255, 0.9);
}

.btn-hero-wa:hover {
  background: linear-gradient(135deg, #1EBE5D 0%, #16A34A 100%);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

@media (max-width: 768px) {
  .hero-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
  }

  .btn-hero-action {
    padding: 10px 8px;
    gap: 8px;
    border-radius: 12px;
  }

  .btn-hero-action i {
    font-size: 1.25rem;
  }

  .btn-hero-action .btn-action-label {
    font-size: 0.82rem;
  }

  .btn-hero-action .btn-action-val {
    font-size: 0.68rem;
  }
}

@media (max-width: 360px) {
  .hero-actions-row {
    gap: 6px;
  }

  .btn-hero-action {
    padding: 8px 5px;
    gap: 5px;
  }

  .btn-hero-action i {
    font-size: 1.1rem;
  }

  .btn-hero-action .btn-action-label {
    font-size: 0.76rem;
  }

  .btn-hero-action .btn-action-val {
    font-size: 0.60rem;
  }
}

/* Hero Trust Guarantee Strip (Adaptive 2-Line Layout) */
.hero-trust-strip {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
  width: 100%;
}

.trust-strip-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.trust-strip-row.row-top {
  justify-content: flex-start;
}

.trust-strip-row.row-bottom {
  justify-content: flex-start;
}

.trust-strip-row .trust-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #F1F5F9;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.trust-strip-row .trust-item i {
  font-size: 0.95rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .hero-trust-strip {
    margin-top: 16px;
    gap: 6px;
  }

  .trust-strip-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    width: 100%;
  }

  .trust-strip-row .trust-item {
    font-size: 0.72rem;
    padding: 5px 9px;
    gap: 5px;
    border-radius: 6px;
    flex: 0 1 auto;
    justify-content: center;
    white-space: nowrap;
    text-align: center;
  }

  .trust-strip-row .trust-item i {
    font-size: 0.82rem;
  }
}

@media (max-width: 360px) {
  .trust-strip-row .trust-item {
    font-size: 0.65rem;
    padding: 4px 7px;
    gap: 4px;
  }

  .trust-strip-row .trust-item i {
    font-size: 0.74rem;
  }
}

/* Fallback for other pages using hero-trust-pills */
.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding-left: 0;
  list-style: none;
}

.hero-trust-pills li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #F1F5F9;
}

.hero-trust-pills i {
  color: #4ADE80;
}

/* Glassmorphism Lead Card */
.lead-card-hero {
  background: #FFFFFF;
  border-radius: var(--hs-radius-lg);
  padding: 30px;
  color: var(--hs-dark);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  position: relative;
  border-top: 5px solid var(--hs-primary);
}

.lead-card-hero h3 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.lead-card-hero p.sub {
  color: var(--hs-gray-600);
  font-size: 0.85rem;
  margin-bottom: 14px;
  line-height: 1.35;
}

.form-control, .form-select {
  border-radius: 8px;
  border: 1px solid var(--hs-gray-200);
  padding: 10px 14px;
  font-size: 0.95rem;
  color: var(--hs-dark);
  transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--hs-primary);
  box-shadow: 0 0 0 3px rgba(46, 157, 71, 0.15);
}

.phone-input-group {
  display: flex;
  align-items: center;
  border: 1px solid var(--hs-gray-200);
  border-radius: 8px;
  overflow: hidden;
}

.phone-input-prefix {
  background-color: #F8FAFC;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 0.92rem;
  border-right: 1px solid var(--hs-gray-200);
  color: var(--hs-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* UAE Flag Graphic (Matches exact UAE proportions) */
.uae-flag {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 14px;
  min-width: 22px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.22);
  background: linear-gradient(to bottom, #009A49 0% 33.33%, #FFFFFF 33.33% 66.66%, #000000 66.66% 100%);
  vertical-align: middle;
}

.uae-flag::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 6px;
  background: #FF0000;
}

/* High-Converting Animated Form Trust Badges */
.form-trust-guarantees {
  margin-top: 14px;
  border-top: 1px dashed var(--hs-gray-200);
  padding-top: 12px;
}

.live-dispatch-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #15803D;
  margin-bottom: 8px;
}

.pulse-dot-green {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: greenPulse 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes greenPulse {
  to {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
}

.trust-pill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
}

.trust-pill-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 6px 4px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  box-sizing: border-box;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.trust-pill-item span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trust-pill-item:hover {
  background: #FFFFFF;
  border-color: #2E9D47;
  transform: translateY(-1px);
}

/* Mobile Responsive Optimization: Prevent trust pills from overflowing form container */
@media (max-width: 576px) {
  .lead-card-hero {
    padding: 20px 16px;
  }
  
  .trust-pill-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  
  .trust-pill-item {
    padding: 7px 6px;
    font-size: 0.75rem;
  }
  
  /* Highlight "100% Free Survey" centered across full row on mobile */
  .trust-pill-item:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 360px) {
  .trust-pill-item {
    font-size: 0.70rem;
    padding: 6px 3px;
    gap: 2px;
  }
}

/* Icon Animations */
.anim-flash {
  animation: flashAnim 1.8s infinite ease-in-out;
  display: inline-block;
}

@keyframes flashAnim {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(234, 179, 8, 0)); }
  50% { transform: scale(1.22); filter: drop-shadow(0 0 4px rgba(234, 179, 8, 0.8)); }
}

.anim-shield {
  animation: shieldPulse 2.2s infinite ease-in-out;
  display: inline-block;
}

@keyframes shieldPulse {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-6deg) scale(1.1); }
  75% { transform: rotate(6deg) scale(1.1); }
}

.anim-check {
  animation: checkPop 2s infinite ease-in-out;
  display: inline-block;
}

@keyframes checkPop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); color: #16A34A; }
}

.trust-guarantee-note {
  font-size: 0.75rem;
  color: #64748B;
  text-align: center;
  margin-top: 6px;
}

.phone-input-group input {
  border: none;
  box-shadow: none;
  padding: 10px 14px;
  flex: 1;
}

.phone-input-group:focus-within {
  border-color: var(--hs-primary);
  box-shadow: 0 0 0 3px rgba(46, 157, 71, 0.15);
}

.btn-primary-action {
  background: linear-gradient(135deg, var(--hs-primary) 0%, var(--hs-primary-dark) 100%);
  color: #FFFFFF;
  font-weight: 700;
  border-radius: 8px;
  padding: 12px 24px;
  border: none;
  width: 100%;
  font-size: 1.05rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(46, 157, 71, 0.35);
}

.btn-primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(46, 157, 71, 0.45);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   METRICS & TRUST STRIP
   -------------------------------------------------------------------------- */
.trust-strip-section {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--hs-gray-200);
  padding: 24px 0;
}

.metric-box {
  display: flex;
  align-items: center;
  gap: 14px;
}

.metric-box i {
  font-size: 2.2rem;
  color: var(--hs-primary);
}

.metric-number {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
  color: var(--hs-dark);
  margin-bottom: 3px;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--hs-gray-600);
  font-weight: 600;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   SERVICE CARDS
   -------------------------------------------------------------------------- */
.service-card-premium {
  background: #FFFFFF;
  border: 1px solid var(--hs-gray-200);
  border-radius: var(--hs-radius);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card-premium:hover {
  transform: translateY(-6px);
  box-shadow: var(--hs-shadow-lg);
  border-color: rgba(46, 157, 71, 0.4);
}

.service-card-img-wrapper {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.service-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card-premium:hover .service-card-img-wrapper img {
  transform: scale(1.06);
}

.service-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #F8FAFC;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--hs-dark);
}

.service-card-body p {
  font-size: 0.92rem;
  color: var(--hs-gray-600);
  flex: 1;
  margin-bottom: 18px;
}

.service-card-benefits {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.service-card-benefits li {
  font-size: 0.86rem;
  color: var(--hs-gray-800);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card-benefits i {
  color: var(--hs-primary);
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   INTERACTIVE BEFORE / AFTER SLIDER
   -------------------------------------------------------------------------- */
.ba-slider-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--hs-radius-lg);
  box-shadow: var(--hs-shadow-lg);
  user-select: none;
  border: 4px solid #FFFFFF;
}

.ba-slider-container img {
  width: 100%;
  height: auto;
  display: block;
}

.ba-label-before, .ba-label-after {
  position: absolute;
  bottom: 20px;
  padding: 6px 14px;
  background: rgba(15, 23, 42, 0.8);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  z-index: 5;
}

.ba-label-before { left: 20px; background: rgba(220, 38, 38, 0.85); }
.ba-label-after { right: 20px; background: rgba(46, 157, 71, 0.85); }

/* --------------------------------------------------------------------------
   INTERACTIVE ESTIMATE / SCOPE CALCULATOR WIDGET
   -------------------------------------------------------------------------- */
.calculator-card {
  background: #FFFFFF;
  border: 2px solid var(--hs-primary-soft);
  border-radius: var(--hs-radius-lg);
  box-shadow: var(--hs-shadow-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.calculator-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--hs-gray-200);
  padding-bottom: 16px;
}

.calc-step-pill {
  background: var(--hs-primary-soft);
  color: var(--hs-primary-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 50px;
}

.calc-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.calc-option-label {
  border: 2px solid var(--hs-gray-200);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.calc-option-label i {
  font-size: 1.5rem;
  color: var(--hs-gray-600);
}

.calc-option-radio:checked + .calc-option-label {
  border-color: var(--hs-primary);
  background-color: var(--hs-primary-soft);
  color: var(--hs-primary-dark);
}

.calc-option-radio:checked + .calc-option-label i {
  color: var(--hs-primary);
}

.calc-option-radio {
  display: none;
}

.estimate-reveal-box {
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
  border: 2px dashed var(--hs-primary);
  border-radius: var(--hs-radius);
  padding: 24px;
  text-align: center;
  margin-top: 20px;
  animation: fadeIn 0.4s ease;
}

.estimate-price-tag {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--hs-primary-dark);
  margin: 10px 0;
}

/* --------------------------------------------------------------------------
   EMERGENCY URGENT PAGE STYLING (/urgent)
   -------------------------------------------------------------------------- */
.urgent-hero {
  background: linear-gradient(135deg, #450A0A 0%, #7F1D1D 50%, #991B1B 100%);
  color: #FFFFFF;
  padding: 60px 0 80px;
  position: relative;
}

.urgent-badge {
  background-color: #EF4444;
  color: #FFFFFF;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.6);
  margin-bottom: 20px;
}

.btn-emergency-call {
  background: #FFFFFF;
  color: #B91C1C !important;
  font-size: 1.25rem;
  font-weight: 800;
  padding: 16px 28px;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.btn-emergency-call:hover {
  transform: scale(1.04);
  background: #FEF2F2;
}

.btn-emergency-wa {
  background: #25D366;
  color: #FFFFFF !important;
  font-size: 1.25rem;
  font-weight: 800;
  padding: 16px 28px;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.btn-emergency-wa:hover {
  transform: scale(1.04);
  background: #1EB856;
}

/* --------------------------------------------------------------------------
   EMIRATES COVERAGE GRID
   -------------------------------------------------------------------------- */
.emirate-card {
  background: #FFFFFF;
  border: 1px solid var(--hs-gray-200);
  border-radius: var(--hs-radius);
  padding: 20px;
  transition: all 0.25s ease;
  height: 100%;
}

.emirate-card:hover {
  border-color: var(--hs-primary);
  box-shadow: var(--hs-shadow-md);
  transform: translateY(-4px);
}

.emirate-response-badge {
  background-color: var(--hs-primary-soft);
  color: var(--hs-primary-dark);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 50px;
}

/* --------------------------------------------------------------------------
   TESTIMONIALS & REVIEWS
   -------------------------------------------------------------------------- */
.testimonial-card-rich {
  background: #FFFFFF;
  border: 1px solid var(--hs-gray-200);
  border-radius: 16px;
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card-rich:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 1.1rem;
}

.google-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  white-space: nowrap;
}

.google-verified-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
  font-style: italic;
  flex: 1;
  margin-top: 14px;
  margin-bottom: 18px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.avatar-emerald { background: #ECFDF5; color: #047857; }
.avatar-blue    { background: #EFF6FF; color: #1D4ED8; }
.avatar-amber   { background: #FEF3C7; color: #B45309; }
.avatar-purple  { background: #FAF5FF; color: #7E22CE; }
.avatar-rose    { background: #FFF1F2; color: #BE123C; }
.avatar-teal    { background: #F0FDFA; color: #0F766E; }

/* REVIEWS SLIDER CAROUSEL TRACK & CONTROLS */
.reviews-slider-outer {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 0 16px;
  cursor: grab;
}

.reviews-slider-outer:active {
  cursor: grabbing;
}

.reviews-slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.review-slide-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 0;
  display: flex;
}

@media (max-width: 991px) {
  .review-slide-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 640px) {
  .review-slide-card {
    flex: 0 0 100%;
  }
}

.reviews-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  color: #0F172A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
}

.reviews-nav-btn:hover {
  background: #059669;
  color: #FFFFFF;
  border-color: #059669;
  transform: scale(1.05);
}

.reviews-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.reviews-dot {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #94A3B8;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.reviews-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
}

.reviews-dot.active {
  background: #059669;
  width: 28px;
  border-radius: 10px;
}

.reviews-timer-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: #1E293B;
  background: #F1F5F9;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   STICKY MOBILE CONVERSION BAR
   -------------------------------------------------------------------------- */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  display: flex;
  z-index: 1050;
  border-top: 1px solid var(--hs-gray-200);
}

@media (min-width: 992px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.mobile-sticky-bar a, .mobile-sticky-bar button {
  flex: 1;
  text-align: center;
  padding: 12px 6px;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  border: none;
  background: transparent;
}

.mobile-sticky-bar a.call {
  background-color: var(--hs-dark);
  color: #FFFFFF;
}

.mobile-sticky-bar a.whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
}

.mobile-sticky-bar button.survey {
  background-color: var(--hs-primary);
  color: #FFFFFF;
}

.mobile-sticky-bar i {
  font-size: 1.15rem;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer-rich {
  background-color: #0A0F1D;
  color: #94A3B8;
  padding: 60px 0 30px;
  font-size: 0.92rem;
}

.site-footer-rich h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.site-footer-rich a {
  color: #CBD5E1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer-rich .text-secondary {
  color: #94A3B8 !important;
}

.site-footer-rich a.text-secondary {
  color: #CBD5E1 !important;
}

.site-footer-rich a.text-secondary:hover {
  color: #4ADE80 !important;
}

.site-footer-rich a:hover {
  color: #4ADE80;
}

/* WCAG AA Compliant High-Contrast Badges */
.badge.bg-success-subtle,
.badge.bg-success-subtle.text-success,
.bg-success-subtle .text-success {
  color: #0F5132 !important;
  background-color: #D1E7DD !important;
}

.badge.bg-danger-subtle,
.badge.bg-danger-subtle.text-danger,
.bg-danger-subtle .text-danger {
  color: #842029 !important;
  background-color: #F8D7DA !important;
}

.badge.bg-primary-subtle,
.badge.bg-primary-subtle.text-primary,
.bg-primary-subtle .text-primary {
  color: #084298 !important;
  background-color: #CFE2FF !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 24px;
  font-size: 0.85rem;
}

/* Animation helpers */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   4-STEP PROCESS CIRCLE & ICON STYLES
   -------------------------------------------------------------------------- */
.process-circle-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 18px;
}

.process-icon-circle {
  width: 66px;
  height: 66px;
  min-width: 66px;
  min-height: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E8F7EC 0%, #D1F2D9 100%);
  color: #1E6B30;
  border: 2px solid #86EFAC;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 14px rgba(46, 157, 71, 0.15);
  transition: all 0.3s ease;
  margin: 0 auto;
}

.process-step-pill {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #0F172A;
  color: #FFFFFF;
  font-size: 0.80rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.process-card {
  transition: all 0.3s ease;
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hs-shadow-md);
}

.process-card:hover .process-icon-circle {
  background: linear-gradient(135deg, #2E9D47 0%, #1E6B30 100%);
  color: #FFFFFF;
  border-color: #2E9D47;
  transform: scale(1.05);
  box-shadow: 0 8px 22px rgba(46, 157, 71, 0.35);
}

/* ==========================================================================
   MOBILE-ONLY REFINEMENTS (Locked Desktop: Scoped strictly to screens < 1200px)
   ========================================================================== */
@media (max-width: 1199.98px) {
  .site-header-sticky-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1045;
    width: 100%;
  }

  .site-navbar {
    padding: 8px 0;
  }
  
  .site-navbar .navbar {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  .site-navbar .navbar-brand {
    order: 1;
    margin-right: auto !important;
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    flex-shrink: 1 !important;
    padding: 0 !important;
  }

  .site-navbar .navbar-brand picture {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    flex-shrink: 1 !important;
    line-height: 0 !important;
  }

  .site-navbar .navbar-brand img,
  .site-header-logo {
    display: block !important;
    height: 38px !important;
    width: auto !important;
    max-width: 175px !important;
    object-fit: contain !important;
    flex-shrink: 1 !important;
  }
  
  /* Ensure header quick action controls stay pinned on the right of the same top row */
  .mobile-header-controls {
    order: 2;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    flex-shrink: 0 !important;
    margin-left: 0 !important;
  }
  
  .btn-mobile-header {
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
  }
  
  .btn-mobile-call {
    padding: 0 12px;
    border-radius: 50px;
    background-color: #F8FAFC;
    color: #0F172A;
    border: 1.5px solid #E2E8F0;
    font-size: 0.82rem;
    font-weight: 700;
    gap: 5px;
  }
  
  .btn-mobile-call i {
    color: #16A34A;
    font-size: 0.92rem;
  }
  
  .btn-mobile-call:active {
    background-color: #E2E8F0;
  }
  
  .btn-mobile-wa {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    background-color: #25D366;
    color: #FFFFFF;
    font-size: 1.15rem;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
  }
  
  .btn-mobile-wa:active {
    background-color: #1EBE5D;
    transform: scale(0.95);
  }
  
  .mobile-menu-toggle {
    width: 38px;
    height: 36px;
    padding: 0;
    border-radius: 8px;
    background-color: #F8FAFC;
    border: 1.5px solid #CBD5E1 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .mobile-menu-toggle:focus {
    box-shadow: none;
  }
  
  .mobile-menu-toggle .navbar-toggler-icon {
    width: 20px;
    height: 20px;
    background-size: 100%;
  }

  /* Clean dropdown collapse card on mobile (wraps below row 1) */
  .site-navbar .navbar-collapse {
    order: 3;
    width: 100% !important;
    flex-basis: 100% !important;
    background: #FFFFFF;
    padding: 16px;
    margin-top: 10px;
    border-top: 1px solid #F1F5F9;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
  }
  
  .site-navbar .navbar-nav {
    align-items: flex-start !important;
    width: 100%;
    gap: 4px !important;
  }
  
  .site-navbar .nav-link {
    width: 100%;
    padding: 10px 14px !important;
    font-size: 1rem;
    border-radius: 8px;
  }
  
  .site-navbar .dropdown-menu {
    border: 1px solid #E2E8F0 !important;
    background-color: #F8FAFC !important;
    border-radius: 12px;
    padding: 8px;
    box-shadow: none !important;
  }
}

@media (max-width: 576px) {
  /* Announcement bar compact on mobile screens */
  .top-emergency-bar {
    font-size: 0.76rem;
    padding: 5px 8px;
    line-height: 1.35;
    text-align: center;
  }
  
  .top-emergency-bar .pulse-dot {
    width: 7px;
    height: 7px;
    margin-right: 4px;
    vertical-align: middle;
  }

  .site-navbar .navbar-brand img,
  .site-header-logo {
    height: 32px !important;
    max-width: 135px !important;
  }
  
  .mobile-header-controls {
    gap: 6px !important;
  }
  
  .btn-mobile-header {
    height: 34px !important;
    flex-shrink: 0 !important;
  }

  .btn-mobile-call {
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    border-radius: 50% !important;
  }
  
  .btn-mobile-wa {
    width: 34px !important;
    height: 34px !important;
    font-size: 1.05rem !important;
  }
  
  .mobile-menu-toggle {
    width: 34px !important;
    height: 34px !important;
  }
}

@media (max-width: 375px) {
  .site-navbar .navbar-brand img,
  .site-header-logo {
    height: 28px !important;
    max-width: 118px !important;
  }
  
  .mobile-header-controls {
    gap: 5px !important;
  }
  
  .btn-mobile-header {
    height: 32px !important;
  }
  
  .btn-mobile-call,
  .btn-mobile-wa,
  .mobile-menu-toggle {
    width: 32px !important;
    height: 32px !important;
  }
  
  .mobile-menu-toggle .navbar-toggler-icon {
    width: 17px !important;
    height: 17px !important;
  }
}

/* ==========================================================================
   LUXURY ENGINEERING AUTHORITY & ACCREDITATION RIBBON
   ========================================================================== */
.accreditation-ribbon {
  background: linear-gradient(180deg, #070D1F 0%, #0A1128 100%);
  border-top: 1px solid rgba(197, 160, 89, 0.25);
  border-bottom: 1px solid rgba(197, 160, 89, 0.25);
  padding: 18px 0;
  color: #FFFFFF;
}

.accreditation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  align-items: center;
}

.accreditation-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.25s ease;
}

.accreditation-item:hover {
  background: rgba(197, 160, 89, 0.08);
  border-color: rgba(197, 160, 89, 0.35);
  transform: translateY(-2px);
}

.accreditation-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.2) 0%, rgba(5, 150, 105, 0.2) 100%);
  border: 1px solid rgba(197, 160, 89, 0.4);
  color: var(--hs-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.accreditation-text h5,
.accreditation-text .accreditation-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 2px 0;
  line-height: 1.2;
}

.accreditation-text p {
  font-size: 0.74rem;
  color: #94A3B8;
  margin: 0;
  line-height: 1.2;
}

.badge-gold-pill {
  background: linear-gradient(135deg, #C5A059 0%, #9A7734 100%);
  color: #0A1128;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   INTERACTIVE 20:80 BEFORE / AFTER SPLIT-SCREEN DRAG SLIDER
   ========================================================================== */
.ba-interactive-wrapper {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(10, 17, 40, 0.16);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  background-color: #0F172A;
}

.ba-interactive-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: ew-resize;
}

@media (max-width: 768px) {
  .ba-interactive-container {
    aspect-ratio: 4 / 3;
  }
}

.ba-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.ba-layer-after {
  z-index: 1;
}

.ba-layer-before {
  z-index: 2;
  width: 100%;
  /* clip-path will be manipulated dynamically via JS */
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.ba-badge-pill {
  position: absolute;
  top: 16px;
  z-index: 4;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.ba-badge-before {
  left: 16px;
  background: rgba(220, 38, 38, 0.9);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.ba-badge-after {
  right: 16px;
  background: rgba(5, 150, 105, 0.9);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Mobile-only optimization: prevent Before/After badges from overlapping */
@media (max-width: 768px) {
  .ba-badge-pill {
    top: 10px;
    padding: 4px 10px;
    font-size: 0.70rem;
    letter-spacing: 0.02em;
    max-width: 44%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .ba-badge-before {
    left: 10px;
  }
  
  .ba-badge-after {
    right: 10px;
  }
}

.ba-drag-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #FFFFFF;
  z-index: 3;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
}

.ba-drag-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid var(--hs-emerald);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hs-obsidian);
  font-size: 1.1rem;
  gap: 2px;
  pointer-events: auto;
  cursor: grab;
}

.ba-drag-button:active {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(1.08);
}

/* Before/After Slider Tabs Scroll Container */
.ba-project-tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  max-width: 100%;
  padding-bottom: 6px;
}

.ba-project-tabs .ba-tab-btn {
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.82rem;
}

/* ==========================================================================
   FEATURED CLIENTS TRUST SECTION
   ========================================================================== */
.featured-clients-section {
  overflow: hidden;
  width: 100%;
}

.client-logo-card {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  background-color: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
}

.client-logo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08) !important;
  border-color: #CBD5E1 !important;
}

.client-logo-card picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.client-logo-img {
  max-height: 44px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.client-logo-card-sm {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
}

.client-logo-img-sm {
  max-height: 30px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .col-md-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

@media (min-width: 992px) {
  .col-lg-1-5 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
}

@media (max-width: 576px) {
  .client-logo-card {
    height: 64px;
    padding: 6px !important;
  }
  .client-logo-img {
    max-height: 34px;
  }
  .client-logo-card-sm {
    height: 44px;
    padding: 4px !important;
  }
  .client-logo-img-sm {
    max-height: 24px;
  }
}

/* ==========================================================================
   3-CLICK "SMART ROOF DIAGNOSTIC QUIZ"
   ========================================================================== */
.quiz-wrapper {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 16px 40px rgba(10, 17, 40, 0.08);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.quiz-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--hs-emerald) 0%, var(--hs-gold) 100%);
}

.quiz-progress-track {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.quiz-step-bar {
  flex: 1;
  height: 6px;
  background-color: #E2E8F0;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.quiz-step-bar.active {
  background: linear-gradient(90deg, var(--hs-emerald) 0%, var(--hs-emerald-light) 100%);
}

.quiz-step-bar.completed {
  background-color: var(--hs-emerald);
}

.quiz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.quiz-option-card {
  border: 2px solid #E2E8F0;
  border-radius: 14px;
  padding: 18px 16px;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.quiz-option-card:hover {
  border-color: var(--hs-emerald);
  background-color: var(--hs-emerald-soft);
  transform: translateY(-2px);
}

.quiz-option-card.selected {
  border-color: var(--hs-emerald);
  background-color: var(--hs-emerald-soft);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
}

.quiz-option-icon {
  font-size: 1.8rem;
  color: var(--hs-emerald);
  margin-bottom: 8px;
}

.quiz-option-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--hs-dark);
  margin-bottom: 4px;
}

.quiz-option-desc {
  font-size: 0.8rem;
  color: #64748B;
  line-height: 1.35;
  margin: 0;
}

.quiz-prescription-box {
  background: linear-gradient(135deg, #0A1128 0%, #101E42 100%);
  border-radius: 16px;
  padding: 28px;
  color: #FFFFFF;
  border: 1px solid rgba(197, 160, 89, 0.3);
  box-shadow: 0 12px 32px rgba(10, 17, 40, 0.25);
}

.prescription-badge {
  background: rgba(197, 160, 89, 0.2);
  border: 1px solid var(--hs-gold);
  color: var(--hs-gold-light);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
}

/* ==========================================================================
   DEWA AC ENERGY & SOLAR HEAT REDUCTION CALCULATOR
   ========================================================================== */
.dewa-calc-card {
  background: linear-gradient(135deg, #070D1F 0%, #0D1736 100%);
  border-radius: 20px;
  padding: 36px;
  color: #FFFFFF;
  border: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: 0 20px 48px rgba(7, 13, 31, 0.3);
  position: relative;
  overflow: hidden;
}

.dewa-calc-card::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.dewa-range-slider {
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: #1E293B;
  outline: none;
  -webkit-appearance: none;
  margin: 16px 0 8px 0;
}

.dewa-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  border: 3px solid #FFFFFF;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
}

.dewa-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.dewa-metric-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
}

.dewa-metric-val {
  font-family: var(--hs-font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #10B981;
  line-height: 1.2;
}

.dewa-metric-val.gold {
  color: var(--hs-gold-light);
}

.dewa-metric-lbl {
  font-size: 0.78rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 4px;
  margin-bottom: 0;
}

/* ==========================================================================
   10-SECOND WHATSAPP VIDEO LEAK REVIEW BANNER
   ========================================================================== */
.wa-video-review-card {
  background: linear-gradient(135deg, #059669 0%, #064E3B 100%);
  border-radius: 18px;
  padding: 24px 30px;
  color: #FFFFFF;
  box-shadow: 0 12px 32px rgba(5, 150, 105, 0.25);
  position: relative;
  overflow: hidden;
}

.wa-video-camera-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   OFFICIAL STAMPED WARRANTY CERTIFICATE MODAL
   ========================================================================== */
.warranty-cert-paper {
  background: #FCFBF7;
  border: 8px double #C5A059;
  border-radius: 12px;
  padding: 32px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  color: #1E293B;
}

.warranty-cert-paper::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid rgba(197, 160, 89, 0.4);
  pointer-events: none;
}

.warranty-seal-badge {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: linear-gradient(135deg, #DFCA97 0%, #C5A059 50%, #9A7734 100%);
  border: 3px solid #FFFFFF;
  box-shadow: 0 6px 16px rgba(154, 119, 52, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #0A1128;
  font-weight: 800;
  text-align: center;
  line-height: 1.1;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.warranty-serial-no {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 0.85rem;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  color: #0F172A;
}

/* ==========================================================================
   LIVE UAE REAL-TIME DISPATCH ACTIVITY TICKER
   ========================================================================== */
.live-dispatch-ticker {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1030;
  background: rgba(10, 17, 40, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 50px;
  padding: 10px 18px;
  color: #FFFFFF;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 380px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: auto;
}

.live-dispatch-ticker.show {
  opacity: 1;
  transform: translateY(0);
}

.ticker-pulse-emerald {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseAnimation 1.6s infinite ease-in-out;
  flex-shrink: 0;
}

.ticker-text {
  font-size: 0.8rem;
  line-height: 1.3;
}

.ticker-text strong {
  color: #FFFFFF;
  display: block;
}

.ticker-text span {
  color: #94A3B8;
  font-size: 0.74rem;
}

.ticker-close-btn {
  background: transparent;
  border: none;
  color: #64748B;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0 0 0 6px;
}

.ticker-close-btn:hover {
  color: #FFFFFF;
}

@media (max-width: 768px) {
  .live-dispatch-ticker {
    bottom: 74px; /* Perfectly cleared above the 60px mobile sticky CTA bar */
    left: 50%;
    right: auto;
    transform: translate(-50%, 20px);
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    max-width: calc(100% - 24px);
    border-radius: 50px;
    padding: 7px 14px 7px 12px;
    gap: 9px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
    z-index: 1040;
  }

  .live-dispatch-ticker.show {
    transform: translate(-50%, 0);
  }

  .ticker-pulse-emerald {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
  }

  .ticker-text {
    flex: 1;
    min-width: 0;
    line-height: 1.25;
  }

  .ticker-text strong {
    font-size: 0.76rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }

  .ticker-text span {
    font-size: 0.68rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    color: #94A3B8;
  }

  .ticker-close-btn {
    padding: 2px 4px;
    font-size: 1.1rem;
    line-height: 1;
    color: #94A3B8;
    margin-left: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

