/* =====================================================
   FBN Technology - style.css
   Brand: Blue (#1e88e5) → Teal (#00acc1) → Green (#00c853)
   ===================================================== */

/* ===== CSS RESET & VARIABLES ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand Colors */
  --blue:        #1e88e5;
  --blue-dark:   #1565c0;
  --blue-light:  #42a5f5;
  --teal:        #00acc1;
  --green:       #00c853;
  --green-dark:  #00a040;

  /* Gradient */
  --grad-brand: linear-gradient(135deg, #1e88e5 0%, #00acc1 50%, #00c853 100%);
  --grad-brand-alt: linear-gradient(90deg, #1e88e5 0%, #00c853 100%);
  --grad-glow:  radial-gradient(ellipse at center, rgba(30, 136, 229, 0.25) 0%, transparent 70%);

  /* Dark Theme */
  --bg-primary:    #090e1a;
  --bg-secondary:  #0d1526;
  --bg-card:       #111827;
  --bg-card-hover: #162033;
  --border:        rgba(255,255,255,0.07);
  --border-hover:  rgba(30,136,229,0.4);

  /* Text */
  --text-primary:   #f0f4ff;
  --text-secondary: #94a3b8;
  --text-muted:     #64748b;

  /* Spacing */
  --section-py: 6rem;
  --container:  1200px;

  /* Transitions */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0,0,0,0.35);
  --shadow-glow-blue:  0 0 40px rgba(30,136,229,0.3);
  --shadow-glow-green: 0 0 40px rgba(0,200,83,0.25);
}

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

body {
  font-family: 'Inter', 'Outfit', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--grad-brand-alt);
  color: #fff;
  box-shadow: 0 4px 20px rgba(30,136,229,0.35);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #00c853, #1e88e5);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(30,136,229,0.5);
}
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(30,136,229,0.15);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.95rem 2.25rem;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ===== SECTION COMMON ===== */
.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1.1rem;
  border-radius: 50px;
  background: rgba(30,136,229,0.12);
  border: 1px solid rgba(30,136,229,0.25);
  color: var(--blue-light);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s var(--ease);
}

.navbar.scrolled {
  background: rgba(9, 14, 26, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(30,136,229,0.5));
  transition: filter 0.3s;
}

.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(0 0 14px rgba(30,136,229,0.8));
}

.nav-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-brand-accent {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  color: var(--text-secondary);
  transition: all 0.25s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(30,136,229,0.1);
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.55rem 1.4rem;
  font-size: 0.9rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}

.ham-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.hamburger.open .ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  background: rgba(9,14,26,0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 1.5rem;
}

.mobile-menu.open { display: block; }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all 0.25s;
}

.mobile-nav-link:hover {
  color: var(--text-primary);
  background: rgba(30,136,229,0.1);
}

.mobile-nav-links .btn {
  margin-top: 0.75rem;
  width: 100%;
  justify-content: center;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 80px; /* Accounts for navbar so content never goes under it */
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 2rem;
  box-sizing: border-box;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Canvas particle network */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(9,14,26,0.88) 0%,
    rgba(9,14,26,0.72) 50%,
    rgba(9,14,26,0.85) 100%
  );
}

/* Particles */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: floatParticle linear infinite;
  opacity: 0;
}

.p1 { width: 6px; height: 6px; background: var(--blue); left: 15%; top: 30%; animation-duration: 8s; animation-delay: 0s; }
.p2 { width: 4px; height: 4px; background: var(--green); left: 75%; top: 20%; animation-duration: 10s; animation-delay: 2s; }
.p3 { width: 8px; height: 8px; background: var(--teal); left: 45%; top: 60%; animation-duration: 7s; animation-delay: 1s; }
.p4 { width: 5px; height: 5px; background: var(--blue-light); left: 85%; top: 50%; animation-duration: 9s; animation-delay: 3s; }
.p5 { width: 6px; height: 6px; background: var(--green); left: 25%; top: 70%; animation-duration: 11s; animation-delay: 0.5s; }
.p6 { width: 4px; height: 4px; background: var(--blue); left: 60%; top: 80%; animation-duration: 8.5s; animation-delay: 1.5s; }

