/* GIIVAA CAPITAL LTD — home page styles */

:root {
  --gc-bg: #0a0e17;
  --gc-surface: #111827;
  --gc-border: #1f2937;
  --gc-accent: #3b82f6;
  --gc-accent-hover: #2563eb;
  --gc-muted: #9ca3af;
  --gc-brand: #e4c257;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--gc-bg);
  color: #e5e7eb;
}

.navbar {
  background: rgba(10, 14, 23, 0.95) !important;
  border-bottom: 1px solid var(--gc-border);
}

.navbar .brand-logo {
  display: block;
  height: auto;
  max-height: 52px;
  width: auto;
  max-width: min(220px, 48vw);
}

.navbar .brand-name {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--gc-brand);
}

@media (max-width: 575.98px) {
  .navbar .brand-name {
    font-size: 1rem;
    max-width: 9rem;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 28rem;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #0a0e17;
  /* Video + poster are primary; no duplicate static image here */
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Subtle animated mesh under overlay (shows at edges / through transparency feel) */
.hero-anim-mesh {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.35;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 40%, rgba(59, 130, 246, 0.07) 50%, transparent 60%);
  background-size: 200% 200%;
  animation: heroMeshMove 22s ease-in-out infinite;
}

@keyframes heroMeshMove {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(ellipse 90% 60% at 50% 20%, rgba(59, 130, 246, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(10, 14, 23, 0.78) 0%, rgba(10, 14, 23, 0.85) 45%, rgba(10, 14, 23, 0.93) 100%);
  animation: heroOverlayBreath 14s ease-in-out infinite;
}

@keyframes heroOverlayBreath {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.94;
  }
}

.hero-inner {
  position: relative;
  z-index: 4;
  padding: 4rem 0 5rem;
}

.hero-inner .hero-title {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }

  .hero-bg {
    background-image: var(--hero-poster);
    background-size: cover;
    background-position: center;
  }

  .hero-anim-mesh,
  .hero-overlay {
    animation: none;
  }

  .hero-overlay {
    opacity: 1;
  }
}

.stat-card {
  background: var(--gc-surface);
  border: 1px solid var(--gc-border);
  border-radius: 0.75rem;
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.08), transparent 45%);
  pointer-events: none;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 1;
}

.section-title {
  font-weight: 700;
  color: #fff;
}

.card-gc {
  background: var(--gc-surface);
  border: 1px solid var(--gc-border);
  color: #e5e7eb;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.card-gc:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.15);
}

.text-muted-gc {
  color: var(--gc-muted) !important;
}

.text-gc-brand {
  color: var(--gc-brand);
}

.btn-primary {
  --bs-btn-bg: var(--gc-accent);
  --bs-btn-border-color: var(--gc-accent);
  --bs-btn-hover-bg: var(--gc-accent-hover);
  --bs-btn-hover-border-color: var(--gc-accent-hover);
}

.btn-outline-light:hover {
  color: #0a0e17;
}

.site-footer {
  border-top: 1px solid var(--gc-border);
  background: #06080f;
  color: #9ca3af;
}

.site-footer .footer-brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}

.site-footer .footer-brand:hover {
  color: #fff;
}

.site-footer .footer-brand-name {
  color: var(--gc-brand) !important;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.site-footer .footer-brand:hover .footer-brand-name {
  color: #f0d878;
}

.site-footer .footer-brand-logo {
  display: block;
  height: auto;
  max-height: 56px;
  width: auto;
  max-width: 220px;
}

.site-footer .footer-col-title {
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.site-footer .footer-link {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-block;
  padding: 0.2rem 0;
  transition: color 0.2s ease;
}

.site-footer .footer-link:hover {
  color: #e5e7eb;
}

.site-footer .social-btn {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid var(--gc-border);
  background: rgba(17, 24, 39, 0.6);
  color: #9ca3af;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.site-footer .social-btn:hover {
  color: #fff;
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(59, 130, 246, 0.12);
}

.site-footer .footer-disclaimer {
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.75rem;
  line-height: 1.55;
  color: #6b7280;
}

.site-footer .footer-bottom {
  background: #04050a;
}

.footer-tagline {
  line-height: 1.55;
}

.footer-dev-credit {
  font-size: 0.55rem;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: rgba(55, 65, 81, 0.42);
}

.footer-dev-credit a {
  color: inherit;
  text-decoration: none;
}

.footer-dev-credit a:hover {
  color: rgba(75, 85, 99, 0.58);
}

.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  background-image: var(--hero-poster);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  z-index: 0;
}

.cta-section__pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.9;
  pointer-events: none;
}

.cta-section__pattern svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cta-section__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(135deg, rgba(10, 14, 23, 0.88) 0%, rgba(10, 14, 23, 0.82) 40%, rgba(15, 23, 42, 0.9) 100%),
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(59, 130, 246, 0.14), transparent 55%);
}

.cta-section__inner {
  position: relative;
  z-index: 3;
}

.cta-card {
  background: rgba(17, 24, 39, 0.72) !important;
  border: 1px solid rgba(59, 130, 246, 0.2) !important;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (prefers-reduced-motion: reduce) {
  .cta-section__bg {
    transform: none;
  }
}

.divider-gc {
  border: 0;
  border-top: 1px solid var(--gc-border);
  opacity: 1;
  max-width: 4rem;
  margin: 2rem auto;
}

.section-head {
  max-width: 40rem;
}

/* Home — Our Services: featured Forex + stacked secondary cards */
.services-showcase .services-featured {
  position: relative;
  padding: 2rem 2rem 2.25rem;
  border-color: rgba(59, 130, 246, 0.28);
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.98) 0%, rgba(10, 14, 23, 0.99) 100%);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.services-showcase .services-featured__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 55% at 100% 0%, rgba(59, 130, 246, 0.14), transparent 52%),
    radial-gradient(ellipse 55% 45% at 0% 100%, rgba(228, 194, 87, 0.07), transparent 48%);
  pointer-events: none;
  z-index: 0;
}

