body {
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
}
.bg-brand-green { background-color: #058240; }
.text-brand-green { color: #058240; }
.border-brand-green { border-color: #058240; }
.hover-brand-green:hover { background-color: #046b35; }

/* Very dark green for service icon containers */
.bg-icon-dark { background-color: #0a2e1a; }
.group:hover .bg-icon-dark { background-color: #0d3d24; }

/* Icon color variants (for img icons) */
.icon-white { filter: brightness(0) invert(1); }
.icon-brand-green { filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1200%) hue-rotate(107deg); }

/* Subtle orange – very light background for sections (reuse) */
.bg-brand-orange-subtle { background-color: #fff7ed; }
.text-brand-orange { color: #c2410c; }
.border-brand-orange { border-color: #ea580c; }

/* Image-left / text-right section component – use same markup on any page for consistent typography */
.section-image-text {
    padding-top: 4rem;
    padding-bottom: 4rem;
}
/* Desktop: align image and text to top; image column sticks while scrolling (stays inside section) */
.section-image-text .section-image-text__row {
    align-items: flex-start;
}
@media (min-width: 768px) {
    .section-image-text .section-image-text__image-col {
        position: sticky;
        /* Stick just below fixed header (match #topbar-spacer min-height); image stays inside section when section scrolls away */
        top: 7.5rem;
    }
}
.section-image-text .section-image-text__text-col h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
}
.section-image-text .section-image-text__text-col p {
    font-weight: 400;
    color: #374151;
    font-size: 1.125rem;
    line-height: 1.75;
}
.section-image-text .section-image-text__text-col p:not(:last-child) {
    margin-bottom: 1rem;
}
        
.option-card {
    transition: all 0.2s ease-in-out;
}
.option-card.active {
    border-color: #058240;
    background-color: #f0fdf4;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Improved hover effects for service cards */
.service-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover {
    transform: translateY(-8px);
}
.icon-container {
    transition: all 0.3s ease;
}

/* Infinite Marquee Animation */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-container {
    overflow: hidden;
    user-select: none;
    display: flex;
    gap: 4rem;
    position: relative;
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    gap: 4rem;
    min-width: 100%;
    animation: marquee 30s linear infinite;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

.partner-logo-placeholder {
    width: 160px;
    height: 80px;
    background-color: #f3f4f6;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-weight: 600;
    font-size: 0.875rem;
    border: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.partner-logo {
    width: 160px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}
.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(40%);
}
.partner-logo img:hover {
    filter: grayscale(0%);
}

.image-placeholder {
    background-color: #e5e7eb;
    background-image: linear-gradient(45deg, #f3f4f6 25%, transparent 25%, transparent 50%, #f3f4f6 50%, #f3f4f6 75%, transparent 75%, transparent);
    background-size: 20px 20px;
}

/* Dropdown transition bridge to prevent early closing */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
}

/* Accessible dropdown show/hide states (JS toggles .open) */
.nav-dropdown {
    visibility: hidden;
    opacity: 0;
    transform: translateY(0.5rem);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}
.nav-dropdown.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Right-align dropdowns so they stay in viewport on smaller widths (Blog, Life and Critical) */
.nav-dropdown-right {
    left: auto;
    right: 0;
}

/* Ensure focus outline for keyboard users */
.dropdown-trigger:focus {
    outline: 3px solid rgba(5,130,60,0.15);
    outline-offset: 3px;
}

/* consistent focus for all interactives */
button:focus, a:focus, input:focus, select:focus, textarea:focus, [role="menuitem"]:focus {
    outline: 2px solid #058240;
    outline-offset: 2px;
}

/* rotate caret when expanded */
.dropdown-trigger[aria-expanded="true"] .rotator {
    transform: rotate(180deg);
}

/* Nav active state: current page link and its dropdown trigger stand out */
.nav-link-active {
    color: #058240 !important;
    font-weight: 700;
    background-color: rgba(5, 130, 64, 0.08);
}
nav .nav-link-active:hover {
    color: #046b35 !important;
    background-color: rgba(5, 130, 64, 0.12);
}
.nav-trigger-active {
    color: #058240 !important;
    font-weight: 700;
}
.nav-trigger-active:hover {
    color: #046b35 !important;
}
#mobile-menu .nav-link-active {
    color: #058240 !important;
    font-weight: 700;
}
#mobile-menu .mobile-submenu-toggle:has(+ ul .nav-link-active) {
    color: #058240;
    font-weight: 700;
}

/* Topbar + nav spacer: reserve space so content isn't under fixed header on first paint */
#topbar-spacer {
    display: block;
    width: 100%;
    min-height: 7.5rem; /* topbar ~2.5rem + nav h-20 (5rem); JS updates to exact height */
    flex-shrink: 0;
}

/* Mobile menu should overlay content rather than push it down */
#mobile-menu {
    position: fixed;
    left: 0;
    right: 0;
    top: 0; /* will be adjusted by JS to sit below the nav */
    z-index: 60;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 1px solid rgba(0,0,0,0.04);
    max-height: calc(100vh - 5rem);
    overflow: auto;
}

/* Caret for mobile submenu toggles */
.mobile-submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mobile-submenu-toggle svg.rotator {
    transition: transform 180ms ease;
}
.mobile-submenu-toggle[aria-expanded="true"] svg.rotator {
    transform: rotate(180deg);
}

/* Slight slide-in animation when shown */
#mobile-menu.show {
    animation: slideIn 180ms ease forwards;
}
@keyframes slideIn {
    from { transform: translateY(-6px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Accordion Styles */
.accordion-item {
    border-bottom: 1px solid #e5e7eb;
}
.accordion-button {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding: 1.25rem;
    background: #f9fafb;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #111827;
    transition: background-color 0.2s, color 0.2s;
    text-align: left;
}
.accordion-button span {
    flex: 1;
    min-width: 0;
    text-align: left;
    padding-right: 0.75rem;
}
.accordion-button:hover {
    background-color: #f3f4f6;
    color: #059669;
}
.accordion-button.active {
    background-color: #f0fdf4;
    color: #059669;
}
.accordion-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    width: 20px;
    height: 20px;
    margin-top: 0.125rem;
}
.accordion-button.active .accordion-icon {
    transform: rotate(180deg);
}
.accordion-content {
    display: none;
    padding: 1.25rem;
    background-color: #ffffff;
    color: #6b7280;
    line-height: 1.6;
    font-weight: 400;
}
.accordion-content p {
    font-weight: 400;
}
.accordion-content p + p {
    margin-top: 1rem;
}
.accordion-content.active {
    display: block;
}

/* Content callout / highlight box – reusable for blog and other pages */
.content-callout {
    background-color: #f0fdf4;
    border-left: 4px solid #058240;
    border-radius: 0.5rem;
    padding: 1.5rem 1.75rem;
    margin-bottom: 3rem;
}
.content-callout .content-callout__title {
    color: #058240;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}
.content-callout .content-callout__subtitle {
    color: #058240;
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}
.content-callout .content-callout__subtitle:first-of-type {
    margin-top: 0;
}
.content-callout p {
    color: #374151;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}
.content-callout p:last-child {
    margin-bottom: 0;
}

