/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  /* Color Palette */
  --primary: #c62828;
  --primary-light: #ef5350;
  --primary-dark: #b71c1c;
  --accent: #ff334b;
  --accent-glow: rgba(255, 51, 75, 0.15);
  
  --dark-slate: #0f172a;
  --medium-slate: #1e293b;
  --light-slate: #475569;
  --slate-muted: #64748b;
  
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  
  --white: #ffffff;
  
  /* Layout */
  --container-width: 1200px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  
  /* Typography */
  --font-headers: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 24px -4px rgba(15, 23, 42, 0.06), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 40px -8px rgba(15, 23, 42, 0.1), 0 8px 16px -4px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 0 30px rgba(198, 40, 40, 0.2);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--medium-slate);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headers);
  color: var(--dark-slate);
  font-weight: 700;
  line-height: 1.25;
}

p {
  font-weight: 400;
  color: var(--light-slate);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

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

/* ==========================================================================
   REUSABLE UTILITIES
   ========================================================================== */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.w-full {
  width: 100%;
}

.relative {
  position: relative;
}

.hidden {
  display: none !important;
}

/* Section Common */
section {
  padding: 80px 0;
}

.section-header {
  margin-bottom: 50px;
}

.section-subtitle {
  font-family: var(--font-headers);
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.875rem;
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.75rem;
  background-color: rgba(198, 40, 40, 0.06);
  border-radius: 50px;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.125rem;
  max-width: 600px;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-primary-alt, .nav-btn-alt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-headers);
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(198, 40, 40, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198, 40, 40, 0.45);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--dark-slate);
  border: 1px solid var(--border-radius-sm);
  border: 1px solid rgba(15, 23, 42, 0.15);
}

.btn-secondary:hover {
  background-color: var(--bg-alt);
  transform: translateY(-2px);
}

.nav-btn-alt {
  background-color: rgba(198, 40, 40, 0.1);
  color: var(--primary-dark);
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

.nav-btn-alt:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* ==========================================================================
   TOP BAR INFO
   ========================================================================== */
.top-bar {
  background-color: var(--dark-slate);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-info {
  display: flex;
  gap: 20px;
}

.top-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-headers);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark-slate);
  line-height: 1;
}

.logo-subtitle {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--slate-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-family: var(--font-headers);
  font-weight: 500;
  color: var(--light-slate);
  font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: var(--dark-slate);
  border-radius: 3px;
  transition: var(--transition-fast);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 76px;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--white);
  z-index: 999;
  overflow: hidden;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
  border-bottom: 2px solid var(--bg-alt);
}

.mobile-nav-overlay.open {
  height: calc(100vh - 76px);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 80%;
  gap: 30px;
}

.mobile-link {
  font-family: var(--font-headers);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark-slate);
}

.mobile-link:hover {
  color: var(--primary);
}

.btn-contact-mob {
  background-color: var(--primary);
  color: var(--white) !important;
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius-sm);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0 120px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(239, 83, 80, 0.04) 100%);
}

.hero-bg-accent {
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 83, 80, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  font-family: var(--font-headers);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary-dark);
  background-color: rgba(198, 40, 40, 0.08);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(198, 40, 40, 0.1);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--light-slate);
  margin-bottom: 2.25rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 2rem;
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-headers);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--slate-muted);
  font-weight: 500;
}

/* Hero Visual Card */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-visual-card {
  width: 100%;
  max-width: 460px;
  background-color: var(--bg-card);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.visual-glow {
  position: absolute;
  inset: -1px;
  border-radius: var(--border-radius-lg);
  background: linear-gradient(135deg, var(--accent) 0%, transparent 60%);
  z-index: -1;
  opacity: 0.3;
}

.heartbeat-animation {
  height: 60px;
  width: 100%;
  margin-bottom: 1.5rem;
  opacity: 0.85;
}

.pulse-svg path {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawPulse 3.5s linear infinite;
}

.visual-info-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(34, 197, 94, 0.1);
  color: #15803d;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #22c55e;
  animation: blink 1.5s infinite;
}

.visual-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.visual-text {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.donor-avatars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.avatar-group {
  display: flex;
}

.avatar-mock {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--dark-slate);
  margin-right: -8px;
}

.avatar-text {
  font-size: 0.8rem;
  color: var(--slate-muted);
}

/* ==========================================================================
   PILLARS SECTION
   ========================================================================== */
