/**
 * Inline Style Overrides
 *
 * This file contains CSS classes extracted from inline styles to comply with CSP.
 * Created: October 19, 2025
 * Purpose: Remove 'unsafe-inline' from Content-Security-Policy
 */

/* ============================================
   SUB-SERVICE CARDS
   ============================================ */
.sub-service-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    height: 100%;
}

.sub-service-item h5 {
    margin-bottom: 10px;
}

.sub-service-item h5 a {
    color: #333;
    text-decoration: none;
}

.sub-service-item p {
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.read-more-link {
    color: #02154e;
    font-size: 14px;
    font-weight: 500;
}

/* ============================================
   TEXT COLORS - Brand Primary
   ============================================ */
.text-brand-primary {
    color: #02154e;
}

.text-brand-blue {
    color: #043f88;
}

.text-brand-yellow {
    color: #ffcc00;
}

.text-gray-medium {
    color: #666;
}

.text-gray-dark {
    color: #333;
}

/* ============================================
   TEXT SIZES AND WEIGHTS
   ============================================ */
.text-size-14 {
    font-size: 14px;
}

.text-size-36 {
    font-size: 36px;
}

.text-size-42 {
    font-size: 42px;
}

.font-weight-500 {
    font-weight: 500;
}

.font-weight-600 {
    font-weight: 600;
}

.font-weight-700 {
    font-weight: 700;
}

/* ============================================
   HEADINGS WITH BRAND COLORS
   ============================================ */
.heading-brand-primary {
    color: #02154e;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.heading-brand-primary-lg {
    color: #02154e;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* ============================================
   WHITE TEXT (for dark backgrounds)
   ============================================ */
.text-white-important,
.text-white-important * {
    color: #ffffff !important;
}

.how-subtitle-white {
    color: #ffffff !important;
}

.how-subtitle-white .star-icon {
    color: #ffffff !important;
}

.faq-title {
    color: #ffffff !important;
}

.faq-description {
    color: #ffffff !important;
}

/* ============================================
   BACKGROUNDS
   ============================================ */
.bg-light-gray {
    background: #f8f9fa;
}

.bg-white-transparent {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 12px;
    margin-top: 40px;
}

/* ============================================
   ALERT BOXES
   ============================================ */
.alert-success-custom {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

.alert-danger-custom {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

.alert-info-custom {
    padding: 10px;
    font-size: 14px;
}

/* ============================================
   PRIVACY NOTICE
   ============================================ */
.privacy-notice {
    margin-top: 40px;
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.state-hero {
    background: linear-gradient(rgba(4, 63, 136, 0.85), rgba(0, 102, 204, 0.85));
    background-size: cover;
    background-position: center;
}

/* Dynamic background images handled via data-background attribute */
.dynamic-bg {
    background-size: cover;
    background-position: center;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

/* ============================================
   MAP ELEMENTS
   ============================================ */
.service-map {
    height: 600px;
    background: #f0f0f0;
}

.map-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 12px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 12px;
    z-index: 1;
    display: none;
}

/* ============================================
   MAP POPUP CONTENT
   ============================================ */
.map-popup-content {
    text-align: center;
    padding: 10px;
}

.map-popup-content h4 {
    margin: 0 0 8px 0;
    color: #043f88;
}

.map-popup-content p {
    margin: 0 0 10px 0;
    color: #666;
}

.map-popup-link {
    display: inline-block;
    padding: 8px 16px;
    background: #043f88;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
}

.map-popup-link:hover {
    background: #02154e;
    color: white;
}

/* ============================================
   CITY POPUP CONTENT
   ============================================ */
.city-popup-content {
    text-align: center;
    padding: 5px;
}

.city-popup-content strong {
    color: #043f88;
}

.city-popup-content p {
    margin: 8px 0;
    font-size: 14px;
}

.city-popup-content a {
    color: #043f88;
    text-decoration: none;
    font-weight: 600;
}

.city-popup-content a:hover {
    color: #02154e;
    text-decoration: underline;
}

/* ============================================
   FORM FIELD WRAPPERS
   ============================================ */
.name-field-wrapper {
    position: relative;
}

/* ============================================
   ICONS
   ============================================ */
.icon-large {
    font-size: 2rem;
}

.icon-brand-primary {
    color: #043f88;
}

.icon-brand-mr {
    color: #043f88;
    margin-right: 10px;
}

/* ============================================
   BUTTONS AND LINKS
   ============================================ */
.btn-link-unstyled {
    background: none;
    border: none;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

.btn-link-unstyled:hover {
    text-decoration: none;
}

.link-brand {
    color: #043f88;
    text-decoration: none;
    font-weight: 600;
}

.link-brand:hover {
    color: #02154e;
    text-decoration: underline;
}

/* ============================================
   SPACING UTILITIES
   ============================================ */
.mb-10 {
    margin-bottom: 10px;
}

.mb-8 {
    margin-bottom: 8px;
}

.mt-8 {
    margin-top: 8px;
}

.p-10 {
    padding: 10px;
}

.p-5 {
    padding: 5px;
}

/* ============================================
   BORDER RADIUS
   ============================================ */
.rounded-8 {
    border-radius: 8px;
}

.rounded-12 {
    border-radius: 12px;
}

/* ============================================
   HEIGHT UTILITIES
   ============================================ */
.height-full {
    height: 100%;
}

.height-600 {
    height: 600px;
}

/* ============================================
   RESPONSIVE OVERRIDES
   ============================================ */
@media (max-width: 768px) {
    .heading-brand-primary {
        font-size: 28px;
    }

    .heading-brand-primary-lg {
        font-size: 32px;
    }

    .service-map {
        height: 400px;
    }
}

/* ============================================
   BREADCRUMB BACKGROUNDS
   ============================================ */
/* Note: Dynamic backgrounds should use data-background JavaScript */
.bixol-breadcrumb {
    background-size: cover;
    background-position: center;
}

/* ============================================
   Z-INDEX MANAGEMENT
   ============================================ */
.z-index-1 {
    z-index: 1;
}

.z-index-1000 {
    z-index: 1000;
}

/* ============================================
   DISPLAY UTILITIES
   ============================================ */
.display-inline-block {
    display: inline-block;
}

.display-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   TEXT DECORATION
   ============================================ */
.text-no-decoration {
    text-decoration: none;
}

.text-underline {
    text-decoration: underline;
}

/* ============================================
   CURSOR
   ============================================ */
.cursor-pointer {
    cursor: pointer;
}

/* ============================================
   TEXT ALIGNMENT
   ============================================ */
.text-align-center {
    text-align: center;
}

/* ============================================
   MARGIN AUTO
   ============================================ */
.margin-0 {
    margin: 0;
}

.margin-0-0-8 {
    margin: 0 0 8px 0;
}

.margin-0-0-10 {
    margin: 0 0 10px 0;
}

.margin-8-0 {
    margin: 8px 0;
}

/* ============================================
   PADDING UTILITIES
   ============================================ */
.padding-8-16 {
    padding: 8px 16px;
}

.padding-40 {
    padding: 40px;
}

.padding-20 {
    padding: 20px;
}

.padding-15 {
    padding: 15px;
}

.padding-12 {
    padding: 12px;
}

.padding-10 {
    padding: 10px;
}

.padding-5 {
    padding: 5px;
}

/* ============================================
   BOX SHADOW
   ============================================ */
.shadow-lg-custom {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ============================================
   POSITION UTILITIES
   ============================================ */
.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.position-absolute-bottom-left {
    position: absolute;
    bottom: 0;
    left: 0;
}

.position-absolute-top-left {
    position: absolute;
    top: 0;
    left: 0;
}

/* ============================================
   WIDTH UTILITIES
   ============================================ */
.width-full {
    width: 100%;
}

/* ============================================
   BACKGROUND UTILITIES
   ============================================ */
.bg-white {
    background: white;
}

.bg-transparent-white-90 {
    background: rgba(255, 255, 255, 0.9);
}

/* ============================================
   SILO TEMPLATE STYLES (Phase 2)
   ============================================ */

/* List indentation patterns */
.silo-list {
    margin-left: 1.5%;
    padding: 5px;
}

.silo-list-alt {
    margin-left: 3%;
    padding: 10px;
}

.silo-list-indent {
    margin-left: 10px;
}

/* Section overflow fix for sticky elements */
.overflow-visible {
    overflow: visible !important;
}

/* Sidebar heading styles */
.sidebar-heading-white {
    color: #ffffff;
}

/* Alert list styles */
.alert-list {
    margin: 0;
    padding-left: 20px;
}
