/* ==========================================================================
   Beacon Labs & Tech Solutions — Brand Design System
   Exact Logo Aesthetic: Deep Royal Cobalt Blue, Obsidian Black & Crisp White
   ========================================================================== */

:root {
  /* Exact Logo Palette */
  --brand-blue: #18227c;          /* Royal Navy / Cobalt from logo */
  --brand-blue-hover: #121961;    /* Deep navy hover */
  --brand-blue-light: #2837b0;    /* Bright royal accent */
  --brand-blue-subtle: #eff2ff;   /* Soft ice-blue background tint */
  --brand-blue-border: #d2daf9;   /* Subtle blue container border */

  --brand-black: #0a0a0a;         /* Obsidian Black from logo L-block */
  --brand-black-soft: #1e293b;    /* Charcoal text */
  --text-muted: #64748b;          /* Slate secondary text */
  --text-light: #94a3b8;          /* Light gray caption */

  --bg-main: #ffffff;             /* Pure Crisp White base */
  --bg-subtle: #f8fafc;           /* Light slate section contrast */
  --bg-card: #ffffff;             /* Card background */
  --bg-card-hover: #ffffff;       
  --bg-dark-section: #0a0e22;     /* Deep navy night contrast footer/callout */

  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-active: #18227c;

  --shadow-sm: 0 2px 8px rgba(24, 34, 124, 0.04);
  --shadow-md: 0 8px 24px rgba(24, 34, 124, 0.08);
  --shadow-lg: 0 16px 40px rgba(24, 34, 124, 0.12);
  --shadow-hover: 0 20px 48px rgba(24, 34, 124, 0.16);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-main);
  color: var(--brand-black-soft);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle Grid Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    radial-gradient(var(--brand-blue-border) 1px, transparent 1px),
    radial-gradient(var(--brand-blue-border) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  opacity: 0.4;
  z-index: -2;
  pointer-events: none;
}

/* Subtle Ambient Glows */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
}

.orb-1 {
  top: -100px;
  right: -50px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #cad5ff 0%, #eff2ff 70%, transparent 100%);
}

.orb-2 {
  bottom: 20%;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #e0e7ff 0%, #f1f5f9 70%, transparent 100%);
}

.orb-3 {
  display: none;
}

#bg-canvas {
  display: none;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--brand-black);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.gradient-text {
  color: var(--brand-blue);
  background: linear-gradient(135deg, var(--brand-blue) 0%, #2f3ec4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.accent-text {
  color: var(--brand-blue);
}

.cyan-text {
  color: var(--brand-blue);
}

/* Section Tag & Headers */
.section-header {
  margin-bottom: 55px;
}

.section-header.text-center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-blue-subtle);
  border: 1px solid var(--brand-blue-border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand-black);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--brand-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(24, 34, 124, 0.25);
}

.btn-primary:hover {
  background: var(--brand-blue-hover);
  box-shadow: 0 8px 24px rgba(24, 34, 124, 0.35);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #ffffff;
  color: var(--brand-black);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-2px);
}

.btn-glow {
  background: var(--brand-blue-subtle);
  color: var(--brand-blue);
  border: 1px solid var(--brand-blue-border);
}

.btn-glow:hover {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: 0 6px 20px rgba(24, 34, 124, 0.25);
  transform: translateY(-2px);
}

.btn-phone {
  background: #f8fafc;
  color: var(--brand-black-soft);
  border: 1px solid var(--border-light);
  gap: 7px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.btn-phone i {
  color: var(--brand-blue);
  font-size: 0.85rem;
}

.btn-phone:hover {
  background: var(--brand-blue-subtle);
  border-color: var(--brand-blue-border);
  color: var(--brand-blue);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* Header & Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition);
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.site-header.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(24, 34, 124, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform var(--transition);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.02);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand-black-soft);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.nav-link i {
  font-size: 0.85rem;
  color: var(--brand-blue);
  opacity: 0.8;
}

.nav-link:hover {
  color: var(--brand-blue);
}

.btn-nav-cta {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand-black);
  transition: var(--transition);
}

/* Hero Section */
.hero-section {
  padding-top: 150px;
  padding-bottom: 70px;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-blue-subtle);
  border: 1px solid var(--brand-blue-border);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 24px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--brand-blue);
  border-radius: 50%;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.14;
  color: var(--brand-black);
  margin-bottom: 22px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-description strong {
  color: var(--brand-black);
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-highlight {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-black);
  display: flex;
  align-items: center;
  gap: 8px;
}

.metric-highlight i {
  color: var(--brand-blue);
  font-size: 1rem;
}

.metric-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

.metric-divider {
  width: 1px;
  height: 38px;
  background: var(--border-light);
}

/* Hero Visual Box */
.hero-visual-wrapper {
  position: relative;
}

.hero-card-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(24, 34, 124, 0.15) 0%, rgba(40, 55, 176, 0.08) 60%, transparent 100%);
  filter: blur(40px);
  z-index: 1;
}

