/* service.css */

.service-section {
    padding: 50px 200px 5px 200px; /* Adjusted bottom padding */
    background-color: #f5f5f5;
    text-align: center;
    padding-bottom: 150px;
}

.service-header {
    margin-bottom: 40px;
}

.service-header span {
    display: inline-block;
    background-color: #0c031f; /* Main background color */
    color: #ffffff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 1.2rem;
}

.service-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-top: 20px;
    color: #0c031f; /* Main background color */
}

.service-header p {
    font-size: 1rem;
    margin-top: 10px;
    line-height: 1.5;
    color: #1c1c1e;
}

.service-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service-card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    margin: 10px;
    text-align: left;
}

.service-icon {
    font-size: 2rem;
    color: #0c031f; /* Main background color */
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #0c031f; /* Main background color */
}

.service-card p {
    font-size: 1rem;
    color: #1c1c1e;
    line-height: 1.5;
}

/* Call to Action Section */
.cta-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #f5f5f5 50%, #0c031f 50%);
    padding: 0;
    margin: 0;
    position: relative;
}

.cta-content {
    text-align: center;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #0c031f; /* Main background color */
    margin-bottom: 20px;
}

.cta-button {
    background-color: #56008b;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
}

@media screen and (max-width: 600px) {
    .service-section {
        padding: 30px; /* Adjusted bottom padding */
        padding-bottom: 50px;
    }
    .cta-section {
        padding: 60px; /* Adjusted bottom padding */
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(to bottom, #f5f5f5 50%, #0c031f 50%);
        max-width: 100vw; /* Adjust the width for mobile view */
        width: 100%;
    }
    
    .cta-content {
        margin: 0 auto;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 90%;
    }
}

