/* ==========================================================================
   Print Farm - Modern Corporate B2B Design System
   Brand Colors: Primary Blue (#0284c7), Vivid Green (#10b981), Slate Dark (#0f172a)
   ========================================================================== */

:root {
    --brand-primary: #0284c7;
    --brand-primary-hover: #0369a1;
    --brand-primary-light: #e0f2fe;
    --brand-green: #10b981;
    --brand-green-hover: #059669;
    --brand-green-light: #d1fae5;
    --dark-slate: #0f172a;
    --darker-slate: #090e17;
    --card-slate: #1e293b;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-subtle: #f1f5f9;
    --border-color: #e2e8f0;
    --border-dark: #334155;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 30px rgba(2, 132, 199, 0.25);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base & Typography */
body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: #ffffff;
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-slate);
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* Utility Helpers */
.text-primary-accent { color: var(--brand-primary) !important; }
.text-green-accent { color: var(--brand-green) !important; }
.bg-dark-slate { background-color: var(--dark-slate) !important; }
.bg-darker-slate { background-color: var(--darker-slate) !important; }
.bg-slate-card { background-color: var(--card-slate) !important; }
.bg-subtle { background-color: var(--bg-subtle) !important; }
.bg-light-surface { background-color: var(--bg-light) !important; }

/* Topbar */
.topbar {
    background-color: var(--darker-slate);
    color: #94a3b8;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar-link {
    color: #cbd5e1;
}
.topbar-link:hover {
    color: #ffffff;
}
.badge-turnaround {
    background: linear-gradient(135deg, #0284c7 0%, #10b981 100%);
    color: #ffffff;
    padding: 0.35rem 0.65rem;
    font-weight: 600;
    border-radius: 20px;
    font-size: 0.75rem;
}

/* Header & Brand */
.main-header {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.logo-box {
    width: 44px;
    height: 44px;
    background: #ffffff;
    border-radius: 10px;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.brand-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.brand-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #ffffff;
    line-height: 1.1;
}
.brand-subtitle {
    font-size: 0.72rem;
    color: var(--brand-green);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Navbar Links */
.navbar-nav .nav-link {
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.6rem 1rem !important;
    border-radius: 8px;
    transition: var(--transition);
}
.navbar-nav .nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}
.navbar-nav .nav-link.active {
    color: #ffffff !important;
    background: rgba(2, 132, 199, 0.2);
    border: 1px solid rgba(2, 132, 199, 0.4);
    font-weight: 600;
}

/* Brand Buttons */
.btn-brand-primary {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #0369a1 100%);
    color: #ffffff;
    font-weight: 600;
    padding: 0.7rem 1.4rem;
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-brand-primary:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}

.btn-brand-outline {
    background: transparent;
    color: #ffffff;
    font-weight: 600;
    padding: 0.7rem 1.4rem;
    border-radius: 10px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-brand-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-brand-green {
    background: linear-gradient(135deg, var(--brand-green) 0%, #059669 100%);
    color: #ffffff;
    font-weight: 600;
    padding: 0.7rem 1.4rem;
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    transition: var(--transition);
}
.btn-brand-green:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-wrapper {
    position: relative;
    background: radial-gradient(circle at 80% 20%, #1e293b 0%, #0f172a 60%, #090e17 100%);
    color: #ffffff;
    padding: 5rem 0 6rem 0;
    overflow: hidden;
}
.hero-wrapper::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #38bdf8;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: #ffffff;
}
.hero-title span {
    background: linear-gradient(135deg, #38bdf8 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-lead {
    font-size: 1.15rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 580px;
}
.hero-card-preview {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-card-preview img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: var(--transition);
}
.hero-floating-stat {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    color: #ffffff;
}

/* Page Header (Subpages) */
.subpage-hero {
    background: radial-gradient(circle at 50% 50%, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    padding: 4rem 0 3.5rem 0;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.subpage-hero h1 {
    color: #ffffff;
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
}
.subpage-hero p {
    color: #94a3b8;
    font-size: 1.1rem;
}
.breadcrumb-custom {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.85rem;
    color: #94a3b8;
}
.breadcrumb-custom a {
    color: #38bdf8;
}

/* Stats Counter Section */
.stats-bar {
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}
.stat-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(2, 132, 199, 0.12);
    border-color: var(--brand-primary);
}
.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--brand-primary-light);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}
.stat-icon.green {
    background: var(--brand-green-light);
    color: var(--brand-green);
}
.stat-number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark-slate);
    font-family: var(--font-heading);
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Section Headings */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem auto;
}
.section-tag {
    display: inline-block;
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}
.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark-slate);
    line-height: 1.2;
    margin-bottom: 0.75rem;
}
.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Modern Cards */
.feature-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-primary);
}
.card-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--brand-primary-light);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}
.card-icon-wrap.green {
    background: var(--brand-green-light);
    color: var(--brand-green);
}
.feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

/* Technique Cards */
.technique-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.technique-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-primary);
}
.technique-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--brand-primary), var(--brand-green));
    opacity: 0;
    transition: var(--transition);
}
.technique-card:hover::before {
    opacity: 1;
}
.technique-number {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--brand-primary);
    background: var(--brand-primary-light);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 0.75rem;
}
.technique-card h5 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}
.technique-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Client Brand Cards (Monochrome Typography Wall) */
.client-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.client-card:hover {
    border-color: var(--dark-slate);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background: var(--dark-slate);
}
.client-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark-slate);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: var(--transition);
}
.client-card:hover .client-name {
    color: #ffffff;
}
.client-factory {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
    transition: var(--transition);
}
.client-card:hover .client-factory {
    color: var(--brand-green);
}

/* Factory Spec Table / Equipment List */
.table-custom {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}
.table-custom thead th {
    background-color: var(--dark-slate);
    color: #ffffff;
    font-weight: 600;
    padding: 1rem 1.25rem;
    border: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.table-custom tbody td {
    padding: 1rem 1.25rem;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    font-size: 0.95rem;
    vertical-align: middle;
}
.table-custom tbody tr:hover td {
    background-color: var(--bg-light);
}

/* Gallery Items */
.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    background: var(--dark-slate);
}
.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.08);
    opacity: 0.85;
}
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 100%);
    color: #ffffff;
    transform: translateY(10px);
    opacity: 0;
    transition: var(--transition);
}
.gallery-item:hover .gallery-caption {
    transform: translateY(0);
    opacity: 1;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--dark-slate) 0%, #1e293b 100%);
    border-radius: var(--radius-lg);
    padding: 3.5rem 3rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.cta-banner::after {
    content: "";
    position: absolute;
    right: -10%;
    bottom: -50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

/* Contact Info Box */
.contact-info-card {
    background: var(--dark-slate);
    color: #ffffff;
    border-radius: var(--radius-md);
    padding: 2.5rem;
    height: 100%;
}
.contact-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}
.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(2, 132, 199, 0.15);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Form Styles */
.form-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}
.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: var(--transition);
}
.form-control:focus, .form-select:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}

/* Footer elements */
.logo-box-footer {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border-radius: 8px;
    padding: 4px;
}
.footer-heading {
    font-size: 1.05rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.footer-links li a {
    color: #94a3b8;
    transition: var(--transition);
}
.footer-links li a:hover {
    color: #ffffff;
    padding-left: 4px;
}
.hover-primary:hover {
    color: var(--brand-primary) !important;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.4rem;
    }
    .stats-bar {
        margin-top: 2rem;
    }
    .cta-banner {
        padding: 2.5rem 1.5rem;
    }
}
