/* Owner: pages/service-detail. Existing visual rules extracted from style.css. */
.support-description {
    color: #64748b;
    font-size: 0.9rem;
}

.service-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><defs><pattern id='hero-grid' width='20' height='20' patternUnits='userSpaceOnUse'><circle cx='10' cy='10' r='1' fill='rgba(0,114,190,0.1)'/></pattern></defs><rect width='100%' height='100%' fill='url(%23hero-grid)'/></svg>");
    opacity: 0.4;
    z-index: 0;
    filter: brightness(0);
}

.service-hero .container {
    position: relative;
    z-index: 1;
}

.service-badge {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.service-title {
    font-size: 2.2rem;
    font-weight: bold;
}

.service-subtitle {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 25px;
}

.detail-main-content li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.detail-main-content li i {
    color: var(--secondary-color);
    margin-right: 12px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-secondary-custom {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 13px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary-custom:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    height: 100%;
}

.hero-image:hover img {
    transform: scale(1.05);
}

.service-features-section {
    background: var(--bg-gradient);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 114, 190, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 114, 190, 0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--bg-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover .feature-icon::before {
    opacity: 1;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-icon i {
    color: white;
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.why-choose-list {
    list-style: none;
    padding: 0;
    /* margin-top: 30px; */
}

.why-choose-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(0, 114, 190, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.why-choose-item:hover {
    background: rgba(0, 114, 190, 0.1);
    transform: translateX(10px);
}

.why-choose-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.why-choose-icon i {
    color: white;
    font-size: 1.2rem;
}

.why-choose-details h3 {
    font-size: 1.1rem !important;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.why-choose-details p {
    color: #64748b;
    margin: 0;
    font-size: 0.95rem;
}

.why-service-img {
    height: 600px;
}
ul.service-pg-tabs {
    flex-direction: column;
    background: var(--bg-gradient);
    padding: 25px;
    border-radius: 10px;
    position: sticky;
    top: 50px;
}

ul.service-pg-tabs button.nav-link {
    width: 100%;
    margin: 0 0 20px !important;
}

@media only screen and (max-width: 767px) {

    .service-title {
        font-size: 2rem;
    }

    .service-subtitle {
        margin: 0 0 0.7rem;
    }

    .hero-image {
        height: auto;
    }

    .why-service-img {
        height: auto;
    }

}

@media only screen and (max-width: 575px) {

    .features-grid {
        gap: 20px;
    }
}

/* Extracted from web/pages/service_detail.blade.php. */
.service-hero .hero-image {
           height: 400px;
       }
