/* =====================================================
   SERVICE DETAIL PAGE — FIXED STYLESHEET
   
   CONFLICTS RESOLVED:
   1. portfolio.css ka .step-tag (font-size:30px) →
      .service-detail-page .step-tag se override
   2. style.css ka .container (display:flex) → reset
   3. services.css ka .process-main-header-fixed h2/p →
      service-detail ke andar re-scoped
   4. services.css ka .step-tag clash → fix
   ===================================================== */

.service-detail-page {
    overflow-x: hidden;
    background-color: var(--bg-light);
}

/* =====================================================
   FIX #1 — .container RESET
   style.css mein .container { display:flex } hai jo
   header ke liye tha. Service detail sections ke andar
   yeh flex tod deta hai layout ko. Reset karo.
   ===================================================== */
.service-detail-page .container {
    display: block;
    max-width: 1400px;
    margin: 0 auto;
    width: 94%;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.sd-hero {
    position: relative;
    padding: 160px 0 90px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, var(--brand-purple) 100%);
    color: var(--white);
}

.sd-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(26, 131, 198, 0.35), transparent 45%),
        radial-gradient(circle at 10% 90%, rgba(112, 45, 142, 0.4), transparent 45%);
    pointer-events: none;
}

.sd-hero-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    z-index: 1;
}

.sd-hero-text {
    flex: 1.3;
}

.sd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 25px;
}

.sd-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
}

.sd-breadcrumb a:hover {
    color: var(--brand-blue);
}

.sd-breadcrumb i {
    font-size: 0.7rem;
    opacity: 0.6;
}

.sd-breadcrumb span {
    color: var(--white);
    font-weight: 600;
}

.sd-category-badge {
    display: inline-block;
    background: rgba(26, 131, 198, 0.18);
    border: 1px solid rgba(26, 131, 198, 0.5);
    color: #7fcdfb;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 7px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.sd-hero-text h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
}

.sd-tagline {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 560px;
    margin-bottom: 35px;
}

.sd-hero-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.sd-btn-primary,
.sd-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.sd-btn-primary {
    background: #25d366;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.sd-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.4);
}

.sd-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.sd-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
}

/* Hero Visual */
.sd-hero-visual {
    flex: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 280px;
}

.sd-hero-icon-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    color: var(--white);
    box-shadow: 0 25px 60px rgba(26, 131, 198, 0.4);
    position: relative;
    z-index: 2;
    animation: sd-float 4s ease-in-out infinite;
}

.sd-hero-ring {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    z-index: 1;
}

.sd-ring-1 {
    width: 260px;
    height: 260px;
    animation: sd-pulse 3s ease-out infinite;
}

.sd-ring-2 {
    width: 340px;
    height: 340px;
    animation: sd-pulse 3s ease-out infinite 1s;
}

@keyframes sd-float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-15px); }
}

@keyframes sd-pulse {
    0%   { transform: scale(0.85); opacity: 0.6; }
    100% { transform: scale(1.15); opacity: 0; }
}

/* =====================================================
   WHAT IS IT SECTION
   ===================================================== */
.sd-what {
    padding: 90px 0;
    background: var(--white);
}

.sd-what-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.sd-what-visual {
    flex: 0.7;
    display: flex;
    justify-content: center;
}

.sd-icon-block {
    width: 200px;
    height: 200px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--bg-light), #eef2f7);
    border: 1px solid #e9eef4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--brand-blue);
    box-shadow: var(--shadow);
}

.sd-what-text {
    flex: 1.3;
}

/* =====================================================
   FIX #2 — .step-tag
   portfolio.css globally .step-tag { font-size: 30px }
   set karta hai. Yahan parent scope se force-override.
   ===================================================== */
.service-detail-page .step-tag {
    display: block;
    color: var(--brand-purple);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem !important;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.sd-what-text h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.25;
}

.sd-what-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.85;
}

/* =====================================================
   BENEFITS SECTION
   ===================================================== */
.sd-benefits {
    padding: 90px 0;
    background: var(--bg-light);
}

.sd-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.sd-benefit-card {
    background: var(--white);
    border: 1px solid #eef1f5;
    border-radius: 18px;
    padding: 35px 25px;
    transition: var(--transition);
}

.sd-benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: var(--brand-blue);
}

.sd-benefit-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.sd-benefit-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.sd-benefit-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* =====================================================
   PROCESS SECTION
   ===================================================== */
.sd-process {
    padding: 90px 0;
    background: var(--white);
}

.sd-step-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 45px 0;
    border-bottom: 1px solid #f0f2f5;
}

.sd-step-container:last-child {
    border-bottom: none;
}

.sd-step-alt {
    flex-direction: row-reverse;
}

.sd-step-text {
    flex: 1.4;
}

.sd-step-number {
    display: inline-block;
    color: var(--brand-purple);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.sd-step-text h3 {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.sd-step-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
}

.sd-step-visual {
    flex: 0.6;
    display: flex;
    justify-content: center;
}

.sd-step-icon-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-light), #eef2f7);
    border: 2px solid #e9eef4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--brand-blue);
}

/* =====================================================
   FIX #3 — .process-main-header-fixed
   services.css globally h2 { font-size:3rem } aur
   p { font-size:1.2rem } set karta hai is class ke
   andar. Service detail page ke andar inhe override.
   ===================================================== */
.service-detail-page .process-main-header-fixed {
    width: 100%;
    text-align: center;
    margin: 0 0 50px 0;
    display: block;
}

