/*
Theme Name: FightWPTheme
Version: 1.0.1
Theme URI: https://www.linkedin.com/in/devzafarchowdhury/
Author: Md Abdullah Abu Zafar Chowdhury
Author URI: https://www.linkedin.com/in/devzafarchowdhury/
Description: At Fit2Fight, our mission is simple yet vital: ensure every first responder has access to comprehensive, NFPA 1582-compliant wellness exams that can detect health risks early and keep them fit for duty.
Text Domain: fightwptheme

*/

/* ========== CSS Custom Properties ========== */
:root {
  --primary: hsl(212, 53%, 23%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(215, 25%, 96%);
  --secondary-foreground: hsl(212, 53%, 23%);
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(220, 25%, 14%);
  --muted: hsl(215, 20%, 94%);
  --muted-foreground: hsl(215, 16%, 47%);
  --accent: hsl(24, 81%, 51%);
  --accent-foreground: hsl(0, 0%, 100%);
  --amber: hsl(36, 91%, 55%);
  --destructive: hsl(0, 84%, 60%);
  --border: hsl(214, 32%, 91%);
  --radius: 0.75rem;
}

/* ========== Reset & Base ========== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ========== Utility Classes ========== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-gradient {
  background: linear-gradient(to right, var(--accent), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}



/* Old design code here, abobe codes are replached */

.glow-accent {
  box-shadow: 0 0 30px -5px hsla(24, 81%, 51%, 0.4);
}

.glow-primary {
  box-shadow: 0 0 40px -10px hsla(212, 53%, 23%, 0.3);
}

.section-divider {
  width: 5rem;
  height: 4px;
  background: var(--accent);
  border-radius: 999px;
  margin: 0 auto;
}

.section-label {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

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

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

@keyframes bounce-scroll {
  0%, 100% { transform: translateY(0) translateX(-50%); }
  50% { transform: translateY(10px) translateX(-50%); }
}

@keyframes progressBar {
  from { width: 0; }
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

/* ========== Navbar ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: hsla(212, 53%, 23%, 0.9);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: hsla(212, 53%, 23%, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 6rem;
}

.navbar-logo img {
  height: 7rem;
  width: auto;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-links ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-links li {
  list-style: none;
}


.navbar-links a {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsla(0, 0%, 100%, 0.9);
  transition: color 0.2s;
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--accent);
}

.navbar-links a.active::after,
.navbar-links a:hover::after {
  transform: scaleX(1);
}

.navbar-links .current-menu-item > a,
.navbar-links .current_page_item > a {
  color: var(--accent);
}

.navbar-links .current-menu-item > a::after,
.navbar-links .current_page_item > a::after {
  transform: scaleX(1);
}


.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.75rem;
  background: var(--accent);
  color: var(--accent-foreground);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 30px -5px hsla(24, 81%, 51%, 0.4);
  transition: all 0.3s;
}

.nav-cta:hover {
  background: hsla(24, 81%, 51%, 0.9);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Mobile menu */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary-foreground);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

.mobile-menu {
  display: none;
  background: hsla(212, 53%, 23%, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid hsla(0, 0%, 100%, 0.1);
  padding-bottom: 1.5rem;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu li {
  list-style: none;
}

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

.mobile-menu a {
  display: block;
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsla(0, 0%, 100%, 0.8);
  transition: all 0.2s;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--accent);
  background: hsla(24, 81%, 51%, 0.1);
}

.mobile-menu .nav-cta {
  display: block;
  text-align: center;
  margin: 0.75rem 1.5rem 0;
}

@media (max-width: 768px) {
  .navbar-links { display: none; }
  .mobile-toggle { display: block; }
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  border-radius: 999px;
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-foreground);
  box-shadow: 0 0 30px -5px hsla(24, 81%, 51%, 0.4);
}

.btn-accent:hover {
  background: hsla(24, 81%, 51%, 0.9);
  box-shadow: 0 10px 40px hsla(24, 81%, 51%, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary-foreground);
  border: 2px solid hsla(0, 0%, 100%, 0.25);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: hsla(0, 0%, 100%, 0.1);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.btn-primary:hover {
  background: hsla(212, 53%, 23%, 0.9);
}

.btn .arrow {
  transition: transform 0.3s;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ========== Hero Section ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, hsla(212, 53%, 23%, 0.95), hsla(212, 53%, 23%, 0.8), hsla(212, 53%, 23%, 0.6));
}

.hero-deco-1 {
  position: absolute;
  top: 5rem;
  right: 2.5rem;
  width: 18rem;
  height: 18rem;
  background: hsla(24, 81%, 51%, 0.1);
  border-radius: 50%;
  filter: blur(48px);
}

.hero-deco-2 {
  position: absolute;
  bottom: 5rem;
  left: 2.5rem;
  width: 24rem;
  height: 24rem;
  background: hsla(24, 81%, 51%, 0.05);
  border-radius: 50%;
  filter: blur(48px);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 8rem 1rem;
  max-width: 64rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: hsla(24, 81%, 51%, 0.2);
  backdrop-filter: blur(4px);
  color: var(--accent);
  border: 1px solid hsla(24, 81%, 51%, 0.3);
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  color: var(--primary-foreground);
  line-height: 0.95;
  margin-bottom: 2rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: hsla(0, 0%, 100%, 0.75);
  max-width: 42rem;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid hsla(0, 0%, 100%, 0.3);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  animation: bounce-scroll 2s ease infinite;
}

.scroll-indicator .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ========== Page Hero (inner pages) ========== */
.page-hero {
  position: relative;
  background: var(--primary);
  padding: 9rem 0 6rem;
  overflow: hidden;
  text-align: center;
}

.page-hero .deco {
  position: absolute;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  filter: blur(48px);
}

.page-hero .deco-1 { top: 2.5rem; right: 2.5rem; background: hsla(24, 81%, 51%, 0.1); }
.page-hero .deco-2 { bottom: 0; right: 0; width: 24rem; height: 24rem; background: hsla(24, 81%, 51%, 0.1); }
.page-hero .deco-destructive { top: 2.5rem; right: 2.5rem; background: hsla(0, 84%, 60%, 0.1); }

.page-hero-content {
  position: relative;
  z-index: 10;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--primary-foreground);
  margin-bottom: 1.25rem;
}

.page-hero p {
  color: hsla(0, 0%, 100%, 0.7);
  max-width: 42rem;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.7;
}

/* ========== Services Grid ========== */
.services-section {
  padding: 7rem 0;
  background: var(--secondary);
}

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

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--foreground);
  margin-bottom: 1rem;
}

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

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: linear-gradient(to bottom right, hsla(24, 81%, 51%, 0.1), hsla(24, 81%, 51%, 0.03));
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid hsla(214, 32%, 91%, 0.5);
}

