/**
 * Services page — scoped under .fc-service-modern
 * Matches home / about design system (navy + gold, GSAP-ready)
 */

.fc-service-modern {
    --fc-navy: #030f27;
    --fc-navy-2: #0a1f45;
    --fc-gold: #fdbe33;
    --fc-gold-soft: rgba(253, 190, 51, 0.22);
    --fc-muted: #5c6577;
    --fc-surface: #fafbfc;
    --fc-radius-xl: 20px;
    --fc-radius-lg: 16px;
    --fc-shadow: 0 8px 40px rgba(3, 15, 39, 0.1);
    --fc-shadow-lg: 0 24px 60px rgba(3, 15, 39, 0.16);
    color: #252525;
    background: var(--fc-surface);
    overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
    .fc-service-modern *,
    .fc-service-modern *::before,
    .fc-service-modern *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.05ms !important;
    }
}

/* ── Shared typography ───────────────────────────────────────── */
.fc-service-modern .fc-service-kicker {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fc-gold);
    margin-bottom: 10px;
}
.fc-service-modern .fc-service-kicker--light {
    color: var(--fc-gold);
}
.fc-service-modern .fc-service-title {
    font-size: clamp(1.65rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--fc-navy);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 0;
}
.fc-service-modern .fc-service-title--light {
    color: #fff;
}
.fc-service-modern .fc-service-sub {
    max-width: 620px;
    margin: 14px auto 0;
    color: var(--fc-muted);
    font-size: 1rem;
    line-height: 1.7;
}
.fc-service-modern .fc-service-section-head.text-center .fc-service-sub {
    margin-inline: auto;
}
.fc-service-modern .fc-service-head-line {
    display: block;
    width: 64px;
    height: 4px;
    margin-top: 16px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--fc-gold), #ffc94d);
    transform-origin: left center;
}
.fc-service-modern .fc-service-head-line--center {
    margin-inline: auto;
}
html[dir='rtl'] .fc-service-modern .fc-service-head-line {
    transform-origin: right center;
}
.fc-service-modern .fc-service-section-head {
    margin-bottom: clamp(32px, 5vw, 48px);
}

.fc-service-modern .fc-service-btn-primary {
    border-radius: 999px !important;
    padding: 13px 32px !important;
    font-weight: 700 !important;
    border: none !important;
    background: linear-gradient(158deg, #fdbe33, #e8a820) !important;
    color: var(--fc-navy) !important;
    box-shadow: 0 6px 22px rgba(253, 190, 51, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fc-service-modern .fc-service-btn-primary:hover {
    transform: translateY(-2px);
    color: var(--fc-navy) !important;
    box-shadow: 0 10px 28px rgba(253, 190, 51, 0.45);
}

/* ── Hero ──────────────────────────────────────────────────── */
.fc-service-modern .fc-service-hero {
    position: relative;
    padding: clamp(48px, 10vw, 88px) 0 clamp(56px, 10vw, 96px);
    overflow: hidden;
    isolation: isolate;
}
.fc-service-modern .fc-service-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(3, 15, 39, 0.92) 0%, rgba(10, 31, 69, 0.85) 100%),
        url('../img/carousel-3.jpg') center / cover no-repeat;
    z-index: 0;
}
.fc-service-modern .fc-service-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(253, 190, 51, 0.12), transparent),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: auto, 40px 40px, 40px 40px;
    z-index: 1;
    pointer-events: none;
}
.fc-service-modern .fc-service-hero .container {
    position: relative;
    z-index: 2;
}
.fc-service-modern .fc-service-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: clamp(24px, 4vw, 36px);
}
.fc-service-modern .fc-service-breadcrumb a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.25s ease;
}
.fc-service-modern .fc-service-breadcrumb a:hover {
    color: var(--fc-gold);
}
.fc-service-modern .fc-service-breadcrumb span:last-child {
    color: var(--fc-gold);
}
.fc-service-modern .fc-service-breadcrumb span[aria-hidden] {
    color: rgba(255, 255, 255, 0.35);
}
.fc-service-modern .fc-service-hero-title {
    font-size: clamp(2rem, 5.5vw, 3.25rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin: 0 0 14px;
}
.fc-service-modern .fc-service-hero-sub {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    max-width: 620px;
    margin: 0;
}
.fc-service-modern .fc-service-hero .fc-service-head-line {
    margin-top: 20px;
}

/* ── Capabilities pills ────────────────────────────────────── */
.fc-service-modern .fc-service-caps {
    padding-block: clamp(28px, 5vw, 40px);
    background: linear-gradient(90deg, var(--fc-navy) 0%, var(--fc-navy-2) 100%);
    border-bottom: 3px solid var(--fc-gold);
    position: relative;
    overflow: hidden;
}
.fc-service-modern .fc-service-caps::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 8px,
        rgba(255, 255, 255, 0.015) 8px,
        rgba(255, 255, 255, 0.015) 9px
    );
    pointer-events: none;
}
.fc-service-modern .fc-service-caps-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}
.fc-service-modern .fc-service-cap-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(253, 190, 51, 0.22);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.8125rem;
    font-weight: 600;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.fc-service-modern .fc-service-cap-pill i {
    color: var(--fc-gold);
    font-size: 0.95rem;
}
.fc-service-modern .fc-service-cap-pill:hover {
    background: rgba(253, 190, 51, 0.12);
    border-color: rgba(253, 190, 51, 0.45);
    transform: translateY(-2px);
}

