/* =========================================================
   MASTER PIZO SERVICES
   COMPACT MODERN DESIGN
========================================================= */

:root {

    --bg: #070b14;
    --bg-soft: #0c1321;
    --card: #101a2b;

    --text: #ffffff;
    --text-soft: #aab4c7;
    --muted: #727d91;

    --border: rgba(255,255,255,.09);

    --blue: #2878ff;
    --purple: #7b3cff;

    --gradient: linear-gradient(
        135deg,
        #2878ff,
        #7b3cff
    );

    --container: 1180px;

    --radius: 12px;

    --transition: .25s ease;
}


/* LIGHT MODE */

body.light {

    --bg: #f5f7fb;
    --bg-soft: #ffffff;
    --card: #ffffff;

    --text: #101828;
    --text-soft: #526071;
    --muted: #778195;

    --border: rgba(16,24,40,.10);
}


/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    background: var(--bg);

    color: var(--text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.5;

    overflow-x: hidden;

    transition:
        background .25s ease,
        color .25s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

button {
    font: inherit;
}

.container {

    width: min(
        calc(100% - 36px),
        var(--container)
    );

    margin: auto;
}


/* =========================================================
   HEADER
========================================================= */

.header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background:
        rgba(7,11,20,.88);

    backdrop-filter: blur(14px);

    border-bottom:
        1px solid var(--border);
}

.light .header {
    background:
        rgba(255,255,255,.9);
}

.navbar {

    height: 64px;

    display: flex;

    align-items: center;

    gap: 20px;
}


/* LOGO */

.logo {

    display: flex;

    align-items: center;

    gap: 9px;

    flex-shrink: 0;
}

.logo-mark {

    width: 36px;
    height: 36px;

    display: grid;

    place-items: center;

    border-radius: 9px;

    background: var(--gradient);

    color: white;

    font-size: 20px;

    font-weight: 900;
}

/* =========================================================
   LOGO IMAGE
========================================================= */

/* =========================================================
   LOGO
========================================================= */

.logo {

    display: flex;

    align-items: center;

    gap: 9px;

    flex-shrink: 0;
}

.logo-image {

    width: 40px;
    height: 40px;

    object-fit: contain;

    display: block;

    flex-shrink: 0;
}

.logo-name {

    display: flex;

    flex-direction: column;

    justify-content: center;

    font-size: 14px;

    font-weight: 800;

    line-height: 1.05;

    white-space: nowrap;
}

.logo-name small {

    color: #8c62ff;

    font-size: 9px;

    letter-spacing: 1.3px;

    margin-top: 3px;
}


/* NAV */

.nav-links {

    display: flex;

    align-items: center;

    gap: 23px;

    margin-left: auto;
}

.nav-links a {

    position: relative;

    color: var(--text-soft);

    font-size: 13px;

    transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {

    color: var(--text);
}

.nav-links a.active::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: -8px;

    height: 2px;

    border-radius: 5px;

    background: var(--gradient);
}


/* THEME */

.theme-toggle {

    width: 38px;
    height: 38px;

    border:
        1px solid var(--border);

    border-radius: 50%;

    background: var(--card);

    color: var(--text);

    cursor: pointer;

    font-size: 17px;

    display: grid;

    place-items: center;

    transition: transform var(--transition);
}

.theme-toggle:hover {
    transform: rotate(20deg);
}


/* CTA */

.nav-cta {

    padding: 10px 17px;

    border-radius: 25px;

    background: var(--gradient);

    color: white;

    font-size: 12px;

    font-weight: 700;

    white-space: nowrap;
}


/* MOBILE BUTTON */

.menu-toggle {

    display: none;

    width: 38px;
    height: 38px;

    border:
        1px solid var(--border);

    border-radius: 8px;

    background: var(--card);

    color: var(--text);

    cursor: pointer;
}


/* =========================================================
   HERO
========================================================= */

.hero {

    min-height: 620px;

    padding-top: 64px;

    display: flex;

    align-items: center;

    background:
        radial-gradient(
            circle at 75% 50%,
            rgba(54,90,255,.12),
            transparent 35%
        );
}

.hero-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;

    gap: 45px;

    padding: 55px 0;
}

.eyebrow {

    color: #9366ff;

    font-size: 16px;

    font-weight: 700;
}

