/* =============================================
   service-detail.css  –  Full redesign
   ============================================= */

/* ─── HERO BANNER ─────────────────────────────────────────── */
.sd-hero {
    position: relative;
    min-height: 92vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.sd-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(5,15,40,0.93) 55%, rgba(5,15,40,0.75) 100%);
}
.sd-hero__container {
    position: relative;
    z-index: 2;
    padding-top: 7rem;
    padding-bottom: 4rem;
}
.sd-hero__grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 3.5rem;
    align-items: start;
}
@media (max-width: 991px) {
    .sd-hero__grid { grid-template-columns: 1fr; }
    .sd-hero__right { display: none; }
}

/* Left side */
.sd-hero__badge {
    display: inline-block;
    border: 1px solid rgba(96,165,250,0.5);
    color: #93c5fd;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.4rem 1.1rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}
.sd-hero__title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.6rem;
    letter-spacing: -0.02em;
}
.sd-hero__tagline {
    font-size: 1.1rem;
    color: #60a5fa;
    font-weight: 600;
    margin-bottom: 1.4rem;
    letter-spacing: 0.01em;
}
.sd-hero__desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.8;
    margin-bottom: 2rem;
}
.sd-hero__desc p { margin-bottom: 0.6rem; }
.sd-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Buttons */
.sd-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 2px solid transparent;
}
.sd-btn--primary {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
    box-shadow: 0 8px 20px rgba(37,99,235,0.35);
}
.sd-btn--primary:hover { background: #1d4ed8; transform: translateY(-2px); color: #fff; }
.sd-btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}
.sd-btn--outline:hover { background: rgba(255,255,255,0.1); color: #fff; }
.sd-btn--white {
    background: #fff;
    color: #1e3a8a;
    border-color: #fff;
}
.sd-btn--white:hover { background: #f0f9ff; color: #1e3a8a; }
.sd-btn--outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}
.sd-btn--outline-white:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* Form Card */
.sd-hero__form-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 20px;
    padding: 2rem 2rem 2.5rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.35);
}
.sd-hero__form-header { margin-bottom: 1.5rem; }
.sd-hero__form-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.3rem;
}
.sd-hero__form-header p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

.sd-form-group { margin-bottom: 1rem; }
.sd-form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.07);
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.25s;
    outline: none;
    resize: vertical;
}
.sd-form-input::placeholder { color: rgba(255,255,255,0.45); }
.sd-form-input:focus {
    background: rgba(255,255,255,0.12);
    border-color: rgba(96,165,250,0.6);
    box-shadow: 0 0 0 3px rgba(96,165,250,0.15);
}
.sd-form-submit {
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    transition: all 0.25s;
    box-shadow: 0 8px 20px rgba(37,99,235,0.35);
}
.sd-form-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(37,99,235,0.45); }

/* ─── COMMON SECTION HELPERS ───────────────────────────────── */
.sd-section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #2563eb;
    margin-bottom: 0.75rem;
}
.sd-section-header { text-align: center; margin-bottom: 3rem; }
.sd-section-title {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--color-primary, #0f172a);
    line-height: 1.25;
    margin-bottom: 0.8rem;
}
.sd-section-divider {
    width: 48px;
    height: 4px;
    border-radius: 4px;
    background: #2563eb;
    margin: 0.8rem auto 1rem;
}
.sd-section-desc { color: #64748b; font-size: 1rem; line-height: 1.7; max-width: 700px; margin: 0 auto; }

/* ─── OVERVIEW SECTION ─────────────────────────────────────── */
.sd-overview {
    padding: 50px 0;
    background: #fff;
}
.sd-overview__grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 4rem;
    align-items: start;
}
@media (max-width: 991px) { .sd-overview__grid { grid-template-columns: 1fr; } }