/* ── Service list (Livewire grid) ──────────────────────────── */
.fc-service-modern .fc-service-list {
    padding-block: clamp(64px, 11vw, 104px);
    background: linear-gradient(180deg, #fff 0%, var(--fc-surface) 100%);
}
.fc-service-modern .fc-service-grid {
    margin-top: clamp(8px, 2vw, 16px);
}
.fc-service-modern .fc-service-grid > [class*='col-'] {
    margin-bottom: 1.75rem;
}
.fc-service-modern .fc-service-page-card {
    height: 100%;
    border-radius: var(--fc-radius-xl);
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(3, 15, 39, 0.07);
    box-shadow: var(--fc-shadow);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.fc-service-modern .fc-service-page-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--fc-shadow-lg);
}
.fc-service-modern .fc-service-page-card-media {
    position: relative;
    height: clamp(200px, 28vw, 260px);
    overflow: hidden;
}
.fc-service-modern .fc-service-page-card-img-link {
    display: block;
    height: 100%;
    width: 100%;
}
.fc-service-modern .fc-service-page-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.fc-service-modern .fc-service-page-card:hover .fc-service-page-card-media img {
    transform: scale(1.08);
}
.fc-service-modern .fc-service-page-card-num {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(3, 15, 39, 0.75);
    color: var(--fc-gold);
    backdrop-filter: blur(8px);
}
html[dir='rtl'] .fc-service-modern .fc-service-page-card-num {
    left: auto;
    right: 14px;
}
.fc-service-modern .fc-service-page-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(to top, rgba(3, 15, 39, 0.88) 0%, rgba(3, 15, 39, 0.45) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.fc-service-modern .fc-service-page-card:hover .fc-service-page-card-overlay {
    opacity: 1;
}
.fc-service-modern .fc-service-page-card-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    line-height: 1.55;
    text-align: center;
    margin: 0;
}
.fc-service-modern .fc-service-page-card-zoom {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--fc-gold);
    color: var(--fc-navy);
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}
.fc-service-modern .fc-service-page-card-zoom:hover {
    transform: scale(1.1);
    color: var(--fc-navy);
}
.fc-service-modern .fc-service-page-card-body {
    padding: clamp(18px, 3vw, 24px);
}
.fc-service-modern .fc-service-page-card-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--fc-navy);
    margin: 0 0 8px;
    line-height: 1.35;
}
.fc-service-modern .fc-service-page-card-desc {
    font-size: 0.875rem;
    color: var(--fc-muted);
    line-height: 1.55;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fc-service-modern .fc-service-page-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--fc-gold);
    text-decoration: none;
    transition: gap 0.3s ease, color 0.3s ease;
}
.fc-service-modern .fc-service-page-card-link:hover {
    gap: 12px;
    color: var(--fc-navy);
    text-decoration: none;
}
html[dir='rtl'] .fc-service-modern .fc-service-page-card-link i {
    transform: scaleX(-1);
}
.fc-service-modern .fc-service-load-more {
    margin-top: clamp(12px, 3vw, 28px);
}
.fc-service-modern .fc-service-load-btn[disabled] {
    opacity: 0.65;
    cursor: wait;
}
.fc-service-modern .fc-service-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(3, 15, 39, 0.06);
    color: var(--fc-gold);
    font-size: 1.5rem;
}

