/* =========================
Home (Redesigned to match Service/Pricing theme)
Content uses existing ts[...] keys; only layout/presentation changed.
========================= */
:root {
 --svc-primary: #29b6f6;
 --svc-deep: #04205F;
 --svc-ink: #101828;
 --svc-muted: #475467;
 --svc-bg: #f6f7fb;
 --svc-card: #ffffff;
 --svc-border: rgba(16, 24, 40, 0.10);
 --svc-shadow: 0 14px 46px rgba(16, 24, 40, 0.10);
}

.home-wrap {
 background: var(--svc-bg);
}

/* hero */
.svc-hero {
 position: relative;
 padding: 120px 0 96px;
 color: #fff;
 overflow: hidden;
 background:
     radial-gradient(900px 500px at 70% 20%, rgba(41, 182, 246, 0.26), rgba(0, 0, 0, 0)),
     radial-gradient(900px 500px at 20% 30%, rgba(126, 156, 255, 0.22), rgba(0, 0, 0, 0)),
     linear-gradient(135deg, rgba(3, 18, 58, 1) 0%, rgba(4, 32, 95, 1) 55%, rgba(11, 59, 107, 1) 100%);
}

.svc-hero::before {
 content: '';
 position: absolute;
 inset: 0;
 background-image:
     linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
     linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
 background-size: 34px 34px;
 opacity: 0.35;
 mask-image: radial-gradient(circle at 35% 40%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 70%);
 pointer-events: none;
}

.svc-hero::after {
 content: '';
 position: absolute;
 inset: 0;
 background: url('/static/images/header4.jpg') center/cover no-repeat;
 opacity: 0.26;
 filter: saturate(1.05) contrast(1.05);
 mix-blend-mode: overlay;
 pointer-events: none;
}

.svc-hero .container { position: relative; z-index: 2; }

.svc-hero h1 {
 font-size: 3.2rem;
 font-weight: 950;
 line-height: 1.12;
 margin: 0 0 14px 0;
 letter-spacing: 0.2px;
 color: #fff;
}

.svc-hero .subtitle {
 font-size: 1.25rem;
 line-height: 1.75;
 color: rgba(255, 255, 255, 0.92);
 font-weight: 300;
 margin: 0 0 22px 0;
 max-width: 820px;
}

.svc-badges {
 display: flex;
 flex-wrap: wrap;
 gap: 10px;
 margin-top: 18px;
}

.svc-badge {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 padding: 7px 12px;
 border-radius: 999px;
 border: 1px solid rgba(255, 255, 255, 0.18);
 background: rgba(255, 255, 255, 0.06);
 backdrop-filter: blur(10px);
 font-size: 13px;
 color: rgba(255, 255, 255, 0.92);
 white-space: nowrap;
}

.svc-badge i.material-symbols-outlined { font-size: 18px; color: var(--svc-primary); }

.svc-hero .hero-actions {
 display: flex;
 flex-wrap: wrap;
 gap: 12px;
 margin-top: 18px;
}

.svc-btn {
 display: inline-flex;
 align-items: center;
 gap: 10px;
 padding: 12px 22px;
 border-radius: 999px;
 text-decoration: none;
 font-weight: 900;
 border: 0;
 transition: transform 0.2s ease, background 0.2s ease;
}

