/* ==========================================================================
   TRICHY WEB DEVELOPMENT - UNIVERSAL SERVICE DETAIL STYLES
   ========================================================================== */

/* 1. Hero & Strategic Section */
.service-hero-section {
    background: #ffffff;
    padding: 70px 0 60px;
    position: relative;
    overflow: hidden;
}

.service-hero-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-hero-image {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.service-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    border: 3px solid #8a0ffb;
    transition: transform 0.4s ease;
}

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

.service-hero-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(138, 15, 251, 0.4);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
}

.service-hero-badge span {
    color: #8a0ffb;
}

.service-hero-content {
    flex: 1.2;
}

.service-hero-content .sm-title {
    display: inline-block;
    background: rgba(138, 15, 251, 0.08);
    color: #8a0ffb;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid rgba(138, 15, 251, 0.18);
    margin-bottom: 12px;
}

.service-hero-content h1 {
    font-size: 36px;
    font-weight: 800;
    color: #111111;
    line-height: 1.25;
    margin-bottom: 18px;
}

.service-hero-content h1 span {
    color: #8a0ffb;
}

.service-hero-desc {
    color: #444444;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.service-hero-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    margin: 22px 0 28px;
}

.service-highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #222222;
    font-size: 14px;
    font-weight: 600;
}

.service-highlight-item i {
    color: #8a0ffb;
    font-size: 16px;
}

.service-hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.service-btn-primary {
    background: #8a0ffb;
    color: #ffffff !important;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 1px solid #8a0ffb;
}

.service-btn-primary:hover {
    background: #7300d8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(138, 15, 251, 0.3);
}

.service-btn-secondary {
    background: transparent;
    color: #111111 !important;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid #222222;
    transition: all 0.3s ease;
}

.service-btn-secondary:hover {
    background: #130426;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* 2. Key Capabilities / Scope Section (BG Black) */
.service-scope-section {
    background: #130426;
    padding: 70px 0;
}

.service-cards-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 25px !important;
    margin-top: 40px;
}

.service-feature-card {
    flex: 0 0 calc(33.333% - 17px) !important;
    max-width: calc(33.333% - 17px) !important;
    background: #130426;
    border: 1px solid #222222;
    border-radius: 18px;
    padding: 30px 25px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.service-feature-card:hover {
    transform: translateY(-5px);
    border-color: #8a0ffb;
    box-shadow: 0 12px 30px rgba(138, 15, 251, 0.12);
}

.service-feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(138, 15, 251, 0.12);
    color: #8a0ffb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.service-feature-card h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-feature-card p {
    color: #a0a0a0;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 14px;
    flex-grow: 1;
}

.service-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #222222;
    padding-top: 14px;
}

.service-feature-list li {
    color: #d0d0d0;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-feature-list li i {
    color: #8a0ffb;
    font-size: 12px;
}

/* 3. Methodology & Process (BG Cream/White) */
.service-process-section {
    background: #ffffff;
    padding: 70px 0;
}

.service-process-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 25px !important;
    margin-top: 40px;
}

.service-process-card {
    flex: 0 0 calc(33.333% - 17px) !important;
    max-width: calc(33.333% - 17px) !important;
    background: #f6f0fe;
    border: 1.5px solid #8a0ffb;
    border-radius: 18px;
    padding: 28px 24px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.service-process-card:hover {
    transform: translateY(-5px);
    border-color: #8a0ffb;
    box-shadow: 0 10px 25px rgba(138, 15, 251, 0.08);
}

.service-process-num {
    display: inline-block;
    background: #8a0ffb;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.service-process-card h3 {
    color: #111111;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-process-card p {
    color: #444444;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* 4. Why Choose Trichy Web Development Section */
.service-why-section {
    background: #f9f9fb;
    padding: 70px 0;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}

.service-why-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 25px !important;
    margin-top: 40px;
}

.service-why-card {
    flex: 0 0 calc(25% - 19px) !important;
    max-width: calc(25% - 19px) !important;
    background: #ffffff;
    border: 1.5px solid #8a0ffb;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.service-why-card:hover {
    transform: translateY(-5px);
    border-color: #8a0ffb;
    box-shadow: 0 10px 25px rgba(138, 15, 251, 0.08);
}

.service-why-icon {
    font-size: 30px;
    color: #8a0ffb;
    margin-bottom: 12px;
}

.service-why-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 8px;
}

.service-why-card p {
    font-size: 13px;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Media Queries */
@media (max-width: 991px) {
    .service-hero-wrapper {
        flex-direction: column;
        gap: 35px;
    }
    
    .service-feature-card,
    .service-process-card {
        flex: 0 0 calc(50% - 13px) !important;
        max-width: calc(50% - 13px) !important;
    }
    
    .service-why-card {
        flex: 0 0 calc(50% - 13px) !important;
        max-width: calc(50% - 13px) !important;
    }
}

@media (max-width: 767px) {
    .service-feature-card,
    .service-process-card,
    .service-why-card {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    .service-hero-content h1 {
        font-size: 28px;
    }
    
    .service-hero-highlights {
        grid-template-columns: 1fr;
    }
}
