:root {
    --ink: #f4f7fb;
    --muted: #a7b3c4;
    --panel: rgba(7, 17, 31, 0.82);
    --panel-soft: rgba(12, 27, 46, 0.72);
    --line: rgba(148, 163, 184, 0.18);
    --accent: #20d9e8;
    --accent-strong: #0ea5e9;
    --page-width: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #06101b;
    color: #e0e6ed;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background: linear-gradient(rgba(3, 12, 22, 0.62), rgba(3, 12, 22, 0.8)), url('../images/bg.png') center / cover no-repeat;
    opacity: 0.9;
    pointer-events: none;
}

/* Neural Network Canvas Styling */
#neural-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: transparent;
}

/* Header & Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px max(5%, calc((100% - var(--page-width)) / 2));
    background: rgba(4, 13, 24, 0.88);
    backdrop-filter: blur(18px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.28);
    transition: transform 0.35s ease;
}

body.nav-hidden header {
    transform: translateY(-100%);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--ink);
    text-decoration: none;
}

.logo img {
    width: 70px;
    height: 38px;
    object-fit: contain;
    filter: invert(1);
}

.logo span {
    color: var(--accent);
}

nav a {
    color: #c6d0dc;
    text-decoration: none;
    margin-left: 4px;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

nav a:hover {
    color: var(--accent);
    background: rgba(32, 217, 232, 0.08);
    border-color: rgba(32, 217, 232, 0.25);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100%, var(--page-width));
    margin: 0 auto;
    padding: 150px 5% 90px;
    gap: 8%;
    min-height: 100vh;
}

.hero-content {
    max-width: 820px;
}

.hero-content h1 {
    font-size: clamp(2.6rem, 5vw, 4.6rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 22px;
    color: var(--ink);
    font-weight: 700;
}

.highlight {
    color: var(--accent);
    text-shadow: 0 0 22px rgba(32, 217, 232, 0.25);
}

.tagline {
    max-width: 590px;
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 28px;
    font-weight: bolder;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 30px;
    width: 820px;
}

.social-link {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 315px;
    height: 70px;
    padding: 8px 20px 8px 10px;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    border: 3px solid;
    border-radius: 46px 42px 46px 42px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 32%) padding-box,
        linear-gradient(135deg, rgba(5, 18, 38, 0.96), rgba(8, 26, 48, 0.82)) padding-box;
    box-shadow:
        inset 0 0 24px rgba(255, 255, 255, 0.06),
        0 12px 30px rgba(0, 0, 0, 0.28);
    transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
}

.social-link::before,
.social-link::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.social-link::before {
    inset: 8px;
    border: 1px solid currentColor;
    border-radius: inherit;
    opacity: 0.42;
}

.social-link::after {
    width: 150px;
    height: 150px;
    right: -95px;
    top: -82px;
    border: 8px solid currentColor;
    border-radius: 50%;
    opacity: 0.18;
}

.social-link:hover {
    transform: translateY(-4px);
    filter: brightness(1.12);
}

.social-facebook {
    color: #168cff;
    border-color: #168cff;
    box-shadow:
        inset 0 0 24px rgba(22, 140, 255, 0.16),
        0 0 18px rgba(22, 140, 255, 0.35),
        0 12px 30px rgba(0, 0, 0, 0.28);
}

.social-youtube {
    color: #ff2638;
    border-color: #ff2638;
    box-shadow:
        inset 0 0 24px rgba(255, 38, 56, 0.16),
        0 0 18px rgba(255, 38, 56, 0.35),
        0 12px 30px rgba(0, 0, 0, 0.28);
}

.social-icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    margin-right: 14px;
    border-radius: 50%;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3), 0 0 14px currentColor;
}

.social-facebook .social-icon {
    background: #1877f2;
}

.social-youtube .social-icon {
    background: #ff2638;
}

.social-divider {
    position: relative;
    z-index: 1;
    flex: 0 0 3px;
    height: 40px;
    margin-right: 14px;
    background: #fff;
    box-shadow: 0 0 10px currentColor;
}

.social-label {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: clamp(19px, 1.7vw, 26px);
    line-height: 1;
    white-space: nowrap;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 21px;
    border-radius: 9px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn.primary {
    background: linear-gradient(135deg, var(--accent-strong), var(--accent));
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5);
}

.btn.secondary {
    background: transparent;
    border: 1px solid rgba(32, 217, 232, 0.65);
    color: var(--accent);
}

.btn.secondary:hover {
    background: rgba(0, 242, 254, 0.1);
}

/* Floating Photo with Glowing Aura */
.hero-img-container {
        flex: 0 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-photo {
    width: 320px;
    height: 320px;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    border: 1px solid rgba(32, 217, 232, 0.55);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45), 0 0 35px rgba(32, 217, 232, 0.14);
    animation: float 4s ease-in-out infinite;
    cursor: default;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Sections General */
section {
    width: min(100%, var(--page-width));
    margin: 0 auto;
    padding: 100px 5%;
}

section h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    text-align: center;
    margin-bottom: 42px;
    color: var(--ink);
    font-weight: 600;
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

/* About Section */
.about-grid, .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.about-card, .service-box {
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 30px 28px;
    border-radius: 12px;
    backdrop-filter: blur(16px);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.about-card:hover, .service-box:hover {
    transform: translateY(-5px);
    border-color: rgba(32, 217, 232, 0.55);
    background: var(--panel-soft);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.24);
}

.about-card-link {
    color: inherit;
    text-decoration: none;
}

.service-box-link {
    color: inherit;
    text-decoration: none;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: var(--accent);
    font-size: 0.88rem;
    font-weight: 600;
}

.card-link i {
    margin: 0;
    font-size: 0.78rem;
}

.about-card i, .service-box i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 24px;
}

