/* Custom CSS for FBH Tax Consulting - Modeled after Rise Accounting UI */
@import url('https://fonts.googleapis.com/css2?family=Gabarito:wght@400;500;600;700;800;900&display=swap');

:root {
  --color-primary: #0B243F;
  --color-secondary: #0D2E4E;
  --color-accent: #3BCBF7;
  --color-accent-light: #78E3FA;
  --color-ice: #EDF2FE;
  --color-card-bg: #F8F8F8;
  --color-text-dark: #0B243F;
  --color-text-muted: #545E69;
  --color-border: #DAE4EC;
  --color-gold: #F5BD42;
}

* {
  font-family: 'Gabarito', sans-serif;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--color-text-dark);
  background-color: #FFFFFF;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #0D2E4E;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3BCBF7;
}

/* Subtle Hover Transitions like Rise */
.btn-primary {
  background-color: #EDF2FE;
  color: #0B243F;
  font-weight: 600;
  border: 1px solid #0C2E4E;
  border-radius: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 25px -5px rgba(11, 36, 63, 0.25);
  background-color: #FFFFFF;
}

.btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  transition: all 0.25s ease;
}
.btn-secondary:hover {
  background-color: #EDF2FE;
  color: #0B243F;
  border-color: #EDF2FE;
  transform: translateY(-2px);
}

.btn-dark {
  background-color: #0B243F;
  color: #FFFFFF;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.25s ease;
}
.btn-dark:hover {
  background-color: #0D2E4E;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -3px rgba(11, 36, 63, 0.25);
}

/* Card Hover Lift */
.rise-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.rise-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -10px rgba(11, 36, 63, 0.12);
  border-color: #3BCBF7;
}

/* Pill Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Smooth Navigation Active States */
.nav-link {
  position: relative;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #3BCBF7;
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Infinite Marquee Animation for Credibility Bar */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 2rem;
}
.marquee-content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  min-width: 100%;
  gap: 2rem;
  animation: marquee 30s linear infinite;
}
.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}

/* Leadership Portrait Styling */
.portrait-container {
  position: relative;
  background: radial-gradient(circle at 50% 30%, #15395f 0%, #0B243F 85%);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(59, 203, 247, 0.25);
}
.portrait-container::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 40px rgba(11, 36, 63, 0.6);
  pointer-events: none;
}

/* Floating Badges */
.floating-badge {
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* Modal Backdrop */
.modal-overlay {
  background: rgba(11, 36, 63, 0.85);
  backdrop-filter: blur(8px);
}