.hero h1 {

    margin-top: 7px;

    font-size:
        clamp(44px,5vw,68px);

    line-height: .98;

    letter-spacing: -2px;
}

.hero h1 span {

    display: block;

    color: transparent;

    background: var(--gradient);

    background-clip: text;

    -webkit-background-clip: text;
}

.hero h2 {

    margin-top: 17px;

    color: #80aaff;

    font-size: 21px;
}

.hero p {

    max-width: 520px;

    margin-top: 12px;

    color: var(--text-soft);

    font-size: 14px;
}

.hero-actions {

    display: flex;

    gap: 10px;

    margin-top: 23px;
}

.btn {

    min-height: 42px;

    padding: 0 18px;

    display: inline-flex;

    align-items: center;

    gap: 9px;

    border-radius: 8px;

    font-size: 12px;

    font-weight: 700;
}

.btn-primary {

    background: var(--gradient);

    color: white;
}

.btn-secondary {

    border:
        1px solid var(--border);

    background: var(--card);

    color: var(--text);
}

.social-links {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 22px;
}

.social-links span {

    margin-right: 4px;

    color: var(--muted);

    font-size: 11px;
}

.social-links a {

    width: 27px;
    height: 27px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    border:
        1px solid var(--border);

    background: var(--card);

    color: var(--text-soft);

    font-size: 10px;

    font-weight: 700;
}

.social-links a:hover {

    background: var(--gradient);

    color: white;
}


/* HERO IMAGE */

.hero-image {

    position: relative;

    max-width: 590px;

    justify-self: end;
}

.hero-image img {

    width: 100%;

    max-height: 380px;

    object-fit: cover;

    border-radius: 14px;

    position: relative;

    z-index: 2;

    border:
        1px solid var(--border);

    box-shadow:
        0 25px 60px rgba(0,0,0,.35);
}

.image-glow {

    position: absolute;

    inset: 15%;

    background:
        linear-gradient(
            135deg,
            rgba(40,120,255,.35),
            rgba(123,60,255,.35)
        );

    filter: blur(55px);
}


/* =========================================================
   SECTIONS
========================================================= */

.section {

    padding: 58px 0;
}

.about,
.projects,
.testimonials {

    background: var(--bg-soft);
}

.section-title {

    margin-bottom: 25px;
}

.section-label {

    display: block;

    color: #9466ff;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;

    margin-bottom: 4px;
}

.section-title h2 {

    font-size:
        clamp(27px,3vw,38px);

    line-height: 1.1;
}

.section-title h2 span {

    color: #568dff;
}


/* =========================================================
   ABOUT
========================================================= */

.about-grid {

    display: grid;

    grid-template-columns:
        220px
        1.4fr
        1fr;

    align-items: center;

    gap: 38px;
}

.profile {
    position: relative;

    width: 210px;
    height: 210px;

    display: grid;
    place-items: center;

    margin: auto;
}

.profile img {
    width: 196px;
    height: 196px;

    object-fit: cover;

    /* Inasogeza image chini kidogo ili uso uonekane */
    object-position: center 25%;

    border-radius: 50%;

    position: relative;
    z-index: 2;
}

.profile-ring {
    position: absolute;

    inset: 0;

    border-radius: 50%;

    border: 2px solid #7048ff;

    box-shadow:
        0 0 35px rgba(100, 70, 255, .25);

    z-index: 1;
}

.about-content h2 {

    max-width: 500px;

    font-size: 31px;

    line-height: 1.08;
}

.about-content h2 span {
    color: #568dff;
}

.about-content p {

    max-width: 570px;

    margin-top: 10px;

    color: var(--text-soft);

    font-size: 13px;
}

.small-btn {

    display: inline-block;

    margin-top: 16px;

    padding: 8px 14px;

    border:
        1px solid var(--border);

    border-radius: 7px;

    font-size: 11px;
}

.about-info {

    padding-left: 25px;

    border-left:
        1px solid var(--border);
}

.about-info div {

    display: flex;

    flex-direction: column;

    gap: 2px;

    margin-bottom: 14px;
}

.about-info strong {

    color: var(--muted);

    font-size: 10px;

    text-transform: uppercase;
}

.about-info span {

    color: var(--text);

    font-size: 12px;
}

.available {
    color: #16c784 !important;
}


