/* =====================================================================
   QAZI THEME — colour layer + components for the new content.
   Load after liquid-glass.css. Each card picks one accent with an
   .ac-* class; the glass rim, hover glow, corner tint and label colour
   all follow it.
   ===================================================================== */
:root {
    --c-cyan: 34, 211, 238;
    --c-violet: 167, 139, 250;
    --c-pink: 244, 114, 182;
    --c-amber: 251, 191, 36;
    --c-emerald: 52, 211, 153;
    --c-blue: 96, 165, 250;
    --grad-main: linear-gradient(100deg, rgb(var(--c-cyan)) 0%, rgb(var(--c-violet)) 50%, rgb(var(--c-pink)) 100%);
    --primary_color: rgb(var(--c-cyan));
}

/* ---------- accents ---------- */
.ac-cyan    { --lg-neon: var(--c-cyan);    --lg-neon-2: var(--c-blue); }
.ac-violet  { --lg-neon: var(--c-violet);  --lg-neon-2: var(--c-pink); }
.ac-pink    { --lg-neon: var(--c-pink);    --lg-neon-2: var(--c-violet); }
.ac-amber   { --lg-neon: var(--c-amber);   --lg-neon-2: var(--c-pink); }
.ac-emerald { --lg-neon: var(--c-emerald); --lg-neon-2: var(--c-cyan); }
.ac-blue    { --lg-neon: var(--c-blue);    --lg-neon-2: var(--c-violet); }

/* corner tint so every card carries its colour at rest */
.shadow-box[class*="ac-"] {
    background:
        radial-gradient(75% 65% at 100% 0%, rgba(var(--lg-neon), .13), transparent 70%),
        radial-gradient(60% 60% at 0% 100%, rgba(var(--lg-neon-2), .07), transparent 70%),
        linear-gradient(180deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.02) 38%, rgba(255,255,255,0) 62%, rgba(0,0,0,.14) 100%),
        rgba(var(--lg-tint), var(--lg-tint-alpha));
}
.shadow-box[class*="ac-"]:hover {
    background:
        radial-gradient(75% 65% at 100% 0%, rgba(var(--lg-neon), .20), transparent 70%),
        radial-gradient(60% 60% at 0% 100%, rgba(var(--lg-neon-2), .10), transparent 70%),
        linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.02) 38%, rgba(255,255,255,0) 62%, rgba(0,0,0,.14) 100%),
        rgba(var(--lg-tint), var(--lg-tint-alpha-hover));
}
.shadow-box[class*="ac-"] .infos h4,
.about-area .about-me-box[class*="ac-"] .infos h4 {
    color: rgb(var(--lg-neon));
    opacity: .9;
    letter-spacing: .06em;
}

/* livelier canvas */
body::before {
    background:
        radial-gradient(38vmax 38vmax at 15% 20%, rgba(var(--c-violet), .20), transparent 62%),
        radial-gradient(30vmax 30vmax at 85% 15%, rgba(var(--c-cyan), .16), transparent 60%),
        radial-gradient(40vmax 40vmax at 75% 85%, rgba(var(--c-pink), .13), transparent 62%),
        radial-gradient(28vmax 28vmax at 10% 90%, rgba(var(--c-emerald), .10), transparent 60%);
}

/* ---------- gradient text ---------- */
.grad,
.info-box.about-contact-box h1 span,
.contact-area .contact-form h1 span,
.section-heading {
    background: var(--grad-main);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
}
.section-heading img { filter: hue-rotate(160deg) saturate(2); }

/* ---------- brand mark (replaces GridX logo) ---------- */
.brand-mark {
    display: inline-block;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -1px;
    color: #fff;
    line-height: 1;
}
.brand-mark i {
    font-style: normal;
    background: var(--grad-main);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
}