.sd-overview__main { }
.sd-overview__title {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.5rem;
}
.sd-rich-text {
    font-size: 1rem;
    line-height: 1.85;
    color: #334155;
}
.sd-rich-text p { margin-bottom: 1rem; }
.sd-rich-text h2, .sd-rich-text h3, .sd-rich-text h4 { font-weight: 700; color: #0f172a; margin: 1.5rem 0 0.6rem; }
.sd-rich-text ul, .sd-rich-text ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.sd-rich-text li { margin-bottom: 0.4rem; }

/* Mission / Vision cards */
.sd-overview__sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sd-mv-card {
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.sd-mv-card--mission { background: #eff6ff; border: 1px solid #bfdbfe; }
.sd-mv-card--vision { background: #f5f3ff; border: 1px solid #ddd6fe; }
.sd-mv-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.sd-mv-card--mission .sd-mv-card__icon { background: #dbeafe; color: #2563eb; }
.sd-mv-card--vision .sd-mv-card__icon { background: #ede9fe; color: #7c3aed; }
.sd-mv-card__title { font-size: 1rem; font-weight: 800; color: #0f172a; margin-bottom: 0.5rem; }
.sd-mv-card__text { font-size: 0.92rem; color: #475569; line-height: 1.65; margin: 0; }

/* ─── SERVICE BENEFITS (alternating left / right) ───────────── */
.sd-benefits {
    padding: 50px 0;
    background: #f8fafc;
}

/* Two-column outer layout */
.sd-benefits__layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 5rem;
    align-items: start;
}
@media (max-width: 991px) {
    .sd-benefits__layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Left: sticky title + desc */
.sd-benefits__left {
    position: sticky;
    top: 100px;
}
.sd-benefits__left-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 0.5rem;
}
.sd-benefits__left-desc {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.75;
    margin-bottom: 0;
}

/* Right: benefits in 2-col grid */
.sd-benefits__right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
@media (max-width: 576px) {
    .sd-benefits__right { grid-template-columns: 1fr; }
}

/* Each benefit item card */
.sd-benefit-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: all 0.28s ease;
    position: relative;
    overflow: hidden;
}
.sd-benefit-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.sd-benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(37,99,235,0.1);
    border-color: #bfdbfe;
}
.sd-benefit-item:hover::before { transform: scaleX(1); }

.sd-benefit-item__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.28s;
}
.sd-benefit-item:hover .sd-benefit-item__icon {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 6px 16px rgba(37,99,235,0.3);
}
.sd-benefit-item__title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.35;
}
.sd-benefit-item__text {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.7;
}
.sd-benefit-item__text p { margin: 0; }

/* PROCESS SECTION */
/* PROCESS SECTION - SLIDER */
.sd-process {
    padding: 50px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}
.sd-process::before {
    content: '';
    position: absolute;
    top: -150px; right: -150px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.sd-process::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -100px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124,58,237,0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Header row with nav */
.sd-process__header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.sd-process__tag { color: #93c5fd !important; }
.sd-process__title { color: #fff !important; margin: 0; }
.sd-process__nav { display: flex; gap: 0.75rem; flex-shrink: 0; }
.sd-process__nav-btn {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.25s;
}
.sd-process__nav-btn:hover { background: #2563eb; border-color: #2563eb; box-shadow: 0 6px 16px rgba(37,99,235,0.4); }
.sd-process__nav-btn:disabled { opacity: 0.3; cursor: default; }

/* Slider viewport */
.sd-process__viewport {
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.sd-process__track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Each slide occupies 1/4 of viewport (minus gaps) */
.sd-process__slide {
    flex: 0 0 calc(25% - 1.125rem);
    min-width: 0;
}
@media (max-width: 1199px) { .sd-process__slide { flex: 0 0 calc(33.333% - 1rem); } }
@media (max-width: 991px)  { .sd-process__slide { flex: 0 0 calc(50% - 0.75rem); } }
@media (max-width: 575px)  { .sd-process__slide { flex: 0 0 100%; } }

/* Card styles */
.sd-process__card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}
.sd-process__card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #7c3aed);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.sd-process__card:hover {
    background: rgba(37,99,235,0.1);
    border-color: rgba(59,130,246,0.4);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.sd-process__card:hover::after { transform: scaleX(1); }

/* Step number */
.sd-process__card-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(37,99,235,0.15);
    border: 2px solid rgba(59,130,246,0.4);
    color: #60a5fa;
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s;
    letter-spacing: 0;
    flex-shrink: 0;
}
.sd-process__card:hover .sd-process__card-num {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
    box-shadow: 0 8px 20px rgba(37,99,235,0.4);
}

/* Icon */
.sd-process__card-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: rgba(37,99,235,0.15);
    border: 1px solid rgba(59,130,246,0.3);
    color: #60a5fa;
    font-size: 1.25rem;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s;
}
.sd-process__card:hover .sd-process__card-icon {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
    box-shadow: 0 8px 20px rgba(37,99,235,0.4);
}

.sd-process__card-title {
    font-size: 1rem; font-weight: 700;
    color: #f1f5f9; margin-bottom: 0.6rem; line-height: 1.35;
}
.sd-process__card-text {
    font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.7; margin: 0;
}

/* Dots */
.sd-process__dots {
    display: flex; justify-content: center;
    gap: 0.5rem; margin-top: 2rem;
}
.sd-process__dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none; cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}
.sd-process__dot.active {
    width: 28px; border-radius: 5px;
    background: #3b82f6;
}

.sd-tech {
    padding: 50px 0 50px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    overflow: hidden;
}

.sd-tech__marquee-wrap { 
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
 }

.sd-tech__marquee {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.sd-tech__marquee-track {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: max-content;
    animation: sd-marquee-left 30s linear infinite;
}
.sd-tech__marquee:hover .sd-tech__marquee-track { animation-play-state: paused; }

@keyframes sd-marquee-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-33.333%); }
}

/* ── Tile card ── */
.sd-tech__tile {
    flex-shrink: 0;
    width: 160px;
    height: 90px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 60%;          /* logo fills 60% of the card nicely */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 8px;
    position: relative;
    overflow: hidden;
    cursor: default;
    transition: all 0.25s ease;
}
.sd-tech__tile:hover {
    border-color: #bfdbfe;
    box-shadow: 0 8px 20px rgba(37,99,235,0.1);
    transform: translateY(-3px);
}

/* Gradient scrim at bottom so name is readable over logo */
.sd-tech__tile::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40px;
    pointer-events: none;
}

/* No-logo fallback: just show name prominently centered */
.sd-tech__tile-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e40af;
    padding: 0 12px;
    text-align: center;
    line-height: 1.3;
}

