/* ---------- Base / Variables ---------- */
:root {
  --primary: #1a56db;
  --primary-dark: #1e429f;
  --primary-light: #3f83f8;
  --secondary: #1f2937;
  --accent: #10b981;
  --white: #ffffff;
  --light-bg: #f8fafc;
  --muted: #6b7280;
  --muted-light: #9ca3af;
  --border: #e5e7eb;
  --card-bg: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --container: 1200px;
  --text: #1f2937;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }

/* ---------- Layout Container ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
}
.logo { 
  width: 44px; 
  height: 44px; 
  border-radius: 10px; 
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); 
  color: var(--white); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-weight: 800; 
  font-size: 16px; 
  box-shadow: var(--shadow);
}
nav { 
  display: flex; 
  gap: 24px; 
  align-items: center; 
  font-weight: 500; 
}
nav a { 
  color: var(--secondary); 
  font-size: 15px; 
  padding: 6px 8px; 
  border-radius: 8px; 
}
nav a:hover { 
  color: var(--primary); 
}
.btn-primary { 
  background: var(--primary); 
  color: var(--white); 
  padding: 10px 20px; 
  border-radius: 8px; 
  font-weight: 600; 
  box-shadow: 0 4px 6px rgba(26, 86, 219, 0.15);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
}
.btn-primary:hover { 
  background: var(--primary-dark); 
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(26, 86, 219, 0.2);
  color: var(--white);
}

/* ---------- Hero ---------- */
.hero {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  opacity: 0.05;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-title { 
  font-size: 36px; 
  font-weight: 800; 
  line-height: 1.1; 
  margin: 0 0 16px 0; 
  color: var(--secondary); 
}
.hero-title span {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub { 
  color: var(--muted); 
  font-size: 18px; 
  margin-bottom: 24px; 
}
.hero-cta-group { 
  display: flex; 
  gap: 12px; 
  flex-wrap: wrap; 
  margin-bottom: 24px; 
}
.btn-outline { 
  background: var(--white); 
  border: 1px solid var(--border); 
  padding: 10px 20px; 
  border-radius: 8px; 
  font-weight: 500; 
  color: var(--secondary); 
  transition: all 0.2s ease; 
  box-shadow: var(--shadow);
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover { 
  border-color: var(--primary); 
  color: var(--primary); 
  transform: translateY(-1px);
}
.hero-features {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.feature-tag {
  background: var(--white);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Cards / Typography ---------- */
.card { 
  background: var(--card-bg); 
  border-radius: var(--radius); 
  padding: 24px; 
  box-shadow: var(--shadow); 
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--border);
  height: 100%;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
h1, h2, h3, h4 { 
  color: var(--secondary); 
  margin: 0 0 12px 0; 
}
h1 { font-size: 32px; font-weight: 800; }
h2 { font-size: 28px; font-weight: 700; }
h3 { font-size: 22px; font-weight: 600; }
p.lead { 
  color: var(--muted); 
  font-size: 16px; 
  margin: 6px 0 0; 
}
.small { 
  font-size: 14px; 
  color: var(--muted); 
}
ul.simple { 
  padding-left: 18px; 
  color: var(--muted); 
  margin: 6px 0; 
}

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }

/* ---------- Sections ---------- */
.section { padding: 60px 0; }
.section-light { background: var(--light-bg); }
.section-title {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: var(--secondary);
  text-align: center;
}
.section-subtitle {
  color: var(--muted);
  font-size: 18px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

/* ---------- Forms ---------- */
.input, input, select, textarea { 
  width: 100%; 
  padding: 12px 16px; 
  border-radius: 8px; 
  border: 1px solid var(--border); 
  font-size: 15px; 
  background: var(--white); 
  color: var(--text); 
  transition: all 0.2s ease;
  font-family: inherit;
}
.input:focus, input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}
textarea.input { 
  min-height: 84px; 
  resize: vertical; 
}
.btn-full { 
  display: inline-block; 
  padding: 12px 24px; 
  border-radius: 8px; 
  background: var(--primary); 
  color: var(--white); 
  border: none; 
  font-weight: 600; 
  cursor: pointer; 
  transition: all 0.2s ease;
  text-align: center;
  width: 100%;
  font-family: inherit;
}
.btn-full:hover { 
  background: var(--primary-dark); 
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(26, 86, 219, 0.2);
}

/* ---------- Modal / Popup ---------- */
.modal-backdrop { 
  position: fixed; 
  inset: 0; 
  background: rgba(0, 0, 0, 0.6); 
  display: none; 
  align-items: center; 
  justify-content: center; 
  z-index: 1200; 
  padding: 16px; 
}
.modal-backdrop.open { 
  display: flex; 
}
.modal { 
  width: 100%; 
  max-width: 500px; 
  background: var(--white); 
  padding: 30px; 
  border-radius: var(--radius); 
  box-shadow: var(--shadow-lg); 
  animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Testimonials / Projects ---------- */
.rating { color: #f59e0b; font-weight: 700; }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: """;
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 60px;
  color: var(--primary-light);
  opacity: 0.2;
  line-height: 1;
}

/* ---------- FAQ ---------- */
details {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--border);
  margin-bottom: 12px;
  transition: all 0.2s ease;
}
details[open] {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary-light);
}
summary {
  cursor: pointer;
  font-weight: 600;
  padding: 4px 0;
  position: relative;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--primary);
}
details[open] summary::after {
  content: "-";
}

/* ---------- Footer ---------- */
footer { 
  padding: 40px 0; 
  background: var(--secondary); 
  color: #d1d5db; 
  margin-top: 40px; 
}
footer a { 
  color: #d1d5db; 
  text-decoration: none; 
}
footer a:hover { 
  color: var(--white); 
}

/* ---------- Responsive Breakpoints ---------- */
@media (min-width: 768px) {
  .hero { padding: 80px 0; }
  .hero-inner { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 42px; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  nav { display: flex; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 48px; }
}

@media (max-width: 767px) {
  nav { display: none; }
  .hero { padding: 40px 0; }
  .hero-title { font-size: 32px; }
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-outline { width: 100%; text-align: center; }
  .section { padding: 40px 0; }
}

/* ---- floating bar ---- */

/* FLOATING ACTION BUTTON - Minimal Version */
/* IMPROVED FLOATING CTA BAR - Mobile Optimized */
.floating-cta-bar {
  position: fixed;
  z-index: 9999;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border: 1px solid #e1e5e9;
  padding: 12px;
  transition: all 0.3s ease;
  animation: slideInUp 0.5s ease-out;
}

/* Mobile First - Bottom Bar */
@media (max-width: 768px) {
  .floating-cta-bar {
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 16px 16px 0 0;
    padding: 16px;
    max-width: none;
    margin: 0;
  }
  
  .floating-cta-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .floating-cta-text {
    text-align: center;
  }
  
  .floating-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 8px;
  }
  
  .floating-message {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    line-height: 1.3;
  }
  
  .floating-cta-actions {
    display: flex;
    gap: 8px;
    justify-content: space-between;
  }
  
  .floating-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 11px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    gap: 4px;
    flex: 1;
    min-height: 60px;
  }
  
  .floating-btn span {
    font-size: 11px;
    font-weight: 600;
  }
  
  .floating-btn-call {
    background: #f8f9fa;
    color: #4a5568;
    border: 1px solid #e2e8f0;
  }
  
  .floating-btn-whatsapp {
    background: #25d366;
    color: white;
  }
  
  .floating-btn-primary {
    background: linear-gradient(135deg, #0b74de, #095aba);
    color: white;
  }
}

/* Desktop - Side Floating */
@media (min-width: 769px) {
  .floating-cta-bar {
    bottom: 20px;
    right: 20px;
    max-width: 320px;
  }
  
  .floating-cta-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .floating-cta-text {
    text-align: center;
  }
  
  .floating-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .floating-message {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2d3748;
    margin-top: 6px;
    line-height: 1.3;
  }
  
  .floating-cta-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
  }
  
  .floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    gap: 4px;
  }
  
  .floating-btn-call {
    background: #f8f9fa;
    color: #4a5568;
    border: 1px solid #e2e8f0;
  }
  
  .floating-btn-whatsapp {
    background: #25d366;
    color: white;
  }
  
  .floating-btn-primary {
    background: linear-gradient(135deg, #0b74de, #095aba);
    color: white;
  }
}

/* Common Button Styles */
.floating-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.floating-btn:active {
  transform: translateY(0);
}

/* Animation */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Safe area support for notched phones */
@supports (padding: max(0px)) {
  @media (max-width: 768px) {
    .floating-cta-bar {
      padding-bottom: max(16px, env(safe-area-inset-bottom));
    }
  }
}

/* Hide on scroll for mobile */
.floating-cta-bar.scrolled-down {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

/* Small mobile optimization */
@media (max-width: 360px) {
  .floating-btn {
    padding: 10px 6px;
    font-size: 10px;
  }
  
  .floating-btn span {
    font-size: 10px;
  }
  
  .floating-message {
    font-size: 13px;
  }
}


.city-footer {
  background: linear-gradient(180deg, #020b1c, #020614);
  color: #c7d2fe;
  padding: 60px 0 40px;
  font-size: 14px;
}

.city-footer .container {
  max-width: 1200px;
  margin: auto;
  padding: 0 16px;
}

.city-footer-note {
  text-align: center;
  margin-bottom: 30px;
  font-size: 15px;
  color: #b0bdfc;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.city-column h4 {
  font-size: 15px;
  font-weight: 700;
  color: #e0e7ff;
  margin-bottom: 10px;
}

.city-column a {
  display: inline-block;
  margin: 6px 10px 6px 0;
  color: #7c8cff;
  text-decoration: none;
  border-bottom: 1px dashed rgba(124,140,255,0.35);
  font-size: 13.5px;
}

.city-column a:hover {
  color: #ffffff;
  border-bottom-color: transparent;
}

.footer-bottom {
  margin-top: 45px;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: #a5b4fc;
  font-size: 13px;
}
    /* small inline adjustments for sticky CTA and search suggestions */
    .site-search { display:flex; gap:8px; align-items:center; }
    .site-search input[type="search"]{ padding:8px 10px; border-radius:6px; border:1px solid #ddd; min-width:220px; }
    .sticky-cta {
      position: fixed;
      bottom: 12px;
      left: 12px;
      right: 12px;
      z-index: 9999;
      display:flex;
      gap:10px;
      align-items:center;
      justify-content:space-between;
      background: #0b74de;
      color: white;
      padding:10px 14px;
      border-radius:12px;
      box-shadow: 0 8px 20px rgba(9,30,66,0.12);
      font-weight:600;
    }
    .sticky-cta a { color: white; text-decoration:none; padding:8px 12px; border-radius:8px; background:rgba(255,255,255,0.08); }
    .hidden-aria { position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }
    /* minimal highlight for search results */
    .search-hit { border-left:3px solid #0b74de; padding:8px 12px; margin:8px 0; border-radius:6px; background:#fff; }
    /* honeypot hidden */
    .hp { display:none !important; visibility:hidden; height:0; width:0; overflow:hidden; }
  
/* =========================
   MOBILE HEADER FIX (SAFE)
========================= */

/* Hide hamburger on desktop */
.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Mobile behaviour */
@media (max-width: 767px) {

  /* Hide nav by default */
  header nav {
    display: none !important;
  }

  /* Show hamburger */
  .menu-toggle {
    display: block;
  }

  /* Open menu state */
  body.menu-open header nav {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: white;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 9999;
  }

  body.menu-open header nav a {
    padding: 12px;
    width: 100%;
    border-radius: 8px;
  }

  body.menu-open header nav a.btn-primary {
    text-align: center;
  }
}