/* =========================================================
   SERVICES
========================================================= */

.services-grid {

    display: grid;

    grid-template-columns:
        repeat(6,1fr);

    gap: 10px;
}

.service-card {

    min-height: 155px;

    padding: 18px 12px;

    text-align: center;

    border:
        1px solid var(--border);

    border-radius: 10px;

    background: var(--card);

    transition:
        transform var(--transition),
        border-color var(--transition);
}

.service-card:hover {

    transform: translateY(-4px);

    border-color:
        rgba(100,100,255,.5);
}

.service-icon {

    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    margin: 0 auto 11px;

    border-radius: 11px;

    background:
        rgba(80,90,255,.13);

    font-size: 19px;
}

.service-card h3 {

    font-size: 13px;

    line-height: 1.2;
}

.service-card p {

    margin-top: 7px;

    color: var(--text-soft);

    font-size: 10px;

    line-height: 1.5;
}


/* =========================================================
   PROJECTS
========================================================= */

.projects-grid {

    display: grid;

    grid-template-columns:
        repeat(6,1fr);

    gap: 10px;
}

.project-card {

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius: 9px;

    background: var(--card);
}

.project-card > img {

    width: 100%;

    aspect-ratio: 1.35;

    object-fit: cover;
}

.project-body {

    padding: 12px;
}

.project-body h3 {

    font-size: 12px;

    line-height: 1.2;
}

.project-body p {

    margin-top: 5px;

    color: var(--text-soft);

    font-size: 9px;

    line-height: 1.45;
}

.tags {

    display: flex;

    flex-wrap: wrap;

    gap: 4px;

    margin-top: 8px;
}

.tags span {

    padding: 3px 6px;

    border-radius: 10px;

    background:
        rgba(50,120,255,.1);

    color: #70a2ff;

    font-size: 8px;
}


/* =========================================================
   PROJECT BUTTON
========================================================= */