/* ── Process timeline ──────────────────────────────────────── */
.fc-service-modern .fc-service-process {
    position: relative;
    padding-block: clamp(64px, 11vw, 104px);
    background: linear-gradient(160deg, var(--fc-navy) 0%, var(--fc-navy-2) 100%);
    overflow: hidden;
}
.fc-service-modern .fc-service-process-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 80%, rgba(253, 190, 51, 0.14), transparent 50%);
    pointer-events: none;
}
.fc-service-modern .fc-service-process .container {
    position: relative;
    z-index: 1;
}
.fc-service-modern .fc-service-process-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2.5vw, 24px);
    margin-top: clamp(40px, 6vw, 56px);
}
.fc-service-modern .fc-service-process-line {
    position: absolute;
    top: 36px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--fc-gold), rgba(253, 190, 51, 0.2));
    transform-origin: left center;
    z-index: 0;
}
html[dir='rtl'] .fc-service-modern .fc-service-process-line {
    transform-origin: right center;
}
.fc-service-modern .fc-service-process-step {
    position: relative;
    z-index: 1;
    text-align: center;
}
.fc-service-modern .fc-service-process-node {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
}
.fc-service-modern .fc-service-process-num {
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--fc-gold);
    background: var(--fc-navy);
    padding: 4px 7px;
    border-radius: 6px;
    letter-spacing: 0.06em;
    border: 1px solid rgba(253, 190, 51, 0.3);
}
html[dir='rtl'] .fc-service-modern .fc-service-process-num {
    right: auto;
    left: -8px;
}
.fc-service-modern .fc-service-process-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(253, 190, 51, 0.35);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    font-size: 1.35rem;
    color: var(--fc-gold);
    transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}
.fc-service-modern .fc-service-process-step:hover .fc-service-process-icon {
    background: var(--fc-gold);
    border-color: var(--fc-gold);
    color: var(--fc-navy);
    transform: scale(1.06);
}
.fc-service-modern .fc-service-process-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}
.fc-service-modern .fc-service-process-step p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin: 0;
}

/* ── Trust bar ─────────────────────────────────────────────── */
.fc-service-modern .fc-service-trust {
    padding-block: clamp(20px, 4vw, 32px);
    background: #fff;
    border-top: 1px solid rgba(3, 15, 39, 0.06);
    border-bottom: 1px solid rgba(3, 15, 39, 0.06);
}
.fc-service-modern .fc-service-trust-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(16px, 4vw, 32px);
}
.fc-service-modern .fc-service-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--fc-navy);
}
.fc-service-modern .fc-service-trust-item i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(253, 190, 51, 0.12);
    border: 1px solid rgba(253, 190, 51, 0.25);
    color: var(--fc-gold);
    font-size: 1rem;
    flex-shrink: 0;
}
.fc-service-modern .fc-service-trust-divider {
    width: 1px;
    height: 36px;
    background: rgba(3, 15, 39, 0.1);
}