.svc-btn.primary { background: var(--svc-primary); color: #fff !important; }
.svc-btn.primary:hover { background: #039be5; transform: translateY(-2px); }
.svc-btn.secondary {
 background: rgba(255, 255, 255, 0.10);
 border: 1px solid rgba(255, 255, 255, 0.20);
 color: #fff !important;
}
.svc-btn.secondary:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }

.svc-hero-graphic {
 position: relative;
 border-radius: 18px;
 padding: 18px;
 background: rgba(255, 255, 255, 0.07);
 border: 1px solid rgba(255, 255, 255, 0.14);
 backdrop-filter: blur(12px);
 box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
 overflow: hidden;
 min-height: 340px;
}

.svc-hero-graphic .title {
 display: flex;
 align-items: center;
 gap: 10px;
 font-weight: 950;
 font-size: 14px;
 color: rgba(255, 255, 255, 0.92);
 letter-spacing: 0.3px;
 margin-bottom: 12px;
}

.svc-hero-graphic .title i.material-symbols-outlined { font-size: 20px; color: var(--svc-primary); }

.svc-hero-graphic .img {
 position: absolute;
 inset: 18px;
 border-radius: 16px;
 overflow: hidden;
 border: 1px solid rgba(255, 255, 255, 0.14);
 background: rgba(0, 0, 0, 0.22);
}

.svc-hero-graphic .img img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 opacity: 0.85;
 filter: saturate(1.02) contrast(1.05);
 display: block;
}

.svc-hero-graphic .overlay {
 position: absolute;
 inset: 18px;
 border-radius: 16px;
 pointer-events: none;
 background:
     radial-gradient(520px 320px at 25% 20%, rgba(41, 182, 246, 0.24), rgba(0, 0, 0, 0) 70%),
     linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.55));
}

.svc-hero-graphic .cap {
 position: absolute;
 left: 36px;
 bottom: 36px;
 display: inline-flex;
 align-items: center;
 gap: 8px;
 padding: 8px 10px;
 border-radius: 12px;
 background: rgba(0, 0, 0, 0.45);
 border: 1px solid rgba(255, 255, 255, 0.18);
 color: rgba(255, 255, 255, 0.92);
 font-weight: 900;
 font-size: 12px;
 backdrop-filter: blur(10px);
}

.svc-hero-graphic .cap i.material-symbols-outlined { font-size: 18px; color: var(--svc-primary); }

/* sections */
.svc-wrap { background: var(--svc-bg); padding: 64px 0; }

.svc-section-title h2 {
 color: var(--svc-deep);
 font-weight: 950;
 margin: 0 0 10px 0;
}

.svc-section-title p {
 margin: 0;
 color: var(--svc-muted);
 font-size: 1.05rem;
 line-height: 1.8;
}

.svc-section-title .svc-link {
 color: var(--svc-primary);
 font-weight: 600;
 text-decoration: none;
}
.svc-section-title .svc-link:hover {
 text-decoration: underline;
}

.home-blog-link {
 color: var(--svc-deep);
 text-decoration: none;
 font-weight: 500;
}
.home-blog-link:hover {
 color: var(--svc-primary);
 text-decoration: underline;
}

.svc-quote {
 margin-top: 16px;
 background: rgba(41, 182, 246, 0.10);
 border: 1px solid rgba(41, 182, 246, 0.20);
 padding: 14px 14px;
 border-radius: 14px;
 color: #0b3b6b;
 font-weight: 750;
 line-height: 1.8;
}

.svc-grid-3 {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 18px;
 margin-top: 22px;
}

.svc-grid-2 {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 18px;
 margin-top: 22px;
}

.svc-card {
 background: var(--svc-card);
 border: 1px solid var(--svc-border);
 border-radius: 18px;
 box-shadow: 0 8px 26px rgba(16, 24, 40, 0.08);
 padding: 22px;
 height: 100%;
 transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
 position: relative;
 overflow: hidden;
}

.svc-card::before {
 content: '';
 position: absolute;
 left: 0;
 top: 0;
 width: 5px;
 height: 100%;
 background: linear-gradient(180deg, rgba(41, 182, 246, 0.9), rgba(4, 32, 95, 0.9));
 opacity: 0.65;
}

.svc-card:hover { transform: translateY(-6px); box-shadow: var(--svc-shadow); border-color: rgba(4, 32, 95, 0.18); }

.svc-card .top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }

.svc-icon {
 width: 44px;
 height: 44px;
 border-radius: 14px;
 background: rgba(41, 182, 246, 0.12);
 border: 1px solid rgba(41, 182, 246, 0.20);
 display: flex;
 align-items: center;
 justify-content: center;
 flex: 0 0 auto;
}