.service-detail-page .process-main-header-fixed h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-detail-page .process-main-header-fixed p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.purple-line-center {
    width: 80px;
    height: 4px;
    background: var(--brand-purple);
    margin: 0 auto 20px auto;
    border-radius: 2px;
}

/* =====================================================
   WHY US SECTION
   ===================================================== */
.sd-why {
    padding: 0 0 90px;
    background: var(--white);
}

.sd-why-box {
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, #f0f7fc 0%, #f6f0fa 100%);
    border: 1px solid #e9eef4;
    border-radius: 28px;
    padding: 60px 50px;
}

.sd-why-icon {
    font-size: 2.8rem;
    background: linear-gradient(to right, var(--brand-blue), var(--brand-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: inline-block;
}

.sd-why-box h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 18px;
}

.sd-why-box p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.85;
    max-width: 760px;
    margin: 0 auto;
}

/* =====================================================
   FAQ SECTION
   ===================================================== */
.sd-faq {
    padding: 0 0 90px;
    background: var(--white);
}

.sd-faq-list {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sd-faq-item {
    border: 1px solid #eef1f5;
    border-radius: 14px;
    overflow: hidden;
    transition: var(--transition);
}

.sd-faq-item.active {
    border-color: var(--brand-blue);
    box-shadow: var(--shadow);
}

/* FIX #4 — button explicit reset
   Agar koi global button style future mein aaye to
   yeh sab explicitly set hai toh safe rahega */
.sd-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: var(--white);
    border: none;
    outline: none;
    text-align: left;
    padding: 22px 25px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    line-height: 1.5;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
    border-radius: 0;
}

.sd-faq-icon {
    flex-shrink: 0;
    color: var(--brand-blue);
    transition: transform 0.35s ease;
}

.sd-faq-item.active .sd-faq-icon {
    transform: rotate(135deg);
    color: var(--brand-purple);
}

.sd-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 25px;
}

.sd-faq-item.active .sd-faq-answer {
    max-height: 300px;
    padding: 0 25px 22px;
}

.sd-faq-answer p {
    color: var(--text-light);
    font-size: 0.98rem;
    line-height: 1.8;
    margin: 0;
}

/* =====================================================
   RELATED SERVICES SECTION
   ===================================================== */
.sd-related {
    padding: 0 0 90px;
    background: var(--white);
}

.sd-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.sd-related-card {
    background: var(--bg-light);
    border: 1px solid #eef1f5;
    border-radius: 18px;
    padding: 35px 25px;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sd-related-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    background: var(--white);
    border-color: var(--brand-blue);
}

.sd-related-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-purple));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.sd-related-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.sd-related-link {
    color: var(--brand-blue);
    font-weight: 700;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sd-related-link i {
    transition: transform 0.3s;
}

.sd-related-card:hover .sd-related-link i {
    transform: translateX(5px);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
    .sd-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sd-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sd-hero-text h1 {
        font-size: 2.6rem;
    }
    .service-detail-page .process-main-header-fixed h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 900px) {
    .sd-hero-inner {
        flex-direction: column;
        text-align: center;
    }
    .sd-breadcrumb,
    .sd-hero-actions {
        justify-content: center;
    }
    .sd-tagline {
        margin-left: auto;
        margin-right: auto;
    }
    .sd-what-inner {
        flex-direction: column;
        text-align: center;
        gap: 35px;
    }
    .sd-step-container,
    .sd-step-alt {
        flex-direction: column-reverse;
        text-align: center;
        gap: 25px;
        padding: 35px 0;
    }
    .sd-step-text h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .sd-hero {
        padding: 130px 0 70px;
    }
    .sd-hero-text h1 {
        font-size: 2.1rem;
    }
    .sd-tagline {
        font-size: 1.05rem;
    }
    .sd-what-text h2,
    .sd-why-box h2 {
        font-size: 1.7rem;
    }
    .service-detail-page .process-main-header-fixed h2 {
        font-size: 1.8rem;
    }
    .sd-icon-block {
        width: 150px;
        height: 150px;
        font-size: 3.5rem;
    }
    .sd-hero-icon-circle {
        width: 130px;
        height: 130px;
        font-size: 3.2rem;
    }
    .sd-ring-1 {
        width: 190px;
        height: 190px;
    }
    .sd-ring-2 {
        width: 250px;
        height: 250px;
    }
    .sd-benefits-grid {
        grid-template-columns: 1fr;
    }
    .sd-related-grid {
        grid-template-columns: 1fr;
    }
    .sd-why-box {
        padding: 40px 25px;
    }
    .sd-faq-question {
        font-size: 0.95rem;
        padding: 18px 20px;
    }
}

/* =====================================================
   CTA / PRICING SECTION
   FIX: Yeh styles services.css mein thi, service-detail
   mein thi hi nahi. Isliye "Pricing Jaanna Hai?" section
   unstyled tha. Ab yahan add kar diya.
   ===================================================== */
.cta-section {
    padding: 80px 15px;
    background: var(--white);
}

.cta-container {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--brand-purple) 0%, #4b1a63 100%);
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    color: var(--white);
    box-shadow: 0 20px 40px rgba(112, 45, 142, 0.3);
}

.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--white);
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
    color: var(--white);
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.btn-primary-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--brand-purple);
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: #f8f8f8;
    color: #4b1a63;
}

.cta-note {
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.75;
    color: var(--white);
    margin: 0;
}

@media (max-width: 768px) {
    .cta-container {
        padding: 40px 20px;
    }
    .cta-content h2 {
        font-size: 2rem;
    }
    .btn-primary-cta {
        padding: 15px 30px;
        width: 100%;
        justify-content: center;
    }
}