.hero-image-frame {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  background: #ffffff;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-image-frame:hover .hero-banner-img {
  transform: scale(1.02);
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  z-index: 5;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  animation: floatBadge 6s infinite ease-in-out;
}

.badge-top-right {
  top: 24px;
  right: -20px;
}

.badge-bottom-left {
  bottom: 24px;
  left: -20px;
  animation-delay: -3s;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.badge-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.badge-icon-circle.green {
  background: #e6f9ed;
  color: #16a34a;
}

.badge-icon-circle.cyan {
  background: var(--brand-blue-subtle);
  color: var(--brand-blue);
}

.badge-text-box {
  display: flex;
  flex-direction: column;
}

.f-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-black);
}

.f-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Marquee Ticker */
.tech-ticker-container {
  margin-top: 80px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-subtle);
  padding: 18px 0;
  overflow: hidden;
}

.ticker-label {
  text-align: center;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  letter-spacing: 0.15em;
  color: var(--brand-blue);
  font-weight: 800;
  margin-bottom: 12px;
}

.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
}

.marquee-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: scrollMarquee 30s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-black-soft);
}

.marquee-track span i {
  color: var(--brand-blue);
  font-size: 1.1rem;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: var(--brand-blue-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* Services Section */
.services-section {
  background: var(--bg-subtle);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

@media (min-width: 1100px) {
  .services-grid-5 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 28px;
  }
  .services-grid-5 .service-card:nth-child(1),
  .services-grid-5 .service-card:nth-child(2),
  .services-grid-5 .service-card:nth-child(3) {
    grid-column: span 2;
  }
  .services-grid-5 .service-card:nth-child(4) {
    grid-column: 2 / span 2;
  }
  .services-grid-5 .service-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.service-card {
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
}

.service-card.highlighted {
  border: 2px solid var(--brand-blue);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.popular-pill {
  position: absolute;
  top: 18px;
  right: 20px;
  background: var(--brand-blue);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--brand-blue-subtle);
  border: 1px solid var(--brand-blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--brand-blue);
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: var(--brand-blue);
  color: #ffffff;
  transform: scale(1.08) rotate(3deg);
}

.service-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-black);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.service-features {
  list-style: none;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-features li {
  font-size: 0.88rem;
  color: var(--brand-black-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li i {
  color: var(--brand-blue);
  font-size: 0.9rem;
}

/* Scope Estimator */
.estimator-wrapper {
  padding: 50px 40px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  box-shadow: var(--shadow-lg);
}

.estimator-header {
  margin-bottom: 40px;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.estimator-title {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.estimator-desc {
  font-size: 1rem;
  color: var(--text-muted);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

.estimator-step {
  margin-bottom: 30px;
}

.step-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-black);
  margin-bottom: 16px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
}

.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.option-card {
  padding: 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.option-card i {
  font-size: 1.4rem;
  color: var(--brand-blue);
  margin-bottom: 4px;
}

.option-card .opt-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-black);
}

.option-card .opt-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.option-card:hover {
  background: #ffffff;
  border-color: var(--brand-blue-border);
  box-shadow: var(--shadow-sm);
}

.option-card.active {
  background: var(--brand-blue-subtle);
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 2px var(--brand-blue);
}

.checkbox-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.checkbox-item input {
  display: none;
}

.custom-check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: transparent;
  transition: var(--transition);
  background: #ffffff;
}

.checkbox-item.active {
  background: var(--brand-blue-subtle);
  border-color: var(--brand-blue-border);
}

.checkbox-item.active .custom-check {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #ffffff;
}

.check-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-black-soft);
}

/* Estimator Summary Output */
.estimator-summary {
  padding: 34px;
  background: var(--bg-subtle);
  border: 1px solid var(--brand-blue-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-lg);
}

.summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.summary-header h3 {
  font-size: 1.25rem;
  color: var(--brand-black);
}

.badge-live {
  background: #e6f9ed;
  color: #16a34a;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.summary-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.sum-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
}

.sum-row span {
  color: var(--text-muted);
}

.sum-row strong {
  color: var(--brand-black);
  text-align: right;
  font-weight: 700;
}

.sum-total-block {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 18px;
  border-radius: var(--radius-md);
  margin-top: 10px;
  box-shadow: var(--shadow-sm);
}

.total-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
}

.total-amount {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.total-amount #sum-price {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-blue);
}

.currency-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Solutions & Blueprints */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.portfolio-card {
  padding: 34px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

/* Project Filters */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-medium);
  background: #ffffff;
  color: var(--brand-black-soft);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: var(--brand-blue-subtle);
}

.filter-btn.active {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: 0 4px 14px rgba(24, 34, 124, 0.25);
}

/* Projects Showcase Grid */
.projects-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
  margin-bottom: 50px;
}

.project-showcase-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.project-showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-blue-border);
}

.project-img-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  height: auto;
  background: #0a0a0a;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-showcase-card[data-category="brand"] .project-img-frame {
  aspect-ratio: 16 / 12;
  background: #f8fafc;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-showcase-card:hover .project-img {
  transform: scale(1.05);
}

.project-placeholder-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #18227c 0%, #2f3ec4 100%);
  color: #ffffff;
}