.svc-icon i.material-symbols-outlined { font-size: 24px; color: var(--svc-deep); }

.svc-card h3 { margin: 0; font-size: 1.18rem; font-weight: 950; color: var(--svc-deep); line-height: 1.3; }
.svc-card p { margin: 10px 0 0 0; color: #344054; line-height: 1.85; font-size: 1rem; }

.svc-media {
 margin-top: 12px;
 border-radius: 14px;
 overflow: hidden;
 border: 1px solid rgba(16, 24, 40, 0.08);
 background: rgba(4, 32, 95, 0.04);
}

.svc-media img { width: 100%; height: 170px; object-fit: cover; display: block; }

/* Why NEXSPC: custom SVG illustrations (no external images) */
#why .svc-media {
 height: 170px;
 display: flex;
 align-items: center;
 justify-content: center;
 padding: 10px;
 background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(41, 182, 246, 0.10) 100%);
 border: 1px solid rgba(41, 182, 246, 0.18);
}
#why .svc-media svg {
 width: 100%;
 height: 100%;
 max-height: 160px;
 object-fit: contain;
}
#why .svc-card:hover .svc-media { border-color: rgba(41, 182, 246, 0.34); background: linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(41, 182, 246, 0.14) 100%); }

details.svc-details {
 background: #fff;
 border: 1px solid var(--svc-border);
 border-radius: 18px;
 box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
 padding: 14px 16px;
 overflow: hidden;
}

details.svc-details + details.svc-details { margin-top: 12px; }

details.svc-details summary {
 cursor: pointer;
 list-style: none;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 12px;
 font-weight: 950;
 color: var(--svc-deep);
 outline: none;
}

details.svc-details summary::-webkit-details-marker { display: none; }

/* details header (make titles more prominent) */
details.svc-details summary {
 padding: 10px 10px;
 border-radius: 14px;
 background: linear-gradient(135deg, rgba(41, 182, 246, 0.12), rgba(4, 32, 95, 0.04));
 border: 1px solid rgba(41, 182, 246, 0.20);
}

details.svc-details summary:hover {
 background: linear-gradient(135deg, rgba(41, 182, 246, 0.16), rgba(4, 32, 95, 0.06));
 border-color: rgba(41, 182, 246, 0.28);
}

.svc-sum-left {
 display: inline-flex;
 align-items: center;
 gap: 10px;
 min-width: 0;
}

.svc-sum-ico {
 width: 36px;
 height: 36px;
 border-radius: 12px;
 background: rgba(41, 182, 246, 0.12);
 border: 1px solid rgba(41, 182, 246, 0.20);
 display: inline-flex;
 align-items: center;
 justify-content: center;
 flex: 0 0 auto;
}

.svc-sum-ico i.material-symbols-outlined {
 font-size: 20px;
 color: var(--svc-deep);
}

.svc-sum-title {
 font-size: 1.12rem;
 font-weight: 950;
 color: var(--svc-deep);
 white-space: nowrap;
 overflow: hidden;
 text-overflow: ellipsis;
}

.svc-sum-right {
 display: inline-flex;
 align-items: center;
 gap: 10px;
 flex: 0 0 auto;
}

/* make summary right chip purple-red */
.svc-sum-right .svc-chip {
 background: rgb(140, 167, 240);
 border-color: rgb(140, 167, 240);
 box-shadow: 0 12px 30px rgba(140, 167, 240, 0.22);
 color:rgb(0, 0, 0);
 font-size: 13px;
 font-weight: 600;
}

.svc-sum-right .svc-chip i.material-symbols-outlined {
 color: rgba(255, 255, 255, 0.96);
 text-shadow: 0 10px 22px rgba(179, 136, 255, 0.35);
}

