/* ================================================================
   AbdiMuda — Frontend Stylesheet
   Design System: Plus Jakarta Sans + Inter, Navy & Blue Modern Aesthetic
   ================================================================ */

:root {
    --bg-0: #F5F8FF;
    --bg-1: #EEF3FF;
    --navy-950: #060E24;
    --navy-900: #0A1638;
    --navy-800: #0F1D45;
    --navy-700: #1C2B52;
    --blue-600: #2C6EF2;
    --blue-500: #3D7CF5;
    --blue-400: #5E95F7;
    --blue-100: #E4EDFF;
    --ink-900: #1A1F36;
    --ink-700: #3A3F55;
    --ink-600: #4A5578;
    --ink-400: #8791AC;
    --ink-300: #A8B2CC;
    --line: #E1E7F5;
    --line-light: #EDF1FA;
}

html {
    scroll-behavior: smooth;
}

[id] {
    scroll-margin-top: 85px;
}

main {
    position: relative;
    z-index: 1;
}

body {
    background: var(--bg-0);
    font-family: 'Inter', sans-serif;
    color: var(--navy-900);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand,
.display-font {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Ambient Glow Background */
.bg-glow {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(750px 480px at 84% 14%, rgba(44, 110, 242, 0.13), transparent 70%),
        radial-gradient(600px 520px at 4% 88%, rgba(61, 124, 245, 0.09), transparent 70%),
        linear-gradient(160deg, var(--bg-1) 0%, var(--bg-0) 55%, #FFFFFF 100%);
}

.bg-glow::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10, 22, 56, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 22, 56, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at 75% 30%, black, transparent 70%);
}

/* ================================================================
   NAVBAR
   ================================================================ */

.navbar-custom {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 1rem 3rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(245, 248, 255, 0.88);
    border-bottom: 1px solid rgba(225, 231, 245, 0.8);
    transition: all .2s ease;
}

.brand {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
    color: var(--navy-900);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.brand .dot {
    color: var(--blue-600);
}

.nav-link-custom {
    color: var(--ink-600);
    font-size: 0.92rem;
    font-weight: 600;
    margin: 0 0.85rem;
    text-decoration: none;
    transition: color .15s ease;
    position: relative;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: var(--blue-600);
}

.nav-badge-pill {
    font-size: 0.65rem;
    font-weight: 700;
    background: var(--blue-100);
    color: var(--blue-600);
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    vertical-align: top;
    margin-left: 0.2rem;
}

/* Buttons */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--blue-600), #1C55D6);
    border: none;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.4rem;
    border-radius: 9px;
    box-shadow: 0 8px 22px -8px rgba(44, 110, 242, 0.55);
    transition: transform .15s ease, box-shadow .15s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-primary-custom:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px -6px rgba(44, 110, 242, 0.65);
}

.btn-ghost-custom {
    border: 1px solid var(--line);
    color: var(--navy-700) !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.58rem 1.3rem;
    border-radius: 9px;
    background: #fff;
    transition: all .15s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-ghost-custom:hover {
    border-color: var(--blue-500);
    color: var(--blue-600) !important;
    background: var(--blue-100);
}

.product-section {
    padding: 3rem 9rem;
}

/* ================================================================
   HERO SECTION
   ================================================================ */


.hero-section {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 78px);
    display: flex;
    align-items: center;
    padding: 3rem 9rem 4rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--blue-600);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--blue-100);
    border: 1px solid rgba(44, 110, 242, 0.25);
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 1.1rem;
}

.eyebrow i {
    font-size: 0.5rem;
}

.hero-title {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    font-size: 2.85rem;
    color: var(--navy-900);
}

.hero-title .accent {
    background: linear-gradient(100deg, var(--blue-500), var(--blue-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    color: var(--ink-600);
    font-size: 1.04rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 1.2rem 0 1.8rem;
}

.stat-strip {
    display: flex;
    gap: 2.2rem;
    margin-top: 2rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
}

.stat-num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.45rem;
    color: var(--navy-900);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--ink-400);
    margin-top: 0.25rem;
}

/* Hero Platform Orbit */
.platform-stack {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stack-ring {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid rgba(44, 110, 242, 0.14);
}

.stack-ring.r2 {
    width: 510px;
    height: 510px;
    border-color: rgba(44, 110, 242, 0.08);
}

.service-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 175px);
    grid-template-rows: repeat(2, 150px);
    gap: 1.2rem;
    z-index: 2;
}

.service-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.1rem 1.15rem;
    box-shadow: 0 16px 32px -18px rgba(10, 22, 56, 0.18);
    transition: transform .18s ease, box-shadow .18s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 36px -16px rgba(10, 22, 56, 0.22);
}

