/* Service Template Styles */
.service-template-main {
    padding-top: 100px;
}

.service-content-section .container,
.service-projects-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-main-title {
    text-align: center;
    margin-top: 40px;
    /* 100px padding + 20px margin = 120px from top */
    margin-bottom: 60px;
    font-size: 3.2rem;
    font-weight: 700;
    color: #1f1f1f;
}


.service-projects-section {
    background-color: #fff;
    /* Ensure background is consistent */
}

.service-rows {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-bottom: 80px;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-row-image {
    flex: 1;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-row-content {
    flex: 1;
}

.service-row-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.service-row-desc {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

.service-row-button {
    display: inline-block;
    background-color: #0073aa;
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s;
}

.service-row-button:hover {
    background-color: #005177;
    color: #fff;
}

.service-projects-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #333;
}

@media (max-width: 1024px) {
    .service-main-title {
        font-size: 2rem;
    }

    .service-row,
    .service-row.reverse {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }

    .service-row-image {
        width: 100%;
        height: 300px;
        flex: none;
    }

    .service-row-content {
        width: 100%;
        text-align: left;
        padding: 0;
    }

    .service-row-title,
    .service-row-desc {
        text-align: left;
    }
}

@media (max-width: 420px) {
    .service-row-title {
        font-size: 1rem;
    }
}