/* ==========================================================================
   CHENNAI 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 #0066ff;
    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(0, 102, 255, 0.4);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
}

.service-hero-badge span {
    color: #0066ff;
}

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

.service-hero-content .sm-title {
    display: inline-block;
    background: rgba(0, 102, 255, 0.08);
    color: #0066ff;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid rgba(0, 102, 255, 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: #0066ff;
}

.service-hero-desc {
    color: #444444;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify !important;
    text-justify: inter-word !important;
}

.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: #0066ff;
    font-size: 16px;
}

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

.service-btn-primary {
    background: #0066ff !important;
    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: 1.5px solid #0066ff !important;
    text-decoration: none !important;
}

.service-btn-primary i,
.service-btn-primary svg {
    color: inherit !important;
    stroke: currentColor !important;
    fill: currentColor !important;
}

.service-btn-primary .btn-phone-num,
.cta-btn-primary .btn-phone-num,
.service-btn-primary span,
.cta-btn-primary span {
    color: #ffffff !important;
    transition: color 0.3s ease !important;
}

.service-btn-primary:hover {
    background: #ffffff !important;
    color: #0066ff !important;
    border-color: #0066ff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.25);
}

.service-btn-primary:hover i,
.service-btn-primary:hover svg,
.service-btn-primary:hover .btn-phone-num,
.cta-btn-primary:hover .btn-phone-num,
.service-btn-primary:hover span,
.cta-btn-primary:hover span {
    color: #0066ff !important;
    stroke: #0066ff !important;
    fill: #0066ff !important;
}

.service-btn-secondary {
    background: #ffffff !important;
    color: #0066ff !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 #0066ff !important;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.service-btn-secondary i,
.service-btn-secondary svg {
    color: inherit !important;
    stroke: currentColor !important;
    fill: currentColor !important;
}

.service-btn-secondary:hover {
    background: #0066ff !important;
    color: #ffffff !important;
    border-color: #0066ff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.25);
}

/* 2. Key Capabilities / Scope Section (BG Black) */
.service-scope-section {
    background: #070d1e;
    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: #070d1e;
    border: 1.5px solid #0066ff !important;
    border-radius: 20px !important;
    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: 1.5px solid #0066ff !important;
    box-shadow: 0 14px 35px rgba(0, 102, 255, 0.25) !important;
}

.service-feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(0, 102, 255, 0.12);
    color: #0066ff;
    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;
    text-align: justify !important;
    text-justify: inter-word !important;
}

.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: #0066ff;
    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: #f0f7ff;
    border: 1.5px solid #0066ff !important;
    border-radius: 20px !important;
    padding: 28px 24px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.service-process-card:hover {
    transform: translateY(-5px);
    border: 1.5px solid #0066ff !important;
    box-shadow: 0 14px 35px rgba(0, 102, 255, 0.15) !important;
}

.service-process-num {
    display: inline-block;
    background: #0066ff;
    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;
    text-align: justify !important;
    text-justify: inter-word !important;
}

/* 4. Why Choose 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 #0066ff !important;
    border-radius: 20px !important;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.service-why-card:hover {
    transform: translateY(-5px);
    border: 1.5px solid #0066ff !important;
    box-shadow: 0 14px 35px rgba(0, 102, 255, 0.15) !important;
}

.service-why-icon {
    font-size: 30px;
    color: #0066ff;
    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;
    text-align: justify !important;
    text-justify: inter-word !important;
}

/* 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;
    }
}

/* ==========================================================================
   5. Section Head & Headings Typography
   ========================================================================== */
.section-desc {
    text-align: justify !important;
    text-justify: inter-word !important;
}

/* ==========================================================================
   6. FAQ Accordion Design & Close Icon
   ========================================================================== */
.fq-section {
    padding: 70px 0 !important;
}

.fq-section .fq-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

.fq-section .fq-item {
    border: 1.5px solid rgba(0, 102, 255, 0.25) !important;
    border-radius: 14px !important;
    transition: all 0.3s ease !important;
}

.fq-section .fq-item:hover,
.fq-section .fq-item.fq-open {
    border-color: #0066ff !important;
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.1) !important;
}

.fq-section .fq-icon {
    flex-shrink: 0;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: rgba(0, 102, 255, 0.12) !important;
    border: 1px solid rgba(0, 102, 255, 0.35) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.3s ease, border-color 0.3s ease !important;
}

.fq-section .fq-icon svg {
    width: 14px !important;
    height: 14px !important;
    stroke: #00b4ff !important;
    transition: transform 0.32s cubic-bezier(.4, 0, .2, 1), stroke 0.32s cubic-bezier(.4, 0, .2, 1) !important;
}

.fq-section .fq-item.fq-open .fq-icon,
.fq-section .fq-open .fq-icon {
    background: #0066ff !important;
    border-color: #0066ff !important;
}

.fq-section .fq-item.fq-open .fq-icon svg,
.fq-section .fq-open .fq-icon svg {
    stroke: #ffffff !important;
    transform: rotate(45deg) !important;
}

.fq-section .fq-answer-inner {
    text-align: justify !important;
    text-justify: inter-word !important;
}

/* ==========================================================================
   7. Final CTA Section
   ========================================================================== */
.final-cta-section {
    background: linear-gradient(135deg, #070d1e 0%, #0b1736 100%) !important;
    padding: 70px 0 !important;
}

.final-cta-section .cta-wrapper {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1.5px solid #0066ff !important;
    border-radius: 24px !important;
    padding: 50px 35px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3) !important;
}

.final-cta-section .cta-badge {
    display: inline-block !important;
    background: rgba(0, 102, 255, 0.16) !important;
    border: 1px solid rgba(0, 102, 255, 0.4) !important;
    color: #38bdf8 !important;
    padding: 6px 20px !important;
    border-radius: 30px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 18px !important;
    text-transform: uppercase !important;
}

.final-cta-section .cta-title {
    color: #ffffff !important;
    font-size: 34px !important;
    font-weight: 800 !important;
    margin-bottom: 16px !important;
    line-height: 1.3 !important;
}

.final-cta-section .cta-title span {
    color: #38bdf8 !important;
}

.final-cta-section .cta-desc {
    color: #cbd5e1 !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
    text-align: justify !important;
    text-justify: inter-word !important;
    margin-bottom: 14px !important;
}

.final-cta-section .cta-buttons {
    margin-top: 24px !important;
}

.final-cta-section .cta-btn-primary {
    background: #0066ff !important;
    color: #ffffff !important;
    padding: 14px 30px !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
    font-size: 14.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.3s ease !important;
    border: 1.5px solid #0066ff !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3) !important;
}

.final-cta-section .cta-btn-primary i,
.final-cta-section .cta-btn-primary svg {
    color: inherit !important;
    stroke: currentColor !important;
    fill: currentColor !important;
}

.final-cta-section .cta-btn-primary:hover {
    background: #ffffff !important;
    color: #0066ff !important;
    border-color: #0066ff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.35) !important;
}
