/*
Theme Name: graphicsnexus.com
Theme URI: https://graphicsnexus.com
Author: MD Usuf Ali (Founder & CEO)
Author URI: https://graphicsnexus.com
Description: Complete agency-grade WordPress theme for GraphicsNexus photo editing, clipping path, retouching, and graphic design studio. Includes proposal-style Blog page with text & image articles, interactive before/after slider, service tabs, portfolio gallery, team showcase, and Free Trial upload workspace.
Version: 5.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ukgraphics
Tags: agency, portfolio, photography, e-commerce, business, custom-logo, custom-menu, team, blog
*/

:root {
    --navy-dark: #0B192C;
    --navy-card: #13253D;
    --coral: #FF5733;
    --coral-hover: #E04322;
    --coral-soft: #FFF1EE;
    --bg-slate: #F8FAFC;
    --text-main: #0F172A;
    --text-muted: #475569;
    --border-light: #E2E8F0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    background-color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

.btn-coral {
    background-color: var(--coral);
    color: #FFFFFF;
    box-shadow: 0 10px 25px -5px rgba(255, 87, 51, 0.35);
}

.btn-coral:hover {
    background-color: var(--coral-hover);
    transform: translateY(-2px);
}

.btn-outline-navy {
    background-color: #FFFFFF;
    color: var(--navy-dark);
    border-color: var(--border-light);
}

.btn-outline-navy:hover {
    border-color: var(--navy-dark);
    background-color: var(--bg-slate);
}

.btn-outline-white {
    background-color: transparent;
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background-color: #FFFFFF;
    color: var(--navy-dark);
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--coral);
    background: var(--coral-soft);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(1.85rem, 3.2vw, 2.65rem);
    font-weight: 800;
    color: var(--navy-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 650px;
}

/* Top Utility Bar */
.top-bar {
    background-color: var(--navy-dark);
    color: #CBD5E1;
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar a {
    color: #E2E8F0;
    text-decoration: none;
    transition: color 0.2s;
}

.top-bar a:hover {
    color: var(--coral);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.14);
    color: #34D399;
    padding: 4px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.78rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
    box-shadow: 0 10px 30px -10px rgba(11, 25, 44, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--navy-dark), #1E3A5F);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral);
    font-weight: 800;
}

.brand-text-wrap {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy-dark);
    line-height: 1.1;
}

.brand-name span {
    color: var(--coral);
}

.brand-tagline {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--navy-dark);
    font-weight: 600;
    font-size: 0.92rem;
    transition: color 0.2s;
}

.nav-menu a:hover, .nav-menu a.active-link {
    color: var(--coral);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--navy-dark);
    cursor: pointer;
}

/* Hero */
.hero-section {
    padding: 72px 0 110px;
    background: radial-gradient(circle at 85% 20%, rgba(255, 87, 51, 0.07), transparent 45%),
                linear-gradient(180deg, #FFFFFF 0%, var(--bg-slate) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.4rem, 4.3vw, 3.5rem);
    font-weight: 800;
    color: var(--navy-dark);
    line-height: 1.14;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--coral);
}

.hero-desc {
    font-size: 1.12rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy-dark);
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-trust-item svg {
    color: var(--coral);
}

/* Before/After Slider */
.comparison-card {
    background: #FFFFFF;
    padding: 18px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(11, 25, 44, 0.14);
    border: 1px solid var(--border-light);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 390px;
    border-radius: 16px;
    overflow: hidden;
    user-select: none;
    cursor: ew-resize;
    background: #E2E8F0;
}

.slider-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-before {
    filter: contrast(0.78) saturate(0.55) brightness(0.92) sepia(0.15);
    clip-path: inset(0 50% 0 0);
}

.slider-label {
    position: absolute;
    top: 16px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    z-index: 3;
}

.label-before {
    left: 16px;
    background: rgba(15, 23, 42, 0.75);
    color: #FFFFFF;
}

.label-after {
    right: 16px;
    background: var(--coral);
    color: #FFFFFF;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: #FFFFFF;
    z-index: 4;
    transform: translateX(-50%);
    pointer-events: none;
}