.about-card h3, .service-box h3 {
    margin-bottom: 12px;
    color: var(--ink);
    font-weight: 600;
}

.about-card p, .service-box p {
    color: var(--muted);
    line-height: 1.7;
}

/* Services Section */
.section-desc {
    text-align: center;
    color: var(--muted);
    margin-top: -30px;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* CV Section */
.cv-container {
    position: relative;
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 42px;
    border-radius: 12px;
    backdrop-filter: blur(16px);
}

.cv-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(var(--accent), var(--accent-strong));
}

.cv-preview {
    max-width: 900px;
}

.cv-eyebrow {
    margin: 0 0 8px;
    color: var(--accent) !important;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cv-preview h3 {
    margin-bottom: 28px;
    color: var(--ink);
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.cv-preview h3 span {
    color: var(--accent);
}

.cv-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 34px;
    border-top: 1px solid var(--line);
}

.cv-preview p {
    margin: 0;
    color: var(--muted);
}

.cv-details p {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
}

.cv-details strong {
    color: var(--ink);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cv-details span {
    line-height: 1.5;
}

.cv-buttons {
    margin-top: 25px;
}

.lab-badge {
    margin-top: 20px;
    background: rgba(32, 217, 232, 0.08);
    border: 1px solid rgba(32, 217, 232, 0.35);
    padding: 15px;
    border-radius: 10px;
    color: var(--accent);
    font-weight: 500;
}

/* Contact Section */
.contact-section {
    text-align: center;
    padding-bottom: 120px;
}

.contact-eyebrow {
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-intro {
    max-width: 560px;
    margin: -24px auto 38px;
    color: var(--muted);
    line-height: 1.7;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info a {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 22px 18px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: rgba(7, 17, 31, 0.78);
    color: var(--muted);
    text-align: left;
    text-decoration: none;
    backdrop-filter: blur(12px);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.contact-info a:hover {
    transform: translateY(-4px);
    border-color: rgba(32, 217, 232, 0.55);
    background: rgba(12, 27, 46, 0.86);
}

.contact-info i {
    margin-top: 3px;
    color: var(--accent);
    font-size: 1.15rem;
}

.contact-info span {
    display: flex;
    flex-direction: column;
    gap: 7px;
    line-height: 1.45;
}

.contact-info strong {
    color: var(--ink);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-availability {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 28px;
    color: var(--muted);
    font-size: 0.88rem;
}

.contact-availability span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 12px rgba(74, 222, 128, 0.8);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    background: #03070d;
    color: #64748b;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media(max-width: 768px) {
    header {
        padding: 14px 5%;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 125px;
        gap: 48px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }

    .social-link {
        min-width: 0;
        width: min(315px, 100%);
        height: 70px;
    }

    .social-link {
        margin-right: 0;
    }

    .social-icon {
        flex-basis: 54px;
        width: 54px;
        height: 54px;
        margin-right: 12px;
        font-size: 28px;
    }

    .social-divider {
        height: 44px;
        margin-right: 14px;
    }

    .social-label {
        font-size: clamp(20px, 5vw, 26px);
    }

    .cta-buttons {
        justify-content: center;
    }

    .floating-photo {
        width: min(300px, 82vw);
        height: min(300px, 82vw);
    }

    section {
        padding: 78px 5%;
    }

    .cv-container {
        padding: 26px;
    }

    .cv-details {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    nav {
        display: none;
    }
}

@media(max-width: 420px) {
    .hero-content h1 {
        font-size: 2.45rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

}

/* Other Printing Services */
#other-printing {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: rgba(5, 15, 29, 0.94);
    border-top: 1px solid rgba(34, 211, 238, 0.16);
    border-bottom: 1px solid rgba(34, 211, 238, 0.16);
}

.other-printing-inner {
    width: min(100%, var(--page-width));
    margin: 0 auto;
    padding: 88px 5%;
}

.other-printing-eyebrow {
    margin: 0 0 9px;
    color: var(--accent);
    text-align: center;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

#other-printing h2 {
    margin-bottom: 16px;
}

.other-printing-intro {
    max-width: 620px;
    margin: 0 auto 36px;
    color: var(--muted);
    text-align: center;
    line-height: 1.7;
}

.other-printing-feature,
.other-printing-card {
    border: 1px solid rgba(34, 211, 238, 0.48);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(17, 35, 57, 0.96), rgba(7, 18, 33, 0.96));
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
}

.other-printing-feature {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: center;
    padding: clamp(24px, 4vw, 38px);
    margin-bottom: 18px;
}

.other-printing-feature-copy {
    display: flex;
    align-items: flex-start;
    gap: 17px;
}

.other-printing-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(34, 211, 238, 0.36);
    border-radius: 12px;
    background: rgba(34, 211, 238, 0.1);
    color: var(--accent);
    font-size: 1.25rem;
}

.other-printing-feature-copy h3,
.other-printing-card h3 {
    margin: 0 0 9px;
    color: var(--ink);
    font-size: 1.18rem;
    font-weight: 650;
}

.other-printing-feature-copy p,
.other-printing-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.other-printing-list,
.other-printing-card ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.other-printing-list li,
.other-printing-card li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.other-printing-list i,
.other-printing-card li::before {
    margin-top: 3px;
    color: var(--accent);
}

.other-printing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.other-printing-card {
    min-width: 0;
    padding: 22px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.other-printing-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3);
}

.other-printing-card h3 {
    margin-top: 16px;
    font-size: 1.05rem;
}

.other-printing-card p {
    min-height: 48px;
    margin-bottom: 16px;
    font-size: 0.88rem;
}

.other-printing-card ul {
    gap: 8px;
}

.other-printing-card li {
    font-size: 0.82rem;
}

.other-printing-card li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-size: 0.72rem;
    font-weight: 900;
}

.other-printing-note {
    margin: 26px 0 0;
    color: var(--muted);
    text-align: center;
}

.other-printing-note a {
    color: var(--accent);
    font-weight: 700;
    text-underline-offset: 3px;
}

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

@media (max-width: 600px) {
    .other-printing-inner {
        padding: 68px 5%;
    }

    .other-printing-feature {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .other-printing-grid {
        grid-template-columns: 1fr;
    }

    .other-printing-card p {
        min-height: 0;
    }
}