.services-showcase .services-featured > :not(.services-featured__mesh) {
  position: relative;
  z-index: 1;
}

.services-showcase .services-kicker {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gc-brand);
}

.services-showcase .services-featured__icon {
  width: 4rem;
  height: 4rem;
  font-size: 2rem;
  border-radius: 1rem;
}

.services-showcase .services-featured__lead {
  font-size: 0.95rem;
  line-height: 1.65;
}

.services-showcase .services-compact {
  padding: 1.125rem 1.35rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.services-showcase .services-compact:hover {
  transform: translateY(-4px);
}

.services-showcase .services-compact .feature-icon-wrap {
  width: 2.65rem;
  height: 2.65rem;
  font-size: 1.2rem;
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .services-showcase .services-stack {
    justify-content: space-between;
  }
}

@media (max-width: 991.98px) {
  .services-showcase .services-featured {
    padding: 1.65rem 1.5rem 1.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-showcase .services-compact {
    transition: none;
  }

  .services-showcase .services-compact:hover {
    transform: none;
  }
}

/* Why / Services: extra vertical + horizontal gap between card columns */
.row.section-cards-gap {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.75rem;
}

@media (min-width: 768px) {
  .row.section-cards-gap {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2.25rem;
  }
}

@media (min-width: 1200px) {
  .row.section-cards-gap {
    --bs-gutter-x: 2.25rem;
    --bs-gutter-y: 2.5rem;
  }
}

/* Space between first and second card rows (separate .row elements) */
.section-cards-gap + .section-cards-gap {
  margin-top: 1.75rem;
}

@media (min-width: 992px) {
  .section-cards-gap + .section-cards-gap {
    margin-top: 2.5rem;
  }

  .section-head-spacing {
    margin-bottom: 3.5rem !important;
  }
}

.feature-card {
  background: linear-gradient(145deg, rgba(17, 24, 39, 0.95) 0%, rgba(10, 14, 23, 0.98) 100%);
  border: 1px solid var(--gc-border);
  border-radius: 1rem;
  padding: 1.5rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, var(--gc-accent));
  opacity: 0.85;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(59, 130, 246, 0.12);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon-wrap {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: rgba(59, 130, 246, 0.12);
  color: var(--gc-accent);
  border: 1px solid rgba(59, 130, 246, 0.22);
  transition: transform 0.35s ease, background 0.35s ease;
}

.feature-card:hover .feature-icon-wrap {
  transform: scale(1.08) rotate(-3deg);
  background: rgba(59, 130, 246, 0.2);
}

.feature-card.accent-amber {
  --card-accent: var(--gc-brand);
}

.feature-card.accent-amber .feature-icon-wrap {
  background: rgba(228, 194, 87, 0.14);
  border-color: rgba(228, 194, 87, 0.28);
  color: var(--gc-brand);
}

.feature-card.accent-emerald {
  --card-accent: #10b981;
}

.feature-card.accent-emerald .feature-icon-wrap {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.25);
  color: #34d399;
}

.feature-card.accent-violet {
  --card-accent: #8b5cf6;
}

.feature-card.accent-violet .feature-icon-wrap {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.25);
  color: #a78bfa;
}

.feature-card.accent-rose {
  --card-accent: #f43f5e;
}

.feature-card.accent-rose .feature-icon-wrap {
  background: rgba(244, 63, 94, 0.12);
  border-color: rgba(244, 63, 94, 0.25);
  color: #fb7185;
}

.feature-card.accent-cyan {
  --card-accent: #06b6d4;
}

.feature-card.accent-cyan .feature-icon-wrap {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.25);
  color: #22d3ee;
}

[data-reveal-section]:not(.is-revealed) .reveal-item {
  opacity: 0;
  transform: translateY(1.25rem);
}

[data-reveal-section].is-revealed .reveal-item {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal-section]:not(.is-revealed) .reveal-item {
    opacity: 1;
    transform: none;
  }

  [data-reveal-section].is-revealed .reveal-item {
    transition: none;
  }

  .feature-card:hover {
    transform: none;
  }

  .feature-card:hover .feature-icon-wrap {
    transform: none;
  }
}

.stat-value .counter-num {
  font-variant-numeric: tabular-nums;
}

.stat-card .small {
  position: relative;
  z-index: 1;
}

.counter-literal-display {
  min-height: 1.5em;
  display: inline-block;
}

/* Scroll reveal stagger (replaces inline --reveal-delay) */
.reveal-delay-0 {
  --reveal-delay: 0s;
}

.reveal-delay-05 {
  --reveal-delay: 0.05s;
}

.reveal-delay-06 {
  --reveal-delay: 0.06s;
}

.reveal-delay-1 {
  --reveal-delay: 0.1s;
}

.reveal-delay-12 {
  --reveal-delay: 0.12s;
}

.reveal-delay-15 {
  --reveal-delay: 0.15s;
}

.reveal-delay-18 {
  --reveal-delay: 0.18s;
}

.reveal-delay-2 {
  --reveal-delay: 0.2s;
}

.reveal-delay-24 {
  --reveal-delay: 0.24s;
}

.reveal-delay-25 {
  --reveal-delay: 0.25s;
}

.reveal-delay-3 {
  --reveal-delay: 0.3s;
}
