/* Home Services Summary Section */
#home-services-summary {
    padding: 10rem 0;
    text-align: center;
    background: #070707;
}

#home-services-summary .section-title {
    font-size: 3.5rem;
    margin-bottom: 4rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

#home-services-summary .section-title span {
    color: white !important;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}


.service-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.service-summary-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 3rem;
    text-align: left;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.05), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-summary-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.service-summary-card:hover::before {
    opacity: 1;
}

.service-icon-wrapper {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: white;
    transition: transform 0.5s ease;
}

.service-summary-card:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(255, 255, 255, 0.3);
}

.service-summary-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
    font-variation-settings: 'wdth' 120;
}

.service-summary-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-summary-card .card-link {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


.home-services-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.btn-view-all {
    background: white !important;
    color: black !important;
    padding: 1.25rem 2.5rem;
    border-radius: 100px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
}

.btn-view-all:hover {
    background: #e0e0e0 !important;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}


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

@media (max-width: 768px) {
    .service-summary-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    #home-services-summary {
        padding: 6rem 0;
    }

    #home-services-summary .section-title {
        font-size: 2.5rem;
    }

    .home-services-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .home-services-actions .btn {
        width: 100%;
    }
}