/* =======================================
   HOMEPAGE COMPONENT STYLES
======================================= */

.hero {
  padding: 100px 5% 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 620px;
  position: relative;
  overflow: hidden;
  background: #0a0a0a; /* Fallback background color — dark to match logo */
}

/* Video Background */
.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

/* Video Overlay — Dark gradient: opaque left (text side), transparent right (video visible) */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(10, 10, 10, 0.92) 0%,
    rgba(10, 10, 10, 0.78) 30%,
    rgba(10, 10, 10, 0.40) 55%,
    rgba(10, 10, 10, 0.15) 75%,
    rgba(10, 10, 10, 0.08) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Subtle gold radial glow at center */
.hero::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* LEFT CONTENT */
.hero-left {
  flex: 0 1 620px;
  z-index: 2;
}

.hero-title {
  font-size: 82px;
  line-height: 1.02;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -2px;
}

.hero-title .ai {
  color: #d4af37;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.hero-tagline {
  margin-top: 14px;
  font-size: 21px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
}

.hero-badges {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge-blue {
  font-weight: 800;
  font-size: 15px;
  color: #ffffff;
}

.badge-orange-text {
  font-weight: 800;
  font-size: 15px;
  color: #d4af37;
}

.badge-orange {
  font-weight: 800;
  font-size: 15px;
  color: #e07000;
}

.hero-divider {
  color: rgba(255, 255, 255, 0.3);
  font-size: 16px;
}

.hero-desc {
  margin-top: 20px;
  font-size: 17.5px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

.hero-buttons {
  margin-top: 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 18px;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #d4af37 0%, #b8960f 100%);
  color: #0a0a0a;
  padding: 16px 32px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.6px;
  display: inline-block;
  white-space: nowrap;
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
}

.btn-hero-primary:hover {
  background: linear-gradient(135deg, #e0bd45 0%, #d4af37 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.5);
}

.btn-hero-secondary {
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  padding: 15px 30px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.6px;
  display: inline-block;
  white-space: nowrap;
  transition: all 0.3s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #d4af37;
  color: #d4af37;
}

/* RIGHT FEATURE PILLS — Glassmorphism dark */
.hero-right {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2;
}

.hero-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-left: 5px solid #d4af37;
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: default;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-pill:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(255, 255, 255, 0.10);
}

.hero-pill:nth-child(1) { border-left-color: #d4af37; }
.hero-pill:nth-child(2) { border-left-color: #ffffff; }
.hero-pill:nth-child(3) { border-left-color: #0078c8; }
.hero-pill:nth-child(4) { border-left-color: #e07000; }

.pill-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.pill-icon i {
  color: #d4af37;
  font-size: 17px;
}

.pill-icon.navy  { background: rgba(212, 175, 55, 0.15); }
.pill-icon.navy i { color: #d4af37; }
.pill-icon.green  { background: rgba(255, 255, 255, 0.12); }
.pill-icon.green i { color: #fff; }
.pill-icon.blue   { background: rgba(0, 120, 200, 0.18); }
.pill-icon.blue i { color: #5ab5f5; }
.pill-icon.orange { background: rgba(224, 112, 0, 0.18); }
.pill-icon.orange i { color: #ff9633; }

.pill-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pill-text strong {
  font-size: 13.5px;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.pill-text span {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

/* =======================================
   HERO BOTTOM STRIP
======================================= */

.hero-strip {
  background: linear-gradient(180deg, #0f0f0f 0%, #141414 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  border-bottom: 2px solid rgba(212, 175, 55, 0.08);
  padding: 24px 4%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 10;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.strip-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: #d4af37;
  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.strip-item:nth-child(2)::before { background: #0078c8; }
.strip-item:nth-child(3)::before { background: #e07000; }
.strip-item:nth-child(4)::before { background: #0078c8; }
.strip-item:nth-child(5)::before { background: #e07000; }

.strip-item:hover {
  transform: translateY(-6px);
  background: rgba(212, 175, 55, 0.06);
  border-color: rgba(212, 175, 55, 0.15);
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.08);
}

.strip-item:hover::before {
  height: 100%;
}

.strip-item > i {
  font-size: 20px;
  color: #d4af37;
  background: rgba(212, 175, 55, 0.10);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 2;
}

.strip-item:nth-child(2) > i { color: #5ab5f5; background: rgba(0, 120, 200, 0.10); }
.strip-item:nth-child(3) > i { color: #ff9633; background: rgba(224, 112, 0, 0.10); }
.strip-item:nth-child(4) > i { color: #5ab5f5; background: rgba(0, 120, 200, 0.10); }
.strip-item:nth-child(5) > i { color: #ff9633; background: rgba(224, 112, 0, 0.10); }

.strip-item:hover > i {
  background: #d4af37;
  color: #0a0a0a !important;
  transform: scale(1.1);
}
.strip-item:nth-child(2):hover > i { background: #0078c8; color: #fff !important; }
.strip-item:nth-child(3):hover > i { background: #e07000; color: #fff !important; }
.strip-item:nth-child(4):hover > i { background: #0078c8; color: #fff !important; }
.strip-item:nth-child(5):hover > i { background: #e07000; color: #fff !important; }

.strip-item > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative;
  z-index: 2;
}

.strip-item strong {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.strip-item span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

/* =======================================
   INTRO/BELIEF SECTION
======================================= */

.intro-section {
  padding: 70px 5%;
  background: #faf9f6;
}

.intro-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.intro-content h2 {
  font-size: 36px;
  color: #0a0a0a;
  font-weight: 800;
  margin-bottom: 24px;
}

.intro-content h2 span {
  color: #d4af37;
}

.intro-content p {
  font-size: 17px;
  color: #444;
  line-height: 1.9;
  margin-bottom: 18px;
}

.core-principle {
  margin-top: 28px;
  font-size: 18px !important;
  font-weight: 700;
  color: #0a0a0a !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.core-principle i {
  color: #d4af37;
  font-size: 22px;
}

/* =======================================
   STATS — Premium dark with gold accent
======================================= */

.stats {
  background: linear-gradient(135deg, #0a0a0a 0%, #111111 100%);
  margin: 40px 5%;
  border-radius: 22px;
  padding: 50px 40px;
  color: #fff;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.12);
}

.stat h2 {
  font-size: 44px;
  margin-bottom: 10px;
  color: #d4af37;
}

.stat p {
  font-size: 16px;
  opacity: 0.9;
}

/* =======================================
   VISION & MISSION (HOMEPAGE)
======================================= */

.mission-section {
  padding: 80px 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  background: #faf9f6;
}

.mission-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  border: 1px solid rgba(212, 175, 55, 0.06);
}

.mission-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.10);
  border-color: rgba(212, 175, 55, 0.18);
}

.mission-icon {
  width: 60px;
  height: 60px;
  background: rgba(212, 175, 55, 0.08);
  color: #d4af37;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
  transition: all 0.4s ease;
}

.mission-card:hover .mission-icon {
  background: #d4af37;
  color: #0a0a0a;
  transform: rotate(360deg);
}

.mission-card h3 {
  font-size: 24px;
  color: #0a0a0a;
  margin-bottom: 16px;
  font-weight: 750;
}

.mission-card p,
.mission-card ul {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
}

.mission-card ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mission-card ul li::before {
  content: "✓ ";
  color: #d4af37;
  font-weight: 700;
}

/* =======================================
   RESPONSIVE — HOMEPAGE SPECIFIC
======================================= */

@media(max-width: 1024px) {
  .hero {
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 40px 5%;
  }

  .hero-left {
    flex: 1 1 100%;
    text-align: center;
    max-width: 100%;
  }

  .hero-title {
    font-size: 52px;
  }

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

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

  .hero-right {
    flex: 0 0 230px;
  }
}

@media(max-width: 900px) {
  .hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 50px 5% 60px;
    min-height: 85vh;
    gap: 24px;
    background: #0a0a0a; /* Keep dark — video shows through */
  }

  /* Mobile overlay — centered, video visible through semi-transparent dark */
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(10, 10, 10, 0.70) 0%,
      rgba(10, 10, 10, 0.50) 40%,
      rgba(10, 10, 10, 0.35) 65%,
      rgba(10, 10, 10, 0.55) 85%,
      rgba(10, 10, 10, 0.75) 100%
    );
  }

  /* Golden vignette effect on mobile */
  .hero::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  }

  .hero-left {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }

  .hero-title {
    font-size: 38px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  }

  .hero-tagline {
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
  }

  .hero-desc {
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
  }

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

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-right {
    display: none;
  }

  .hero-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 20px 5%;
  }

  .hero-strip > :last-child {
    grid-column: span 2;
  }

  .stats {
    margin: 30px 4%;
    padding: 36px 24px;
  }

  .stat h2 {
    font-size: 38px;
  }

  .cta-section h2 {
    font-size: 34px;
  }
  
  .mission-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media(max-width: 480px) {
  .hero {
    padding: 40px 5% 50px;
    min-height: 90vh;
  }

  .hero-title {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .hero-tagline {
    font-size: 16px;
  }

  .hero-desc {
    font-size: 14.5px;
  }

  .hero-left h2 {
    font-size: 36px;
  }

  .hero-left p {
    font-size: 15px;
  }

  .hero-strip {
    grid-template-columns: 1fr;
  }

  .hero-strip > :last-child {
    grid-column: span 1;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    padding: 30px 20px;
  }

  .stat h2 {
    font-size: 32px;
  }

  .stat p {
    font-size: 14px;
  }

  .cta-section h2 {
    font-size: 28px;
  }

  .cta-section p {
    font-size: 15px;
  }
}

/* =======================================
   ENHANCED MICRO-ANIMATIONS (homepage)
======================================= */

/* ── Hero pill staggered entrance ─────── */
.hero-pill {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-pill:nth-child(1) { animation-delay: 0.20s; }
.hero-pill:nth-child(2) { animation-delay: 0.35s; }
.hero-pill:nth-child(3) { animation-delay: 0.50s; }
.hero-pill:nth-child(4) { animation-delay: 0.65s; }

/* ── Hero left staggered entrance ────── */
.hero-title {
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}
.hero-tagline {
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
.hero-badges {
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}
.hero-desc {
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.30s both;
}
.hero-buttons {
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.40s both;
}

/* ── Service-box icon hover animation ── */
.service-box i {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              color 0.3s ease,
              background 0.3s ease;
}
.service-box:hover i {
  transform: rotate(15deg) scale(1.25);
}

/* ── Service-box card lift with glow ─── */
.service-box {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
}
.service-box:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 38px rgba(212, 175, 55, 0.10);
}

/* ── Stats: shimmer shine sweep on hover ── */
.stats {
  position: relative;
  overflow: hidden;
}
.stats::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.06), transparent);
  animation: shimmerSweep 3.5s ease-in-out infinite;
  pointer-events: none;
}


/* ── Stat number subtle scale pulse ──── */
.stat h2 {
  transition: transform 0.3s ease, color 0.3s ease;
}
.stat:hover h2 {
  transform: scale(1.12);
  color: #e0bd45;
}

/* ── Strip-item icon spin on hover ───── */
.strip-item > i {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.35s ease,
              color 0.35s ease !important;
}
.strip-item:hover > i {
  transform: rotate(20deg) scale(1.15) !important;
}

/* ── Hero CTA button arrow bounce ────── */
.btn-hero-primary::after {
  content: " →";
  display: inline-block;
  transition: transform 0.3s ease;
}
.btn-hero-primary:hover::after {
  transform: translateX(4px);
}

/* ── Mission icon continuous subtle rotate ── */
.mission-icon {
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.4s ease,
              color 0.4s ease;
}

/* ── intro-section heading gradient sweep ── */
.intro-content h2 {
  background: linear-gradient(90deg, #0a0a0a 0%, #d4af37 40%, #b8960f 70%, #0a0a0a 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

/* ── Core-principle icon bounce ─────── */
.core-principle i {
  animation: bounceDot 1.8s ease-in-out infinite;
}