.project-btn {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    width: 100%;

    margin-top: 12px;

    padding: 8px 10px;

    border-radius: 7px;

    background: var(--gradient);

    color: #ffffff;

    font-size: 10px;

    font-weight: 700;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.project-btn span {
    font-size: 11px;
}

.project-btn:hover {

    transform: translateY(-2px);

    box-shadow:
        0 6px 18px
        rgba(60, 90, 255, .25);
}


/* =========================================================
   SKILLS
========================================================= */

.skills-list {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    padding: 18px;

    border:
        1px solid var(--border);

    border-radius: 10px;

    background: var(--card);
}

.skills-list span {

    padding: 7px 12px;

    border:
        1px solid var(--border);

    border-radius: 20px;

    color: var(--text-soft);

    font-size: 10px;
}

.stats {

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 10px;

    margin-top: 10px;
}

.stats > div {

    padding: 15px;

    border:
        1px solid var(--border);

    border-radius: 9px;

    background: var(--card);

    text-align: center;
}

.stats strong {

    display: block;

    font-size: 24px;

    line-height: 1;
}

.stats span {

    display: block;

    margin-top: 5px;

    color: var(--muted);

    font-size: 9px;
}


/* =========================================================
   TESTIMONIALS
========================================================= */

.testimonials-grid {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 10px;
}

.testimonial {

    padding: 18px;

    border:
        1px solid var(--border);

    border-radius: 10px;

    background: var(--card);
}

.testimonial p {

    color: var(--text-soft);

    font-size: 11px;

    line-height: 1.55;
}

.testimonial strong {

    display: block;

    margin-top: 12px;

    font-size: 10px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-box {

    display: grid;

    grid-template-columns:
        1fr
        1.4fr;

    gap: 25px;

    align-items: center;

    padding: 28px;

    border:
        1px solid var(--border);

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            rgba(40,120,255,.07),
            rgba(123,60,255,.07)
        );
}

.contact-box h2 {

    max-width: 480px;

    font-size: 29px;

    line-height: 1.1;
}

.contact-box h2 span {
    color: #568dff;
}

.contact-box p {

    margin-top: 8px;

    color: var(--text-soft);

    font-size: 12px;
}

.contact-items {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 8px;
}

.contact-item {

    padding: 15px;

    min-height: 80px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    border:
        1px solid var(--border);

    border-radius: 9px;

    background: var(--card);
}

.contact-item strong {

    font-size: 11px;
}

.contact-item span {

    margin-top: 4px;

    color: var(--text-soft);

    font-size: 9px;

    word-break: break-word;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    padding-top: 35px;

    background: var(--bg-soft);

    border-top:
        1px solid var(--border);
}

.footer-grid {

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr 1fr;

    gap: 30px;

    padding-bottom: 30px;
}

.footer-grid p {

    max-width: 260px;

    margin-top: 10px;

    color: var(--text-soft);

    font-size: 10px;
}

.footer-grid h4 {

    margin-bottom: 10px;

    font-size: 11px;
}

.footer-grid > div > a:not(.logo) {

    display: block;

    margin-bottom: 6px;

    color: var(--text-soft);

    font-size: 10px;
}

.footer-socials {

    display: flex;

    gap: 6px;
}

.footer-socials a {

    width: 27px;
    height: 27px;

    display: grid;

    place-items: center;

    border:
        1px solid var(--border);

    border-radius: 50%;

    font-size: 9px;
}

.footer-bottom {

    min-height: 50px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-top:
        1px solid var(--border);

    color: var(--muted);

    font-size: 9px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .nav-links {
        gap: 14px;
    }

    .nav-links a {
        font-size: 11px;
    }

    .services-grid,
    .projects-grid {
        grid-template-columns:
            repeat(3,1fr);
    }

    .about-grid {
        grid-template-columns:
            180px 1fr 1fr;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .container {
        width:
            calc(100% - 28px);
    }

    .navbar {
        height: 60px;
    }

    .nav-links {

        position: absolute;

        top: 66px;

        left: 14px;
        right: 14px;

        display: none;

        flex-direction: column;

        gap: 0;

        padding: 8px;

        border:
            1px solid var(--border);

        border-radius: 10px;

        background: var(--bg-soft);

        box-shadow:
            0 20px 40px rgba(0,0,0,.25);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {

        display: block;

        padding: 11px;

        border-radius: 6px;
    }

    .nav-links a.active::after {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: grid;

        place-items: center;
    }

    .hero {

        min-height: auto;

        padding-top: 60px;
    }

    .hero-grid {

        grid-template-columns: 1fr;

        gap: 30px;

        padding: 45px 0;
    }

    .hero-content {
        text-align: center;
    }

    .hero p {
        margin-inline: auto;
    }

    .hero-actions,
    .social-links {
        justify-content: center;
    }

    .hero-image {
        justify-self: center;

        width: 100%;
    }

    .hero-image img {
        max-height: 260px;
    }

    .section {
        padding: 45px 0;
    }

    .about-grid {

        grid-template-columns: 1fr;

        gap: 25px;

        text-align: center;
    }

    .about-info {

        padding:
            18px 0 0;

        border-left: 0;

        border-top:
            1px solid var(--border);

        display: grid;

        grid-template-columns: 1fr 1fr;

        text-align: left;
    }

    .services-grid,
    .projects-grid {

        grid-template-columns:
            repeat(2,1fr);
    }

    .stats {

        grid-template-columns:
            repeat(2,1fr);
    }

    .testimonials-grid {

        grid-template-columns: 1fr;
    }

    .contact-box {

        grid-template-columns: 1fr;

        padding: 22px;
    }

    .contact-items {

        grid-template-columns: 1fr;
    }

    .footer-grid {

        grid-template-columns:
            1fr 1fr;
    }
}


/* =========================================================
   SMALL PHONE
========================================================= */

@media (max-width: 430px) {

    .logo-name {
        font-size: 12px;
    }

    .logo-name small {
        font-size: 8px;
        letter-spacing: 1.1px;
    }

    .logo-image {
        width: 36px;
        height: 36px;
    }

    .theme-toggle,
    .menu-toggle {

        width: 34px;
        height: 34px;
    }

    .hero h1 {

        font-size: 43px;

        letter-spacing: -1px;
    }

    .hero h2 {
        font-size: 17px;
    }

    .services-grid,
    .projects-grid {

        grid-template-columns: 1fr;
    }

    .about-info {

        grid-template-columns: 1fr;
    }

    .footer-grid {

        grid-template-columns: 1fr;
    }

    .footer-bottom {

        flex-direction: column;

        justify-content: center;

        gap: 5px;

        padding: 12px 0;
    }
}