.detail-service-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.detail-service-overview {
    display: flex;
    gap: 20px;
}

.detail-service-header {
    font-size: 2.5em; /* Increase the font size to make the header larger */
    margin-bottom: 1em;
}

.detail-service-image, .detail-service-description {
    flex-basis: 30%;
}

.detail-service-image {
    flex-basis: 30%;
    border-radius: 10px; /* Apply rounded corners to the image container */
    overflow: hidden; /* Ensure the image respects the border radius */
}

.detail-service-image img {
    width: 100%; /* Make the image fill the container */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Apply rounded corners to the image itself */
}

.detail-service-description {
    flex-basis: 70%;
    display: flex;
    align-items: center; /* Vertically center the bullet points */
    height: 200px; /* Match the height with the image */
}

.detail-service-description ul {
    padding: 0;
    list-style-position: inside;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around; /* Space out the bullet points */
}

.detail-service-full-width-text {
    margin-top: 20px;
    height: 200px;
    background-color: #f0f0f0; /* Example background color, adjust as needed */
    border-radius: 10px; /* Adjust the value for desired roundness */
    padding: 20px; /* Add some padding inside the container */
}

.detail-service-highlights {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.detail-highlight {
    width: 24%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center align icon and text vertically */
    align-items: center; /* Center align icon and text horizontally */
}

.detail-highlight p {
    margin: 0; /* Remove default paragraph margin to better align text with icon */
}

.detail-icon {
    width: 50%; /* Icons take up 75% of their container's width */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 10px; /* Space between icon and text */
    display: block; /* Ensure the icons are block-level elements */
    margin-left: auto; /* Center the icon horizontally */
    margin-right: auto;
}

.detail-cta-button {
    display: block;
    width: max-content;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
}

/* Custom Services Page CSS */
.custom_service_page .custom_service_header {
    width: 100%;
    height: 200px;        
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5); /* Darken the background */
    color: #fff; /* Ensure text color is white for readability */
}

.custom_service_header h1 {
    font-size: 3em; /* Increase the font size for the header title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Text shadow for better readability */
}

.custom_service_highlights {
    display: flex;
    padding: 20px;
    max-width: 90%;
    margin: 0 auto;
    justify-content: center;
}

.custom_service_highlight_panel {
    width: calc(33.333% - 20px); /* Adjust for 3 panels with margins */
    height: 100px;
    margin: 10px; /* Margins around each panel */
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff; /* Ensure text color is white for readability */
    background-size: cover; /* Cover the entire panel with the background image */
    background-position: center; /* Center the background image */
    position: relative; /* Needed for the darkening effect */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06); /* Box shadow for depth */
}

.custom_service_highlight_panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Darken the background image for readability */
    border-radius: 10px; /* Ensure the darkening effect has rounded corners */
}

.custom_service_highlight_panel img {
    width: auto;
    height: 100%; /* Adjust the image height to fill the panel */
    border-radius: 10px; /* Apply rounded corners to the images */
    background-size: cover;
}

.custom_service_highlight_panel p {
    position: relative; /* Ensure the text appears above the darkening layer */
    z-index: 1;
}

.custom_service_details {
    display: flex;
    width: 100%; /* Ensure it takes the full width of the container */
}

.custom_service_split_container {
    /* display: flex; */
    justify-content: center; /* Centers the children containers */
    align-items: flex-start; /* Aligns children containers at the top */
    margin: 0 auto; /* Centering the container */
}

.custom_service_detail_text {
    flex-basis: 40%; /* Takes up 40% of the parent container's width */
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 10px;
}

.custom_service_text_panel {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 10px;
}

.custom_service_text_panel p:not(:first-child) {
    margin-top: 20px; /* Add space below the first paragraph if it's not the only child */
}

.custom_service_text_panel p {
    margin: 0 0 10px 0; /* Adds space above the banner */
}

