/* services.css */
.home-services {
    background: hsl(0, 0%, 100%);
    padding: 60px 20px;
}
.home-services-container {
    max-width: 1200px;
    margin: 0 auto;
}
.home-services-container h2 {
    font-size: 2.2rem;
    text-align: center;
    font-weight: 900;
    margin: 0 0 2.2rem 0;
    padding-top: 0.7em;
    padding-bottom: 0.5em;
    letter-spacing: 0.5px;
    color: #222;
}
@media (max-width: 600px) {
    .home-services-container h2 {
        font-size: 1.7rem;
        margin-bottom: 1.2rem;
        padding-top: 0.5em;
        padding-bottom: 0.3em;
        font-weight: 900;
    }
}
.home-services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
@media (max-width: 900px) {
    .home-services-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .home-services-list { grid-template-columns: 1fr; }
    .workshops-title, .workshops-desc, .home-services-link { margin-left: 0.7rem; margin-right: 0.7rem; }
}
.home-services-item {
    background: #f6f6f6;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 24px 18px;
    width: 270px;
    text-align: center;
    transition: box-shadow 0.2s;
}
.home-services-item:hover {
    box-shadow: 0 4px 24px rgba(230,126,34,0.10);
}
.home-services-imgwrap {
    width: 86px;
    height: 86px;
    margin: 0 auto 1.1rem auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #fdf6e3 0%, #eaf6ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(52,152,219,0.07);
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.home-services-item:hover .home-services-imgwrap {
    box-shadow: 0 6px 24px rgba(230,126,34,0.13);
}
.home-services-imgwrap img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(52,152,219,0.07);
}
.home-services-icon {
    font-size: 2.2rem;
    color: #e67e22;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(52,152,219,0.07);
}
.home-services-title {
    font-size: 1.22rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #222;
}
.home-services-desc {
    color: #555;
    font-size: 1rem;
    margin-bottom: 1.1rem;
    min-height: 48px;
}
.home-services-link {
    display: block;
    width: calc(100% - 2.4rem);
    margin: 1.1rem 1.2rem 1.1rem 1.2rem;
    background: #181818;
    color: #fff;
    font-weight: 700;
    border-radius: 10px;
    padding: 13px 0;
    font-size: 1.08rem;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(52,52,52,0.07);
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s, color 0.2s;
    text-align: center;
    letter-spacing: 0.2px;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}
.home-services-link:hover, .home-services-link:focus {
    background: #e74c3c;
    color: #fff;
    box-shadow: 0 4px 18px rgba(231,76,60,0.13);
    transform: translateY(-2px) scale(1.04);
}
.home-services-link::after {
    content: '';
    display: block;
    position: absolute;
    left: 0; right: 0; top: 0; bottom: 0;
    border-radius: 10px;
    box-shadow: 0 0 0 0 #e74c3c;
    opacity: 0;
    transition: box-shadow 0.3s, opacity 0.3s;
    pointer-events: none;
}
.home-services-link:active::after {
    box-shadow: 0 0 0 4px #e74c3c44;
    opacity: 1;
}
@media (max-width: 600px) {
    .home-services-link {
        width: calc(100% - 1.4rem);
        margin-left: 0.7rem;
        margin-right: 0.7rem;
        font-size: 1rem;
        padding: 12px 0;
    }
}
.service-detail-main {
    background: #fff;
    padding: 60px 0;
}
.service-detail-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 18px rgba(52,152,219,0.08);
    padding: 48px 36px;
}
.service-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
    gap: 18px;
}
.service-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e53935;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.08rem;
    background: #f8fafc;
    border-radius: 8px;
    padding: 8px 18px;
    transition: background 0.18s, color 0.18s;
}
.service-detail-back:hover {
    background: #e53935;
    color: #fff;
}
.service-detail-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.01rem;
    color: #888;
}
.service-detail-keywords {
    color: #e53935;
    font-size: 1.01rem;
    font-weight: 500;
    background: #f8fafc;
    border-radius: 8px;
    padding: 6px 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.service-detail-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #222;
    text-align: center;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}
.service-detail-img-wrap {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4/3;
    border-radius: 14px;
    overflow: hidden;
    background: #eaeaea;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-detail-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}
.service-detail-content {
    font-size: 1.13rem;
    color: #232323;
    line-height: 1.7;
    margin-top: 1.2rem;
}
.service-detail-content img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(52,152,219,0.10);
    margin: 18px 0;
    display: block;
    height: auto;
}
.service-detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: #f8fafc;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(52,152,219,0.07);
}
.service-detail-content th, .service-detail-content td {
    padding: 14px 18px;
    border: 1px solid #e0e4ea;
    text-align: left;
    font-size: 1.05rem;
}
.service-detail-content th {
    background: #e53935;
    color: #fff;
    font-weight: 700;
}
.service-detail-content tr:nth-child(even) td {
    background: #f3f6fa;
}
.service-detail-content ul, .service-detail-content ol {
    margin: 18px 0 18px 24px;
    padding-left: 18px;
}
.service-detail-content li {
    margin-bottom: 7px;
    font-size: 1.07rem;
}
.service-detail-content blockquote {
    border-left: 4px solid #e53935;
    background: #f8fafc;
    margin: 18px 0;
    padding: 14px 22px;
    color: #555;
    font-style: italic;
    border-radius: 8px;
}
.service-detail-content h2, .service-detail-content h3, .service-detail-content h4 {
    color: #e53935;
    font-weight: 800;
    margin-top: 2.2em;
    margin-bottom: 0.7em;
}
@media (max-width: 900px) {
    .service-detail-container {
        padding: 32px 12px;
    }
    .service-detail-title {
        font-size: 1.4rem;
    }
}
.service-header-main {
    background: linear-gradient(90deg, #fff 60%, #f8fafc 100%);
    padding: 54px 0 36px 0;
    border-bottom: 2.5px solid #f2f2f2;
}
.service-header-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
}
.service-header-text {
    flex: 1 1 350px;
}
.service-header-title {
    font-size: 2.7rem;
    margin-bottom: 0;
    font-weight: 900;
    color: #222;
    display: flex;
    align-items: center;
    gap: 10px;
}
.service-header-img-wrap {
    flex: 0 0 380px;
    max-width: 380px;
    aspect-ratio: 4/3;
    border-radius: 18px;
    overflow: hidden;
    background: #eaeaea;
    box-shadow: 0 4px 24px rgba(52,152,219,0.10);
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-header-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}
@media (max-width: 900px) {
    .service-header-container {
        flex-direction: column;
        gap: 24px;
        padding: 0 12px;
    }
    .service-header-title {
        font-size: 1.5rem;
    }
    .service-header-img-wrap {
        max-width: 100%;
    }
}
