
/* ==========================================================
   UPGRADE 2025 — Inter Font, Blue Brand (#1A73E8),
   Scroll Animations, Portfolio Overlay, WhatsApp Pulse
   All rules below intentionally override earlier declarations.
   ========================================================== */

/* ===== FONT — INTER ===== */
body {
  font-family: 'Inter', 'Poppins', system-ui, -apple-system, sans-serif;
}

/* ===== SMOOTH SCROLL ===== */
html {
  scroll-behavior: smooth;
}

/* ===== STICKY NAV — BLUR ON SCROLL ===== */
.site-header {
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.93) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.10);
}

/* ===== IMPROVED BUTTONS ===== */
.btn-bave--solid {
  background: #1A73E8 !important;
  color: #ffffff !important;
  border-color: #1A73E8 !important;
  box-shadow: 0 4px 18px rgba(26, 115, 232, 0.35) !important;
  border-radius: 10px;
}
.btn-bave--solid:hover {
  background: #1557b0 !important;
  border-color: #1557b0 !important;
  box-shadow: 0 6px 28px rgba(26, 115, 232, 0.50) !important;
  transform: translateY(-2px);
}
.btn-bave--outline {
  border-radius: 10px;
}
.btn-bave--outline:hover {
  border-color: rgba(26, 115, 232, 0.65) !important;
  box-shadow: 0 0 18px rgba(26, 115, 232, 0.25) !important;
}

/* ===== SECTION HEADING — BLUE ACCENT BAR ===== */
h2.accent-heading {
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 10px;
}
h2.accent-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: #1A73E8;
  border-radius: 2px;
}
h2.accent-heading.left-accent::after {
  left: 0;
  transform: none;
}

/* ===== SCROLL REVEAL — Progressive Enhancement =====
   Elements are visible by default.
   JS adds .js-reveal-ready to <html> BEFORE DOMContentLoaded,
   which activates the hide-then-reveal animations.
   This means content is NEVER invisible without JS. */
.js-reveal-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.60s ease, transform 0.60s ease;
}
.js-reveal-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.js-reveal-ready .reveal-d1 { transition-delay: 0.10s; }
.js-reveal-ready .reveal-d2 { transition-delay: 0.20s; }
.js-reveal-ready .reveal-d3 { transition-delay: 0.30s; }
.js-reveal-ready .reveal-d4 { transition-delay: 0.40s; }

/* ===== PORTFOLIO CARDS — CLEAN OVERLAY (replaces slow scroll) ===== */
.site-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: none !important;
  transition: transform 0.4s ease !important;
}
.site-card:hover .site-shot {
  transform: scale(1.04) !important;
}
/* Kill old scroll hint pseudo-element */
.site-frame::before {
  display: none !important;
}
/* Overlay slides up on hover */
.site-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13, 27, 46, 0.97) 0%,
    rgba(13, 27, 46, 0.80) 50%,
    rgba(13, 27, 46, 0.50) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 28px 24px;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.site-card:hover .site-overlay {
  opacity: 1;
}
.site-overlay .overlay-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  margin: 0;
}
.site-overlay .overlay-cat {
  font-size: 12px;
  color: #90b4e8;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
}
/* Visit Site button inside card overlay */
.btn-visit-site {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: #1A73E8;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  pointer-events: auto;
}
.btn-visit-site:hover {
  background: #1557b0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 115, 232, 0.45);
}
/* Fix pointer-events for overlay */
.site-card {
  pointer-events: auto !important;
  cursor: default;
}
/* Blue glow on card hover */
.site-card:hover {
  border-color: rgba(26, 115, 232, 0.40) !important;
  box-shadow: 0 30px 70px rgba(26, 115, 232, 0.20) !important;
}