.slider-knob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--coral);
    color: #FFFFFF;
    border: 3px solid #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    font-weight: 800;
    font-size: 0.85rem;
}

.slider-tabs {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    justify-content: center;
}

.slider-tab-btn {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--border-light);
    background: var(--bg-slate);
    color: var(--navy-dark);
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s;
}

.slider-tab-btn.active {
    background: var(--navy-dark);
    color: #FFFFFF;
    border-color: var(--navy-dark);
}

/* Value Cards */
.value-cards-section {
    margin-top: -54px;
    position: relative;
    z-index: 10;
    padding-bottom: 72px;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-card {
    background: #FFFFFF;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 20px 35px -15px rgba(11, 25, 44, 0.1);
    border: 1px solid var(--border-light);
    transition: transform 0.25s ease;
}

.value-card:hover {
    transform: translateY(-6px);
}

.value-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--coral-soft);
    color: var(--coral);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.value-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 10px;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* About */
.about-section {
    padding: 84px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 28px;
}

.pillar-box {
    background: var(--bg-slate);
    padding: 22px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
}

.pillar-box h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pillar-box h4 span {
    color: var(--coral);
}

.pillar-box p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.about-checklist {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 26px 0 32px;
}

.about-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--navy-dark);
}

.about-checklist li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--coral-soft);
    color: var(--coral);
    font-weight: 800;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Services */
.services-section {
    padding: 90px 0;
    background-color: var(--bg-slate);
}

.section-header-center {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 44px;
}

.service-tabs-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 44px;
}

.service-tab-btn {
    padding: 13px 28px;
    border-radius: 999px;
    border: 1px solid var(--border-light);
    background: #FFFFFF;
    color: var(--navy-dark);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.service-tab-btn.active {
    background: var(--coral);
    color: #FFFFFF;
    border-color: var(--coral);
    box-shadow: 0 10px 20px -5px rgba(255, 87, 51, 0.35);
}

.service-panel {
    display: none;
}

.service-panel.active {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px -15px rgba(11, 25, 44, 0.12);
    border-color: rgba(255, 87, 51, 0.35);
}

.price-badge {
    display: inline-block;
    background: var(--coral-soft);
    color: var(--coral);
    font-weight: 800;
    font-size: 0.82rem;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.93rem;
    margin-bottom: 22px;
}

.service-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.link-coral {
    color: var(--coral);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
}

.link-coral:hover {
    text-decoration: underline;
}

/* Portfolio */
.portfolio-section {
    padding: 92px 0;
    background-color: #FFFFFF;
}

.portfolio-filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 42px;
}

.portfolio-filter-btn {
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid var(--border-light);
    background: var(--bg-slate);
    color: var(--navy-dark);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s;
}

.portfolio-filter-btn.active {
    background: var(--navy-dark);
    color: #FFFFFF;
    border-color: var(--navy-dark);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.portfolio-item-card {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: 0 12px 28px -12px rgba(11, 25, 44, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.portfolio-item-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px -14px rgba(11, 25, 44, 0.16);
}

.portfolio-thumb-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #F1F5F9;
}

.portfolio-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-item-card:hover .portfolio-thumb-wrap img {
    transform: scale(1.05);
}

.portfolio-cat-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(11, 25, 44, 0.84);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 12px;
    border-radius: 999px;
}

.portfolio-card-body {
    padding: 22px;
}

.portfolio-card-body h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 6px;
}

.portfolio-card-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.portfolio-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--coral);
    border-top: 1px solid var(--border-light);
    padding-top: 12px;
}

/* Team */
.team-section {
    padding: 92px 0;
    background-color: var(--bg-slate);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: 0 14px 30px -12px rgba(11, 25, 44, 0.08);
    transition: transform 0.25s ease;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-6px);
}

.team-photo-box {
    height: 250px;
    overflow: hidden;
    background: #E2E8F0;
}

.team-photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.team-info {
    padding: 22px 18px;
}

.team-info h3 {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 4px;
}

.team-role {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--coral);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.team-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Navy Portal & Stats */
.navy-section {
    background-color: var(--navy-dark);
    color: #FFFFFF;
    padding: 96px 0;
}