/* ---------- buttons ---------- */
.header-area .theme-btn,
.credential-sidebar .theme-btn,
.contact-form .theme-btn,
.blog-item .theme-btn,
.more-work .theme-btn,
.right-details .theme-btn,
.comments-and-form-wrap .theme-btn {
    background: linear-gradient(120deg, rgb(var(--c-cyan)), rgb(var(--c-violet)) 55%, rgb(var(--c-pink)));
    color: #0a0b12;
    font-weight: 600;
    box-shadow: 0 8px 24px -10px rgba(var(--c-violet), .7);
    transition: transform .3s, box-shadow .3s, filter .3s;
}
.header-area .theme-btn:hover,
.credential-sidebar .theme-btn:hover,
.contact-form .theme-btn:hover,
.blog-item .theme-btn:hover,
.more-work .theme-btn:hover,
.right-details .theme-btn:hover,
.comments-and-form-wrap .theme-btn:hover {
    color: #0a0b12;
    background: linear-gradient(120deg, rgb(var(--c-cyan)), rgb(var(--c-violet)) 55%, rgb(var(--c-pink)));
    filter: brightness(1.12);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px -10px rgba(var(--c-pink), .7);
}
.theme-btn.ghost-btn,
.theme-btn.ghost-btn:hover {
    background: rgba(255,255,255,.05);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}