/* ===== SERVICE CARD HOVER — BLUE ===== */
.service-card:hover {
  background: linear-gradient(135deg, #1A73E8, #1254c7) !important;
  border-color: rgba(26, 115, 232, 0.45) !important;
  box-shadow: 0 20px 50px rgba(26, 115, 232, 0.25) !important;
}

/* ===== WHY / PROCESS / STEP — BLUE ACCENTS ===== */
.why-ic {
  background: rgba(26, 115, 232, 0.16) !important;
  border-color: rgba(26, 115, 232, 0.35) !important;
  box-shadow: 0 0 22px rgba(26, 115, 232, 0.16) !important;
}
.step-num {
  background: rgba(26, 115, 232, 0.14) !important;
  border-color: rgba(26, 115, 232, 0.32) !important;
}
.step-card:hover {
  border-color: rgba(26, 115, 232, 0.30) !important;
}
.faq-ico {
  border-color: rgba(26, 115, 232, 0.40) !important;
  background: rgba(26, 115, 232, 0.10) !important;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top-color: rgba(26, 115, 232, 0.35) !important;
}
.footer-socials a:hover {
  border-color: #1A73E8 !important;
  box-shadow: 0 0 20px rgba(26, 115, 232, 0.35) !important;
  color: #1A73E8 !important;
}
.footer-col a:hover {
  color: #1A73E8 !important;
}

/* ===== WHATSAPP FLOATING BUTTON — PULSE ANIMATION ===== */
.whatsapp-float {
  position: fixed !important;
  bottom: 28px !important;
  right: 28px !important;
  width: 58px !important;
  height: 58px !important;
  background: #25D366 !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 28px !important;
  z-index: 9999 !important;
  text-decoration: none !important;
  animation: waPulse 2.5s ease-in-out infinite !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.whatsapp-float:hover {
  transform: scale(1.12) !important;
  animation: none !important;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.60) !important;
}
@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70%  { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== HERO — LARGER HEADING + TRUST BADGES ===== */
.hero-title-minimal {
  font-size: clamp(42px, 5.5vw, 70px) !important;
  font-weight: 700 !important;
  line-height: 1.07 !important;
  letter-spacing: -0.5px !important;
}
.hero-sub-minimal {
  font-size: 17px !important;
  line-height: 1.7 !important;
  max-width: 600px !important;
}
/* Kicker badge above heading */
.hero-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(26, 115, 232, 0.15);
  border: 1px solid rgba(26, 115, 232, 0.35);
  color: rgba(216, 234, 255, 0.92);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}
.hero-kicker-badge .k-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1A73E8;
  box-shadow: 0 0 12px rgba(26, 115, 232, 0.70);
}
/* Trust badges row beneath CTA buttons */
.hero-trust {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.hero-trust span {
  font-size: 13px;
  color: rgba(216, 234, 255, 0.70);
  display: flex;
  align-items: center;
  gap: 5px;
}
.hero-trust span i {
  color: #1A73E8;
  font-size: 12px;
}

/* ===== NAV + MARQUEE COLORS ===== */
.nav-links a:hover {
  color: #1A73E8 !important;
}
.brand-marquee span::before {
  content: "\25CF"; /* ● bullet — CSS unicode escape, safe on all servers */
  color: #1A73E8 !important;
  font-size: 8px;
  vertical-align: middle;
}

/* ===== DARK SECTION BG OVERRIDES ===== */
.why-radial {
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(26, 115, 232, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.26), rgba(0,0,0,0.10)),
    var(--bg) !important;
}
.process-split {
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(26, 115, 232, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.24), rgba(0,0,0,0.10)),
    var(--bg) !important;
}
.hero-media__overlay {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.60), rgba(0,0,0,0.72)),
    radial-gradient(900px 480px at 50% 20%, rgba(26,115,232,0.14), transparent 60%) !important;
}

