/* ============================================================
   home.css — HoneyBedger Solutions
   Styles specific to home.html only.
   Shared styles live in css/shared.css
============================================================ */

/* ── HERO ── */

.hero {
  background: linear-gradient(135deg, #020617 0%, #0a1628 30%, #0c1e3e 60%, #091a33 100%);
 /* background: #60a5fa; */
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 5rem;
}

.hero-blob {
  position: absolute;
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, .12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ── Particles ── */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(96, 165, 250, .6);
  border-radius: 50%;
  animation: particleFloat 8s ease-in-out infinite;
}

.p1 {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.p2 {
  top: 25%;
  right: 15%;
  animation-delay: 1.5s;
  width: 3px;
  height: 3px;
}

.p3 {
  bottom: 30%;
  left: 20%;
  animation-delay: 3s;
  width: 5px;
  height: 5px;
  background: rgba(147, 197, 253, .4);
}

.p4 {
  top: 40%;
  left: 45%;
  animation-delay: 2s;
  width: 2px;
  height: 2px;
}

.p5 {
  bottom: 20%;
  right: 25%;
  animation-delay: 4s;
  width: 6px;
  height: 6px;
  background: rgba(59, 130, 246, .3);
}

.p6 {
  top: 60%;
  left: 5%;
  animation-delay: 5s;
  width: 3px;
  height: 3px;
  background: rgba(147, 197, 253, .5);
}

@keyframes particleFloat {

  0%,
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0.4;
  }

  25% {
    transform: translateY(-30px) translateX(10px);
    opacity: 1;
  }

  50% {
    transform: translateY(-15px) translateX(-15px);
    opacity: 0.6;
  }

  75% {
    transform: translateY(-40px) translateX(5px);
    opacity: 0.9;
  }
}

/* ── Hero Layout ── */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  width: 100%;
}

.hero-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

.hero-text-col {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(59, 130, 246, .12);
  border: 1px solid rgba(96, 165, 250, .25);
  color: rgba(255, 255, 255, .9);
  font-size: .75rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  padding: .5rem 1.25rem;
  border-radius: 9999px;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  backdrop-filter: blur(8px);
  animation: fadeInUp .8s ease both;
}

.badge-dot {
  width: .5rem;
  height: .5rem;
  background: #34d399;
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

.hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  color: #fff;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.15;
  letter-spacing: -.025em;
  margin-bottom: 1.5rem;
  animation: fadeInUp .8s ease .15s both;
}

.hero-title .accent {
  background: linear-gradient(135deg, #60a5fa, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .accent-glow {
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-sub {
  color: rgba(255, 255, 255, .6);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0 0 2.5rem;
  max-width: 520px;
  animation: fadeInUp .8s ease .3s both;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
  animation: fadeInUp .8s ease .45s both;
}

.btn-hero-primary {
  padding: .875rem 2rem;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  border-radius: .875rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: .875rem;
  box-shadow: 0 8px 32px rgba(37, 99, 235, .35), 0 0 0 0 rgba(59, 130, 246, 0);
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(37, 99, 235, .5), 0 0 20px rgba(59, 130, 246, .2);
}

.btn-hero-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
  transform: skewX(-20deg);
  transition: left .6s;
}

.btn-hero-primary:hover::after {
  left: 120%;
}

.btn-hero-secondary {
  padding: .875rem 2rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .15);
  color: #fff;
  border-radius: .875rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: .875rem;
  backdrop-filter: blur(8px);
  transition: all .3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .3);
  transform: translateY(-2px);
}

/* ── Trust Indicators ── */
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
  animation: fadeInUp .8s ease .6s both;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255, 255, 255, .45);
  font-size: .8rem;
  font-weight: 600;
}

.trust-item i {
  color: rgba(96, 165, 250, .6);
  font-size: .75rem;
}

.trust-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, .15);
}

/* ── Hero Image ── */
.hero-image-col {
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  /* justify-content: flex-end; */
  justify-content: center;
  animation: fadeInUp 1s ease .4s both;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 560px;
 
}

.hero-main-img {
  width: 100%;
  height: auto;
  border-radius: 0;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 30px 60px rgba(59, 130, 246, .3));
  transition: transform .5s ease;
}

.hero-main-img:hover {
  transform: scale(1.02);
}