.panel_header {
    background: linear-gradient(to right, #333, transparent);
    color: #fff;
    padding: 10px 20px; /* Adjust padding as needed */
    border-top-left-radius: 5px; /* Rounded top-left corner */
    border-top-right-radius: 5px; /* Rounded top-right corner */
    font-weight: bold; /* Optional: Make header text bold */
}

.panel_body {
    padding: 20px; /* Adjust padding to match the panel's padding */
}

.panel_body p {
    margin: 0; /* Remove default margins for the paragraph */
}

.panel_banner {
    background: linear-gradient(to right, #333, #f0f0f0); /* Gradient from dark grey to light grey */
    color: #fff;
    padding: 5px 20px; /* Matching horizontal padding with the parent panel */
    position: absolute;
    top: 0; /* Aligned to the top edge of the panel */
    left: 0; /* Aligned to the left edge of the panel */
    width: 100%; /* Span the full width of the panel */
    box-sizing: border-box; /* Include padding in the width calculation */
    display: flex;
    align-items: center; /* Vertically center the text */
    height: 30px; /* Fixed height for the banner */
}

.panel_banner p {
    margin: 0; /* Remove default margins */
}

.custom_service_detail_text p {
    margin-bottom: 15px; /* Adds more space between paragraphs */
}

.custom_service_pricing_container {
    flex-basis: 60%; /* Takes up 60% of the parent container's width */
    display: flex;
    flex-direction: column; /* Organizes header, subtitle, pricing tiers, and note vertically */
    justify-content: center; /* Centers items vertically within the container */
    align-items: center; /* Centers the items horizontally within the container */
    padding: 20px;
    border-radius: 10px;
    margin-left: 10px;
    height: 100%; /* Make sure the container takes full height to properly center contents */
}

.custom_service_pricing {
    flex-basis: 60%;
    display: flex;
    justify-content: space-evenly;
    align-items: center; /* Ensure vertical alignment especially when one tier is larger */
    border-radius: 10px;
}

.custom_header {
    margin-bottom: 15px !important;
    font-size: 2em;
    line-height: 1.2;
}

.custom_subtitle {
    margin-bottom: 30px !important;
}

.pricing_table_cta {
    margin-top: 20px;
    padding: 8px 12px;
    background-color: #007bff;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
}

.pricing_table_note {
    font-size: 0.9em;
    margin-top: 30px;
}

.custom_service_pricing_tier, .premium_plan {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 40px;
    border-radius: 10px;
    width: 30%; /* Equal width for all tiers */
    text-align: center;
    margin: 10px;
    transition: transform 0.3s ease; /* Smooth transition for hover effect */
}

/* Specific styling for the premium plan */
.premium_plan {
    transform: scale(1.1); /* Slightly larger to emphasize */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow for depth */
}

.tier_icon {
    width: 40px;
    height: auto;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.custom_service_pricing_tier h4, .premium_plan h4 {
    color: #007bff;
    margin-top: 20px; /* Adjust for icon spacing */
}

.custom_service_price {
    color: #333;
    font-size: 1.5em;
    margin: 10px 0;
}

.custom_service_pricing_tier ul, .premium_plan ul {
    list-style: none;
    padding: 0;
}

.custom_service_pricing_tier ul li, .premium_plan ul li {
    margin-bottom: 10px;
    color: #333;
}

/* Ensuring highlighted feature is gold */
.custom_service_pricing_tier ul li.custom_service_highlight, .premium_plan ul li.custom_service_highlight {
    color: #FFD700 !important; /* Override Tailwind with !important */
    font-weight: bold;
}

.custom_service_cta .custom_service_cta_button {
    display: block;
    width: max-content;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
}

.handwritten {
    font-family: 'Pacifico', cursive;
    font-size: 0.6em;
    color: #fff;
    margin-left: 10px;
}

.custom_service_banner {
    display: flex;
    justify-content: center;
    max-width: 90%; /* Ensuring consistency with other content */
    margin: 0 auto; /* Centering the banner */
    padding: 20px;
    border-radius: 10px;
    overflow: hidden;
    height: 150px;
}

.custom_service_banner_col {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.2em;
    text-align: center;
    padding: 0 10px;
    position: relative; /* Needed for positioning the pseudo-element */
}

.custom_service_banner_col:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

/* Last column - rounded corners on the right */
.custom_service_banner_col:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.custom_service_banner_col::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    z-index: 1; /* Ensures the overlay is above the background image but below the text */
    border-radius: inherit; /* Inherit border-radius from the parent */
}

.custom_service_banner_col p {
    position: relative; /* Ensures text is above the overlay */
    z-index: 2; /* Ensures text is above the overlay */
}

.green_business {
    background-image: url('/img/service-panels/green_charity.jpg'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
}

.payment_options {
    background-image: url('/img/service-panels/blue.jpg'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
}