.service-card:nth-child(2) {
  background: linear-gradient(to bottom right, hsla(212, 53%, 23%, 0.1), hsla(212, 53%, 23%, 0.03));
}

.service-card:nth-child(3) {
  background: linear-gradient(to bottom right, hsla(36, 91%, 55%, 0.15), hsla(36, 91%, 55%, 0.03));
}

.service-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: hsla(24, 81%, 51%, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s;
  color: var(--accent);
}

.service-card:hover .service-icon {
  background: var(--accent);
  color: var(--accent-foreground);
}

.service-card h3 {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.service-card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ========== Two Column Section ========== */
.two-col {
  padding: 7rem 0;
}

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .two-col-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.two-col h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.two-col .desc {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
}

.two-col .desc-sm {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* Stats boxes */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr; }
}

.stat-box {
  text-align: center;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--secondary);
  border: 1px solid hsla(214, 32%, 91%, 0.5);
}

.stat-box .stat-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.stat-box .stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 900;
  color: var(--primary);
}

.stat-box .stat-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

/* Image with glow */
.img-glow-wrap {
  position: relative;
}

.img-glow-wrap .glow-bg {
  position: absolute;
  inset: -1rem;
  background: linear-gradient(to bottom right, hsla(24, 81%, 51%, 0.15), hsla(212, 53%, 23%, 0.15));
  border-radius: 1.5rem;
  filter: blur(16px);
}

.img-glow-wrap img {
  position: relative;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.img-glow-wrap img.square {
  aspect-ratio: 1;
}

.floating-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px hsla(24, 81%, 51%, 0.3);
  display: flex;
  flex-direction: column;
}

@media (max-width: 1024px) {
  .floating-badge { display: none; }
}

.floating-badge .badge-val {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.875rem;
}

.floating-badge .badge-label {
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0.9;
}

