/* =========================================================
   Service Page Styles - Fegio Hareshwar
   ========================================================= */

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 122, 26, 0.1);
    border: 1px solid #ff7a1a;
    border-radius: 999px;
    color: #ff7a1a;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    padding: 12px 35px;
    background: linear-gradient(135deg, #0a1f3d 0%, #16386b 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
    box-shadow: 0 10px 30px rgba(10, 31, 61, 0.15);
}

    .btn-back-home:hover {
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 15px 40px rgba(10, 31, 61, 0.25);
        background: linear-gradient(135deg, #16386b 0%, #0a1f3d 100%);
    }

/* Hero Section */
.service-hero-section {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(10, 31, 61, 0.95) 0%, rgba(22, 56, 107, 0.75) 70%, rgba(10, 31, 61, 0.4) 100%), url('/images/container.jpg') center/cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
    padding: 100px 0 60px;
}

.service-hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="%230a1f3d" fill-opacity="0"/><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
}

.service-hero-icon {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 122, 26, 0.15);
    border: 1px solid rgba(255, 145, 66, 0.4);
    color: var(--amber-400);
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.service-hero-title {
    position: relative;
    z-index: 2;
    color: #fff;
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 12px;
}

.service-hero-breadcrumb {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    font-weight: 600;
}

    .service-hero-breadcrumb a {
        color: #ff9142;
        text-decoration: none;
    }

    .service-hero-breadcrumb a:hover {
        color: #fff;
    }

.breadcrumb-sep {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.4);
}

/* Content Section */
.service-content-section {
    background: var(--paper-tint);
}

.service-article {
    background: var(--paper);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-soft);
}

.service-quote {
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 600;
    color: var(--navy-900);
    border-left: 4px solid var(--amber-500);
    padding-left: 20px;
    margin-bottom: 24px;
}

.service-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--ink-soft);
    margin-bottom: 18px;
}

.service-img-wrap {
    margin: 10px 0 30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

    .service-img-wrap img {
        width: 100%;
        height: auto;
        display: block;
    }

.service-bold-note {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--navy-900);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.service-lead-in {
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 14px;
}

.service-feature-list {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
    display: grid;
    gap: 12px;
}

    .service-feature-list li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        color: var(--ink);
        line-height: 1.5;
    }

        .service-feature-list li i {
            color: var(--amber-500);
            font-size: 1.05rem;
            margin-top: 3px;
            flex-shrink: 0;
        }

/* CTA Banner (inline) */
.service-cta-banner {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(10, 31, 61, 0.92) 0%, rgba(22, 56, 107, 0.85) 100%), url('/images/container.jpg') center/cover no-repeat;
    overflow: hidden;
}

    .service-cta-banner h3 {
        color: #fff;
        font-weight: 900;
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .service-cta-banner p {
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 22px;
    }

/* Sidebar */
.service-sidebar {
    position: sticky;
    top: 120px;
}

.service-sidebar-widget {
    background: var(--paper);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-soft);
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--amber-500);
}

.service-category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .service-category-list li {
        margin-bottom: 6px;
    }

    .service-category-list a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 12px 14px;
        color: var(--ink);
        font-weight: 600;
        font-size: 0.92rem;
        text-decoration: none;
        border-radius: var(--radius-md);
        border-left: 3px solid transparent;
        transition: background .25s ease, border-color .25s ease, color .25s ease;
    }

        .service-category-list a i {
            font-size: 0.85rem;
            opacity: 0;
            transform: translateX(-4px);
            transition: opacity .25s ease, transform .25s ease;
        }

        .service-category-list a:hover {
            background: var(--amber-050);
            border-left-color: var(--amber-500);
            color: var(--navy-900);
        }

            .service-category-list a:hover i {
                opacity: 1;
                transform: translateX(0);
            }

        .service-category-list a.active {
            background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
            border-left-color: var(--amber-500);
            color: #fff;
        }

            .service-category-list a.active i {
                opacity: 1;
                transform: translateX(0);
                color: var(--amber-400);
            }

