:root {
    --blue: dodgerblue;
    /* --blue: #0077b6; */
    --blue-bright: #00aeef;
    --ink: #10131f;
    --ink-soft: #4b5268;
    --muted: #7a8296;
    --line: rgba(16, 19, 34, 0.12);
    --surface: #ffffff;
    --surface-alt: #f4f7fc;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}

body {
    background: radial-gradient(circle at top, #eef5fc 0, #f7f9fc 55%, #ffffff 100%);
    color: var(--ink);
    line-height: 1.6;
}

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

header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--ink);
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: conic-gradient(from 210deg, #00aeef, #00f5ff, #00aeef);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #05060a;
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 0 0 18px rgba(0, 174, 239, 0.45);

    /* Small padding to center 'M'*/
    padding: 0px 0px 0px 2px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.nav-links a {
    position: relative;
    padding-bottom: 0.15rem;
    color: var(--ink-soft);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--blue-bright);
    transition: width 0.2s ease-out;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 174, 239, 0.55);
    background: radial-gradient(circle at top left, rgba(0, 174, 239, 0.14), rgba(255, 255, 255, 0.95));
    color: var(--ink);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, background 0.15s ease-out;
    box-shadow: 0 4px 18px rgba(0, 174, 239, 0.18);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(0, 174, 239, 0.3);
    background: radial-gradient(circle at top left, rgba(0, 174, 239, 0.24), rgba(255, 255, 255, 0.98));
}

main {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 3.5rem;
}

section {
    padding: 3rem 0;
    border-bottom: 1px solid var(--line);
}

h1, h2, h3 {
    font-family: "Orbitron", system-ui, sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
}

h1 {
    font-size: clamp(2.1rem, 3vw, 2.7rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.section-block {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
    gap: 2.5rem;
    align-items: center;
}

.section-block-kicker {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.section-block-highlight {
    color: var(--blue);
}

.section-block-subtitle {
    max-width: 32rem;
    color: var(--ink-soft);
    margin-bottom: 1.5rem;
    font-size: 0.98rem;
}

.section-block-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.8rem;
}

.tag {
    border-radius: 999px;
    border: 1px solid var(--line);
    padding: 0.25rem 0.7rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-soft);
    background: var(--surface);
}

.section-block-right {
    border-radius: 18px;
    background: radial-gradient(circle at top, rgba(0, 174, 239, 0.1), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(0, 174, 239, 0.35);
    padding: 1.5rem 1.4rem;
    box-shadow: 0 10px 40px rgba(0, 174, 239, 0.15);
    position: relative;
    overflow: hidden;
}

.section-block-logo-sub {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 1.2rem;
}

.section-block-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}

.chip {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 174, 239, 0.5);
    background: var(--surface);
    color: var(--blue);
}

.section-block-mesh {
    position: absolute;
    inset: 50% -40% -40%;
    background: radial-gradient(circle at 20% 0, rgba(0, 245, 255, 0.14), transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(0, 174, 239, 0.14), transparent 55%);
    opacity: 0.7;
    pointer-events: none;
}

.section-block-card-footer {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--ink-soft);
    margin-top: 0.5rem;
}

.section-block-card-footer-text{
    font-size:0.85rem;
    margin-bottom:0.4rem;
}

.section-block-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #05c37a;
    box-shadow: 0 0 10px rgba(5, 195, 122, 0.7);
    margin-right: 0.4rem;
    display: inline-block;
}

.section-intro {
    max-width: 40rem;
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--surface);
    border-radius: 16px;
    border: 1px solid var(--line);
    padding: 1.2rem 1.2rem 1.1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(16, 19, 34, 0.05);
}

.card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at top left, rgba(0, 174, 239, 0.12), transparent 55%);
    opacity: 0;
    transition: opacity 0.2s ease-out;
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(0, 174, 239, 0.1);
    border: 1px solid rgba(0, 174, 239, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
    color: var(--blue);
}

.card p {
    font-size: 0.9rem;
    color: var(--ink-soft);
    margin-bottom: 0.7rem;
}

.card-meta {
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.projects-grid {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); */
    grid-template-rows: repeat(auto-fit, 1fr);
    gap: 1.4rem;
}