.service-card .icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 0.6rem;
}

.service-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 0.2rem;
}

.service-card p {
    font-size: 0.72rem;
    color: var(--ink-400);
    margin: 0;
    line-height: 1.4;
}

.card-web .icon-box {
    background: var(--blue-100);
    color: var(--blue-600);
}

.card-webapp .icon-box {
    background: #EAF7EE;
    color: #1E9E5A;
}

.card-mobile .icon-box {
    background: #FFF1E6;
    color: #E27C1D;
}

.card-windows .icon-box {
    background: #F1ECFF;
    color: #7B4FE0;
}

/* ================================================================
   PORTFOLIO CATALOG SECTION
   ================================================================ */

.portfolio-section {
    position: relative;
    z-index: 1;
    padding: 5.5rem 9rem 6rem;
    background: linear-gradient(180deg, rgba(245, 248, 255, 0.3) 0%, #FFFFFF 100%);
    border-top: 1px solid var(--line);
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--blue-600);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--blue-100);
    border: 1px solid rgba(44, 110, 242, 0.25);
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 0.9rem;
}

.section-title {
    font-weight: 800;
    font-size: 2.35rem;
    letter-spacing: -0.03em;
    color: var(--navy-900);
    line-height: 1.18;
}

.section-sub {
    color: var(--ink-600);
    font-size: 1.04rem;
    max-width: 680px;
    margin: 0.8rem auto 2.4rem;
    line-height: 1.6;
}

.filter-container {
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.65rem 0.8rem;
    box-shadow: 0 10px 30px -12px rgba(10, 22, 56, 0.06);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.filter-btn {
    border: 1px solid transparent;
    background: transparent;
    color: var(--ink-600);
    font-weight: 600;
    font-size: 0.84rem;
    padding: 0.5rem 1.05rem;
    border-radius: 10px;
    transition: all .18s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
}

.filter-btn:hover {
    background: var(--blue-100);
    color: var(--blue-600);
}

.filter-btn.active {
    background: var(--blue-600);
    color: #FFFFFF !important;
    box-shadow: 0 6px 16px -4px rgba(44, 110, 242, 0.45);
}

.filter-badge {
    background: rgba(0, 0, 0, 0.07);
    font-size: 0.72rem;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    font-weight: 700;
}

.filter-btn.active .filter-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
}

.search-box-wrapper {
    position: relative;
    min-width: 270px;
}

.search-box-wrapper input {
    width: 100%;
    padding: 0.5rem 1rem 0.5rem 2.3rem;
    font-size: 0.85rem;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--bg-0);
    color: var(--navy-900);
    transition: all .18s ease;
}

.search-box-wrapper input:focus {
    outline: none;
    border-color: var(--blue-500);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(44, 110, 242, 0.12);
}

.search-box-wrapper i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-400);
    font-size: 0.82rem;
}

/* Category Header Divider */
.category-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--line);
}

.category-group-header:first-of-type {
    margin-top: 1rem;
}

.category-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.category-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1rem;
    box-shadow: 0 4px 12px -3px rgba(0, 0, 0, 0.15);
}

.category-group-header h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy-900);
    margin: 0;
    letter-spacing: -0.02em;
}

.category-count {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink-400);
    background: var(--bg-0);
    border: 1px solid var(--line);
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
}

