/* ============================================================
   projects page — unique styles (shared rules live in blog-base.css)
   ============================================================ */

html {
    scroll-behavior: smooth;
}

:root {
    --premium-black: #0a0a0a;
    --premium-dark: #121212;
    --accent-color: #ffffff;
    --glass-white: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition-smooth: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-banner {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 0;
    padding: 130px 0 80px;
    color: white;
    position: relative;
}

.hero-breadcrumb {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    z-index: 10;
}

.hero-breadcrumb a {
    color: rgba(255,255,255,0.75) !important;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.25s ease;
}

.hero-breadcrumb a:hover {
    color: #ffffff !important;
}

.hero-breadcrumb .bc-sep {
    color: rgba(255,255,255,0.4);
    margin: 0 8px;
}

.hero-breadcrumb .bc-current {
    color: rgba(255,255,255,0.95);
    font-weight: 700;
}

.hero-title {
    font-size: 4.2rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-description {
    max-width: 65%;
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 35px;
}

.featured-project-section {
    padding: 120px 0;
    background: #fdfdfd;
}

.featured-box {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: stretch;
}

/* full-height rounded image card (projects uses a two-column grid, not a flush box) */
.featured-image-side {
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    min-height: 380px;
}

.premium-project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 40px;
    padding: 60px 0;
}

.premium-project-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: var(--transition-smooth);
}

.premium-project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.08);
}

.project-img-container {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.project-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.premium-project-card:hover .project-img-container img {
    transform: scale(1.1);
}

.project-cat-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.premium-filter-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin-bottom: 50px;
}

.premium-filter-btn {
    border: 1px solid #eee;
    background: #fff;
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.premium-filter-btn.active, .premium-filter-btn:hover {
    background: var(--premium-black);
    color: #fff;
    border-color: var(--premium-black);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.inquiry-modal .modal-content {
    border-radius: 24px;
    overflow: hidden;
}

.premium-filter-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 6px;
    gap: 8px;
}

.premium-filter-nav::-webkit-scrollbar {
    display: none;
}

.premium-filter-item {
    flex-shrink: 0;
}

.premium-filter-btn {
    white-space: nowrap;
    padding: 10px 22px;
    font-size: 0.82rem;
}

:root {
    --brand-blue: #2563eb;
    --deep-slate: #0f172a;
    --soft-gray: #64748b;
    --glass-white: rgba(255, 255, 255, 0.7);
}

.premium-solutions-section {
    padding: 100px 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.bg-blur-circle {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    filter: blur(60px);
}

.solutions-card-wrapper {
    background: var(--glass-white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.solutions-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    min-height: 400px;
}

.brand-panel {
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    border-right: 1px solid #e2e8f0;
}

.brand-logo-modern {
    width: 140px;
    filter: grayscale(1) opacity(0.8);
    margin-bottom: 40px;
}

.experience-tag {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tag-number {
    font-size: 3rem;
    font-weight: 800;
    color: #066e78;
    line-height: 1;
}

.tag-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--deep-slate);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.content-panel {
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.display-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--deep-slate);
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(90deg, #066e78, #09c3d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-primary {
    color: #066e78 !important;
}

.description-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--soft-gray);
    max-width: 600px;
}

.btn-minimal {
    display: inline-flex;
    align-items: center;
    margin-top: 30px;
    color: var(--deep-slate);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-minimal:hover {
    color: var(--brand-blue);
    transform: translateX(5px);
}

:root {
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-border: rgba(255, 255, 255, 0.7);
    --text-dark: #1e293b;
    --accent-blue: #3b82f6;
}

.glass-showcase-section {
    padding: 120px 0;
    background: #f0f4f8;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.glass-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: #bfdbfe;
    top: -100px;
    right: 10%;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: #ddd6fe;
    bottom: -50px;
    left: 15%;
}

.glass-main-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.glass-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: stretch;
}

.featured-project-section {
    padding: 40px 0 100px;
    background: transparent;
}

.featured-box {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: stretch;
    min-height: 650px;
    margin: 0 15px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-tag {
    background: #f1f5f9;
    color: #334155;
    padding: 6px 15px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.premium-blog-section {
    padding: 100px 0;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    overflow-x: hidden;
}

.kb-main-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 32px;
    padding: 60px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.blog-split-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
}

.blog-info-panel h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0f172a;
    margin: 16px 0 18px;
    letter-spacing: -1px;
}

.blog-info-panel p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.75;
}

.sub-badge {
    display: inline-block;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #066D77;
    background: rgba(6, 109, 119, 0.08);
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid rgba(6, 109, 119, 0.18);
}