/* ========== Urgency Banner ========== */
.urgency-banner {
  background: var(--accent);
  padding: 1.5rem 0;
}

.urgency-banner .inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--accent-foreground);
  text-align: center;
  flex-wrap: wrap;
}

.urgency-banner p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
}

.urgency-banner a {
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.urgency-banner a:hover {
  opacity: 0.8;
}

/* ========== CTA Section ========== */
.cta-section {
  position: relative;
  padding: 7rem 0;
  background: var(--primary);
  overflow: hidden;
  text-align: center;
}

.cta-section .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, var(--primary), var(--primary), hsla(212, 53%, 23%, 0.9));
}

.cta-section .deco-1 {
  position: absolute;
  top: 2.5rem;
  left: 2.5rem;
  width: 16rem;
  height: 16rem;
  background: hsla(24, 81%, 51%, 0.1);
  border-radius: 50%;
  filter: blur(48px);
}

.cta-section .deco-2 {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  width: 20rem;
  height: 20rem;
  background: hsla(24, 81%, 51%, 0.05);
  border-radius: 50%;
  filter: blur(48px);
}

.cta-section .content {
  position: relative;
  z-index: 10;
}

.cta-section h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 900;
  color: var(--primary-foreground);
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: hsla(0, 0%, 100%, 0.7);
  margin-bottom: 2.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.125rem;
}

/* ========== About page specifics ========== */
.callout-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: hsla(24, 81%, 51%, 0.1);
  border-radius: 0.75rem;
  padding: 1.25rem;
  border: 1px solid hsla(24, 81%, 51%, 0.2);
}

.callout-box p {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.info-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--background);
  border-radius: 0.75rem;
  padding: 1rem;
  border: 1px solid hsla(214, 32%, 91%, 0.5);
}

.info-card .icon-box {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: hsla(24, 81%, 51%, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.info-card span {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground);
}

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

@media (max-width: 640px) {
  .info-cards-grid { grid-template-columns: 1fr; }
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.capability-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
}

.capability-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.zero-downtime-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 1rem;
  padding: 1.5rem;
}

.zero-downtime-card .zd-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
}

.zero-downtime-card .zd-sub {
  font-size: 0.875rem;
  color: hsla(0, 0%, 100%, 0.7);
}

/* Service areas */
.service-areas-section {
  padding: 7rem 0;
  background: var(--primary);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.service-areas-section .deco {
  position: absolute;
  top: 2.5rem;
  left: 2.5rem;
  width: 16rem;
  height: 16rem;
  background: hsla(24, 81%, 51%, 0.1);
  border-radius: 50%;
  filter: blur(48px);
}

.service-areas-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--primary-foreground);
  margin-bottom: 1.5rem;
}

.service-areas-section > .container > p {
  color: hsla(0, 0%, 100%, 0.7);
  max-width: 42rem;
  margin: 0 auto 3.5rem;
  font-size: 1.125rem;
}

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

@media (max-width: 768px) {
  .regions-grid { grid-template-columns: repeat(2, 1fr); }
}

.region-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background: hsla(0, 0%, 100%, 0.05);
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid hsla(0, 0%, 100%, 0.1);
}

.region-card .region-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: hsla(24, 81%, 51%, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.region-card span {
  color: var(--primary-foreground);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

/* ========== Statistics page ========== */
.stat-banner {
  background: var(--accent);
  padding: 1.25rem 0;
}

.stat-banner .inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--accent-foreground);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  text-align: center;
}

/* CSS Bar Chart */
.chart-section { padding: 7rem 0; }

.chart-container {
  background: var(--secondary);
  border-radius: 1.5rem;
  padding: 1.5rem 2.5rem 2.5rem;
  border: 1px solid hsla(214, 32%, 91%, 0.5);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 320px;
  gap: 0.5rem;
  padding-top: 1rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 0.5rem;
}

.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
}

.bar {
  width: 70%;
  background: var(--accent);
  border-radius: 8px 8px 0 0;
  transition: height 1.2s ease-out;
  position: relative;
  min-height: 0;
}

.bar.animated {
  /* height set via JS */
}

.bar-value {
  position: absolute;
  top: -1.75rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--foreground);
}

.bar-label {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-foreground);
}

/* Progress bars (cause breakdown) */
.progress-section {
  padding: 7rem 0;
  background: var(--secondary);
}