@keyframes floatParticle {
  0%   { opacity: 0; transform: translateY(20px); }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.7; }
  100% { opacity: 0; transform: translateY(-80px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 820px;
  text-align: center;
  margin: auto 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(30,136,229,0.12);
  border: 1px solid rgba(30,136,229,0.3);
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blue-light);
  margin-bottom: 1rem;
  animation: fadeInDown 0.8s var(--ease) both;
  min-height: 2rem;
  min-width: 220px;
  justify-content: center;
}

/* Blinking typed cursor */
#hero-typed::after {
  content: '|';
  margin-left: 2px;
  animation: cursorBlink 0.8s step-end infinite;
  color: var(--teal);
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}


.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(0,200,83,0.5); }
  50% { transform: scale(1.2); box-shadow: 0 0 0 6px rgba(0,200,83,0); }
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-wrap: balance;
  animation: fadeInUp 0.8s var(--ease) 0.15s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 1.5rem;
  animation: fadeInUp 0.8s var(--ease) 0.3s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s var(--ease) 0.45s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 1.5rem;
  column-gap: 2rem;
  padding: 1.25rem 2rem;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 14px;
  animation: fadeInUp 0.8s var(--ease) 0.6s both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

@media (max-width: 768px) {
  .stat-divider {
    display: none;
  }
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  animation: fadeInUp 1s var(--ease) 1s both;
  z-index: 2;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--blue-light);
  border-radius: 2px;
  animation: scrollWheel 1.8s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ===== SERVICES SECTION ===== */
.services-section {
  background: var(--bg-secondary);
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  cursor: pointer;
}

/* Animated gradient border on service card hover */
.service-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  background: var(--grad-brand);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.service-card:hover::after { opacity: 0.6; }

/* Dot-grid tech background for why section */
.why-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(30,136,229,0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.why-section .container { position: relative; z-index: 1; }

/* Shimmer sweep on section tags */
.section-tag {
  position: relative;
  overflow: hidden;
}

.section-tag::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmerTag 3.5s ease-in-out infinite;
}

@keyframes shimmerTag {
  0%   { left: -100%; }
  50%, 100% { left: 200%; }
}

.service-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), var(--shadow-glow-blue);
}

.service-card-featured {
  border-color: rgba(30,136,229,0.35);
  background: linear-gradient(145deg, rgba(30,136,229,0.08), rgba(0,172,193,0.06));
}

.service-badge-featured {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: var(--grad-brand-alt);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

.service-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s var(--ease-spring);
}

.service-card:hover .service-icon-wrap { transform: scale(1.1) rotate(-3deg); }

.service-icon-blue { background: rgba(30,136,229,0.15); border: 1px solid rgba(30,136,229,0.25); }
.service-icon-teal { background: rgba(0,172,193,0.15); border: 1px solid rgba(0,172,193,0.25); }
.service-icon-green { background: rgba(0,200,83,0.15); border: 1px solid rgba(0,200,83,0.25); }

.service-icon {
  width: 28px;
  height: 28px;
}

.service-icon-blue .service-icon { color: var(--blue-light); }
.service-icon-teal .service-icon { color: var(--teal); }
.service-icon-green .service-icon { color: var(--green); }

.service-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.service-card:hover .service-glow { opacity: 1; }
.service-glow-blue  { background: radial-gradient(circle, rgba(30,136,229,0.15) 0%, transparent 70%); }
.service-glow-teal  { background: radial-gradient(circle, rgba(0,172,193,0.15) 0%, transparent 70%); }
.service-glow-green { background: radial-gradient(circle, rgba(0,200,83,0.15) 0%, transparent 70%); }

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.service-features li svg {
  width: 14px;
  height: 14px;
  color: var(--green);
  flex-shrink: 0;
}

.service-cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-light);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.3s var(--ease);
}

.service-cta:hover {
  color: var(--teal);
  gap: 0.5rem;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: var(--bg-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Workspace image container */
.about-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
}

.about-workspace-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.about-img-wrap:hover .about-workspace-img {
  transform: scale(1.03);
}

/* Gradient overlay — darkens bottom and edges */
.about-img-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(9,14,26,0.85) 0%, transparent 50%),
    linear-gradient(135deg, rgba(9,14,26,0.4) 0%, transparent 60%);
  pointer-events: none;
}