.kb-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    padding: 13px 30px;
    background: #0f172a;
    color: #ffffff;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.kb-btn:hover {
    background: #066D77;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6,109,119,0.25);
}

.blog-list-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    text-decoration: none;
}

.blog-list-item:hover {
    border-color: #066D77;
    box-shadow: 0 6px 20px rgba(6,109,119,0.08);
    transform: translateX(6px);
}

.blog-item-content {
    flex: 1;
    min-width: 0;
}

.blog-item-content h3 {
    color: #1e293b;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color 0.25s ease;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.blog-list-item:hover h3 {
    color: #066D77;
}

.blog-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 0.8rem;
}

.meta-dot {
    width: 5px;
    height: 5px;
    background: #066D77;
    border-radius: 50%;
    flex-shrink: 0;
}

.blog-item-thumb {
    width: 88px;
    height: 88px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-list-item:hover .blog-item-thumb img {
    transform: scale(1.08);
}

@media (max-width: 767px) {
    .hero-breadcrumb {
        bottom: 24px;
        font-size: 0.75rem;
    }
    .service-banner {
        background-attachment: scroll;
        min-height: 70vh;
        padding: 110px 0 56px;
        margin-top: 0;
    }
    .hero-title {
        font-size: 2.6rem;
    }
    .hero-description {
        max-width: 100%;
        font-size: 1rem;
    }
    .premium-project-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 0;
    }
    .project-img-container {
        height: 220px;
    }
    .glass-showcase-section {
        padding: 48px 0;
    }
    .featured-box {
        border-radius: 16px;
        margin: 0;
    }
    .featured-image-side {
        height: 220px;
    }
    .featured-content-side {
        padding: 24px 20px 28px;
    }
    .featured-badge {
        font-size: 0.65rem;
        padding: 4px 12px;
        margin-bottom: 14px;
    }
    .featured-title {
        font-size: 1.55rem;
        margin-bottom: 14px;
    }
    .featured-desc {
        font-size: 0.9rem;
        line-height: 1.65;
        margin-bottom: 20px;
    }
    .featured-meta-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 20px;
        padding-top: 18px;
    }
    .meta-item h4 {
        margin-bottom: 10px;
    }
    .meta-list li {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    .tech-tags {
        gap: 8px;
    }
    .tech-tag {
        font-size: 0.78rem;
        padding: 5px 12px;
    }
    .btn-featured-cta {
        padding: 12px 22px;
        font-size: 0.875rem;
        gap: 10px;
    }
    .premium-blog-section {
        padding: 60px 0;
    }
    .kb-main-card {
        padding: 20px 16px;
        border-radius: 20px;
    }
    .blog-info-panel h2 {
        font-size: 1.85rem;
    }
    .blog-list-item {
        padding: 14px 12px;
        gap: 10px;
        overflow: hidden;
        max-width: 100%;
    }
    .blog-item-content {
        min-width: 0;
        flex: 1;
    }
    .blog-item-content h3 {
        font-size: 0.9rem;
    }
    .blog-item-meta {
        flex-wrap: wrap;
        gap: 4px 8px;
    }
    .blog-item-thumb {
        width: 60px;
        height: 60px;
        border-radius: 10px;
        flex-shrink: 0;
    }
    .display-title {
        font-size: 1.9rem;
    }
    .content-panel {
        padding: 28px 24px;
    }
    .brand-panel {
        padding: 30px;
    }
    .tag-number {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .featured-box {
        grid-template-columns: 1fr;
    }
    .solutions-banner {
        flex-direction: column;
        padding: 40px;
        text-align: center;
    }
    .service-banner {
        min-height: 70vh;
        padding: 120px 0 70px;
        margin-top: 0;
    }
    .blog-split-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .kb-main-card {
        padding: 36px 30px;
    }
}

@media (min-width: 768px) and (max-width: 1100px) {
    .premium-project-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 991px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    .brand-panel {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding: 40px;
    }
    .content-panel {
        padding: 40px;
        text-align: center;
    }
    .description-text {
        margin: 0 auto;
    }
}

@media (max-width: 1200px) {
    .featured-box {
        flex-direction: column;
        min-height: auto;
    }
    .featured-image-side {
        height: 360px;
    }
    .featured-title {
        font-size: 2.2rem;
    }
    .featured-content-side {
        padding: 48px;
    }
}

@media (max-width: 1024px) {
    .glass-grid {
        grid-template-columns: 1fr;
    }
    .glass-content-side {
        padding: 40px;
    }
}