.svc-sum-chev {
 width: 34px;
 height: 34px;
 border-radius: 12px;
 background: rgba(4, 32, 95, 0.05);
 border: 1px solid rgba(4, 32, 95, 0.10);
 display: inline-flex;
 align-items: center;
 justify-content: center;
 transition: transform 0.2s ease;
 flex: 0 0 auto;
}

details[open].svc-details .svc-sum-chev { transform: rotate(180deg); }

.svc-details .body { margin-top: 12px; color: #344054; line-height: 1.9; }

/* details two-column layout */
.svc-details-grid {
 display: grid;
 grid-template-columns: 0.70fr 0.30fr;
 gap: 16px;
 align-items: start;
}

.svc-details-left { min-width: 0; }

.svc-details-media {
 border-radius: 16px;
 overflow: hidden;
 border: 1px solid rgba(16, 24, 40, 0.10);
 background: rgba(4, 32, 95, 0.04);
 box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
 position: sticky;
 top: 96px;
}

.svc-details-media img {
 width: 100%;
 height: 210px;
 object-fit: cover;
 display: block;
}

.svc-details-media img.svg-like {
 object-fit: contain;
 background: #fff;
 padding: 18px;
}

.svc-details-media .cap {
 padding: 10px 12px;
 font-weight: 900;
 color: var(--svc-deep);
 font-size: 13px;
 border-top: 1px solid rgba(16, 24, 40, 0.06);
 background: rgba(255, 255, 255, 0.70);
 backdrop-filter: blur(8px);
 text-align: center;
}

/* chips layout (make svc-kchips prettier) */
.svc-kchips {
 margin-top: 10px;
 display: flex;
 flex-wrap: wrap;
 gap: 10px;
 align-items: flex-start;
}

/* support p items inside svc-kchips (user adjusted content) */
.svc-kchips p {
 margin: 0;
 padding: 10px 12px;
 border-radius: 14px;
 background: rgba(4, 32, 95, 0.04);
 border: 1px solid rgba(4, 32, 95, 0.10);
 color: #344054;
 font-weight: 850;
 line-height: 1.65;
 font-size: 13px;
 display: inline-flex;
 align-items: center;
 width: fit-content;
 max-width: 100%;
 white-space: normal;
}

.svc-chip {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 padding: 6px 10px;
 border-radius: 999px;
 background: rgba(16, 24, 40, 0.05);
 border: 1px solid rgba(16, 24, 40, 0.08);
 color: #344054;
 font-weight: 850;
 font-size: 12px;
 white-space: nowrap;
 justify-content: flex-start;
 width: fit-content;
 max-width: 100%;
 justify-self: start; /* prevent grid stretching */
}

.svc-chip i.material-symbols-outlined { font-size: 16px; color: var(--svc-deep); }

/* keyword-chip grid for language list */
.svc-keywords {
 margin-top: 10px;
 display: grid;
 grid-template-columns: repeat(4, minmax(0, 1fr));
 gap: 10px;
}

.svc-keywords .keyword-chip {
 margin: 0 !important;
 justify-content: center;
 background: rgba(4, 32, 95, 0.04);
 border-color: rgba(4, 32, 95, 0.10);
 color: var(--svc-deep);
 font-weight: 900;
}

@media (max-width: 992px) {
 .svc-details-grid { grid-template-columns: 1fr; }
 .svc-details-media { position: relative; top: auto; }
 .svc-keywords { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
 .svc-keywords { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .svc-sum-title { white-space: normal; }
}

.svc-logo-grid {
 margin-top: 22px;
 display: grid;
 grid-template-columns: repeat(5, minmax(0, 1fr));
 gap: 14px;
 align-items: center;
}

.svc-logo {
 background: #fff;
 border: 1px solid var(--svc-border);
 border-radius: 16px;
 box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
 padding: 14px;
 display: flex;
 align-items: center;
 justify-content: center;
 min-height: 72px;
}

.svc-logo img { max-width: 100%; max-height: 42px; object-fit: contain; display: block; opacity: 0.95; }