.elementor-2 .elementor-element.elementor-element-d29718d{--display:flex;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-widget .tippy-tooltip .tippy-content{text-align:center;}/* Start custom CSS for text-editor, class: .elementor-element-e7ab99d *//* --- Base Styles (Desktop First) --- */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    /* Added overflow-x: hidden to prevent horizontal scrolling on some devices */
    margin: 0;
    padding: 0;
    overflow-x: hidden; 
}

.services-content {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

/* Page Title and Intro */
.services-content h1 {
    font-size: 2.5em;
    color: #004d99;
    text-align: center;
    margin-bottom: 10px;
    border-bottom: 3px solid #004d99;
    padding-bottom: 10px;
}

.intro {
    text-align: center;
    font-size: 1.1em;
    color: #555;
    margin-bottom: 30px;
}

/* Service List Styling */
.service-list {
    list-style: none;
    padding: 0;
}

.category-item {
    margin-bottom: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 15px;
    transition: box-shadow 0.3s ease;
    background-color: #ffffff;
}

.category-item:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Category Header with Image and Title */
.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #eee;
}

.service-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 15px;
    border-radius: 4px;
}

.category-title {
    font-size: 1.4em;
    color: #007bff;
    margin: 0;
    line-height: 1.2;
}

/* Sub-service List Styling (Desktop Grid) */
.subcategory-list {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px;
}

.subcategory-list li {
    padding: 8px 12px;
    background-color: #f8f8f8;
    border-left: 4px solid #007bff;
    border-radius: 4px;
    color: #444;
    font-size: 1em;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Style for categories without sub-items (standalone items) */
.category-item.standalone {
    border-left: 5px solid #004d99;
    background-color: #f0f8ff;
    padding: 15px;
}

.category-item.standalone .category-title {
    color: #004d99;
    margin-bottom: 0;
}

/* ---------------------------------- */
/* --- Mobile Responsive Adjustments --- */
/* ---------------------------------- */

@media (max-width: 768px) {
    /* KEY CHANGE: Remove horizontal margin and rely on internal padding */
    .services-content {
        margin: 20px 0; /* Vertical margin retained, horizontal margin set to 0 */
        padding: 15px; /* Internal padding keeps content off the edge */
        border-radius: 0; /* Often looks better to remove corner radius on full-width mobile containers */
    }

    /* Small adjustment to body to be extra sure no accidental scrolling occurs */
    body {
        padding: 0; 
    }

    .services-content h1 {
        font-size: 2em;
    }

    .intro {
        font-size: 1em;
    }

    /* Stack sub-services vertically for better readability on small screens */
    .subcategory-list {
        display: block; 
        gap: 0;
    }

    .subcategory-list li {
        margin-bottom: 10px;
    }

    /* Adjust the category header alignment and size */
    .category-header {
        align-items: flex-start;
    }

    .service-icon {
        width: 30px; 
        height: 30px;
        margin-top: 5px;
    }
    
    .category-title {
        font-size: 1.2em;
    }
}
.services-content a,
.services-content a:hover,
.services-content a:visited,
.services-content a:active {
    text-decoration: none !important;
}
.subcategory-list li a {
    color: #333 !important;
    text-decoration: none;
}/* End custom CSS */