.services-section {
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
    text-align: center;

}

.services-header {
    margin-bottom: 40px;
}

.header-subtitle {
    font-size: 1rem;
    font-family: sans-serif;
    color: #aaa;
    margin: 0;
}

.header-title {
    font-size: 2.5rem;
    font-weight: 1000;
    font-family: sans-serif;
    color: #222;
    margin: 10px 0;
    word-spacing: -4px;
    margin-top: 1px;
}

.header-subtitle-strong {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: sans-serif;
    color: #555;
    margin: 0;
}

.header-divider {
    width: 80px;
    height: 2px;
    background-color: #e0e0e0;
    margin: 20px auto 0;
    box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.1);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: start;
    justify-content: center;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 15px;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.icon {
    font-size: 3rem;
    color: #ff5a5f;
    margin-bottom: 10px;
}

.title {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: sans-serif;
    color: #222;
    margin-top: -20px;
}

.description {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-top: -20px;
    font-family: sans-serif;
}

.learn-more {
    padding: 10px 20px;
    background-color: #ff5a5f;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    align-self: center;
    margin-top: auto;
}

.learn-more:hover {
    background-color: #e94c4f;
    transform: translateY(-2px);
}



.background-wrapper{
    width: 97vw;
    margin: 0 auto;
    border-radius: 20px;
    border: .0625rem solid #d7d9dd;
    background-color: var(--background);
    padding-top: 50px;
    padding-bottom: 100px;
    border-top: 1px solid #eaeaea; /* Subtle divider */
}










@media (min-width: 11in) and (max-width: 15in) {


    .services-section {
        width: 100%;
        max-width: 1100px;
        margin: 50px auto;
        text-align: center;
    
    }
    
    .services-header {
        margin-bottom: 40px;
    }
    
    .header-subtitle {
        font-size: 1rem;
        font-family: sans-serif;
        color: #aaa;
        margin: 0;
    }
    
    .header-title {
        font-size: 2.5rem;
        font-weight: 1000;
        font-family: sans-serif;
        color: #222;
        margin: 10px 0;
        word-spacing: -4px;
        margin-top: 1px;
    }
    
    .header-subtitle-strong {
        font-size: 1.5rem;
        font-weight: bold;
        font-family: sans-serif;
        color: #555;
        margin: 0;
    }
    
    .header-divider {
        width: 80px;
        height: 2px;
        background-color: #e0e0e0;
        margin: 20px auto 0;
        box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.1);
    }
    
    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        align-items: start;
        justify-content: center;
    }
    
    .service-card {
        background: #fff;
        border-radius: 10px;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transition: box-shadow 0.3s ease, transform 0.3s ease;
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 15px;
        position: relative;
    }
    
    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    }
    
    .icon {
        font-size: 3rem;
        color: #ff5a5f;
        margin-bottom: 10px;
    }
    
    .title {
        font-size: 1.5rem;
        font-weight: bold;
        font-family: sans-serif;
        color: #222;
        margin-top: -20px;
    }
    
    .description {
        font-size: 1rem;
        color: #555;
        line-height: 1.6;
        margin-top: -20px;
        font-family: sans-serif;
    }
    
    .learn-more {
        padding: 10px 20px;
        background-color: #ff5a5f;
        color: #fff;
        border: none;
        border-radius: 5px;
        font-size: 1rem;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.2s ease;
        align-self: center;
        margin-top: auto;
    }
    
    .learn-more:hover {
        background-color: #e94c4f;
        transform: translateY(-2px);
    }
    
    
    
    .background-wrapper{
        width: 97vw;
        background-color: var(--background);
        padding-top: 40px;
        padding-bottom: 80px;
        border-top: 1px solid #eaeaea; /* Subtle divider */
    }

}







@media (min-width: 6in) and (max-width: 11in) {


    .services-section {
        width: 100%;
        max-width: 650px;
        margin: 50px auto;
        text-align: center;
    
    }
    
    .services-header {
        margin-bottom: 40px;
    }
    
    .header-subtitle {
        font-size: 1rem;
        font-family: sans-serif;
        color: #aaa;
        margin: 0;
    }
    
    .header-title {
        font-size: 2.5rem;
        font-weight: 1000;
        font-family: sans-serif;
        color: #222;
        margin: 10px 0;
        word-spacing: -4px;
        margin-top: 1px;
    }
    
    .header-subtitle-strong {
        font-size: 1.5rem;
        font-weight: bold;
        font-family: sans-serif;
        color: #555;
        margin: 0;
    }
    
    .header-divider {
        width: 80px;
        height: 2px;
        background-color: #e0e0e0;
        margin: 20px auto 0;
        box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.1);
    }
    
    .services-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(300px, 1fr));
        gap: 30px;
        align-items: start;
        justify-content: center;
    }
    
    .service-card {
        background: #fff;
        border-radius: 10px;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transition: box-shadow 0.3s ease, transform 0.3s ease;
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 15px;
        position: relative;
    }
    
    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    }
    
    .icon {
        font-size: 2.5rem;
        color: #ff5a5f;
        margin-bottom: 10px;
    }
    
    .title {
        font-size: 1.35rem;
        font-weight: bold;
        font-family: sans-serif;
        color: #222;
        margin-top: -20px;
    }
    
    .description {
        font-size: .88rem;
        color: #555;
        line-height: 1.6;
        margin-top: -20px;
        font-family: sans-serif;
    }
    
    .learn-more {
        padding: 7px 15px;
        background-color: #ff5a5f;
        color: #fff;
        border: none;
        border-radius: 5px;
        font-size: .9rem;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.2s ease;
        align-self: center;
        margin-top: auto;
    }
    
    .learn-more:hover {
        background-color: #e94c4f;
        transform: translateY(-2px);
    }
    
    
    
    .background-wrapper{
        width: 100vw;
        background-color: var(--background);
        padding-top: 40px;
        padding-bottom: 80px;
        border-top: 1px solid #eaeaea; /* Subtle divider */
    }

}