/* Portfolio Cards Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.port-card {
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 14px 28px -15px rgba(10, 22, 56, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all .22s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.port-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background: transparent;
    transition: background .2s ease;
}

.port-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 44px -16px rgba(10, 22, 56, 0.16);
    border-color: rgba(44, 110, 242, 0.35);
}

.port-card:hover::before {
    background: linear-gradient(90deg, var(--blue-600), #10B981);
}

.port-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    margin-bottom: 0.85rem;
    background: #E0F2FE;
    display: flex;
    align-items: center;
    justify-content: center;
}

.port-thumb svg,
.port-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .3s ease;
}

.port-card:hover .port-thumb svg,
.port-card:hover .port-thumb img {
    transform: scale(1.03);
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.port-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.port-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.05rem;
    box-shadow: 0 8px 18px -4px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.port-badge {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.22rem 0.5rem;
    border-radius: 20px;
    text-transform: uppercase;
    white-space: nowrap;
}

.badge-live-demo {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.badge-ready {
    background: #EFF6FF;
    color: #1E40AF;
    border: 1px solid #BFDBFE;
}

.badge-special {
    background: #F5F3FF;
    color: #5B21B6;
    border: 1px solid #DDD6FE;
}

.badge-warning-soft {
    background: #FFFBEB;
    color: #92400E;
    border: 1px solid #FDE68A;
}

.port-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 0.2rem;
    letter-spacing: -0.015em;
    line-height: 1.25;
}

.port-sub {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--blue-600);
    line-height: 1.35;
    margin-bottom: 0.9rem;
}

.port-desc {
    font-size: 0.83rem;
    color: var(--ink-600);
    line-height: 1.55;
    margin-bottom: 1.15rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.85em;
}

.port-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
}

.tag-pill {
    background: var(--bg-0);
    color: var(--ink-600);
    border: 1px solid var(--line);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.22rem 0.55rem;
    border-radius: 6px;
}

.port-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--line);
}

.btn-detail {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--navy-700);
    background: #FFFFFF;
    border: 1px solid var(--line);
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all .15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.btn-detail:hover {
    color: var(--blue-600);
    border-color: var(--blue-500);
    background: var(--blue-100);
}

.btn-launch {
    font-size: 0.75rem;
    font-weight: 600;
    color: #FFFFFF !important;
    background: linear-gradient(135deg, var(--blue-600), #1C55D6);
    border: none;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all .15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    box-shadow: 0 4px 12px -3px rgba(44, 110, 242, 0.4);
    white-space: nowrap;
}

.btn-launch:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px -3px rgba(44, 110, 242, 0.5);
}

.btn-launch.emerald {
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 0 4px 12px -3px rgba(5, 150, 105, 0.4);
}

.btn-launch.emerald:hover {
    box-shadow: 0 6px 16px -3px rgba(5, 150, 105, 0.5);
}

.btn-consult-wa {
    font-size: 0.75rem;
    font-weight: 600;
    color: #065F46 !important;
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all .15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.btn-consult-wa:hover {
    background: #D1FAE5;
    border-color: #34D399;
    transform: translateY(-1px);
}

@media (max-width: 1199px) {
    .portfolio-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* Banner CTA */
.portfolio-cta-banner {
    background: linear-gradient(135deg, #0A1638 0%, #1C2B52 100%);
    border-radius: 24px;
    padding: 3.5rem 3rem;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
    box-shadow: 0 20px 45px -15px rgba(10, 22, 56, 0.35);
}

.portfolio-cta-banner::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(44, 110, 242, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

/* ================================================================
   BLOG COMPONENTS (Phase 3 Extension)
   ================================================================ */

/* Blog Hero / Breadcrumb Bar */
.blog-header-section {
    padding: 3.5rem 3rem 2.5rem;
    position: relative;
    z-index: 1;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.8rem;
}

.blog-card {
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px -15px rgba(10, 22, 56, 0.08);
    display: flex;
    flex-direction: column;
    transition: all .25s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -15px rgba(10, 22, 56, 0.16);
    border-color: rgba(44, 110, 242, 0.35);
}

.blog-card-thumb-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    background: var(--bg-1);
    overflow: hidden;
}

.blog-card-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.blog-card:hover .blog-card-thumb {
    transform: scale(1.05);
}

.blog-card-thumb-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-1), #DEE7F8);
    color: var(--blue-600);
    font-size: 2.2rem;
}

.blog-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.blog-card-body {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: var(--ink-400);
    margin-bottom: 0.6rem;
}

.blog-card-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.35;
    margin-bottom: 0.6rem;
    text-decoration: none;
    transition: color .18s;
}

.blog-card-title:hover {
    color: var(--blue-600);
}

.blog-card-excerpt {
    font-size: 0.83rem;
    color: var(--ink-600);
    line-height: 1.55;
    margin-bottom: 1.2rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line-light);
    font-size: 0.78rem;
    color: var(--ink-400);
}

.blog-author-wrap {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 600;
    color: var(--navy-700);
}

.blog-author-avatar-sm {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--blue-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: var(--blue-600);
    font-weight: 700;
}

/* Article Detail Page */
.article-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 2rem 1.5rem 5rem;
}

.article-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy-900);
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin: 1.2rem 0 1rem;
}

.article-meta-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--ink-400);
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
}

.article-featured-image {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 16px 36px -12px rgba(10, 22, 56, 0.12);
    margin-bottom: 2.5rem;
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--ink-700);
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: var(--navy-900);
    font-weight: 800;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.article-content p {
    margin-bottom: 1.4rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.4rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.4rem;
}

.article-content blockquote {
    border-left: 4px solid var(--blue-600);
    padding: 0.8rem 1.4rem;
    margin: 1.5rem 0;
    background: #F0F5FF;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--navy-700);
}