.pillars-section {
  background-color: var(--white);
  border-top: 1px solid var(--bg-alt);
  border-bottom: 1px solid var(--bg-alt);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pillar-card {
  background-color: var(--bg-main);
  padding: 2.5rem;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(15, 23, 42, 0.04);
  transition: var(--transition-normal);
}

.pillar-card:hover {
  transform: translateY(-5px);
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  border-color: rgba(198, 40, 40, 0.1);
}

.pillar-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-sm);
  background-color: rgba(198, 40, 40, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.pillar-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.pillar-text {
  font-size: 0.95rem;
  color: var(--light-slate);
}

/* ==========================================================================
   SERVICES SECTION (DARK THEME)
   ========================================================================== */
.services-section {
  background-color: var(--dark-slate);
  position: relative;
}

.text-white {
  color: var(--white) !important;
}

.text-white-muted {
  color: rgba(255, 255, 255, 0.6) !important;
  background-color: rgba(255, 255, 255, 0.06) !important;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  background-color: rgba(255, 255, 255, 0.06);
  transform: translateY(-5px);
  border-color: var(--primary-light);
}

.service-icon-bg {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 51, 75, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-title {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.service-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features li {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
  flex-shrink: 0;
}

/* ==========================================================================
   REQUIREMENTS SECTION
   ========================================================================== */
.requirements-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: start;
}

.info-card {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  background-image: linear-gradient(135deg, var(--primary-dark) 0%, #7f1d1d 100%);
}

.info-card h4 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.info-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.info-card-highlight {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  border-left: 4px solid var(--accent);
}

.highlight-num {
  font-family: var(--font-headers);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}

.highlight-txt {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.accordion-item:hover {
  border-color: rgba(198, 40, 40, 0.15);
}

.accordion-item.active {
  border-color: rgba(198, 40, 40, 0.3);
  box-shadow: var(--shadow-md);
}

.accordion-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-headers);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--dark-slate);
}

.accordion-icon {
  position: relative;
  width: 20px;
  height: 20px;
  transition: var(--transition-normal);
}

.accordion-icon::before, .accordion-icon::after {
  content: "";
  position: absolute;
  background-color: var(--slate-muted);
  transition: var(--transition-normal);
}

/* Plus line */
.accordion-icon::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

/* Vertical line */
.accordion-icon::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

.accordion-item.active .accordion-icon {
  transform: rotate(135deg);
}

.accordion-item.active .accordion-icon::before,
.accordion-item.active .accordion-icon::after {
  background-color: var(--primary);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.5rem;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

.accordion-content ul {
  padding-left: 1rem;
  list-style: disc;
  color: var(--light-slate);
}

.accordion-content li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.accordion-content li strong {
  color: var(--dark-slate);
}

/* ==========================================================================
   PROCESS SECTION
   ========================================================================== */
.process-section {
  background-color: #8b1c1c;
  background-image: linear-gradient(180deg, #7f1d1d 0%, #450a0a 100%);
  position: relative;
  overflow: hidden;
}

.process-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(255, 51, 75, 0.08) 0%, transparent 60%);
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
  position: relative;
}

/* Timeline Connecting Line */
.timeline::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 12%;
  right: 12%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.15);
  z-index: 0;
}

.timeline-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.timeline-dot {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--primary-dark);
  font-family: var(--font-headers);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.1);
  transition: var(--transition-normal);
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.1);
  background-color: var(--accent);
  color: var(--white);
  box-shadow: 0 0 0 8px rgba(255, 51, 75, 0.2);
}

.timeline-title {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.timeline-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-tag {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.contact-heading {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.contact-text {
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-sm);
  background-color: rgba(198, 40, 40, 0.06);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-label {
  display: block;
  font-size: 0.75rem;
  color: var(--slate-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.detail-value {
  font-family: var(--font-headers);
  font-weight: 600;
  color: var(--dark-slate);
  font-size: 1rem;
}

/* Contact Form Card */
.contact-form-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--slate-muted);
  margin-bottom: 2rem;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-slate);
}

.form-group input, .form-group select, .form-group textarea {
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(15, 23, 42, 0.15);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark-slate);
  background-color: var(--bg-main);
  transition: var(--transition-fast);
}

.form-group input::placeholder, .form-group textarea::placeholder {
  color: var(--slate-muted);
  font-size: 0.9rem;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.1);
}

.form-feedback-alert {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  text-align: center;
  font-weight: 500;
}

.form-feedback-alert.success {
  background-color: rgba(34, 197, 94, 0.1);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-feedback-alert.error {
  background-color: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ==========================================================================
   MAP SECTION
   ========================================================================== */
.map-section {
  background-color: var(--bg-alt);
  padding-bottom: 0;
}

.map-wrapper {
  line-height: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background-color: var(--dark-slate);
  color: rgba(255, 255, 255, 0.6);
  padding: 70px 0 30px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-heading {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.nom-tag {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.8rem;
}

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

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes drawPulse {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Scroll Reveal Helper Styles */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content {
    align-items: center;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-description {
    max-width: 100%;
  }
  
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .requirements-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline::before {
    display: none;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-content {
    grid-template-columns: 1.2fr 1fr;
  }
  .footer-legal {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  .top-bar {
    display: none; /* Hide top bar on mobile to save vertical space */
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .desktop-nav {
    display: none;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline {
    grid-template-columns: 1fr;
  }
  
  .contact-form-card {
    padding: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-legal {
    grid-column: span 1;
  }
}

/* Spinner Style for Button Loading */
.loading-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

