/* ================================================
   SERVICES PAGE – PREMIUM STYLES
   ================================================ */

/* ---- HERO ---- */
.sv-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(140deg, #020a2e 0%, #082068 35%, #0b53c0 65%, #0e7fe8 90%, #00c8ff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 60px;
}

.sv-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.sv-hero-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: svBannerZoom 30s ease-in-out infinite alternate;
}

.sv-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(2, 10, 46, 0.30) 0%,
            rgba(8, 32, 104, 0.22) 40%,
            rgba(11, 83, 192, 0.18) 70%,
            rgba(2, 10, 46, 0.45) 100%);
    z-index: 1;
}

@keyframes svBannerZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

.sv-mesh {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.sv-m1 {
    width: 450px;
    height: 450px;
    background: rgba(0, 212, 255, 0.15);
    top: -20%;
    right: -5%;
    animation: svFloat1 8s ease-in-out infinite alternate;
}

.sv-m2 {
    width: 300px;
    height: 300px;
    background: rgba(100, 180, 255, 0.10);
    bottom: -15%;
    left: -5%;
    animation: svFloat2 10s ease-in-out infinite alternate;
}

@keyframes svFloat1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-25px, 15px) scale(1.12);
    }
}

@keyframes svFloat2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(15px, -10px) scale(1.08);
    }
}

.sv-grid-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, transparent 70%);
}

.sv-hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.sv-hero .breadcrumb,
.sv-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

.sv-hero .breadcrumb a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.sv-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 24px;
}

.sv-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.25);
    animation: svPulse 2s infinite;
}

@keyframes svPulse {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.25);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(0, 212, 255, 0);
    }
}

.sv-hero h1 {
    color: #fff;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 16px;
}

.sv-grad-text {
    background: linear-gradient(135deg, #fff, #82e4ff, #00d4ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sv-hero p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.7;
    max-width: 620px;
}

/* Service tabs */
.sv-tabs {
    display: flex;
    gap: 10px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.sv-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
}

.sv-tab svg {
    width: 16px;
    height: 16px;
}

.sv-tab:hover,
.sv-tab.active {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.30);
    color: #fff;
    transform: translateY(-1px);
}

.sv-tab.active {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* ---- SERVICE HEADER ---- */
.sv-service-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 36px;
}

.sv-service-icon-lg {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 20px;
    background: var(--grad);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(11, 94, 215, 0.28);
}

.sv-icon-featured {
    box-shadow: 0 12px 32px rgba(11, 94, 215, 0.35);
}

.sv-service-icon-lg svg {
    width: 30px;
    height: 30px;
    color: #fff;
}

.sv-service-num {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    color: var(--primary);
    background: rgba(11, 94, 215, 0.06);
    border: 1px solid rgba(11, 94, 215, 0.10);
    padding: 3px 12px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.sv-service-header h2 {
    font-size: 26px;
    font-weight: 900;
    margin: 0 0 8px;
}

.sv-service-header p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.7;
    margin: 0;
    max-width: 560px;
}

/* ---- SUB CARDS GRID ---- */
.sv-sub-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.sv-sub-3col {
    grid-template-columns: repeat(3, 1fr);
}

.sv-sub-card {
    padding: 28px 22px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.80);
    border: 1px solid rgba(15, 40, 85, 0.06);
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 18px rgba(10, 27, 51, 0.04);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.sv-sub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--grad);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 3px 0 0 3px;
}

.sv-sub-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 48px rgba(11, 94, 215, 0.12);
    border-color: rgba(11, 94, 215, 0.10);
}

.sv-sub-card:hover::before {
    opacity: 1;
}

.sv-sub-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(11, 94, 215, 0.06);
    border: 1px solid rgba(11, 94, 215, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.35s ease;
}

.sv-sub-card:hover .sv-sub-icon {
    background: var(--grad);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(11, 94, 215, 0.28);
}

.sv-sub-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
    transition: color 0.3s ease;
}

.sv-sub-card:hover .sv-sub-icon svg {
    color: #fff;
}

.sv-sub-card h4 {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--text);
}

.sv-sub-card p {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

/* Alternating background */
.sv-alt-bg {
    background: rgba(11, 94, 215, 0.015);
}

/* ---- PARTICLE LAYOUT ---- */
.sv-particle-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.sv-particle-features {
    display: grid;
    gap: 14px;
}

.sv-pf-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.80);
    border: 1px solid rgba(15, 40, 85, 0.06);
    backdrop-filter: blur(16px);
    transition: all 0.3s ease;
}

.sv-pf-item:hover {
    transform: translateX(6px);
    box-shadow: 0 12px 36px rgba(11, 94, 215, 0.10);
}

.sv-pf-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 12px;
    background: var(--grad);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(11, 94, 215, 0.25);
}

.sv-pf-icon svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.sv-pf-item h4 {
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 4px;
    color: var(--text);
}