.project-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
    margin-bottom: 0.3rem;
}

.project-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--ink);
}

.project-desc {
    font-size: 0.9rem;
    color: var(--ink-soft);
    margin-bottom: 0.4rem;
}

.project-tech {
    font-size: 0.8rem;
    color: var(--muted);
}

.project-images-1 
{ 
    display: grid; 
    grid-template-columns: repeat(1, 1fr); 
    gap: 0.7rem; 
    margin-top: 1.2rem; 
} 

.project-images-1 img /* Rounds image corners to default */
{
    width: 100%; 
    height: auto; 
    object-fit: cover; 
    border-radius: 10px; 
    display: block; 

    transition: 
        transform 0.25s ease, 
        box-shadow 0.25s ease;
}

.project-images-1 img.win11-rounded  /* Rounds image corners so it fits the Windows 11 window print screens */
{
    width: 100%; 
    height: auto; 
    object-fit: cover; 
    border-radius: 6px; 
    display: block; 

    transition: 
        transform 0.25s ease, 
        box-shadow 0.25s ease;
}

.project-images-1 img:hover {
    transform: scale(1.02); 
    box-shadow: 0 12px 30px rgba(16, 19, 34, 0.25); 
    position: relative; 
    z-index: 10;
}

.project-images-3 
{ 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 0.7rem; 
    margin-top: 1.2rem; 
} 

.project-images-3 img 
{
    width: 100%; 
    height: 250px; 
    object-fit: cover; 
    border-radius: 10px; 
    display: block; 

    transition: 
        transform 0.25s ease, 
        box-shadow 0.25s ease;
}

.project-images-3 img:hover {
    transform: scale(1.05); 
    box-shadow: 0 12px 30px rgba(16, 19, 34, 0.25); 
    position: relative; 
    z-index: 10;
}

.project-images-2-1 
{ 
    display: grid; 
    grid-template-columns: 2fr 1fr;
    gap: 0.7rem; 
    margin-top: 1.2rem; 
} 

.project-images-2-1 img 
{
    width: 100%; 
    height: 400px; 
    object-fit: cover; 
    border-radius: 10px; 
    display: block; 

    transition: 
        transform 0.25s ease, 
        box-shadow 0.25s ease;
}

.project-images-2-1 img:hover {
    transform: scale(1.05); 
    box-shadow: 0 12px 30px rgba(16, 19, 34, 0.25); 
    position: relative; 
    z-index: 10;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
    gap: 2rem;
    align-items: start;
}

.contact-info p {
    font-size: 0.95rem;
    color: var(--ink-soft);
    margin-bottom: 0.6rem;
}

.contact-list {
    list-style: none;
    margin-top: 0.5rem;
}

.contact-list li {
    font-size: 0.9rem;
    color: var(--ink);
    margin-bottom: 0.4rem;
}

.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
    display: block;
}

.contact-value {
    font-size: 0.95rem;
}

.contact-form {
    background: var(--surface);
    border-radius: 16px;
    border: 1px solid var(--line);
    padding: 1.2rem 1.2rem 1.1rem;
    box-shadow: 0 2px 14px rgba(16, 19, 34, 0.05);
}

.contact-form-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
}

label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
}

input, textarea {
    background: var(--surface-alt);
    border-radius: 10px;
    border: 1px solid var(--line);
    padding: 0.55rem 0.7rem;
    color: var(--ink);
    font-size: 0.9rem;
    outline: none;
}

input:focus, textarea:focus {
    border-color: rgba(0, 174, 239, 0.8);
    box-shadow: 0 0 0 1px rgba(0, 174, 239, 0.4);
    background: var(--surface);
}

textarea {
    min-height: 110px;
    resize: vertical;
}

footer {
    padding: 1.5rem 1.5rem 2.2rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted);
    border-top: 1px solid var(--line);
    background: var(--surface-alt);
}

.footer-brand {
    font-family: "Orbitron", system-ui, sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: 0.3rem;
    color: var(--ink);
}

.error{
    color: #d1293d;
    margin-top: 0px;
}