/* Name label — visible over logo */
.sd-tech__tile-name {
    position: relative;
    z-index: 2;
    font-size: 0.72rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
    background: transparent;
}
/* Hide bottom name when fallback is showing (name already inside fallback div) */
.sd-tech__tile:has(.sd-tech__tile-fallback) .sd-tech__tile-name {
    display: none;
}


.sd-why {
    padding: 50px 0;
    background: #0f172a;
}
.sd-why .sd-section-tag { color: #60a5fa; }
.sd-why .sd-section-title { color: #fff; font-size: 1.5rem; max-width: 700px; margin: 0 auto; }
.sd-why .sd-section-divider { background: #3b82f6; }
.sd-why__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 2.5rem;
}
@media (max-width: 768px) { .sd-why__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .sd-why__grid { grid-template-columns: repeat(2, 1fr); } }
.sd-why__stat {
    background: rgba(255,255,255,0.04);
    padding: 2rem 1rem;
    text-align: center;
    transition: background 0.2s;
}
.sd-why__stat:hover { background: rgba(59,130,246,0.15); }
.sd-why__num {
    display: block;
    font-size: 2.4rem;
    font-weight: 900;
    color: #60a5fa;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.sd-why__label { font-size: 0.82rem; color: rgba(255,255,255,0.65); font-weight: 500; }

/* ─── FAQs ─────────────────────────────────────────────────── */
.sd-faq {
    padding: 80px 0 40px;
    background: #fff;
}
.sd-faq__grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 3rem;
    align-items: start;
}
@media (max-width: 991px) { .sd-faq__grid { grid-template-columns: 1fr; } }

.sd-faq__item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.sd-faq__item.active { border-color: #bfdbfe; box-shadow: 0 4px 15px rgba(37,99,235,0.08); }
.sd-faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.25rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    gap: 1rem;
}
.sd-faq__question:hover { color: #2563eb; }
.sd-faq__icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #2563eb;
    transition: background 0.2s;
}
.sd-faq__item.active .sd-faq__icon { background: #2563eb; color: #fff; }
.sd-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    border-top: 0px solid #e2e8f0;
}
.sd-faq__item.active .sd-faq__answer { border-top: 1px solid #e2e8f0; }
.sd-faq__answer p {
    padding: 1rem 1.25rem;
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

/* FAQ CTA Card */
.sd-faq__cta-card {
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    box-shadow: 0 20px 40px rgba(37,99,235,0.3);
}
.sd-faq__cta-inner {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}
.sd-faq__cta-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
.sd-faq__cta-text { color: rgba(255,255,255,0.8); font-size: 0.95rem; margin-bottom: 1.75rem; line-height: 1.6; }

/* ─── ENQUIRY FORM SECTION ──────────────────────────────────── */
.sd-enquiry-form-section {
    padding: 0 0 80px;
    background: #fff;
    display: none; /* Hidden by default — the hero form and FAQ CTA handle leads */
}

/* ─── LEGACY FORM STYLES (kept for bottom form) ─────────────── */
/* Already defined in style.css / utilities.css — skipping duplicates */
