/* ==========================================================================
   Brand color system – blue dominant accent, greens supporting, modern gradients
   ========================================================================== */
:root {
    /* Brand palette */
    --color-dark-green: #1F7653;
    --color-light-green: #A2C564;
    --color-cool-gray-10: #636467;
    --color-primary-blue: #0095DA;
    --color-blue-dark: #0077B6;
    --color-blue-darker: #005F8A;

    /* Semantic aliases (blue = accent/primary focus) */
    --primary-color: var(--color-primary-blue);
    --primary-dark: var(--color-blue-dark);
    --primary-hover: var(--color-blue-darker);
    --primary-light: #33aae0;
    --dark-green: var(--color-dark-green);
    --light-green: var(--color-light-green);
    --cool-gray: var(--color-cool-gray-10);

    /* Neutrals */
    --gray-light: #f8f9fa;
    --gray-medium: #e9ecef;
    --text-dark: #212529;

    /* Gradients */
    --gradient-brand: linear-gradient(135deg, #0095DA 0%, #0077B6 60%, #1F7653 100%);
    --gradient-button: linear-gradient(135deg, #0095DA 0%, #0077B6 100%);
    --gradient-button-hover: linear-gradient(135deg, #0077B6 0%, #005F8A 100%);
    --gradient-soft-bg: linear-gradient(135deg, rgba(0,149,218,0.08) 0%, rgba(31,118,83,0.05) 100%);
    --gradient-blue-green: linear-gradient(135deg, #0095DA 0%, #0077B6 50%, #1F7653 100%);

    /* Bootstrap 5 compatibility – override primary and links to brand blue */
    --bs-primary: #0095DA;
    --bs-primary-rgb: 0, 149, 218;
    --bs-link-color: #0095DA;
    --bs-link-hover-color: #0077B6;
}

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

/* Primary (accent) = blue – overrides */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Primary buttons – gradient, no flat solid */
.btn-primary {
    background: var(--gradient-button);
    border: none;
    color: #fff;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background: var(--gradient-button-hover);
    color: #fff;
    border: none;
}

.btn-primary:focus {
    color: #fff;
    border: none;
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--gradient-button);
    border-color: transparent;
    color: #fff;
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    padding: 0.5rem 0;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    max-width: 200px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:hover {
    color: var(--color-primary-blue) !important;
}

/* Top Bar */
.top-bar {
    font-size: 0.875rem;
}

/* Breadcrumbs */
.breadcrumb-nav {
    border-bottom: 1px solid var(--gray-medium);
}

.breadcrumb {
    font-size: 0.875rem;
    padding: 0.5rem 0;
}

.breadcrumb-item a {
    color: var(--color-primary-blue);
}

.breadcrumb-item a:hover {
    color: var(--color-dark-green);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-alt {
    background: var(--gradient-soft-bg);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-primary-blue);
    background: var(--gradient-blue-green);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6c757d;
    margin-bottom: 3rem;
}

/* Hero – primary brand gradient (blue → blue-dark → dark green) */
.hero {
    padding: 6rem 0 4rem;
    background: var(--gradient-brand);
    color: white;
}

/* Home page hero – image background with brand overlay for readability */
.hero-home {
    background: linear-gradient(135deg, rgba(0,149,218,0.85) 0%, rgba(0,119,182,0.8) 50%, rgba(31,118,83,0.75) 100%),
                url(../img/teamlogichero.png) center center / cover no-repeat;
    color: white;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Trust Bar */
.trust-bar {
    padding: 2rem 0;
    background-color: white;
    border-bottom: 1px solid var(--gray-medium);
}

.trust-item {
    text-align: center;
    padding: 1rem;
}

.trust-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.trust-item:nth-child(odd) i {
    color: var(--color-primary-blue);
}

.trust-item:nth-child(even) i {
    color: var(--color-dark-green);
}

.trust-item p {
    margin: 0;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-blue-green);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* CTA Band – strong blue gradient */
.cta-band {
    padding: 3rem 0;
    background: var(--gradient-brand) !important;
    color: white;
}

/* Service CTA section – same gradient */
.cta-section {
    background: var(--gradient-brand);
    padding: 4rem 0;
}

/* Testimonials */
.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: 100%;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #555;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
}

/* FAQ Accordion – collapsed has green accent, expanded uses blue–green gradient */
.accordion-button {
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-blue-green);
    color: white;
}

.accordion-button.collapsed {
    border-left: 3px solid var(--color-dark-green);
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

/* Forms – blue focus outline and glow */
.form-control:focus {
    border-color: var(--color-primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 149, 218, 0.25);
}

.form-select:focus {
    border-color: var(--color-primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 149, 218, 0.25);
}

.form-check-input:focus {
    border-color: var(--color-primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 149, 218, 0.25);
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 149, 218, 0.5);
}

/* Service Cards Grid */
.service-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Industry Cards – blue–green accent on hover */
.industry-card {
    padding: 1.5rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 3px solid transparent;
}

.industry-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transform: translateY(-3px);
    border-top-color: var(--color-primary-blue);
}

.industry-card:hover .text-primary {
    color: var(--color-dark-green) !important;
}

/* Steps */
.step-item {
    text-align: center;
    padding: 2rem 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-blue-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Link hover – brand blue */
a:not(.btn):hover {
    color: var(--color-primary-blue);
}

.hero a:not(.btn):hover,
.cta-band a:not(.btn):hover,
.cta-section a:not(.btn):hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Accessibility – visible focus with blue (outline for links/buttons; inputs use box-shadow above) */
a:focus,
button:focus {
    outline: 2px solid var(--color-primary-blue);
    outline-offset: 2px;
}

/* Utility Classes */
.text-primary-dark {
    color: var(--primary-dark);
}

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

.text-light-green {
    color: var(--color-light-green);
}

.text-cool-gray {
    color: var(--color-cool-gray-10);
}

.bg-gray-light {
    background-color: var(--gray-light);
}

/* Soft section background gradient */
.bg-gradient-soft {
    background: var(--gradient-soft-bg);
}

/* Primary brand gradient (hero/CTA style) */
.bg-gradient-brand {
    background: var(--gradient-brand);
}

/* Button-style gradient */
.bg-gradient-button {
    background: var(--gradient-button);
}

/* Blue–green mixed gradient */
.bg-gradient-blue-green {
    background: var(--gradient-blue-green);
}

/* Footer Links */
footer a:hover {
    color: white !important;
    text-decoration: underline !important;
}

/* Contact Page – blue–green accent */
.contact-info-card {
    background: var(--gradient-soft-bg);
    padding: 2rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--color-dark-green);
}

/* Loading States */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

/* Print Styles */
@media print {
    .navbar,
    .top-bar,
    .cta-band,
    footer {
        display: none;
    }
}

/* ==========================================================================
   Brand color usage notes & accessibility
   ==========================================================================
   Where each color is used:
   - Primary Blue (#0095DA): Main accent – CTAs, buttons, links, nav hover,
     focus rings, form focus, icons (trust bar, cards, steps), accordion active.
   - Blue Dark (#0077B6) / Blue Darker (#005F8A): Gradient stops and button hover.
   - Dark Green (#1F7653): Supporting brand – gradient end in hero/CTA, optional
     text/background via .text-dark-green.
   - Light Green (#A2C564): Supporting – optional highlights via .text-light-green.
   - Cool Gray 10 (#636467): Secondary text, borders – use .text-cool-gray where needed.

   Accessibility (WCAG AA):
   - Primary blue on white: contrast meets AA for text and UI.
   - Gradient buttons and hero: white text on blue/dark-green gradient is sufficient;
     avoid placing small text over the green end without checking contrast.
   - Focus outlines use 2px solid blue with offset so they remain visible.
   - If adding new text on gradient backgrounds, ensure contrast ratio ≥ 4.5:1 (text),
     ≥ 3:1 (large text / UI).
*/

