/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, #050b1a 0%, #0a1628 60%, #0d1f3c 100%);
    padding: 140px 0 90px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,105,188,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,105,188,0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
}
.page-hero-blob {
    position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none;
}
.page-hero-blob-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,105,188,0.18) 0%, transparent 70%);
    top: -200px; left: -100px;
}
.page-hero-blob-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(84,194,186,0.12) 0%, transparent 70%);
    bottom: -100px; right: 10%;
}
.page-breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 20px;
}
.page-breadcrumb a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color .3s; }
.page-breadcrumb a:hover { color: #54C2BA; }
.page-breadcrumb span { color: rgba(255,255,255,0.25); }
.page-hero-label {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0,105,188,0.15); border: 1px solid rgba(0,105,188,0.3);
    border-radius: 50px; padding: 6px 16px; font-size: 13px; color: #54C2BA; margin-bottom: 20px;
}
.page-hero-title {
    font-family: Yekan-Bakh-Bold;
    font-size: clamp(32px, 5vw, 56px);
    color: #fff; line-height: 1.3; margin-bottom: 16px;
}
.page-hero-title .gradient-text {
    background: linear-gradient(135deg, #0069BC, #54C2BA);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-hero-sub { font-size: 17px; color: rgba(255,255,255,0.6); max-width: 560px; line-height: 1.8; }

/* SEO desc box */
.seo-desc-box {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 20px;
    max-width: 680px;
}
.seo-desc-box .read-more-container {
    font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.8;
    max-height: 60px; overflow: hidden; transition: max-height .5s ease;
}
.seo-desc-box .read-more-container.expanded { max-height: 600px; }
.read-more-btn {
    background: none; border: none; padding: 8px 0 0;
    font-size: 12px; color: #54C2BA; cursor: pointer;
    font-family: Yekan-Bakh-Bold; display: flex; align-items: center; gap: 6px;
}
.read-more-btn i { transition: transform .3s; }
.read-more-btn.open i { transform: rotate(180deg); }

/* ===== PORTFOLIO SECTION ===== */
.portfolio-section {
    padding: 80px 0;
    background: #f8fafd;
}
.filter-bar {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
    margin-bottom: 50px;
}
.filter-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px;
    border-radius: 50px;
    border: 1px solid rgba(0,105,188,0.2);
    background: #fff;
    color: #5a6478;
    font-size: 14px;
    font-family: Yekan-Bakh-Bold;
    cursor: pointer;
    transition: all .25s ease;
    text-decoration: none;
}
.filter-btn:hover, .filter-btn.active {
    background: #0069BC;
    color: #fff;
    border-color: #0069BC;
    box-shadow: 0 6px 20px rgba(0,105,188,0.3);
    transform: translateY(-2px);
}
.filter-btn .cat-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: currentColor; opacity: .6;
}

/* Portfolio cards */
.port-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 991px) { .port-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .port-grid { grid-template-columns: 1fr; } }

.port-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all .4s ease;
    display: block;
    text-decoration: none;
}
.port-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,105,188,0.15); }
.port-card-img {
    width: 100%; height: 240px; object-fit: cover;
    display: block; transition: transform .5s ease;
}
.port-card:hover .port-card-img { transform: scale(1.05); }
.port-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(5,11,26,0.92) 0%, rgba(5,11,26,0.2) 50%, transparent 100%);
    opacity: 0; transition: opacity .3s ease;
    display: flex; align-items: flex-end; padding: 24px;
}
.port-card:hover .port-card-overlay { opacity: 1; }
.port-card-info { width: 100%; }
.port-card-info h4 {
    font-family: Yekan-Bakh-Bold; font-size: 17px; color: #fff; margin-bottom: 4px;
}
.port-card-info span { font-size: 13px; color: rgba(255,255,255,0.65); }
.port-card-info .port-link {
    position: absolute; top: 16px; left: 16px;
    width: 40px; height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 16px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: background .3s;
    text-decoration: none;
}
.port-card-info .port-link:hover { background: #0069BC; }

.port-card-footer {
    padding: 16px 20px;
    display: flex; align-items: center; justify-content: space-between;
}
.port-card-footer h5 {
    font-family: Yekan-Bakh-Bold; font-size: 15px; color: #1a2035; margin: 0;
}
.port-card-cat {
    font-size: 12px;
    background: rgba(0,105,188,0.08);
    color: #0069BC;
    padding: 4px 12px; border-radius: 50px;
    font-family: Yekan-Bakh-Bold;
    white-space: nowrap;
}
.port-empty {
    text-align: center; padding: 80px 20px; color: #7a8499; font-size: 16px;
    display: none;
}
.port-empty i { font-size: 48px; color: #cdd5e0; display: block; margin-bottom: 16px; }
