/* Generated by scripts/generate-brand.js from branding/brand.config.js. Do not edit directly. */
:root {
    /* Brand Master Colors (Synchronized with Logo) */
    --brand-primary: #146280;
    --brand-primary-rgb: 20, 98, 128;
    --brand-primary-light: #377a93;
    --brand-primary-dark: #11536d;
    --brand-primary-gradient: linear-gradient(135deg, #377a93 0%, #11536d 100%);
    --brand-primary-soft: #ecf2f5;
    --brand-primary-border: #c4d8df;

    --brand-secondary: #de8032;
    --brand-secondary-rgb: 222, 128, 50;
    --brand-secondary-light: #e39351;
    --brand-secondary-dark: #bd6d2b;
    --brand-secondary-gradient: linear-gradient(135deg, #e39351 0%, #bd6d2b 100%);
    --brand-secondary-soft: #fcf5ef;
    --brand-secondary-border: #f7dfcc;

    /* Brand Typography & Neutrals */
    --brand-text: #163c4d;
    --brand-text-muted: #667d85;
    --brand-page-bg: #f3f8f8;
    --brand-surface: #ffffff;
    --brand-surface-alt: #e8f4f3;
    --brand-border: #d5e4e5;

    /* Dark Surfaces & Header/Footer */
    --brand-topbar-bg: #0c232f;
    --brand-topbar-bg-end: #102e3d;
    --brand-footer-bg: #081820;
    --brand-footer-bottom-bg: #050f14;

    /* ======================================================================
       Map Brand Palette into Frontend Design System Tokens
       Eliminates disconnected multi-colors in favor of the Brand Palette
       ====================================================================== */
    --comm-blue: var(--brand-primary);
    --comm-blue-gradient: var(--brand-primary-gradient);
    --comm-blue-soft: var(--brand-primary-soft);
    --comm-blue-border: var(--brand-primary-border);

    --comm-orange: var(--brand-secondary);
    --comm-orange-gradient: var(--brand-secondary-gradient);
    --comm-orange-soft: var(--brand-secondary-soft);
    --comm-orange-border: var(--brand-secondary-border);

    /* Map Emerald to Brand Primary Harmonious Variant */
    --comm-emerald: var(--brand-primary);
    --comm-emerald-gradient: linear-gradient(135deg, var(--brand-primary-light) 0%, var(--brand-primary) 100%);
    --comm-emerald-soft: var(--brand-primary-soft);
    --comm-emerald-border: var(--brand-primary-border);

    /* Map Purple to Brand Primary Dark / Deep Teal Variant */
    --comm-purple: var(--brand-primary-dark);
    --comm-purple-gradient: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    --comm-purple-soft: var(--brand-primary-soft);
    --comm-purple-border: var(--brand-primary-border);

    /* Map Rose to Brand Secondary Warm Variant */
    --comm-rose: var(--brand-secondary-dark);
    --comm-rose-gradient: var(--brand-secondary-gradient);
    --comm-rose-soft: var(--brand-secondary-soft);
    --comm-rose-border: var(--brand-secondary-border);

    /* Map Amber directly to Brand Secondary */
    --comm-amber: var(--brand-secondary);
    --comm-amber-gradient: var(--brand-secondary-gradient);
    --comm-amber-soft: var(--brand-secondary-soft);
    --comm-amber-border: var(--brand-secondary-border);

    --comm-dark: #0c232f;
    --comm-body: var(--brand-text);
    --comm-muted: var(--brand-text-muted);
    --comm-bg: var(--brand-page-bg);
    --comm-card-bg: var(--brand-surface);
    --comm-border: var(--brand-border);

    --comm-topbar-bg: var(--brand-topbar-bg);
    --comm-topbar-bg-end: var(--brand-topbar-bg-end);
    --comm-footer-bg: var(--brand-footer-bg);
    --comm-footer-bottom-bg: var(--brand-footer-bottom-bg);

    --comm-shadow-glow-orange: 0 10px 25px -3px rgba(222, 128, 50, 0.35);
    --comm-shadow-glow-blue: 0 10px 25px -3px rgba(20, 98, 128, 0.35);
}

/* ==========================================================================
   Brand Component Alignments
   ========================================================================== */
.modern-frontend .text-primary {
    color: var(--brand-primary) !important;
}

.modern-frontend .text-warning {
    color: var(--brand-secondary) !important;
}

.modern-frontend .btn-outline-primary {
    color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    border-radius: var(--comm-radius-full);
    font-weight: 700;
    transition: var(--comm-transition);
}

.modern-frontend .btn-outline-primary:hover {
    background-color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px -2px rgba(20, 98, 128, 0.3);
}

.modern-frontend .btn-primary {
    background-color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: #ffffff !important;
}

.modern-frontend .btn-primary:hover {
    background-color: var(--brand-primary-dark) !important;
    border-color: var(--brand-primary-dark) !important;
}

.modern-frontend .testimonial-stars {
    color: var(--brand-secondary);
}

/* Service cards title & links */
.modern-frontend .service-title-modern,
.modern-frontend .service-title-modern a {
    color: var(--comm-dark) !important;
    text-decoration: none !important;
    transition: var(--comm-transition);
}

.modern-frontend .service-card-modern:hover .service-title-modern,
.modern-frontend .service-card-modern:hover .service-title-modern a,
.modern-frontend .service-title-modern a:hover {
    color: var(--brand-primary) !important;
}

.modern-frontend .service-link-btn {
    color: var(--brand-primary) !important;
}

.modern-frontend .service-card-modern:hover .service-link-btn {
    color: var(--brand-secondary) !important;
}

/* Event cards title & links */
.modern-frontend .event-title-modern,
.modern-frontend .event-title-modern a {
    color: var(--comm-dark) !important;
    text-decoration: none !important;
    transition: var(--comm-transition);
}

.modern-frontend .event-card-modern:hover .event-title-modern,
.modern-frontend .event-card-modern:hover .event-title-modern a,
.modern-frontend .event-title-modern a:hover {
    color: var(--brand-secondary) !important;
}

/* Blog cards title & links */
.modern-frontend .blog-card-modern:hover {
    border-color: var(--brand-primary-border);
}

.modern-frontend .blog-title-modern,
.modern-frontend .blog-title-modern a {
    color: var(--comm-dark) !important;
    text-decoration: none !important;
    transition: var(--comm-transition);
}

.modern-frontend .blog-card-modern:hover .blog-title-modern,
.modern-frontend .blog-card-modern:hover .blog-title-modern a,
.modern-frontend .blog-title-modern a:hover {
    color: var(--brand-primary) !important;
}

.modern-frontend .blog-read-link {
    color: var(--brand-primary) !important;
}

.modern-frontend .blog-card-modern:hover .blog-read-link {
    color: var(--brand-secondary) !important;
}

/* Global heading anchors inherit brand dark text */
.modern-frontend h1 a,
.modern-frontend h2 a,
.modern-frontend h3 a,
.modern-frontend h4 a,
.modern-frontend h5 a,
.modern-frontend h6 a,
.modern-frontend .hub-title a {
    color: var(--comm-dark) !important;
    text-decoration: none !important;
    transition: var(--comm-transition);
}

.modern-frontend h1 a:hover,
.modern-frontend h2 a:hover,
.modern-frontend h3 a:hover,
.modern-frontend h4 a:hover,
.modern-frontend h5 a:hover,
.modern-frontend h6 a:hover {
    color: var(--brand-primary) !important;
}

/* Professional understated developer credit in footer bottom */
.modern-frontend .footer-bottom,
.footer-bottom {
    background-color: var(--brand-footer-bottom-bg) !important;
}

.modern-frontend .footer-bottom a,
.modern-frontend .footer-bottom .footer-credit-link,
.footer-bottom a,
.footer-bottom .footer-credit-link {
    color: #9cb1c0 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: var(--comm-transition);
}

.modern-frontend .footer-bottom a:hover,
.modern-frontend .footer-bottom .footer-credit-link:hover,
.footer-bottom a:hover,
.footer-bottom .footer-credit-link:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* Modern professional footer contact section */
.modern-frontend .footer-contact-item,
.footer-contact-item {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.modern-frontend .footer-contact-item:hover,
.footer-contact-item:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(222, 128, 50, 0.35) !important;
}

.modern-frontend .footer-contact-item .footer-contact-icon,
.footer-contact-item .footer-contact-icon {
    background: linear-gradient(135deg, rgba(222, 128, 50, 0.16) 0%, rgba(20, 98, 128, 0.14) 100%) !important;
    border: 1px solid rgba(222, 128, 50, 0.3) !important;
    color: var(--brand-secondary, #de8032) !important;
}

.modern-frontend .footer-contact-item:hover .footer-contact-icon,
.footer-contact-item:hover .footer-contact-icon {
    background: var(--brand-secondary, #de8032) !important;
    border-color: var(--brand-secondary, #de8032) !important;
    color: #ffffff !important;
}

/* Ensure footer contact phone and email match address text color (#e2e8f0) */
.modern-frontend .footer-contact-value a,
.footer-contact-value a,
.modern-frontend .footer-contact-link,
.footer-contact-link {
    color: #e2e8f0 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.modern-frontend .footer-contact-value a:hover,
.footer-contact-value a:hover,
.modern-frontend .footer-contact-link:hover,
.footer-contact-link:hover {
    color: var(--brand-secondary, #de8032) !important;
    text-decoration: none !important;
}

.footer-phone-group,
.footer-email-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}