.portal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 72px;
}

.portal-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.portal-feature-item {
    background: var(--navy-card);
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 600;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.portal-feature-item span {
    color: var(--coral);
    font-weight: 800;
}

.portal-mockup {
    background: var(--navy-card);
    border-radius: 22px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
}

.mockup-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.badge-done {
    background: rgba(16, 185, 129, 0.18);
    color: #34D399;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-qc {
    background: rgba(255, 87, 51, 0.2);
    color: #FF8A70;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 56px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.stat-number {
    font-size: clamp(2.2rem, 3.8vw, 3rem);
    font-weight: 800;
    color: var(--coral);
    line-height: 1.1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: #CBD5E1;
    font-weight: 600;
}

/* Industries & Process */
.industries-section {
    padding: 90px 0;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    margin-bottom: 84px;
}

.industry-card {
    background: var(--bg-slate);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 26px 16px;
    text-align: center;
    font-weight: 800;
    color: var(--navy-dark);
    transition: all 0.25s;
}

.industry-card:hover {
    background: #FFFFFF;
    border-color: var(--coral);
    transform: translateY(-4px);
    box-shadow: 0 14px 28px -10px rgba(11, 25, 44, 0.1);
}

.industry-emoji {
    font-size: 1.9rem;
    display: block;
    margin-bottom: 10px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.process-step {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 34px 28px;
    position: relative;
}

.step-num {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--navy-dark);
    color: #FFFFFF;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.process-step h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 10px;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.94rem;
}

/* Testimonials */
.testimonials-section {
    padding: 90px 0;
    background: var(--bg-slate);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
}

.stars {
    color: #F59E0B;
    font-size: 1.05rem;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.testimonial-card p {
    color: var(--text-main);
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-style: italic;
}

.client-meta strong {
    display: block;
    color: var(--navy-dark);
    font-size: 0.98rem;
}

.client-meta span {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--coral) 0%, #E04322 100%);
    color: #FFFFFF;
    padding: 68px 0;
    text-align: center;
}

.cta-banner h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 14px;
}

.cta-banner p {
    font-size: 1.08rem;
    opacity: 0.94;
    max-width: 620px;
    margin: 0 auto 28px;
}

/* Proposal Blog Page & Single Post */
.blog-hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, #162E4D 100%);
    color: #FFFFFF;
    padding: 72px 0 112px;
    text-align: center;
}

.blog-hero h1 {
    font-size: clamp(2.15rem, 4.1vw, 3.1rem);
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.15;
}

.blog-hero p {
    color: #CBD5E1;
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.08rem;
}

.blog-main-section {
    margin-top: -64px;
    padding-bottom: 96px;
    background: var(--bg-slate);
}

.blog-featured-card {
    background: #FFFFFF;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: 0 24px 48px -16px rgba(11, 25, 44, 0.14);
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    margin-bottom: 36px;
}

.blog-featured-media {
    min-height: 360px;
    background: #E2E8F0;
    overflow: hidden;
}

.blog-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-featured-body {
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-featured-body h2 {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 800;
    color: var(--navy-dark);
    line-height: 1.25;
    margin-bottom: 14px;
}

.blog-featured-body h2 a {
    color: inherit;
    text-decoration: none;
}

.blog-featured-body h2 a:hover {
    color: var(--coral);
}

.blog-filter-strip {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
}

.blog-filter-pill {
    padding: 9px 20px;
    border-radius: 999px;
    border: 1px solid var(--border-light);
    background: #FFFFFF;
    color: var(--navy-dark);
    font-weight: 700;
    font-size: 0.86rem;
    cursor: pointer;
    transition: all 0.2s;
}

.blog-filter-pill.active,
.blog-filter-pill:hover {
    background: var(--navy-dark);
    color: #FFFFFF;
    border-color: var(--navy-dark);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-post-card {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: 0 12px 28px -12px rgba(11, 25, 44, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px -14px rgba(11, 25, 44, 0.15);
}

.blog-thumb {
    height: 220px;
    overflow: hidden;
    background: #E2E8F0;
}

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

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

.blog-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--coral);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.blog-card-content h2,
.blog-card-content h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--navy-dark);
    line-height: 1.35;
    margin-bottom: 10px;
}

