/* ==========================================================================
   BuildIQ Projects — PMC & Civil Contractors
   Brochure-Matched Corporate Navy & Cyan Theme
   ========================================================================== */

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #0d1527;
  --bg-surface: #f8fafc;
  
  /* Brochure Identity Palette */
  --brand-navy: #152238;
  --brand-navy-dark: #0c1424;
  --brand-navy-light: #1e3152;
  --brand-cyan: #00a8b5;
  --brand-cyan-light: #22d3ee;
  --brand-cyan-glow: rgba(0, 168, 181, 0.25);
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background: #ffffff;
  color: var(--text-primary);
  width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0 !important;
  padding: 0;
  width: 100% !important;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

@media (max-width: 1023px) {
  body {
    padding-bottom: 74px;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  letter-spacing: -0.025em;
  font-weight: 700;
}

.cyan-gradient-text {
  background: linear-gradient(135deg, #008b99 0%, #00a8b5 50%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navy-gradient-bg {
  background: linear-gradient(135deg, #152238 0%, #0b1320 100%);
}

.bg-grid-pattern {
  background-size: 36px 36px;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #00a8b5;
  border-radius: 4px;
}

header.scrolled {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

/* Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Sticky Bar */
.mobile-sticky-bar {
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  border-top: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
}

/* WhatsApp Floater */
.whatsapp-float-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 1023px) {
  .whatsapp-float-container {
    bottom: 78px;
    right: 16px;
  }
}

.whatsapp-float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
}

.whatsapp-float-btn:hover {
  transform: scale(1.08) translateY(-2px);
}

.whatsapp-float-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.whatsapp-float-card:hover {
  border-color: #00a8b5;
  transform: translateX(-3px);
}

.modal-backdrop {
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
}

.black-text {
  color: #000;
}