.theme-btn.ghost-btn:hover { box-shadow: inset 0 0 0 1px rgba(var(--c-cyan), .6), 0 0 22px -6px rgba(var(--c-cyan), .6); }
.theme-btn .ic, .theme-btn > .ico { margin-right: 6px; }
.credential-area .credential-sidebar .ghost-btn { margin-top: 10px; }
.theme-btn.tag {
    background: rgba(255,255,255,.05);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
.theme-btn.tag:hover { background: rgba(var(--c-pink), .18); color: #fff; }

/* ---------- inline SVG icons ---------- */
.ic { display: inline-flex; font-style: normal; line-height: 1; vertical-align: middle; }
.ico {
    width: 1em; height: 1em;
    fill: none; stroke: currentColor; stroke-width: 1.6;
    stroke-linecap: round; stroke-linejoin: round;
    flex: none;
}

/* ---------- social chips (brand colours) ---------- */
a.soc { color: #fff; transition: background .3s, box-shadow .3s, color .3s, transform .3s; }
.info-box .inner-profile-icons a.soc:hover,
.contact-area .social-links li a.soc:hover,
.credential-area .credential-sidebar .social-links li a.soc:hover,
.footer-social a.soc:hover {
    background: rgba(var(--brand), .2);
    color: #fff;
    text-shadow: none;
    box-shadow: inset 0 0 0 1px rgba(var(--brand), .7), 0 0 26px -4px rgba(var(--brand), .7);
    transform: translateY(-2px);
}
.credential-area .credential-sidebar .social-links { flex-wrap: wrap; }
.credential-area .credential-sidebar .social-links li a {
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
}
.contact-area .social-links { gap: 14px; flex-wrap: wrap; }
.contact-area .social-links li a {
    width: 60px; height: 60px; font-size: 24px;
    display: flex; align-items: center; justify-content: center; line-height: 1;
}
.contact-area .contact-infos .contact-details li .icon-box {
    display: flex; align-items: center; justify-content: center; line-height: 1;
    color: rgb(var(--lg-neon));
}
.contact-area .contact-infos .contact-details li .right h4 a { color: #fff; }
.contact-area .contact-infos .contact-details li .right h4 a:hover { color: rgb(var(--c-cyan)); }

.footer-social { gap: 12px; margin: 0 0 30px; flex-wrap: wrap; }
.footer-social a {
    width: 42px; height: 42px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #bcbcbc;
    background: rgba(255,255,255,.04);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.footer-area .footer-content .copyright span {
    background: var(--grad-main); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- home cards ---------- */
.info-box > img.card-shot {
    width: 100%;
    height: 118px;
    object-fit: cover;
    object-position: top;
    border-radius: 16px;
    box-shadow: 0 10px 24px -12px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.1);
}
.about-area .about-me-box .img-box img { object-fit: cover; object-position: top; }
.about-area .about-me-box .img-box {
    background: linear-gradient(135deg, rgb(var(--c-cyan)), rgb(var(--c-violet)) 55%, rgb(var(--c-pink)));
}

.about-blog-box .no-mark {
    min-width: 210px;
    margin: 6px auto 20px;
    padding: 22px 18px;
    text-align: center;
    border-radius: 18px;
    background: rgba(var(--c-emerald), .07);
    box-shadow: inset 0 0 0 1px rgba(var(--c-emerald), .2);
}
.about-blog-box .no-mark span { display: block; font-size: 30px; font-weight: 700; color: #fff; letter-spacing: -1px; }
.about-blog-box .no-mark span b {
    font-weight: 700;
    background: linear-gradient(90deg, rgb(var(--c-emerald)), rgb(var(--c-cyan)));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.about-blog-box .no-mark small { display: block; margin-top: 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #9fb3ad; line-height: 1.5; }

.icon-boxes .svc { display: inline-flex; }
.svc.c1, li.c1 > .ic { color: rgb(var(--c-cyan)); }
.svc.c2, li.c2 > .ic { color: rgb(var(--c-emerald)); }
.svc.c3, li.c3 > .ic { color: rgb(var(--c-pink)); }
.svc.c4, li.c4 > .ic { color: rgb(var(--c-amber)); }
.info-box.about-services-box .icon-boxes .ic { color: inherit; filter: drop-shadow(0 0 12px currentColor); }
.service-area .service-sidebar .service-sidebar-inner ul li .ic { font-size: 30px; filter: drop-shadow(0 0 10px currentColor); }

.about-area .about-credentials-wrap .banner .marquee b:nth-of-type(4n+1) { color: rgb(var(--c-cyan)); }
.about-area .about-credentials-wrap .banner .marquee b:nth-of-type(4n+2) { color: rgb(var(--c-emerald)); }
.about-area .about-credentials-wrap .banner .marquee b:nth-of-type(4n+3) { color: rgb(var(--c-amber)); }
.about-area .about-credentials-wrap .banner .marquee b:nth-of-type(4n+4) { color: rgb(var(--c-pink)); }

.info-box.about-client-box .clients .client-item h1 {
    background: var(--grad-main); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.info-box.about-client-box .clients .client-item:nth-child(1) h1 { background-image: linear-gradient(90deg, rgb(var(--c-cyan)), rgb(var(--c-blue))); }
.info-box.about-client-box .clients .client-item:nth-child(2) h1 { background-image: linear-gradient(90deg, rgb(var(--c-violet)), rgb(var(--c-pink))); }
.info-box.about-client-box .clients .client-item:nth-child(3) h1 { background-image: linear-gradient(90deg, rgb(var(--c-amber)), rgb(var(--c-pink))); }

/* ---------- about / credentials ---------- */
.about-area .about-image-box .image-inner {
    background: linear-gradient(135deg, rgb(var(--c-cyan)), rgb(var(--c-violet)) 55%, rgb(var(--c-pink)));
    overflow: hidden;
}
.about-area .about-image-box .image-inner img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.credential-area .credential-sidebar .img-box {
    background: linear-gradient(135deg, rgb(var(--c-cyan)), rgb(var(--c-violet)) 55%, rgb(var(--c-pink)));
    overflow: hidden;
}
.credential-area .credential-sidebar .img-box img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; }
.about-area .about-edc-exp ul li .date { color: rgb(var(--lg-neon)); opacity: .9; }
.about-area .about-edc-exp ul li .type a,
.credential-area .credential-edc-exp-item h5 a,
.credential-area .credential-content a,
.project-about-2 .left-details a { color: rgb(var(--c-cyan)); }
.credential-area .credential-edc-exp .credential-edc-exp-item h3 { color: rgb(var(--c-violet)); }
.credential-area .credential-edc-exp .credential-edc-exp-item:nth-child(odd) h3 { color: rgb(var(--c-cyan)); }

.credential-area .skills-wrap .skill-item .bar {
    height: 6px; margin-top: 12px; border-radius: 6px;
    background: rgba(255,255,255,.06); overflow: hidden;
}
.credential-area .skills-wrap .skill-item .bar span { display: block; height: 100%; border-radius: inherit; }
.bar.c1 span { background: linear-gradient(90deg, rgb(var(--c-cyan)), rgb(var(--c-blue))); }
.bar.c2 span { background: linear-gradient(90deg, rgb(var(--c-emerald)), rgb(var(--c-cyan))); }
.bar.c3 span { background: linear-gradient(90deg, rgb(var(--c-pink)), rgb(var(--c-violet))); }
.bar.c4 span { background: linear-gradient(90deg, rgb(var(--c-violet)), rgb(var(--c-blue))); }
.bar.c5 span { background: linear-gradient(90deg, rgb(var(--c-amber)), rgb(var(--c-pink))); }
.bar.c6 span { background: linear-gradient(90deg, rgb(var(--c-pink)), rgb(var(--c-amber))); }
.credential-area .skills-wrap .skill-item .percent { color: #fff; opacity: .85; }
.credential-area .awards-wrap .skill-item .percent { color: rgb(var(--c-amber)); opacity: .9; }

/* ---------- works ---------- */
.projects-area .project-item .project-img { overflow: hidden; background: rgba(255,255,255,.04); }
.projects-area .project-item .project-img img { width: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--lg-ease); }
.projects-area .project-item:hover .project-img img { transform: scale(1.04); }
.shot-sq img   { aspect-ratio: 1 / 1; }
.shot-tall img { aspect-ratio: 4 / 5; }
.shot-wide img { aspect-ratio: 4 / 3; }
.projects-area .project-item .project-info p { color: rgb(var(--lg-neon)); opacity: .9; text-transform: none; letter-spacing: .02em; }
.more-work { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.more-work .theme-btn { display: inline-flex; align-items: center; }

/* ---------- case study ---------- */
.project-details-wrap .pipeline-hero {
    height: auto;
    min-height: 300px;
    display: flex; align-items: center;
    padding: 60px 0;
    background:
        radial-gradient(50% 80% at 15% 50%, rgba(var(--c-emerald), .16), transparent 70%),
        radial-gradient(50% 80% at 85% 50%, rgba(var(--c-violet), .18), transparent 70%);
    border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.pipe-kicker { color: #bcbcbc; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; text-align: center; margin-bottom: 26px; }
.pipe { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; counter-reset: none; }
.pipe li {
    position: relative;
    display: flex; align-items: center; gap: 10px;
    padding: 14px 18px;
    border-radius: 16px;
    color: #fff; font-size: 15px; font-weight: 500;
    background: rgba(18, 20, 28, .6);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 0 0 1px rgba(var(--k), .35), 0 0 24px -8px rgba(var(--k), .6);
}
.pipe li b { font-size: 12px; color: rgb(var(--k)); }
.pipe li.c1 { --k: var(--c-cyan); }
.pipe li.c2 { --k: var(--c-emerald); }
.pipe li.c3 { --k: var(--c-amber); }
.pipe li.c4 { --k: var(--c-violet); }
.pipe li.c5 { --k: var(--c-pink); }
.pipe li.c6 { --k: var(--c-blue); }

.project-details-wrap .enrich-panel { height: auto; padding: 36px; }
.enrich-panel h3, .related-title { color: #fff; font-size: 18px; text-transform: uppercase; margin-bottom: 20px; }
.related-title { margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
    padding: 10px 16px; border-radius: 999px; color: #fff; font-size: 14px;
    background: rgba(var(--c-violet), .1); box-shadow: inset 0 0 0 1px rgba(var(--c-violet), .3);
}
.chips li:nth-child(3n+2) { background: rgba(var(--c-cyan), .1); box-shadow: inset 0 0 0 1px rgba(var(--c-cyan), .3); }
.chips li:nth-child(3n)   { background: rgba(var(--c-pink), .1); box-shadow: inset 0 0 0 1px rgba(var(--c-pink), .3); }

.project-details-wrap .project-details-3-img.og-shot,
.og-box {
    display: block;
    height: auto;
    border-radius: 30px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 50px -24px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08);
    transition: transform .5s var(--lg-ease), box-shadow .5s var(--lg-ease);
}
.project-details-wrap .project-details-3-img.og-shot img,
.og-box img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 0 !important; }
.project-details-wrap .project-details-3-img.og-shot:hover,
.og-box:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -24px rgba(0,0,0,.9), 0 0 0 1px rgba(var(--c-cyan), .5), 0 0 40px -10px rgba(var(--c-cyan), .5); }
.blog-area .blog-items .blog-item .img-box.og-box { height: auto; }
.blog-area .blog-items .blog-item .img-box.og-box img { height: auto; }
.blog-details-area .blog-details-content .meta,
.blog-area .blog-items .blog-item .content .meta { color: rgb(var(--c-cyan)); }
.blog-area .blog-items .blog-item .content h1 a:hover { color: rgb(var(--c-pink)); }
.blog-details-area .blog-details-content .list li { color: #cfd3dc; }
code { color: rgb(var(--c-amber)); background: rgba(255,255,255,.05); padding: 1px 6px; border-radius: 6px; font-size: .92em; }

.glance { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 28px; }
.glance h3 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.glance ol { list-style: decimal; padding-left: 20px; }
.glance ol li { color: #cfd3dc; margin-bottom: 8px; font-size: 15px; }
.glance ol li::marker { color: rgb(var(--c-violet)); font-weight: 700; }
.comments-and-form-wrap .theme-btn { display: inline-flex; align-items: center; }

/* ---------- contact form select ---------- */
.contact-area .contact-form form .input-group select {
    width: 100%; border: none; border-radius: 10px; padding: 17px 20px; font-size: 14px; color: #fff;
    background: linear-gradient(120deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
    appearance: none;
}
.contact-area .contact-form form .input-group select:focus { outline: none; box-shadow: inset 0 0 0 1px rgba(var(--c-cyan), .55), 0 0 0 4px rgba(var(--c-cyan), .12); }
.contact-area .contact-form form .input-group select option { background: #12141c; color: #fff; }
.contact-area .contact-form form .input-group + .input-group { margin-top: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 767px) {
    .glance { grid-template-columns: 1fr; }
    .pipe li { font-size: 14px; padding: 12px 14px; }
    .more-work { justify-content: flex-start; }
}
@media (max-width: 1090px) {
    .about-blog-box .no-mark { min-width: 170px; }
    .about-blog-box .no-mark span { font-size: 24px; }
}

/* ---------- fixes after review ---------- */
.about-area .about-me-box .infos h1.hero-name { font-size: 34px; line-height: 1.12; }
.contact-area .contact-form form .input-group select:invalid { color: #8a8a8a; }
@media (max-width: 1090px) {
    .about-area .about-me-box .infos h1.hero-name { font-size: 28px; }
}
.about-area .about-me-box .infos h1.hero-name { font-size: 31px; }
.about-area .about-me-box .infos h1.hero-name .grad { white-space: nowrap; }
.about-area .about-me-box .infos h4 { letter-spacing: .02em; white-space: nowrap; font-size: 12px; }
.about-area .about-me-box .infos p { padding-right: 46px; }
@media (max-width: 1090px) { .about-area .about-me-box .infos h4 { white-space: normal; } }
@media (max-width: 1090px) and (min-width: 921px) {
    .about-area .about-me-box .infos h1.hero-name { font-size: 23px; }
}
@media (max-width: 425px) {
    .about-area .about-me-box .infos h1.hero-name { font-size: 27px; }
}

/* ---------- performance (added by the speed optimisation) ---------- */
/* Fallback font tuned to Inter's metrics: text renders immediately while Inter
   downloads, then swaps in without the layout jumping. */
@font-face {
    font-family: "Inter Fallback";
    src: local("Arial"), local("Helvetica"), local("Liberation Sans");
    ascent-override: 90.44%;
    descent-override: 22.52%;
    line-gap-override: 0%;
    size-adjust: 107.12%;
}
body { font-family: 'Inter', 'Inter Fallback', sans-serif; }

/* Images with width/height attributes reserve their space before they load (no layout
   jump) but still scale with the layout. :where() keeps this at zero specificity so any
   existing size rule wins. */
:where(img[width][height]) { height: auto; }

/* Phones/tablets: the glass blur sits over a smooth gradient, so it is visually
   identical without it — but blurring a dozen layers on every scroll frame is what
   made scrolling stutter on mid-range phones. Same look, far less GPU work. */
@media (hover: none), (max-width: 767px) {
    .shadow-box,
    .contact-area .contact-infos .contact-details li .icon-box,
    .contact-area .social-links li a,
    .pipe li {
        -webkit-backdrop-filter: none;
                backdrop-filter: none;
    }
    .shadow-box { transform: none; }
    body::before { will-change: auto; }
}