.article-content pre {
    background: var(--navy-900);
    color: #E2E8F0;
    padding: 1.2rem;
    border-radius: 12px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.article-content code {
    background: #EAF0FC;
    color: var(--blue-600);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.88em;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 1.5rem 0;
}

/* Author Box */
.author-box {
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.6rem;
    margin-top: 3rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.author-avatar-lg {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, var(--blue-600), #1C55D6);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Share Bar */
.share-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
}

.btn-share {
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #FFF !important;
    transition: opacity .15s;
}

.btn-share:hover {
    opacity: 0.9;
}

.btn-share-wa {
    background: #25D366;
}

.btn-share-x {
    background: #000000;
}

.btn-share-li {
    background: #0A66C2;
}

.btn-share-copy {
    background: var(--navy-700);
}

/* Sidebar Widgets */
.widget-card {
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.4rem;
    margin-bottom: 1.6rem;
    box-shadow: 0 8px 24px -12px rgba(10, 22, 56, 0.05);
}

.widget-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--line-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.widget-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-cat-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0;
    color: var(--ink-700);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    border-bottom: 1px dashed var(--line-light);
    transition: color .15s;
}

.widget-cat-item:last-child a {
    border-bottom: none;
}

.widget-cat-item a:hover {
    color: var(--blue-600);
}

.popular-post-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line-light);
    text-decoration: none;
}

.popular-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-post-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--bg-1);
    flex-shrink: 0;
}

.popular-post-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.35;
    margin-bottom: 0.25rem;
    transition: color .15s;
}

.popular-post-item:hover .popular-post-title {
    color: var(--blue-600);
}

.popular-post-date {
    font-size: 0.72rem;
    color: var(--ink-400);
}

/* Custom Pagination */
.pagination-custom {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 2.5rem;
    list-style: none;
    padding: 0;
}

.pagination-custom li a,
.pagination-custom li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 0.75rem;
    border-radius: 9px;
    border: 1px solid var(--line);
    background: #FFFFFF;
    color: var(--navy-700);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .15s;
}

.pagination-custom li.active span,
.pagination-custom li a:hover {
    background: var(--blue-600);
    border-color: var(--blue-600);
    color: #FFFFFF;
}

.pagination-custom li.disabled span {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Footer */
footer {
    position: relative;
    z-index: 2;
    padding: 3rem 3rem 2rem;
    background: #FFFFFF;
    border-top: 1px solid var(--line);
    font-size: 0.84rem;
    color: var(--ink-400);
}

footer a {
    color: var(--ink-600);
    text-decoration: none;
    transition: color .15s ease;
}

footer a:hover {
    color: var(--blue-600);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 991px) {
    .navbar-custom {
        padding: 1rem 1.5rem;
    }

    .hero-section {
        padding: 2.5rem 1.5rem 3.5rem;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.15rem;
    }

    .platform-stack {
        height: auto;
        margin: 2.5rem 0 1rem;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(135px, 1fr));
    }

    .stat-strip {
        flex-wrap: wrap;
        row-gap: 1rem;
    }

    .portfolio-section,
    .blog-header-section {
        padding: 3.5rem 1.5rem 4rem;
    }

    .section-title,
    .article-title {
        font-size: 1.85rem;
    }

    .filter-container {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box-wrapper {
        min-width: 100%;
    }

    .portfolio-cta-banner {
        padding: 2.5rem 1.5rem;
    }

    footer {
        padding: 2rem 1.5rem;
    }
}

/* ================================================================
   CONTACT PAGE ENHANCEMENTS
   ================================================================ */

.contact-header {
    padding: 2.25rem 1.5rem 1.25rem !important;
}

.contact-header .breadcrumb {
    margin-bottom: 0.5rem !important;
}

.contact-header .section-eyebrow {
    margin-bottom: 0.5rem;
}

.contact-header .section-title {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.contact-header .section-sub {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

#contact-form,
#contact-section,
.contact-content-section {
    scroll-margin-top: 95px;
}

@media (max-width: 768px) {
    .contact-header {
        padding: 1.75rem 1rem 1rem !important;
    }

    .contact-header .section-title {
        font-size: 1.75rem;
    }
}

/* ================================================================
   PRODUCT PAGE STYLES (WordPress-Style Product Template)
   ================================================================ */

.hover-lift {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px -6px rgba(10, 22, 56, 0.12), 0 6px 12px -4px rgba(10, 22, 56, 0.06) !important;
}

.product-hero-section {
    border-bottom: 1px solid rgba(225, 231, 245, 0.7);
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: var(--navy-900);
    font-weight: 700;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.article-content p {
    margin-bottom: 1.25rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.4rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}