/* Authorized Services Section */
.authorized-services {
    padding: 60px 0;
    background-color: #f4f5f7;
    text-align: center;
}

.authorized-services .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.services-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 1200px;
}

.service-item {
    flex: 1 1 250px;
    max-width: 300px;
    min-width: 240px;
    margin-bottom: 30px;
    display: flex;
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s cubic-bezier(.4,2,.6,1), box-shadow 0.25s;
    background-color: #fff;
    position: relative;
}

.service-card:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}

.service-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    background: #f8f8f8;
    border-bottom: 2px solid #f0f0f0;
    transition: opacity 0.3s;
}

.service-info {
    padding: 18px 18px 0 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-text {
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 12px;
    font-weight: 500;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-link {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background-color: #007bff;
    padding: 10px 22px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: background-color 0.2s, box-shadow 0.2s;
    margin: 0 auto 10px auto;
    display: inline-block;
}

.service-link:hover {
    background-color: #0056b3;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
}

.service-url {
    font-size: 0.95rem;
    margin-top: 10px;
    color: #555;
    word-break: break-all;
}

.service-url a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s;
}

.service-url a:hover {
    text-decoration: underline;
    color: #0056b3;
}

/* Responsive Design */
@media (max-width: 991px) {
    .services-row {
        gap: 18px;
        max-width: 100%;
    }
    .service-item {
        max-width: 45%;
        min-width: 180px;
    }
    .service-card {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .authorized-services .section-title {
        font-size: 2rem;
    }
    .services-row {
        gap: 12px;
    }
    .service-item {
        max-width: 100%;
        min-width: 140px;
    }
    .service-card {
        height: 260px;
    }
    .service-link {
        font-size: 0.95rem;
        padding: 8px 16px;
    }
    .service-info {
        padding: 12px 8px 0 8px;
    }
}

@media (max-width: 576px) {
    .authorized-services {
        padding: 30px 0;
    }
    .authorized-services .section-title {
        font-size: 1.3rem;
        margin-bottom: 24px;
    }
    .services-row {
        flex-direction: column;
        gap: 10px;
    }
    .service-item {
        max-width: 100%;
        min-width: 100px;
        margin-bottom: 16px;
    }
    .service-card {
        height: 200px;
        border-radius: 10px;
    }
    .service-link {
        font-size: 0.9rem;
        padding: 7px 12px;
    }
}