.sv-pf-item p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

.sv-particle-info {
    padding: 28px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.80);
    border: 1px solid rgba(15, 40, 85, 0.06);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 30px rgba(10, 27, 51, 0.04);
}

.sv-info-row {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(15, 40, 85, 0.06);
}

.sv-info-row:last-child {
    border-bottom: none;
}

.sv-info-label {
    min-width: 72px;
    font-size: 13px;
    font-weight: 800;
    color: var(--primary);
}

.sv-info-value {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.6;
}

/* ---- SERVICE DETAIL SECTIONS ---- */
.sv-detail-title {
    text-align: center;
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 900;
    color: var(--text);
    margin: 0 0 48px;
}

.sv-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.sv-detail-reverse {
    direction: rtl;
}

.sv-detail-reverse>* {
    direction: ltr;
}

.sv-detail-img-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(11, 94, 215, 0.03);
    border: 1px solid rgba(15, 40, 85, 0.06);
    box-shadow: 0 8px 32px rgba(10, 27, 51, 0.06);
}

.sv-detail-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sv-detail-img-wrap:hover .sv-detail-img {
    transform: scale(1.04);
}

.sv-detail-body {
    padding: 8px 0;
}

.sv-detail-eng {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 4px;
}

.sv-detail-th {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 16px;
}

.sv-detail-body p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
    margin: 0 0 14px;
}

.sv-detail-body h5 {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    margin: 20px 0 8px;
}

.sv-detail-body ul {
    margin: 0 0 12px;
    padding-left: 20px;
}

.sv-detail-body li {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 6px;
}

.sv-detail-body li strong {
    color: var(--text);
}

/* ---- CTA ---- */
.sv-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(140deg, #020a2e 0%, #082068 35%, #0b53c0 65%, #0e7fe8 90%);
    padding: 72px 0;
}

.sv-cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.sv-cta-m1 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.14);
    top: -30%;
    right: -5%;
    filter: blur(80px);
    animation: svFloat1 8s ease-in-out infinite alternate;
}

.sv-cta-m2 {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(120, 180, 255, 0.10);
    bottom: -20%;
    left: -5%;
    filter: blur(80px);
    animation: svFloat2 10s ease-in-out infinite alternate;
}

.sv-cta-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.sv-cta h2 {
    color: #fff;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 900;
    margin: 0 0 12px;
}

.sv-cta p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 28px;
}

.sv-cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.sv-btn-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff 0%, #e8f4ff 100%);
    color: #0b47a8;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sv-btn-main:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.sv-btn-main svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.sv-btn-main:hover svg {
    transform: translateX(4px);
}

.sv-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sv-btn-outline:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px);
}

.sv-btn-outline svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.sv-btn-outline:hover svg {
    transform: translateX(4px);
}

/* ---- EQUIPMENT IMAGE GRID ---- */
.sv-equip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.sv-equip-item {
    overflow: hidden;
    position: relative;
    background: #f0f4f8;
    border-radius: 20px;
    border: 1px solid rgba(15, 40, 85, 0.06);
    box-shadow: 0 8px 32px rgba(10, 27, 51, 0.06);
}

.sv-equip-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sv-equip-item:hover img {
    transform: scale(1.04);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 980px) {
    .sv-hero {
        padding: 120px 0 48px;
        min-height: 60vh;
    }

    .sv-sub-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sv-sub-3col {
        grid-template-columns: repeat(2, 1fr);
    }

    .sv-particle-layout {
        grid-template-columns: 1fr;
    }

    .sv-service-header h2 {
        font-size: 22px;
    }

    .sv-detail-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sv-detail-reverse {
        direction: ltr;
    }

    .sv-equip-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .sv-hero {
        padding: 0 0 36px;
        min-height: auto;
        flex-direction: column;
    }

    .sv-hero-bg {
        position: relative;
        width: 100%;
        aspect-ratio: 16/9;
    }

    .sv-hero-banner-img {
        object-fit: contain;
        animation: none;
    }

    .sv-hero-content {
        padding-top: 28px;
    }

    .sv-hero h1 {
        font-size: 26px;
    }

    .sv-tabs {
        gap: 8px;
    }

    .sv-tab {
        padding: 8px 14px;
        font-size: 12px;
    }

    .sv-service-header {
        flex-direction: column;
        gap: 16px;
    }

    .sv-sub-grid,
    .sv-sub-3col {
        grid-template-columns: 1fr;
    }

    .sv-detail-eng {
        font-size: 18px;
    }

    .sv-detail-th {
        font-size: 15px;
    }

    .sv-cta-btns {
        flex-direction: column;
    }

    .sv-cta-btns .sv-btn-main,
    .sv-cta-btns .sv-btn-outline {
        width: 100%;
        justify-content: center;
    }

    .sv-equip-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .sv-equip-item img {
        height: 180px;
    }
}