/* Dedicated styles for Services section */

/* Push the services section lower and isolate spacing here */
#servicess.container.Flip-Cards {
    margin-top: 40px; /* increased to move container down more */
    margin-bottom: var(--section-gap-after);
}

/* Change title color to green */
#servicess.container.Flip-Cards h3 {
    color: #4aa921;
}

/* Optional: fine-tune inner spacing without affecting global styles */
#services .services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

@media (max-width: 1200px) {
    #services .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    #services .services-grid {
        grid-template-columns: 1fr;
    }
}

#services .service-card {
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

#services .service-desc {
    font-size: 0.95rem;
    color: #183049;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    text-align: left;
    width: 100%;
    flex-grow: 1;
}

#services .service-features {
    margin-top: 0.75rem;
    gap: 0.5rem;
}

#services .service-features .value-text {
    font-size: 0.9rem;
    line-height: 1.4;
}

#services .services-subtitle {
    max-width: 720px;
    margin: 0 auto 2rem;
    text-align: center;
    color: #183049;
    line-height: 1.6;
}

#services .service-cta {
    margin-top: auto;
}

/* Style h3 elements in service cards */
#services .service-card h3 {
    color: #4aa921 !important;
    font-size: 1.1rem !important;
    margin-bottom: 0.75rem !important;
    font-weight: bold !important;
    line-height: 1.25 !important;
}

/* Style h3 elements in flip cards front */
.flip-card-front h3.title {
    color: #4aa921 !important;
    font-size: 20.8px !important;
}

/* Center content in flip card back */
.flip-card-back {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

.flip-card-back .title {
    text-align: center !important;
    margin: 0 auto !important;
}

.flip-card-back p {
    text-align: center !important;
    margin: 0 auto !important;
}