.ai-visual-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

.project-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--brand-blue);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.project-content {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.project-client {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-status {
  font-size: 0.75rem;
  font-weight: 700;
  color: #16a34a;
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--brand-black);
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.project-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.project-tech-tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.project-tech-tags span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-blue);
  background: var(--brand-blue-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.project-card-footer {
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  background: var(--brand-blue);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(24, 34, 124, 0.2);
}

.project-link-btn:hover {
  background: #101966;
  box-shadow: 0 4px 14px rgba(24, 34, 124, 0.35);
  transform: translateY(-2px);
}

.project-domain-text {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Project CTA Banner */
.project-cta-banner {
  padding: 40px 30px;
  background: var(--bg-subtle);
  border: 1px solid var(--brand-blue-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.project-cta-banner h3 {
  font-size: 1.5rem;
  color: var(--brand-black);
}

.project-cta-banner p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 10px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Why Section */
.why-section {
  background: var(--bg-subtle);
}

.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.why-pillars {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.pillar-item {
  display: flex;
  gap: 20px;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--brand-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(24, 34, 124, 0.2);
}

.pillar-item h4 {
  font-size: 1.15rem;
  color: var(--brand-black);
  margin-bottom: 6px;
}

.pillar-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.why-interactive-col {
  padding: 40px 32px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.beacon-spotlight-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.spotlight-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(24, 34, 124, 0.3);
}

.beacon-spotlight-box h3 {
  font-size: 1.4rem;
  color: var(--brand-black);
}

.spotlight-quote {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.spotlight-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 10px 0;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-black);
}

.check-row i {
  color: #16a34a;
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--brand-black);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq-question i {
  color: var(--brand-blue);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Contact Section */
.contact-wrapper {
  padding: 50px 44px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  box-shadow: var(--shadow-lg);
}

.contact-title {
  font-size: 2.2rem;
  color: var(--brand-black);
  margin-bottom: 16px;
}

.contact-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.c-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.c-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--brand-blue-subtle);
  border: 1px solid var(--brand-blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.c-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.c-val {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-black);
}

.c-val:hover {
  color: var(--brand-blue);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-black);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--brand-black);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(24, 34, 124, 0.1);
  background: #ffffff;
}

.form-feedback {
  margin-top: 15px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.5;
  display: none;
}

.form-feedback.success {
  display: block;
  background: #e6f9ed;
  border: 1px solid #86efac;
  color: #15803d;
}

.form-feedback.error {
  display: block;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
}

/* Footer */
.site-footer {
  background: #080d22;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 80px 0 30px;
  margin-top: 60px;
}

.site-footer h4 {
  color: #ffffff;
}

.site-footer p {
  color: #94a3b8;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  max-width: 1040px;
  margin: 0 auto 60px auto;
  align-items: start;
}

.footer-brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  display: inline-block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.footer-motto {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: var(--transition);
}

.footer-socials a:hover {
  background: var(--brand-blue-light);
  color: #ffffff;
  border-color: var(--brand-blue-light);
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(40, 55, 176, 0.4);
}

.footer-links-col h4,
.footer-newsletter h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #94a3b8;
}

.footer-links-col a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.newsletter-box {
  display: flex;
  gap: 8px;
}

.newsletter-box input {
  flex: 1;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 0.88rem;
}

.newsletter-box input:focus {
  outline: none;
  border-color: var(--brand-blue-light);
  box-shadow: 0 0 0 3px rgba(40, 55, 176, 0.3);
}

#newsletter-msg {
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #38bdf8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #64748b;
}

.footer-legal {
  display: flex;
  gap: 16px;
}

.footer-legal a {
  color: #94a3b8;
}

.footer-legal a:hover {
  color: #ffffff;
}

/* Animations */
.animate-fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-metrics {
    justify-content: center;
  }

  .floating-badge {
    position: static;
    margin-top: 16px;
    display: inline-flex;
  }

  .estimator-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(2.1rem, 7vw, 2.75rem);
    line-height: 1.2;
  }

  .section-title {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 30px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    transition: var(--transition);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .btn-nav-cta {
    display: inline-flex;
    width: 100%;
  }

  .mobile-toggle {
    display: flex;
  }

  .hide-mobile {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .projects-showcase-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 30px 22px;
  }

  .project-card-body {
    padding: 24px 20px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
  }

  .options-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    padding: 30px 22px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-motto {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-links-col ul {
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .project-filters {
    gap: 8px;
  }

  .filter-btn {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  .brand-logo-img {
    height: 38px;
  }

  .contact-methods {
    gap: 18px;
  }
}

/* Floating WhatsApp Quick Connect */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: #25D366;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.floating-whatsapp i {
  font-size: 1.4rem;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.04);
  background: #20ba59;
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.5), 0 6px 16px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

@media (max-width: 600px) {
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    padding: 12px;
    border-radius: 50%;
  }
  .floating-whatsapp .whatsapp-label {
    display: none;
  }
  .floating-whatsapp i {
    font-size: 1.5rem;
  }
}