/* ── FAQ ───────────────────────────────────────────────────── */
.fc-service-modern .fc-service-faq {
    padding-block: clamp(56px, 10vw, 96px);
    background: linear-gradient(to bottom, #fff, #f4f7fa);
}
.fc-service-modern .fc-service-faq .row::after {
    display: none !important;
}
.fc-service-modern .fc-service-faq-card {
    border-radius: var(--fc-radius-lg) !important;
    border: 1px solid rgba(3, 15, 39, 0.08) !important;
    overflow: hidden;
    margin-bottom: 12px !important;
    box-shadow: 0 4px 20px rgba(3, 15, 39, 0.04);
    background: #fff !important;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.fc-service-modern .fc-service-faq-card:hover {
    box-shadow: 0 8px 28px rgba(3, 15, 39, 0.08);
    border-color: rgba(253, 190, 51, 0.3) !important;
}
.fc-service-modern .fc-service-faq-card .card-header {
    background: #fff !important;
    border-bottom: none !important;
    padding: 0 !important;
}
.fc-service-modern .fc-service-faq-card .card-header .card-link {
    font-weight: 600 !important;
    padding: 18px 48px 18px 20px !important;
    font-size: 0.95rem !important;
    color: var(--fc-navy) !important;
    display: block;
}
.fc-service-modern .fc-service-faq-card .card-header [data-toggle='collapse'][aria-expanded='true'] {
    color: var(--fc-gold) !important;
    background: rgba(253, 190, 51, 0.06);
}
.fc-service-modern .fc-service-faq-card .card-body {
    color: var(--fc-muted);
    line-height: 1.75;
    font-size: 0.94rem;
    padding: 0 20px 18px !important;
}

/* ── CTA ───────────────────────────────────────────────────── */
.fc-service-modern .fc-service-cta {
    position: relative;
    padding-block: clamp(56px, 9vw, 80px);
    overflow: hidden;
}
.fc-service-modern .fc-service-cta-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(3, 15, 39, 0.94), rgba(10, 31, 69, 0.88)),
        url('../img/carousel-1.jpg') center / cover no-repeat;
    z-index: 0;
}
.fc-service-modern .fc-service-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(24px, 4vw, 48px);
    flex-wrap: wrap;
    padding: clamp(28px, 5vw, 44px);
    border-radius: var(--fc-radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.fc-service-modern .fc-service-cta-copy {
    flex: 1 1 300px;
    max-width: 600px;
}
.fc-service-modern .fc-service-cta-copy h2 {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.2;
}
.fc-service-modern .fc-service-cta-copy p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    margin: 0 0 22px;
}
.fc-service-modern .fc-service-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.fc-service-modern .fc-service-cta-btn {
    border-radius: 999px !important;
    padding: 14px 28px !important;
    font-weight: 700 !important;
    border: none !important;
}
.fc-service-modern .fc-service-cta-btn--primary {
    background: linear-gradient(158deg, #fdbe33, #e8a820) !important;
    color: var(--fc-navy) !important;
    box-shadow: 0 6px 22px rgba(253, 190, 51, 0.4);
}
.fc-service-modern .fc-service-cta-btn--ghost {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.35) !important;
}
.fc-service-modern .fc-service-cta-contact {
    text-align: center;
    padding: 20px 28px;
    border-radius: var(--fc-radius-lg);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(253, 190, 51, 0.25);
}
.fc-service-modern .fc-service-cta-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 8px;
}
.fc-service-modern .fc-service-cta-phone {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--fc-gold);
    text-decoration: none;
}
.fc-service-modern .fc-service-cta-phone:hover {
    color: #ffc94d;
    text-decoration: none;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 991px) {
    .fc-service-modern .fc-service-process-track {
        grid-template-columns: repeat(2, 1fr);
    }
    .fc-service-modern .fc-service-process-line {
        display: none;
    }
}
@media (max-width: 575px) {
    .fc-service-modern .fc-service-process-track {
        grid-template-columns: 1fr;
    }
    .fc-service-modern .fc-service-trust-inner {
        flex-direction: column;
    }
    .fc-service-modern .fc-service-trust-divider {
        width: 60px;
        height: 1px;
    }
    .fc-service-modern .fc-service-cta-inner {
        flex-direction: column;
        text-align: center;
    }
    .fc-service-modern .fc-service-cta-actions {
        justify-content: center;
    }
}

/* Override legacy global styles inside services page */
.fc-service-modern .service,
.fc-service-modern .fact,
.fc-service-modern .faqs {
    margin-bottom: 0 !important;
    padding: 0 !important;
}