/* ===== PORTFOLIO PAGE STYLES ===== */
.portfolio-page-hero {
  position: relative;
  padding: 140px 0 80px;
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(26,115,232,0.14), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.22), rgba(0,0,0,0.08)),
    var(--bg);
  text-align: center;
  overflow: hidden;
}
.portfolio-page-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 14px;
  color: #ffffff;
}
.portfolio-page-hero p {
  font-size: 17px;
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
/* Filter buttons */
.portfolio-filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 50px 0 20px;
}
.filter-btn {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid rgba(26,115,232,0.30);
  background: transparent;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.22s ease;
}
.filter-btn:hover {
  border-color: #1A73E8;
  color: #1A73E8;
  background: rgba(26,115,232,0.06);
}
.filter-btn.active {
  background: #1A73E8;
  color: #ffffff;
  border-color: #1A73E8;
  box-shadow: 0 4px 14px rgba(26,115,232,0.35);
}
.portfolio-section {
  padding: 30px 0 100px;
  background: #f5f6fa;
}
/* 3-col grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.portfolio-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,0.07);
  box-shadow: 0 12px 36px rgba(0,0,0,0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.portfolio-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 70px rgba(26,115,232,0.18);
  border-color: rgba(26,115,232,0.30);
}
.portfolio-card.hidden {
  display: none;
}
/* Card image */
.portfolio-card__img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #0d1b2e;
}
.portfolio-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.portfolio-card:hover .portfolio-card__img img {
  transform: scale(1.05);
}
/* Category badge on image */
.portfolio-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(26,115,232,0.90);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  backdrop-filter: blur(8px);
}
/* Card body */
.portfolio-card__body {
  padding: 22px 22px 26px;
}
.portfolio-card__body h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 7px;
  line-height: 1.3;
}
.portfolio-card__body p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 18px;
}
/* View Live Site button */
.btn-view-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: transparent;
  color: #1A73E8;
  border: 1.5px solid #1A73E8;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  font-family: inherit;
  transition: all 0.22s ease;
}
.btn-view-live:hover {
  background: #1A73E8;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(26,115,232,0.35);
}

/* ===== SERVICES PAGE ===== */
.services-hero {
  padding: 140px 0 80px !important;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(26,115,232,0.12), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.20), rgba(0,0,0,0.06)),
    var(--bg) !important;
}
.services-hero__bg { display: none; }
.services-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.services-badge {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(26,115,232,0.14);
  border: 1px solid rgba(26,115,232,0.30);
  color: rgba(216,234,255,0.90);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
  letter-spacing: 0.5px;
}
.services-hero__content h1 {
  font-size: clamp(38px, 5vw, 62px) !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 16px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.services-hero__content p {
  font-size: 17px !important;
  color: var(--text-soft) !important;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.services-section {
  padding: 90px 0;
  background: #f5f6fa;
}
.services-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.services-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  color: #0f172a;
  margin-bottom: 12px;
  font-weight: 700;
}
.services-head p {
  color: #475569;
  font-size: 16px;
  line-height: 1.7;
}
.services-section .services-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 26px !important;
}
.services-section .service-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 32px 28px;
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  position: relative;
  color: #0f172a;
  min-height: auto !important;
}
.services-section .service-card .service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(26,115,232,0.10);
  border: 1px solid rgba(26,115,232,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.services-section .service-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #0f172a;
  transition: color 0.25s ease;
}
.services-section .service-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #475569;
  transition: color 0.25s ease;
}
.services-section .service-card:hover {
  transform: translateY(-6px);
}
.services-section .service-card:hover h3,
.services-section .service-card:hover p {
  color: rgba(255,255,255,0.92);
}
.services-section .service-card:hover .service-icon {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.35);
}
/* Process on services page */
.process-section {
  padding: 90px 0;
  background: #ffffff;
}
.process-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.process-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}
.process-head p {
  color: #475569;
  font-size: 16px;
  line-height: 1.7;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-card {
  padding: 28px 22px;
  border-radius: 18px;
  background: #f5f6fa;
  border: 1px solid rgba(15,23,42,0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(26,115,232,0.12);
  border-color: rgba(26,115,232,0.25);
}
.process-card .step {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(26,115,232,0.10);
  border: 1px solid rgba(26,115,232,0.25);
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #1A73E8;
  margin-bottom: 16px;
}
.process-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}
.process-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.65;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (max-width: 960px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .services-section .services-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .process-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 580px) {
  .portfolio-grid { grid-template-columns: 1fr !important; }
  .services-section .services-grid { grid-template-columns: 1fr !important; }
  .process-grid { grid-template-columns: 1fr !important; }
  .portfolio-page-hero { padding: 120px 0 60px; }
  .portfolio-filter-bar { gap: 8px; padding: 36px 0 6px; }
  .filter-btn { padding: 8px 16px; font-size: 13px; }
}

/* ===== MISC TWEAKS ===== */
.pill {
  background: rgba(26,115,232,0.08) !important;
  border-color: rgba(26,115,232,0.20) !important;
}