/* Logo badge — bottom-left corner */
.about-logo-badge {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 90px;
  height: 90px;
  background: rgba(9,14,26,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(30,136,229,0.35);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 20px rgba(30,136,229,0.15);
}

.about-logo-badge .about-logo-glow {
  width: 80px;
  height: 80px;
}

.about-logo-badge-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 10px rgba(30,136,229,0.5));
  animation: logoFloat 4s ease-in-out infinite;
}

/* Service tag strip at bottom */
.about-img-tags {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.about-img-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(0,172,193,0.1);
  border: 1px solid rgba(0,172,193,0.25);
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}



.about-logo-display {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 240px;
}

.about-logo-glow {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,136,229,0.25) 0%, rgba(0,200,83,0.1) 50%, transparent 70%);
  animation: rotateGlow 6s linear infinite;
}

@keyframes rotateGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.about-logo-big {
  width: 160px;
  height: 160px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 30px rgba(30,136,229,0.5));
  animation: logoFloat 4s ease-in-out infinite;
}

/* Credential grid below logo */
.about-cred-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  width: 100%;
  max-width: 340px;
}

.cred-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.cred-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.cred-item:hover {
  border-color: rgba(30,136,229,0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.cred-item:hover::before { opacity: 0.06; }

.cred-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(30,136,229,0.12);
  border: 1px solid rgba(30,136,229,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.cred-icon svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
}

.cred-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  position: relative;
  z-index: 1;
}

.cred-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.cred-value {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

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

.about-cards-float {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  white-space: nowrap;
}

.float-card svg { width: 16px; height: 16px; }

.float-card-1 {
  top: 10%;
  right: 0;
  animation: cardFloat1 5s ease-in-out infinite;
}
.float-card-1 svg { color: var(--blue); }

.float-card-2 {
  bottom: 20%;
  left: 0;
  animation: cardFloat2 5.5s ease-in-out infinite;
}
.float-card-2 svg { color: var(--teal); }

.float-card-3 {
  top: 55%;
  right: 5%;
  animation: cardFloat3 4.5s ease-in-out infinite;
}
.float-card-3 svg { color: var(--green); }

@keyframes cardFloat1 { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(1deg); } }
@keyframes cardFloat2 { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(-1deg); } }
@keyframes cardFloat3 { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(1deg); } }

.about-content .section-tag { display: inline-block; text-align: left; }
.about-content .section-title { text-align: left; }