/* Help Widget */
.service-help-widget {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    background: linear-gradient(135deg, rgba(10, 31, 61, 0.92) 0%, rgba(22, 56, 107, 0.88) 100%), url('/images/mainimage.webp') center/cover no-repeat;
    box-shadow: var(--shadow-soft);
}

    .service-help-widget h5 {
        color: #fff;
        font-weight: 800;
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .service-help-widget p {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .service-help-widget .btn-back-home {
        padding: 10px 20px;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }

/* Scroll Reveal */
[data-scroll] {
    opacity: 0;
    transform: translate3d(0,24px,0);
    transition: opacity .35s ease, transform .35s cubic-bezier(.22,1,.36,1);
    will-change: transform, opacity;
}

    [data-scroll].animate-in {
        opacity: 1;
        transform: translate3d(0,0,0);
    }

[data-scroll="fade-left"] {
    transform: translate3d(-24px,0,0);
}

[data-scroll="fade-right"] {
    transform: translate3d(24px,0,0);
}

[data-scroll="fade-up"] {
    transform: translate3d(0,24px,0);
}

[data-scroll="zoom-fade"] {
    transform: scale(.95);
}

    [data-scroll="zoom-fade"].animate-in {
        transform: scale(1);
    }

.title-drop-in {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity .5s ease, transform .5s ease;
    will-change: transform, opacity;
}

    .title-drop-in.animate-in {
        opacity: 1;
        transform: translateY(0);
    }

.title-flip-in {
    opacity: 0;
    transform: rotateY(20deg);
    transform-origin: center;
    transition: opacity .5s ease, transform .5s ease;
    will-change: transform, opacity;
}

    .title-flip-in.animate-in {
        opacity: 1;
        transform: rotateY(0deg);
    }

@media (prefers-reduced-motion: reduce) {
    .title-drop-in,
    .title-flip-in {
        opacity: 1;
        transform: none;
        transition: none;
        will-change: auto;
    }
}

/* Working Process Section */
.working-process-section {
    background: radial-gradient(circle at top right, rgba(30,136,229,0.18), transparent 35%), linear-gradient(135deg, #f4f6fa, #ffffff);
    position: relative;
    overflow: hidden;
}

.process-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    border-radius: 50px;
    border: 2px solid var(--amber-500);
    color: var(--amber-500);
    font-weight: 700;
    background: white;
}

.process-title {
    color: var(--navy-900);
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
}

.process-item {
    padding: 40px 25px;
    text-align: center;
}

.process-icon {
    width: 120px;
    height: 120px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,122,26,.15), rgba(22,56,107,.1));
    border: 2px solid rgba(255,122,26,.25);
    color: var(--amber-500);
    font-size: 45px;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
    will-change: transform;
    cursor: pointer;
}

.process-item:hover .process-icon {
    transform: translateY(-10px) scale(1.08);
    background: var(--navy-900);
    color: white;
}

.process-icon.active {
    background: var(--navy-900);
    border-color: var(--navy-900);
    color: var(--amber-400);
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(10, 31, 61, 0.25);
}

.process-icon.active:hover {
    transform: scale(1.25);
    box-shadow: 0 20px 45px rgba(10, 31, 61, 0.4);
}

.process-item h3 {
    margin-top: 30px;
    color: var(--navy-900);
    font-weight: 800;
}

.process-item p {
    color: #64748b;

/* Testimonials Section */
.testimonials-section {
    position: relative;
    background-attachment: fixed;
}

.testimonials-title {
    position: relative;
    display: inline-block;
    color: #fff;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 25px 20px 0;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.quote-mark {
    font-size: 2.5rem;
    color: var(--amber-500);
    margin-bottom: 12px;
}

.testimonial-avatar {
    margin-bottom: 16px;
}

.testimonial-avatar img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 3px solid #e8e8e8;
    box-shadow: 0 5px 15px rgba(43, 123, 187, 0.15);
    object-fit: cover;
}

.testimonial-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
    flex-grow: 1;
}

.testimonial-company {
    display: block;
    font-weight: 700;
    color: var(--navy-900);
    font-size: 0.85rem;
    background: var(--paper);
    padding: 12px;
    margin: 0 -20px -0;
    width: calc(100% + 40px);
}

.testimonials-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.testimonials-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonials-dots .dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.testimonials-dots .dot.active {
    background-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.3);
}

/* Responsive */
@media (max-width: 1200px) {
    .service-article {
        padding: 30px;
    }

    .service-sidebar {
        top: 110px;
    }
}

@media (max-width: 1024px) {
    .service-hero-section {
        min-height: 45vh;
        padding: 80px 20px;
    }

    .service-article {
        padding: 24px;
    }

    .service-cta-banner {
        padding: 30px 24px;
    }
}

@media (max-width: 992px) {
    .service-sidebar {
        position: static;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .service-hero-section {
        min-height: 38vh;
        padding: 60px 20px;
    }

    .service-hero-title {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
    }

    .service-hero-breadcrumb {
        font-size: 0.8rem;
    }

    .breadcrumb-sep {
        margin: 0 6px;
    }

    .service-article {
        padding: 18px;
        border-radius: var(--radius-md);
    }

    .service-quote {
        font-size: 1.05rem;
        padding-left: 14px;
    }

    .service-desc {
        font-size: 0.95rem;
    }

    .service-visual-icon {
        min-height: 160px;
        font-size: 3.5rem;
    }

    .service-cta-banner {
        padding: 24px 16px;
    }

        .service-cta-banner h3 {
            font-size: 1.2rem;
        }

    .service-sidebar-widget,
    .service-help-widget {
        padding: 18px;
    }
}

@media (max-width: 480px) {
    .service-hero-section {
        min-height: 35vh;
        padding: 50px 15px;
    }

    .service-hero-icon {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
    }

    .service-hero-title {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .service-hero-breadcrumb {
        font-size: 0.75rem;
    }

    .service-article {
        padding: 14px;
    }

    .service-feature-list li {
        font-size: 0.9rem;
    }

    .service-category-list a {
        font-size: 0.85rem;
        padding: 10px 12px;
    }
}