.progress-item {
  margin-bottom: 1.25rem;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.progress-header .cause-name {
  color: var(--foreground);
}

.progress-track {
  width: 100%;
  height: 0.875rem;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  width: 0;
  transition: width 1.2s ease-out;
}

/* NFPA cards */
.nfpa-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
  text-align: left;
}

@media (max-width: 768px) {
  .nfpa-cards { grid-template-columns: 1fr; }
}

.nfpa-card {
  background: var(--secondary);
  border-radius: 1rem;
  padding: 1.75rem;
  border: 1px solid hsla(214, 32%, 91%, 0.5);
}

.nfpa-card .nfpa-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: hsla(24, 81%, 51%, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent);
}

.nfpa-card h3 {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.nfpa-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* Alert badge (statistics hero) */
.alert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: hsla(0, 84%, 60%, 0.2);
  color: var(--destructive);
  border: 1px solid hsla(0, 84%, 60%, 0.3);
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.nfpa-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: hsla(212, 53%, 23%, 0.1);
  color: var(--primary);
  border: 1px solid hsla(212, 53%, 23%, 0.2);
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* ========== Contact Form ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; }
}

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

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.form-group label .required {
  color: var(--accent);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  height: 3rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  background: var(--background);
  color: var(--foreground);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-textarea {
  height: auto;
  min-height: 160px;
  resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px hsla(24, 81%, 51%, 0.15);
}

.form-error {
  color: var(--destructive);
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

/* Contact sidebar */
.contact-info-card {
  background: var(--primary);
  border-radius: 1rem;
  padding: 2rem;
  color: var(--primary-foreground);
}

.contact-info-card h3 {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.contact-info-item .ci-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: hsla(24, 81%, 51%, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-info-item .ci-label {
  font-size: 0.75rem;
  color: hsla(0, 0%, 100%, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.contact-info-item .ci-value {
  font-weight: 700;
}

.response-card {
  background: var(--secondary);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid hsla(214, 32%, 91%, 0.5);
  margin-top: 1.5rem;
}

.response-card .rc-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.response-card h3 {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--foreground);
}

.response-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* ========== Toast ========== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 1.25rem 1.75rem;
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  z-index: 100;
  transform: translateY(120%);
  transition: transform 0.4s ease;
  max-width: 360px;
}

.toast.show {
  transform: translateY(0);
}

.toast .toast-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.toast .toast-desc {
  font-size: 0.875rem;
  color: hsla(0, 0%, 100%, 0.7);
}

/* ========== 404 Page ========== */
.not-found {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background: var(--muted);
  text-align: center;
}

.not-found h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.not-found p {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.not-found a {
  color: var(--primary);
  text-decoration: underline;
}

.not-found a:hover {
  color: hsla(212, 53%, 23%, 0.9);
}

/* ========== Footer ========== */
.footer {
  background: var(--primary);
  color: var(--primary-foreground);
  position: relative;
  overflow: hidden;
}

.footer .footer-deco {
  position: absolute;
  top: 0;
  right: 0;
  width: 24rem;
  height: 24rem;
  background: hsla(24, 81%, 51%, 0.05);
  border-radius: 50%;
  filter: blur(48px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 4rem 0;
  position: relative;
  z-index: 10;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand img {
  height: 8rem;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand .tagline {
  color: hsla(0, 0%, 100%, 0.6);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.footer-brand .motto {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
}

.footer h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
}

.footer ul {
  font-size: 0.875rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: hsla(0, 0%, 100%, 0.6);
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

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

.footer-links a .link-arrow {
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.2s;
}

.footer-links a:hover .link-arrow {
  opacity: 1;
  transform: translateX(0);
}

.footer-services li {
  margin-bottom: 0.75rem;
  color: hsla(0, 0%, 100%, 0.6);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: hsla(0, 0%, 100%, 0.6);
  font-size: 0.875rem;
}

.footer-contact .fc-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: hsla(24, 81%, 51%, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid hsla(0, 0%, 100%, 0.1);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: hsla(0, 0%, 100%, 0.4);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom .motto {
  font-weight: 600;
}

.footer-bottom-inner{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:0.5rem;
}


/* ========== SVG icon sizing ========== */
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 20px; height: 20px; }
.icon-lg { width: 24px; height: 24px; }
.icon-xl { width: 28px; height: 28px; }
.icon-2xl { width: 32px; height: 32px; }