.about-text {
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.75rem 0 2rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.value-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(30,136,229,0.12);
  border: 1px solid rgba(30,136,229,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-icon svg {
  width: 20px;
  height: 20px;
  color: var(--blue-light);
}

.value-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

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

/* ===== PRODUCTS SECTION ===== */
.products-section {
  background: var(--bg-secondary);
}

.products-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.products-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.products-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.6s var(--ease);
}

.products-image-wrap:hover .products-img { transform: scale(1.04); }

.products-img-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(9,14,26,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  padding: 0.6rem 1.1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.products-img-badge svg { width: 16px; height: 16px; color: var(--green); }

.product-categories {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.product-category {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all 0.3s var(--ease);
  cursor: default;
}

.product-category:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateX(6px);
}

.cat-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(30,136,229,0.1);
  border: 1px solid rgba(30,136,229,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cat-icon svg {
  width: 22px;
  height: 22px;
  color: var(--teal);
}

.cat-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.cat-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.products-cta-wrap {
  padding: 1.25rem;
  border-radius: 14px;
  background: rgba(30,136,229,0.06);
  border: 1px dashed rgba(30,136,229,0.25);
}

.products-cta-note {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* ===== WHY US SECTION ===== */
.why-section {
  background: var(--bg-primary);
  overflow: hidden;
}

.why-bg-gradient {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(30,136,229,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transition: all 0.4s var(--ease);
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-brand-alt);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.why-card:hover::before { transform: scaleX(1); }

.why-card:hover {
  border-color: rgba(30,136,229,0.3);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.why-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.2;
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  line-height: 1;
  transition: opacity 0.3s;
}

.why-card:hover .why-number { opacity: 0.4; }

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(30,136,229,0.1);
  border: 1px solid rgba(30,136,229,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.why-icon svg {
  width: 24px;
  height: 24px;
  color: var(--blue-light);
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  background: var(--bg-secondary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.4s var(--ease);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  line-height: 1;
  font-family: Georgia, serif;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
}

.testimonial-card:hover {
  border-color: rgba(30,136,229,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

.testimonial-stars {
  font-size: 1rem;
  color: #fbbf24;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}

.author-name {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.author-role {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: var(--bg-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all 0.3s var(--ease);
}

.contact-card:hover {
  border-color: var(--border-hover);
  transform: translateX(5px);
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(30,136,229,0.12);
  border: 1px solid rgba(30,136,229,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  color: var(--teal);
}

.contact-card h4 {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.contact-card a, .contact-card p {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.25s;
}

.contact-card a:hover { color: var(--teal); }

/* Location lines with inline pin icons */
.location-line {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.location-tag { display: none; }

.footer-reg {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.footer-ai-note {
  font-size: 0.8rem;
  color: var(--teal);
  margin-top: 0.5rem;
  font-style: italic;
  opacity: 0.9;
}

.contact-social h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  padding: 0 1.25rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  padding: 0 1.25rem;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s var(--ease);
}

.social-link:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(30,136,229,0.35);
}

.social-link svg { width: 18px; height: 18px; }

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.93rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  outline: none;
  transition: all 0.3s var(--ease);
  width: 100%;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: rgba(30,136,229,0.04);
  box-shadow: 0 0 0 3px rgba(30,136,229,0.12);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.form-success {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(0,200,83,0.1);
  border: 1px solid rgba(0,200,83,0.25);
  border-radius: 10px;
  margin-top: 1rem;
  color: var(--green);
}

.form-success.visible { display: flex; }
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }
.form-success p { font-size: 0.9rem; font-weight: 500; }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.footer-logo {
  height: 36px;
  width: 36px;
  object-fit: contain;
}

.footer-brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-tagline {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 280px;
}

.footer-links-group h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-links-group ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links-group li {
  font-size: 0.88rem;
}

.footer-links-group a,
.footer-links-group span {
  color: var(--text-muted);
  transition: color 0.25s;
}

.footer-links-group a:hover { color: var(--teal); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.25s;
}

.footer-bottom-links a:hover { color: var(--teal); }

/* ===== SCROLL TO TOP ===== */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-brand-alt);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(30,136,229,0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s var(--ease);
  z-index: 999;
}

.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(30,136,229,0.55);
}

.scroll-top-btn svg { width: 20px; height: 20px; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Intersection Observer animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  :root { --section-py: 4.5rem; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-cred-grid { grid-template-columns: 1fr 1fr; max-width: 100%; }
  .about-logo-big { width: 160px; height: 160px; }
  .about-logo-display { width: 220px; height: 220px; }

  .products-showcase { grid-template-columns: 1fr; gap: 2.5rem; }

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

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

@media (max-width: 640px) {
  :root { --section-py: 3.5rem; }

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

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

  .hero-stats {
    gap: 1.25rem;
    padding: 1rem 1.25rem;
    flex-wrap: wrap;
  }

  .stat-divider { display: none; }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    justify-content: center;
  }

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

  .contact-form { padding: 1.5rem; }

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

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

@media (max-width: 400px) {
  .hero-title { font-size: 2.1rem; }
  .section-title { font-size: 1.7rem; }
}

/* ===== MODALS ===== */
.footer-modal-link {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  padding: 0;
  transition: color 0.25s;
}

.footer-modal-link:hover { color: var(--teal); }

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.35s var(--ease-spring);
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.modal-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease);
  flex-shrink: 0;
}

.modal-close:hover {
  background: rgba(239,68,68,0.15);
  border-color: rgba(239,68,68,0.35);
  color: #ef4444;
}

.modal-close svg { width: 16px; height: 16px; }

.modal-body {
  padding: 1.75rem 2rem;
  overflow-y: auto;
  line-height: 1.75;
  scroll-behavior: smooth;
}

.modal-body::-webkit-scrollbar { width: 5px; }
.modal-body::-webkit-scrollbar-track { background: transparent; }
.modal-body::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.modal-updated {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.modal-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 1.5rem 0 0.5rem;
}

.modal-body h3:first-of-type { margin-top: 0; }

.modal-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.modal-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.modal-body ul li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.modal-body a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.modal-body a:hover { color: var(--green); }

@media (max-width: 640px) {
  .modal-box { border-radius: 14px; }
  .modal-header { padding: 1.25rem 1.25rem; }
  .modal-body { padding: 1.25rem 1.25rem; }
}
