/* CSS Variables */
:root {
    --emerald: #10B981;
    --emerald-dark: #065F46;
    --dark: #0B0B0B;
    --white: #FFFFFF;
    --light: #F8F9FA;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--dark);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
}

/* Buttons */
.btn-emerald {
    background-color: var(--emerald);
    border-color: var(--emerald);
    color: var(--white);
}

.btn-emerald:hover,
.btn-emerald:focus,
.btn-emerald:active {
    background-color: var(--emerald-dark);
    border-color: var(--emerald-dark);
    color: var(--white);
}

.btn-emerald:not(:disabled):not(.disabled):active,
.btn-emerald:not(:disabled):not(.disabled):active:focus {
    box-shadow: none;
}

.btn-outline-dark {
    border-color: var(--dark);
    color: var(--dark);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus,
.btn-outline-dark:active {
    background-color: var(--dark);
    color: var(--white);
}

.btn-outline-dark:not(:disabled):not(.disabled):active,
.btn-outline-dark:not(:disabled):not(.disabled):active:focus {
    box-shadow: none;
}

/* Text Colors */
.text-emerald {
    color: var(--emerald) !important;
}

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

/* Background Colors */
.bg-emerald {
    background-color: var(--emerald) !important;
}

.bg-dark-brown {
    background-color: #3E2723 !important;
}

/* Borders */
.border-emerald {
    border-color: var(--emerald) !important;
}

/* Utilities */
.emerald-underline {
    width: 60px;
    height: 3px;
    background-color: var(--emerald);
    margin: 10px auto;
}

.emerald-underline-light {
    width: 60px;
    height: 3px;
    background-color: var(--emerald);
    margin: 10px auto;
}

/* Navbar */
.navbar-brand {
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--emerald) !important;
}

/* Cards */
.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Forms */
.form-control:focus,
.form-select:focus {
    border-color: var(--emerald);
    box-shadow: 0 0 0 0.2rem rgba(16, 185, 129, 0.25);
}

/* Accordion */
.accordion-button:not(.collapsed) {
    background-color: var(--light);
    color: var(--emerald-dark);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(16, 185, 129, 0.25);
}

/* Accessibility Focus */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--emerald);
    outline-offset: 2px;
}

.btn:focus,
.nav-link:focus {
    outline: 2px solid var(--emerald);
    outline-offset: 2px;
    box-shadow: none;
}

/* Hover Effects */
.hover-emerald:hover {
    color: var(--emerald) !important;
}

/* Alert Styles */
.alert-emerald {
    background-color: var(--emerald-dark);
    color: var(--white);
}

/* Min Height Utilities */
.vh-75 {
    min-height: 75vh;
}

/* Section Spacing */
section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Text Contrast Overrides */
.bg-dark .text-white-50 {
    color: #e9ecef !important;
}

/* Link States */
a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Specific Service Page Styles */
.border-2 {
    border-width: 2px !important;
}
.card img,
.bg-light img,
.container img {
  display: block;
  width: 100%;
  height: auto;
}
/* Font safety overrides */
:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
.navbar,
.btn,
input,
textarea,
select {
  font-family: var(--font-sans);
}
/* WP Generator feature helpers */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, #0ea5e9, #22c55e);
  z-index: 9999;
  transition: width 120ms ease-out;
}
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: #111827;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 9998;
}
.scroll-top.is-visible {
  opacity: 0.95;
  transform: translateY(0);
}
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

