/**
* Theme Name: Eremia Child
* Description: This is a child theme of Eremia, generated by Merlin WP.
* Author: <a href="https://themeforest.net/user/design_grid">Design Grid</a>
* Template: eremia
* Version: 1.3.0
*/




/* @media only screen and (max-width: 400px) {
    .title {
        font-size: 31px !important;
        line-height: 40px;
    }

} */

.single-services #hero_image,
.single-services .dsn-button-sidebar.background-section.heading-color {
    display: none !important;
}

/* Container for the grid */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 3fr);
    gap: 20px; /* Adjust the spacing between grid items */
    padding: 20px; /* Padding around the grid container */
}

/* Each service item in the grid */

.services-grid .service-item {
    position: relative;
    /* background-color: #fff; /* Background color of service items */ */
    border: 1px solid #ddd; /* Border around the service items */
    border-radius: 8px; /* Rounded corners */
    overflow: hidden; /* Ensures content doesn't overflow the container */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effects */
}


.services-grid .service-item:hover {
    transform: translateY(-10px); /* Lift effect on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

/* Inner container for the service item */

.services-grid .service-item-inner {
    position: relative;
    overflow: hidden;
   min-height : 450px;
}

/* Custom lines around the item */

.services-grid .custom-line {
    position: absolute;
    background-color: #101110; /* Customize the color of the lines */
    transition: all 0.3s ease; /* Smooth transition for lines */
    z-index: 1; /* Ensure lines are above other content */
}

.services-grid .custom-line-top,
.services-grid .custom-line-bottom{
    height:4px;
    width:100%;
}
.services-grid .custom-line-left,
.services-grid .custom-line-right {
    /* width: 100%; */
    height: auto; /* Line thickness */
}

.services-grid  .custom-line-top {
    top: 0;
    height: 2px; /* Line thickness */
}

.services-grid .custom-line-bottom {
    bottom: 0;
    height: 2px; /* Line thickness */
}

.services-grid .custom-line-left {
    left: 0;
    width: 2px; /* Line thickness */
    height: 100%;
}

.services-grid .custom-line-right {
    right: 0;
    width: 2px; /* Line thickness */
    height: 100%;
}

/* Service image */
.services-grid .service-image{
      display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
/* Service info section */
.services-grid .service-info {
    padding: 15px; /* Padding inside the info section */
    position: relative;
	text-align:center;
    z-index: 2; /* Ensure content is above custom lines */
}

.services-grid .service-info a {
    text-decoration: none;
    color: inherit; /* Inherit color from parent */
}

.services-grid .service-info .title {
    font-size: 1.25em;
    margin: 0 0 10px; /* Margin below the title */
    line-height: unset;
}

.services-grid .service-info .desc {
    font-size: 1em;
    color: #555; /* Description text color */
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr; /* Single column on smaller screens */
    }
}
.services-grid .read-more-btn {
    display: inline-block;
    padding: 10px 20px; /* Adjust padding as needed */
   /* background-color: #007bff;  Button background color */
    color: #fff; /* Button text color */
    text-decoration: none; /* Remove underline from link */
    border-radius: 4px; /* Rounded corners */
	text-align:center;
    font-size: 0.9em; /* Adjust font size as needed */
    transition: background-color 0.3s ease; /* Smooth transition for hover effects */
    text-align: center; /* Center text */
    overflow: hidden; /* Hide content overflow */
}

/* Hover effect with animation */
.services-grid .read-more-btn:hover {
    /*background-color: #0056b3;  Darker background on hover */
    animation: slide-up 0.5s ease-out; /* Apply slide-up animation */
}
.copyright-section{
    text-align: center;
    margin-top: 10px ;
}

body .v-light .single-services p,
body .v-light .single-services li {
    color: black !important; /* Text color for p and li in light mode */
}
body .v-dark .single-services p,
body .v-dark .single-services li {
    color: white !important; /* Text color for p and li in dark mode */
}