.hero-glow {
  position: absolute;
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  background: radial-gradient(circle, rgba(59, 130, 246, .3) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: .6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.hero-image-ring {
  position: absolute;
  inset: -12px;
  border-radius: 2rem;
  border: 1px solid rgba(96, 165, 250, .15);
  z-index: 0;
  animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {

  0%,
  100% {
    opacity: .5;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

/* ── Floating Cards ── */
.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgba(15, 23, 42, .85);
  border: 1px solid rgba(96, 165, 250, .2);
  backdrop-filter: blur(16px);
  border-radius: 1rem;
  padding: .75rem 1rem;
  z-index: 20;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .3);
  animation: floatCard 5s ease-in-out infinite;
}

.hero-float-card strong {
  display: block;
  color: #fff;
  font-size: .8rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
}

.hero-float-card small {
  color: rgba(255, 255, 255, .45);
  font-size: .7rem;
}

.float-icon {
  width: 2.25rem;
  height: 2.25rem;
  background: rgba(59, 130, 246, .2);
  border-radius: .625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-icon i {
  color: #60a5fa;
  font-size: .85rem;
}

.float-icon.icon-emerald {
  background: rgba(52, 211, 153, .15);
}

.float-icon.icon-emerald i {
  color: #34d399;
}

.float-card-1 {
  top: 10%;
  left: -10px;
  animation-delay: 0s;
}

.float-card-2 {
  bottom: 10%;
  right: -10px;
  animation-delay: 2.5s;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}
/* --------------------------- */
.hero-stats-bar {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2.5rem;
  /* ✅ pushes slightly down */
}

.hero-stats {
  display: flex;
  /* ✅ better than grid for center alignment */
  justify-content: center;
  /* ✅ center perfectly */
  align-items: center;
  flex-wrap: wrap;
  /* ✅ responsive */

  gap: 1.5rem;
  /* ✅ equal spacing */
  margin-top: 3rem;
}

.stat-box {
  width: 200px;
  /* ✅ equal size */
  padding: 1.25rem;

  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 1rem;
  text-align: center;
  backdrop-filter: blur(16px);
  transition: all 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(96, 165, 250, .25);
  box-shadow: 0 8px 32px rgba(59, 130, 246, .1);
}

.stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
}

.stat-num span {
  color: #60a5fa;
}

.stat-label {
  color: rgba(255, 255, 255, .5);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: .5rem;
}

/* ── Entrance Animation ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@media (max-width: 768px) {
  .hero-stats {
    display: grid;
    /* ✅ switch back to grid for mobile */
    grid-template-columns: repeat(2, 1fr);
    /* ✅ 2 per row */
    gap: 1rem;
    justify-content: center;
  }

  .stat-box {
    width: 100%;
    /* ✅ full width inside grid */
  }
}

/* ── ABOUT TEASER ── */
.about-teaser-section {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.about-main-col {
  margin-bottom: 4rem;
}

/* About teaser two-column layout */
.about-image-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.about-bulb-deco {
  position: absolute;
  top: 10%;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 450px;
  height: auto;
  opacity: 0.30;
  z-index: 0;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

.about-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  z-index: 2;
  padding: 2rem;
  /* room for blobs to overflow inward */
}

.about-man-img {
  width: 100%;
  height: auto;
  border-radius: 2rem;
  position: relative;
  z-index: 3;
  /* above both shapes */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease;
}

.about-man-img:hover {
  transform: scale(1.02);
}

/* Large lavender blob — top-left, behind image */
.about-shape-1 {
  position: absolute;
  top: -5%;
  left: -8%;
  width: 75%;
  height: 85%;
  background: linear-gradient(135deg, #c7d9f8, #dbeafe);
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
  opacity: 0.9;
}

/* Teal/mint blob — bottom-right, behind image */
.about-shape-2 {
  position: absolute;
  bottom: -5%;
  right: -5%;
  width: 65%;
  height: 70%;
  background: linear-gradient(135deg, #a7f3d0, #d1fae5);
  border-radius: 40% 60% 40% 60% / 60% 40% 60% 40%;
  z-index: 1;
  animation: float 8s ease-in-out infinite reverse;
  opacity: 0.85;
}

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

.about-feat {
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.about-feat:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  background: #fff !important;
}

.af-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.about-feat:hover .af-icon {
  transform: scale(1.1) rotate(5deg);
}

.about-feat h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  color: var(--slate-800);
  margin-bottom: .75rem;
  font-size: 1.1rem;
}

.about-feat p {
  color: var(--slate-500);
  font-size: .875rem;
  line-height: 1.65;
  margin: 0;
}

@media (min-width: 640px) {
  .features-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── SERVICE CARDS (home preview) ── */
.services-section {
  background: var(--slate-50);
  position: relative;
  overflow: hidden;
}

.svc-triangle-deco {
  position: absolute;
  width: 300px;
  height: auto;
  opacity: 0.40;
  z-index: 0;
  animation: float 10s ease-in-out infinite;
  transform-origin: center;
}

.svc-triangle-right {
  top: -5%;
  right: -5%;
}

.svc-triangle-left {
  bottom: 10%;
  left: -5%;
  animation: float 12s ease-in-out infinite reverse;
  transform: rotate(45deg);
}

.svc-bulb-deco {
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 600px;
  height: max-content;
  opacity: 0.20;
  z-index: 0;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.svc-icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.svc-icon-wrap i {
  font-size: 1.25rem;
}

.svc-card:hover .svc-icon-wrap.icon-brand {
  background: var(--brand-500);
}

.svc-card:hover .svc-icon-wrap.icon-brand i {
  color: #fff;
}

.svc-card:hover .svc-icon-wrap.icon-violet {
  background: var(--violet-500);
}

.svc-card:hover .svc-icon-wrap.icon-violet i {
  color: #fff;
}

.svc-card:hover .svc-icon-wrap.icon-rose {
  background: var(--rose-500);
}

.svc-card:hover .svc-icon-wrap.icon-rose i {
  color: #fff;
}

.svc-card:hover .svc-icon-wrap.icon-emerald {
  background: var(--emerald-500);
}

.svc-card:hover .svc-icon-wrap.icon-emerald i {
  color: #fff;
}

.svc-card-dark {
  background: var(--brand-500);
  border-color: var(--brand-500);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.svc-card-dark:hover {
  box-shadow: 0 20px 60px rgba(37, 99, 235, .3);
}

.svc-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--slate-800);
  margin-bottom: .75rem;
}

.svc-card p {
  color: var(--slate-500);
  font-size: .875rem;
  line-height: 1.65;
}

/* ── WHY CHOOSE US ── */
.why-section {
  background: linear-gradient(135deg, #0c1e5e 0%, #1a4fcf 50%, #2563eb 100%);
  position: relative;
  overflow: hidden;
}

.why-hand-deco {
  position: absolute;
  top: -100px;
  left: auto;
  right: 50px;
  width: 350px;
  max-width: none;
  height: auto;
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
  animation: pulseDot 4s infinite alternate;
}

.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 44px 44px;
}

.why-inner {
  position: relative;
  z-index: 10;
}

.why-card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  transition: var(--transition);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.why-card:hover {
  background: rgba(255, 255, 255, .14);
  transform: translateX(5px);
}

.why-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-icon i {
  font-size: 1.125rem;
}

.wi-green {
  background: rgba(52, 211, 153, .2);
}

.wi-green i {
  color: #34d399;
}

.wi-blue {
  background: rgba(96, 165, 250, .2);
}

.wi-blue i {
  color: #93c5fd;
}

.wi-violet {
  background: rgba(167, 139, 250, .2);
}

.wi-violet i {
  color: #c4b5fd;
}

.wi-amber {
  background: rgba(251, 191, 36, .2);
}

.wi-amber i {
  color: #fcd34d;
}

.wi-rose {
  background: rgba(251, 113, 133, .2);
}

.wi-rose i {
  color: #fca5a5;
}

.why-card h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: #fff;
  margin-bottom: .25rem;
}

.why-card p {
  color: rgba(255, 255, 255, .55);
  font-size: .875rem;
}

.why-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .9);
  font-size: .75rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  padding: .5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.why-badge span {
  width: .5rem;
  height: .5rem;
  background: #93c5fd;
  border-radius: 50%;
  display: inline-block;
}

.why-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  color: #fff;
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.why-sub {
  color: rgba(255, 255, 255, .7);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

/* ── RESPONSIVE ── */
@media (min-width: 640px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-inner {
    padding: 0 1.25rem;
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-text-col {
    text-align: center;
  }

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

  .hero-sub {
    margin: 0 auto 2.5rem;
  }

  .hero-image-col {
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: clamp(2.5rem, 4vw, 3.75rem);
  }

  .svc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