.blog-card-content h2 a,
.blog-card-content h3 a {
    color: inherit;
    text-decoration: none;
}

.blog-card-content h2 a:hover,
.blog-card-content h3 a:hover {
    color: var(--coral);
}

.blog-excerpt {
    font-size: 0.93rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
    font-size: 0.82rem;
    color: #64748B;
    font-weight: 600;
}

.blog-pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    color: var(--navy-dark);
    font-weight: 700;
    text-decoration: none;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
    background: var(--coral);
    color: #FFFFFF;
    border-color: var(--coral);
}

.single-article-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 44px;
    max-width: 880px;
    margin: 0 auto;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 40px -15px rgba(11, 25, 44, 0.08);
}

.single-article-body p {
    margin-bottom: 18px;
    color: var(--text-main);
    font-size: 1.02rem;
}

.single-article-body h2,
.single-article-body h3 {
    color: var(--navy-dark);
    margin: 28px 0 12px;
    font-weight: 800;
}

/* Free Trial Page */
.trial-page-hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, #162E4D 100%);
    color: #FFFFFF;
    padding: 68px 0 110px;
    text-align: center;
}

.trial-page-hero h1 {
    font-size: clamp(2.1rem, 4vw, 3.1rem);
    font-weight: 800;
    margin-bottom: 14px;
}

.trial-page-hero p {
    color: #CBD5E1;
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.08rem;
}

.trial-workspace {
    margin-top: -64px;
    padding-bottom: 90px;
}

.trial-layout-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 32px;
    align-items: start;
}

.trial-form-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(11, 25, 44, 0.14);
    border: 1px solid var(--border-light);
}

.trial-sidebar-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 35px -15px rgba(11, 25, 44, 0.08);
    border: 1px solid var(--border-light);
    position: sticky;
    top: 104px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    font-family: inherit;
    font-size: 0.95rem;
    background: #FFFFFF;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--coral);
    box-shadow: 0 0 0 4px rgba(255, 87, 51, 0.12);
}

.service-pills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.service-pill-option {
    position: relative;
}

.service-pill-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.service-pill-label {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 10px;
    border-radius: 12px;
    border: 1.5px solid var(--border-light);
    background: var(--bg-slate);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy-dark);
    cursor: pointer;
    transition: all 0.2s;
    height: 100%;
}

.service-pill-option input:checked + .service-pill-label {
    background: var(--coral-soft);
    border-color: var(--coral);
    color: var(--coral);
}

.upload-dropzone {
    border: 2px dashed #CBD5E1;
    border-radius: 18px;
    background: var(--bg-slate);
    padding: 36px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
    border-color: var(--coral);
    background: var(--coral-soft);
}

.upload-icon-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--coral);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 8px 20px rgba(11, 25, 44, 0.08);
}

.upload-dropzone h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 6px;
}

.upload-dropzone p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.upload-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.preview-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    background: #F1F5F9;
    aspect-ratio: 1 / 1;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-file-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 12px;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--navy-dark);
}

.preview-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(11, 25, 44, 0.85);
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1;
}

.preview-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(11, 25, 44, 0.78);
    color: #FFFFFF;
    font-size: 0.72rem;
    padding: 5px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-perks {
    list-style: none;
    margin: 20px 0;
}

.sidebar-perks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.92rem;
    color: var(--text-main);
}

.sidebar-perks li span {
    color: var(--coral);
    font-weight: 800;
}

/* Footer */
.site-footer {
    background-color: var(--navy-dark);
    color: #94A3B8;
    padding: 72px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-col h4 {
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--coral);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.86rem;
}

