/*-- -------------------------- -->
<---          Services          -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #services-1188 {
        padding: var(--sectionPadding);
        background-color: #f9f9f9;
        position: relative;
        overflow: hidden;
        padding-top: clamp(4rem, 8vw, 6rem); /* Added more top padding */
    }
    #services-1188 .cs-title{
        color: #F28D79; 
    }
    /* Two-colored background bar */
    #services-1188 .cs-background-bar {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 120px;
        background: #f9f9f9;
        z-index: 0;
    }
    
    #services-1188 .cs-container {
        max-width: 80rem;
        width: 100%;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: clamp(2.5rem, 5vw, 3.5rem);
        position: relative;
        z-index: 1;
    }
    
    #services-1188 .cs-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 1rem;
    }
    
    /* #services-1188 .cs-title {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
        font-weight: 700;
        line-height: 1.2em;
        margin: 0 0 0.5rem 0;
        color: #2a2a2a;
        position: relative;
        background-color: #f9f9f9;
        padding: 0 1.5rem;
        display: inline-block;
    } */
    
    #services-1188 .cs-subtitle {
        font-size: clamp(1rem, 1.5vw, 1.5rem);
        line-height: 1.5em;
        max-width: 700px;
        margin: 0;
        color: #555;
        background-color: #f9f9f9;
        padding: 0.5rem 1.5rem;
        display: inline-block;
        border-radius: 30px;
    }
    
    #services-1188 .cs-card-group {
        max-width: 56.25rem;
        width: 100%;
        margin: 0;
        padding: 0;
        display: grid;
        justify-content: center;
        gap: 1.25rem;
    }
    
    #services-1188 .cs-item {
        list-style: none;
        max-width: 23rem;
        width: 100%;
        margin: 0;
        box-sizing: border-box;
        padding: 2rem 1.5rem;
        border-radius: 12px;
        background-color: #fff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    #services-1188 .cs-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }
    
    #services-1188 .cs-picture {
        width: 6rem; /* Increased from 5.5rem */
        height: 6rem; /* Increased from 5.5rem */
        margin-bottom: 1.5rem;
        background-color: #F28D79;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex: none;
    }
    
    #services-1188 .cs-icon {
        width: 3rem; /* Increased from 2.5rem */
        height: auto;
        display: block;
    }
    
    #services-1188 .cs-h3 {
        font-size: clamp(1.25rem, 2vw, 1.5rem);
        line-height: 1.3em;
        margin: 0 0 1rem 0;
        color: #2a2a2a;
        font-weight: 600;
    }
    
    #services-1188 .cs-item-text {
        font-size: clamp(1rem, 1.5vw, 1.5rem);
        line-height: 1.6em;
        margin: 0;
        color: #555;
    }
    
    #services-1188 .cs-button-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 2rem;
        padding: 0 1rem; /* Match card padding */
    }
    
    #services-1188 .cs-button-solid {
        font-size: 1.5rem; /* Increased from 1.125rem */
        line-height: clamp(3rem, 5.5vw, 5.0rem); /* Taller button */
        font-weight: 600;
        min-width: 14rem; /* Wider button */
        margin: 0;
        padding: 0 2.5rem; /* More horizontal padding */
        color: #fff;
        background-color: #F28D79;
        border-radius: 50px;
        text-decoration: none;
        display: inline-block;
        position: relative;
        z-index: 1;
        text-align: center;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(242, 141, 121, 0.3);
    }
    
    /* Tablet and Desktop adjustments */
    @media only screen and (min-width: 48rem) {
        #services-1188 .cs-button-wrapper {
            max-width: 56.25rem; /* Match card group width */
        }
    }
    
    @media only screen and (min-width: 64rem) {
        #services-1188 .cs-button-wrapper {
            max-width: 80rem; /* Match wider card group */
        }
    }
    
    #services-1188 .cs-button-solid:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(242, 141, 121, 0.4);
        background-color: #e67e6a;
    }
}

/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    #services-1188 .cs-card-group {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    #services-1188 .cs-button-container {
        max-width: 56.25rem;
    }
}

/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
    #services-1188 .cs-card-group {
        grid-template-columns: repeat(3, 1fr);
        max-width: 80rem;
    }
    
    #services-1188 .cs-button-container {
        max-width: 80rem;
    }
    
    #services-1188 .cs-item {
        padding: 2.5rem 2rem;
    }
}

/* Dark Mode */
@media only screen and (min-width: 0rem) {
    body.dark-mode #services-1188 {
        background-color: #1a1a1a;
    }
    
    body.dark-mode #services-1188 .cs-background-bar {
        opacity: 0.2;
    }
    
    body.dark-mode #services-1188 .cs-title,
    body.dark-mode #services-1188 .cs-h3 {
        color: #fff;
        background-color: #1a1a1a;
    }
    
    body.dark-mode #services-1188 .cs-subtitle {
        color: #ccc;
        background-color: #2a2a2a;
    }
    
    body.dark-mode #services-1188 .cs-item {
        background-color: #2a2a2a;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    
    body.dark-mode #services-1188 .cs-picture {
        background-color: #F28D79;
    }
    
    body.dark-mode #services-1188 .cs-icon {
        filter: brightness(0) invert(1);
    }
}

#modal-container {
    position: fixed;
    z-index: 1000; /* High enough to be above other elements */
  }
  
  #openModal {
    z-index: 1; /* Keep it below the modal */
  }
  
                                