@media (max-width: 1080px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-grid,
    .about-grid,
    .portal-grid,
    .trial-layout-grid,
    .portfolio-grid,
    .blog-grid,
    .blog-featured-card {
        grid-template-columns: 1fr;
    }
    .value-grid,
    .service-panel.active,
    .process-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .nav-menu {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
}

@media (max-width: 640px) {
    .industries-grid,
    .service-pills-grid,
    .upload-preview-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-row-2,
    .footer-grid,
    .about-checklist,
    .pillars-grid,
    .portal-features {
        grid-template-columns: 1fr;
    }
    .trial-form-card,
    .single-article-card,
    .blog-featured-body {
        padding: 26px 20px;
    }
}


/* GraphicsNexus Header Enhancements */
.top-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    white-space: nowrap;
}

.top-social-links {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.top-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #E2E8F0;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
}

.top-social-links a:hover {
    background: var(--coral);
    color: #FFFFFF;
}

.brand-logo img,
.custom-logo {
    max-height: 54px;
    width: auto;
    display: block;
}

.brand-tagline {
    display: none;
}



/* Portfolio Carousel, Dual Next/Prev Controls & Before/After Card Slider */
.portfolio-filter-nav-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 38px;
    width: 100%;
    max-width: 100%;
}

.portfolio-filter-nav-wrap .portfolio-filter-bar {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 10px;
    margin-bottom: 0;
    padding: 4px 2px;
    flex: 1 1 auto;
    min-width: 0;
}

.portfolio-filter-nav-wrap .portfolio-filter-bar::-webkit-scrollbar {
    display: none;
}

.portfolio-filter-nav-wrap .portfolio-filter-btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

.portfolio-nav-arrow {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--border-light);
    background: #FFFFFF;
    color: var(--navy-dark);
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px -6px rgba(11, 25, 44, 0.14);
    transition: all 0.2s ease;
}

.portfolio-nav-arrow:hover {
    background: var(--navy-dark);
    color: #FFFFFF;
    border-color: var(--navy-dark);
}

.portfolio-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.portfolio-carousel-wrap .portfolio-grid {
    width: 100%;
}

.portfolio-side-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid var(--border-light);
    background: #FFFFFF;
    color: var(--navy-dark);
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 26px -6px rgba(11, 25, 44, 0.22);
    transition: all 0.2s ease;
}

.portfolio-side-arrow:hover {
    background: var(--coral);
    color: #FFFFFF;
    border-color: var(--coral);
}

.portfolio-prev {
    left: -20px;
}

.portfolio-next {
    right: -20px;
}

.portfolio-pagination-bar {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.portfolio-page-btn {
    padding: 9px 20px;
    border-radius: 999px;
    border: 1px solid var(--border-light);
    background: var(--bg-slate);
    color: var(--navy-dark);
    font-weight: 700;
    font-size: 0.86rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.portfolio-page-btn:hover {
    background: var(--navy-dark);
    color: #FFFFFF;
    border-color: var(--navy-dark);
}

.portfolio-page-info {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* Before / After Inside Each Portfolio Card */
.portfolio-ba-card {
    cursor: ew-resize;
    user-select: none;
}

.portfolio-ba-card .portfolio-after-img,
.portfolio-ba-card .portfolio-before-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.portfolio-ba-card .portfolio-after-img {
    filter: contrast(1.08) saturate(1.14) brightness(1.04);
}

.portfolio-ba-card .portfolio-before-img {
    filter: contrast(0.74) saturate(0.45) brightness(0.88) sepia(0.2);
    clip-path: inset(0 50% 0 0);
}

.portfolio-item-card:hover .portfolio-ba-card img {
    transform: none;
}

.portfolio-ba-pill {
    position: absolute;
    bottom: 12px;
    z-index: 4;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    pointer-events: none;
}

.portfolio-ba-before-tag {
    left: 12px;
    background: rgba(15, 23, 42, 0.82);
    color: #FFFFFF;
}

.portfolio-ba-after-tag {
    right: 12px;
    background: var(--coral);
    color: #FFFFFF;
}

.portfolio-ba-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #FFFFFF;
    z-index: 5;
    transform: translateX(-50%);
    pointer-events: none;
}

.portfolio-ba-knob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--coral);
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
}

@media (max-width: 992px) {
    .portfolio-prev {
        left: 6px;
    }
    .portfolio-next {
        right: 6px;
    }
}
