/* ===================================================== */
/* GOOGLE FONTS */
/* ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Manrope:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;1,500&display=swap');

/* ===================================================== */
/* RESET */
/* ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    min-height: 100vh;

    background: #000000;

    color: #ffffff;

    font-family: "DM Sans", sans-serif;

    overflow-x: hidden;
overflow-y: auto;

    position: relative;

}


/* ===================================================== */
/* BACKGROUND */
/* ===================================================== */

.background-glow {

    position: fixed;

    width: 800px;
    height: 800px;

    left: 50%;
    top: 45%;

    transform: translate(-50%, -50%);

    background:

        radial-gradient(

            circle,

            rgba(255, 255, 255, 0.08) 0%,

            rgba(255, 255, 255, 0.025) 28%,

            rgba(255, 255, 255, 0) 68%

        );

    pointer-events: none;

    z-index: 0;

}


/* ===================================================== */
/* BACKGROUND NOISE */
/* ===================================================== */

.noise {

    position: fixed;

    inset: 0;

    pointer-events: none;

    opacity: 0.045;

    z-index: 100;

    background-image:

        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.7'/%3E%3C/svg%3E");

}


/* ===================================================== */
/* HERO */
/* ===================================================== */

.hero {

    width: 100%;

    height: 100vh;

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding: 40px;

    position: relative;

    z-index: 2;

}


.hero-content {

    display: flex;

    flex-direction: column;

    align-items: center;

}


/* ===================================================== */
/* SMALL INTRO TEXT */
/* ===================================================== */

.eyebrow {

    font-size: 10px;

    letter-spacing: 6px;

    color: #666666;

    margin-bottom: 35px;

    animation: fadeUp 1s ease forwards;

}


/* ===================================================== */
/* MAIN TITLE */
/* ===================================================== */

.main-title {

    display: flex;

    flex-direction: column;

    font-family: "DM Sans", sans-serif;

    font-size: clamp(72px, 11vw, 165px);

    font-weight: 500;

    line-height: 0.82;

    letter-spacing: -6px;

    cursor: default;

    user-select: none;

    animation: fadeUp 1.2s ease forwards;

}


.main-title span {

    display: block;

}


.waleed {

    color: #ffffff;

}


.nisar {

    color: #777777;

    font-style: normal;

    margin-left: 0;

    transition: color 0.5s ease;

}


.main-title:hover .nisar {

    color: #ffffff;

    transform: translateX(10px);

}

/* ===================================================== */
/* HERO DESCRIPTION */
/* ===================================================== */

.hero-description {

    max-width: 470px;

    margin-top: 48px;

    color: #858585;

    font-size: 14px;

    font-weight: 300;

    line-height: 1.9;

    letter-spacing: 0.3px;

    animation: fadeUp 1.4s ease forwards;

}


/* ===================================================== */
/* EXPLORE BUTTON */
/* ===================================================== */

.explore-button {

    margin-top: 35px;

    padding: 16px 25px;

    border: none;

    background: #f1f1f1;

    color: #050505;

    font-family: "DM Sans", sans-serif;

    font-size: 11px;

    font-weight: 500;

    letter-spacing: 1.3px;

    cursor: pointer;

    display: flex;

    align-items: center;

    gap: 20px;

    border-radius:

        4px
        25px
        4px
        25px;

    transition:

        transform 0.35s cubic-bezier(.2, .8, .2, 1),

        border-radius 0.35s ease,

        background 0.35s ease;

    animation: fadeUp 1.6s ease forwards;

}


.explore-button:hover {

    transform: scale(1.07);

    border-radius:

        25px
        4px
        25px
        4px;

    background: #ffffff;

}


.arrow {

    font-size: 16px;

    transition: transform 0.3s ease;

}


.explore-button:hover .arrow {

    transform:

        translateX(3px)

        translateY(-3px);

}


/* ===================================================== */
/* CORNER TABS */
/* ===================================================== */

.corner-tab {

    position: fixed;

    top: 28px;

    z-index: 20;

    color: #ffffff;

    text-decoration: none;

    font-size: 11px;

    letter-spacing: 2px;

    padding: 13px 18px;

    border: 1px solid #242424;

    background: rgba(8, 8, 8, 0.65);

    backdrop-filter: blur(15px);

    -webkit-backdrop-filter: blur(15px);

    transition:

        transform 0.35s cubic-bezier(.2, .8, .2, 1),

        border-color 0.35s ease,

        background 0.35s ease,

        color 0.35s ease;

}


.corner-tab:hover {

    transform: scale(1.1);

    border-color: #666666;

    background: rgba(20, 20, 20, 0.9);

}


.logo-tab {

    left: 28px;

    font-family: "Playfair Display", serif;

    font-size: 16px;

    border-radius:

        4px
        22px
        22px
        22px;

}


.about-tab {

    right: 28px;

    border-radius:

        22px
        4px
        22px
        22px;

}


/* ===================================================== */
/* BOTTOM NAVIGATION */
/* ===================================================== */

.bottom-navigation {

    position: fixed;

    left: 50%;

    bottom: 32px;

    transform: translateX(-50%);

    display: flex;

    align-items: center;

    gap: 8px;

    z-index: 20;

}


.nav-button {

    text-decoration: none;

    color: #777777;

    font-size: 10px;

    letter-spacing: 1.5px;

    padding: 13px 20px;

    border: 1px solid #222222;

    background: rgba(5, 5, 5, 0.75);

    backdrop-filter: blur(15px);

    -webkit-backdrop-filter: blur(15px);

    border-radius:

        18px
        5px
        18px
        5px;

    transition:

        transform 0.3s cubic-bezier(.2, .8, .2, 1),

        border-color 0.3s ease,

        background 0.3s ease,

        color 0.3s ease;

}


.nav-button:hover {

    transform: scale(1.12);

    color: #ffffff;

    border-color: #555555;

    background: rgba(20, 20, 20, 0.95);

}


.novel-button {

    color: #ffffff;

    border-color: #454545;

}


/* ===================================================== */
/* BOTTOM CORNER TEXT */
/* ===================================================== */

.location-text,
.copyright-text {

    position: fixed;

    bottom: 37px;

    z-index: 10;

    color: #3f3f3f;

    font-size: 8px;

    letter-spacing: 2px;

    text-transform: uppercase;

}


.location-text {

    left: 30px;

}


.copyright-text {

    right: 30px;

}


/* ===================================================== */
/* DECORATIVE LINES */
/* ===================================================== */

.line {

    position: fixed;

    background: #181818;

    z-index: 1;

}


.line-top {

    width: 100px;

    height: 1px;

    top: 51px;

    left: 105px;

}


.line-bottom {

    width: 100px;

    height: 1px;

    right: 75px;

    bottom: 42px;

}


/* ===================================================== */
/* INTRO ANIMATION */
/* ===================================================== */

@keyframes fadeUp {

    from {

        opacity: 0;

        transform: translateY(25px);

    }


    to {

        opacity: 1;

        transform: translateY(0);

    }

}


/* ===================================================== */
/* MOBILE VERSION */
/* ===================================================== */

@media (max-width: 750px) {


    body {


    overflow-x: hidden;
    overflow-y: auto;
}


    .hero {

        padding: 20px;

    }


    .eyebrow {

        font-size: 8px;

        letter-spacing: 3.5px;

    }


    .main-title {

        font-size: clamp(65px, 19vw, 110px);

        letter-spacing: -4px;

    }


    .nisar {

        margin-left: 35px;

    }


    .hero-description {

        max-width: 320px;

        font-size: 12px;

        margin-top: 40px;

    }


    .corner-tab {

        top: 20px;

    }


    .logo-tab {

        left: 20px;

    }


    .about-tab {

        right: 20px;

    }


    .location-text,
    .copyright-text,
    .line {

        display: none;

    }


    .bottom-navigation {

        width: calc(100% - 30px);

        justify-content: center;

        bottom: 20px;

    }


    .nav-button {

        padding: 12px 14px;

        font-size: 8px;

    }


    .explore-button {

        margin-top: 30px;

    }

}
/* ===================================================== */
/* ABOUT SECTION */
/* ===================================================== */

.about-section {

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 75% 10%,
            #151515 0%,
            #070707 28%,
            #020202 55%,
            #000000 100%
        );

    border-top: 1px solid #171717;

    color: #ffffff;

}


/* subtle background light */

.about-glow {

    position: absolute;

    width: 800px;
    height: 800px;

    right: -300px;
    top: 300px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,0.035),
            transparent 65%
        );

    pointer-events: none;

}


/* ===================================================== */
/* ABOUT HERO */
/* ===================================================== */

.about-hero {

    min-height: 90vh;

    padding: 130px 8vw 100px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(320px, .95fr);

    align-items: end;

    gap: 10vw;

    border-bottom: 1px solid #171717;

}


.about-kicker {

    color: #555555;

    font-size: 9px;

    letter-spacing: 5px;

    margin-bottom: 35px;

}


.about-title {

    font-family: "Manrope", sans-serif;

    font-size: clamp(75px, 12vw, 180px);

    line-height: .78;

    letter-spacing: -9px;

    font-weight: 600;

    cursor: default;

    transition:
        transform .35s cubic-bezier(.2,.8,.2,1);

}


.about-title span {

    display: block;

    color: #484848;

    font-weight: 400;

}


.about-hero-right {

    max-width: 600px;

    padding-bottom: 10px;

}


.about-hero-right p {

    color: #727272;

    font-size: 14px;

    line-height: 1.9;

    margin-top: 19px;

}


.about-hero-right .about-intro {

    margin-top: 0;

    color: #d0d0d0;

    font-size: clamp(18px, 2vw, 25px);

    line-height: 1.55;

    letter-spacing: -.3px;

}



/* ===================================================== */
/* GENERAL ABOUT BLOCK */
/* ===================================================== */

.about-block {

    padding: 120px 8vw;

    border-bottom: 1px solid #171717;

    position: relative;

}


.about-section-heading {

    display: flex;

    align-items: baseline;

    gap: 30px;

    margin-bottom: 65px;

}


.section-index {

    font-size: 9px;

    letter-spacing: 3px;

    color: #444444;

}


.about-section-heading h3 {

    font-family: "Manrope", sans-serif;

    font-size: clamp(35px, 5vw, 72px);

    font-weight: 500;

    letter-spacing: -3px;

    line-height: 1;

    transition:
        transform .35s cubic-bezier(.2,.8,.2,1);

    cursor: default;

}


.magnetic-heading {

    will-change: transform;

}



/* ===================================================== */
/* EXPERIENCE */
/* ===================================================== */

.timeline {

    max-width: 1050px;

    margin-left: auto;

    position: relative;

}


.timeline::before {

    content: "";

    position: absolute;

    left: -36px;

    top: 0;

    bottom: 0;

    width: 1px;

    background: #202020;

}


.timeline-item {

    position: relative;

    margin-bottom: 24px;

    padding: 38px 42px;

    border: 1px solid #1f1f1f;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.025),
            rgba(255,255,255,.008)
        );

    border-radius:
        5px
        36px
        5px
        36px;

    transition:
        transform .35s cubic-bezier(.2,.8,.2,1),
        border-color .35s ease,
        background .35s ease,
        border-radius .35s ease;

}


.timeline-item::before {

    content: "";

    width: 7px;
    height: 7px;

    background: #999999;

    position: absolute;

    left: -40px;

    top: 48px;

    border-radius: 50%;

}


.timeline-item:hover {

    transform:
        translateX(7px)
        scale(1.01);

    border-color: #3d3d3d;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.012)
        );

    border-radius:
        36px
        5px
        36px
        5px;

}


.timeline-top {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 40px;

    margin-bottom: 26px;

}


.timeline-type {

    font-size: 8px;

    letter-spacing: 3px;

    color: #555555;

    margin-bottom: 10px;

}


.timeline-item h4 {

    font-family: "Manrope", sans-serif;

    font-size: clamp(23px, 3vw, 36px);

    font-weight: 500;

    letter-spacing: -1.4px;

}


.timeline-company {

    color: #696969;

    margin-top: 7px;

    font-size: 12px;

}


.timeline-date {

    color: #777777;

    font-size: 10px;

    letter-spacing: 1px;

    white-space: nowrap;

}


.timeline-description,
.about-list {

    color: #808080;

    font-size: 13px;

    line-height: 1.9;

    max-width: 820px;

}


.timeline-description {

    margin-top: 10px;

}


.about-list {

    padding-left: 18px;

}


.about-list li {

    margin-bottom: 10px;

}



/* ===================================================== */
/* EDUCATION */
/* ===================================================== */

.education-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

}


.education-card {

    min-height: 310px;

    padding: 38px;

    border: 1px solid #1d1d1d;

    background: #050505;

    border-radius:
        5px
        34px
        5px
        34px;

    transition:
        transform .35s cubic-bezier(.2,.8,.2,1),
        border-color .35s ease,
        border-radius .35s ease;

}


.education-card:hover {

    transform:
        translateY(-7px)
        scale(1.015);

    border-color: #3b3b3b;

    border-radius:
        34px
        5px
        34px
        5px;

}


.featured-education {

    grid-column: span 2;

    min-height: 360px;

    background:

        radial-gradient(
            circle at 90% 20%,
            rgba(255,255,255,.045),
            transparent 35%
        ),

        #060606;

}


.education-year {

    color: #4e4e4e;

    font-size: 8px;

    letter-spacing: 3px;

    margin-bottom: 20px;

}


.education-card h4 {

    font-family: "Manrope", sans-serif;

    font-size: clamp(23px, 3vw, 37px);

    font-weight: 500;

    letter-spacing: -1.5px;

    max-width: 700px;

}


.education-school {

    color: #aaaaaa;

    margin-top: 13px;

    font-size: 12px;

}


.education-status {

    display: inline-block;

    margin-top: 18px;

    padding: 7px 11px;

    border: 1px solid #292929;

    color: #737373;

    font-size: 8px;

    letter-spacing: 1px;

    border-radius:
        3px
        12px
        3px
        12px;

}


.education-card > p:last-child {

    color: #717171;

    line-height: 1.85;

    font-size: 13px;

    margin-top: 27px;

    max-width: 720px;

}



/* ===================================================== */
/* SKILLS */
/* ===================================================== */

.skills-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

}


.skill-card {

    padding: 38px;

    border: 1px solid #1c1c1c;

    background: #040404;

    position: relative;

    border-radius:
        28px
        5px
        28px
        5px;

    transition:
        transform .35s ease,
        border-color .35s ease;

}


.skill-card:hover {

    transform: translateY(-6px);

    border-color: #383838;

}


.skill-number {

    position: absolute;

    right: 28px;

    top: 23px;

    font-family: "Manrope", sans-serif;

    font-size: 42px;

    color: #171717;

}


.skill-card h4 {

    font-family: "Manrope", sans-serif;

    font-size: 25px;

    font-weight: 500;

    margin-bottom: 30px;

    letter-spacing: -1px;

}


.skill-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

}


.skill-tags span {

    border: 1px solid #262626;

    color: #707070;

    font-size: 9px;

    padding: 9px 12px;

    border-radius:
        4px
        14px
        4px
        14px;

    transition:
        transform .25s ease,
        color .25s ease,
        border-color .25s ease;

}


.skill-tags span:hover {

    color: #ffffff;

    border-color: #555555;

    transform: scale(1.07);

}



/* ===================================================== */
/* AREAS OF INTEREST */
/* ===================================================== */

.large-editorial-text {

    max-width: 1100px;

    font-family: "Manrope", sans-serif;

    font-size: clamp(29px, 4vw, 60px);

    line-height: 1.25;

    letter-spacing: -2.3px;

    color: #c8c8c8;

}


.interest-summary {

    max-width: 630px;

    margin-top: 45px;

    color: #656565;

    line-height: 1.8;

    font-size: 14px;

}


.interest-tags {

    margin-top: 55px;

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

}


.interest-tags span {

    padding: 11px 16px;

    border: 1px solid #272727;

    color: #737373;

    font-size: 10px;

    border-radius:
        16px
        4px
        16px
        4px;

    transition:
        transform .3s ease,
        color .3s ease,
        background .3s ease;

}


.interest-tags span:hover {

    transform: scale(1.08);

    color: #000000;

    background: #ffffff;

}



/* ===================================================== */
/* WRITING */
/* ===================================================== */

.writing-panel {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(300px, .8fr);

    gap: 8vw;

    align-items: start;

}


.writing-feature {

    font-family: "Manrope", sans-serif;

    font-size: clamp(35px, 5vw, 75px);

    line-height: 1.12;

    letter-spacing: -3px;

    color: #d0d0d0;

}


.writing-copy p {

    color: #757575;

    line-height: 1.9;

    font-size: 14px;

    margin-bottom: 25px;

}



/* ===================================================== */
/* LANGUAGES + ACHIEVEMENT */
/* ===================================================== */

.about-dual {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 70px;

}


.compact-heading {

    margin-bottom: 45px;

}


.compact-heading h3 {

    font-size: clamp(30px, 4vw, 55px);

}


.language-list {

    border-top: 1px solid #202020;

}


.language-row {

    display: flex;

    justify-content: space-between;

    padding: 22px 4px;

    border-bottom: 1px solid #202020;

    font-family: "Manrope", sans-serif;

}


.language-row span:first-child {

    color: #d0d0d0;

    font-size: 18px;

}


.language-row span:last-child {

    color: #555555;

    font-size: 11px;

}


.achievement-card {

    border: 1px solid #252525;

    padding: 35px;

    border-radius:
        4px
        30px
        4px
        30px;

}


.achievement-year {

    color: #4f4f4f;

    font-size: 8px;

    letter-spacing: 3px;

    margin-bottom: 18px;

}


.achievement-card h4 {

    font-family: "Manrope", sans-serif;

    font-size: clamp(25px, 3vw, 40px);

    font-weight: 500;

    letter-spacing: -1.5px;

}


.achievement-card p:last-child {

    margin-top: 25px;

    color: #777777;

    line-height: 1.9;

    font-size: 13px;

}



/* ===================================================== */
/* CONTACT */
/* ===================================================== */

.about-contact {

    min-height: 80vh;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 120px 8vw;

    position: relative;

}


.contact-label {

    font-size: 9px;

    letter-spacing: 5px;

    color: #505050;

    margin-bottom: 28px;

}


.contact-heading {

    font-family: "Manrope", sans-serif;

    font-size: clamp(55px, 8vw, 125px);

    line-height: .92;

    letter-spacing: -6px;

    font-weight: 500;

    max-width: 1100px;

    transition:
        transform .35s cubic-bezier(.2,.8,.2,1);

}


.contact-heading span {

    display: block;

    color: #454545;

}


.contact-description {

    margin-top: 45px;

    max-width: 600px;

    color: #777777;

    line-height: 1.9;

    font-size: 13px;

}


.contact-button {

    margin-top: 38px;

    width: fit-content;

    color: #050505;

    background: #f2f2f2;

    text-decoration: none;

    padding: 17px 23px;

    display: flex;

    align-items: center;

    gap: 25px;

    font-size: 11px;

    letter-spacing: .5px;

    border-radius:
        4px
        25px
        4px
        25px;

    transition:
        transform .35s cubic-bezier(.2,.8,.2,1),
        border-radius .35s ease;

}


.contact-button:hover {

    transform: scale(1.055);

    border-radius:
        25px
        4px
        25px
        4px;

}



/* ===================================================== */
/* SCROLL REVEAL */
/* ===================================================== */

.reveal {

    opacity: 0;

    transform: translateY(45px);

    transition:

        opacity .9s cubic-bezier(.2,.8,.2,1),

        transform .9s cubic-bezier(.2,.8,.2,1);

}


.reveal.in-view {

    opacity: 1;

    transform: translateY(0);

}



/* ===================================================== */
/* ABOUT MOBILE */
/* ===================================================== */

@media (max-width: 850px) {

    .about-hero {

        min-height: auto;

        grid-template-columns: 1fr;

        padding:
            130px
            25px
            90px;

        gap: 70px;

    }


    .about-title {

        letter-spacing: -5px;

    }


    .about-block {

        padding:
            90px
            25px;

    }


    .about-section-heading {

        gap: 15px;

        margin-bottom: 45px;

    }


    .about-section-heading h3 {

        letter-spacing: -2px;

    }


    .timeline {

        margin-left: 25px;

    }


    .timeline-item {

        padding: 28px;

    }


    .timeline-top {

        flex-direction: column;

        gap: 15px;

    }


    .education-grid,
    .skills-grid,
    .about-dual,
    .writing-panel {

        grid-template-columns: 1fr;

    }


    .featured-education {

        grid-column: span 1;

    }


    .education-card {

        min-height: auto;

    }


    .about-dual {

        gap: 90px;

    }


    .contact-heading {

        letter-spacing: -4px;

    }


    .about-contact {

        padding:
            100px
            25px;

    }


    .contact-button {

        max-width: 100%;

        font-size: 9px;

    }

}
/* ===================================================== */
/* MOBILE SCROLL FIX */
/* ===================================================== */

html,
body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto !important;
}


@media (max-width: 850px) {

    html,
    body {
        height: auto !important;
        min-height: 100%;

        overflow-x: hidden !important;
        overflow-y: auto !important;

        -webkit-overflow-scrolling: touch;

        touch-action: pan-y;
    }

}
/* ========================================================= */
/* HERO LAYOUT WITH CHESS KING */
/* ========================================================= */

.hero-main-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;

    width: 100%;
    max-width: 1300px;

    margin: 0 auto;
}


.hero-king-wrap {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}


.hero-king {
    width: 220px;
    height: auto;

    display: block;
    object-fit: contain;

    filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.08));
}


.hero-text-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.hero-kicker {
    font-size: 12px;
    letter-spacing: 10px;
    color: #686868;

    margin-bottom: 28px;

    text-align: center;
}


.hero-title {
    margin: 0;
    line-height: 0.9;
    text-align: center;
}


.hero-title-top,
.hero-title-bottom {
    display: block;

    font-family: "Manrope", sans-serif;
    font-weight: 600;
    letter-spacing: -6px;
}


.hero-title-top {
    font-size: clamp(90px, 12vw, 190px);
    color: #ffffff;
}


.hero-title-bottom {
    font-size: clamp(80px, 10vw, 160px);
    color: #8f8f8f;
}


.hero-description {
    max-width: 700px;

    margin: 34px auto 36px;

    text-align: center;

    font-size: 16px;
    line-height: 1.8;
    color: #7a7a7a;
}


.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    padding: 20px 34px;

    background: #f2f2f2;
    color: #111111;

    border-radius: 22px;

    text-decoration: none;

    font-size: 15px;
    font-weight: 500;

    transition:
        transform .25s ease,
        background .25s ease;
}


.hero-button:hover {
    transform: scale(1.05);
}


/* ========================================================= */
/* MOBILE */
/* ========================================================= */

@media (max-width: 980px) {

    .hero-main-layout {
        flex-direction: column;
        gap: 26px;
    }

    .hero-king {
        width: 140px;
    }

    .hero-kicker {
        letter-spacing: 6px;
        font-size: 10px;
    }

    .hero-title-top {
        font-size: clamp(62px, 16vw, 110px);
        letter-spacing: -3px;
    }

    .hero-title-bottom {
        font-size: clamp(54px, 13vw, 95px);
        letter-spacing: -3px;
    }

    .hero-description {
        font-size: 15px;
        padding: 0 18px;
    }

}
/* ========================================================= */
/* HOMEPAGE HERO + KING - CLEAN FIX */
/* ========================================================= */

.hero-main-layout {
    width: min(1180px, calc(100% - 120px));

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        260px
        minmax(0, 1fr);

    align-items: center;

    gap: 70px;

    position: relative;
}


/* KING */

.hero-king-wrap {
    display: flex;

    align-items: center;

    justify-content: center;
}


.hero-king {
    width: 250px !important;
    height: auto !important;

    max-width: 250px !important;

    display: block;

    object-fit: contain;

    filter:
        drop-shadow(
            0 12px 25px
            rgba(255,255,255,.05)
        );
}


/* HERO TEXT */

.hero-text-wrap {
    min-width: 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;
}


.hero-kicker {
    margin: 0 0 28px;

    color: #686868;

    font-size: 10px;

    letter-spacing: 8px;

    text-transform: uppercase;
}


.hero-title {
    margin: 0;

    font-family:
        "Manrope",
        sans-serif;

    font-weight: 500;

    line-height: .82;

    text-align: center;
}


.hero-title-top {
    display: block;

    color: #ffffff;

    font-size:
        clamp(
            100px,
            11vw,
            175px
        );

    letter-spacing: -8px;
}


.hero-title-bottom {
    display: block;

    color: #858585;

    font-size:
        clamp(
            90px,
            9vw,
            145px
        );

    letter-spacing: -7px;
}


.hero-description {
    max-width: 620px;

    margin:
        55px
        auto
        35px;

    color: #707070;

    font-size: 15px;

    line-height: 1.8;

    text-align: center;
}


.hero-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 18px;

    padding:
        20px
        30px;

    color: #111111;

    background: #f2f2f2;

    border: 1px solid #f2f2f2;

    border-radius:
        5px
        28px
        5px
        28px;

    text-decoration: none;

    font-size: 12px;

    letter-spacing: 1px;

    transition:
        transform .3s ease,
        background .3s ease;
}


.hero-button:hover {
    transform: scale(1.05);

    background: #ffffff;
}


/* ========================================================= */
/* ABOUT SECTION - RESTORE ALL TEXT */
/* ========================================================= */

.about-section {
    display: block !important;

    opacity: 1 !important;

    visibility: visible !important;
}


/*
   Your About content uses the "reveal" class.
   Force it visible so it cannot disappear if
   the JavaScript animation fails.
*/

.about-section .reveal {
    opacity: 1 !important;

    visibility: visible !important;

    transform: none !important;
}


/* Make sure text itself is visible */

.about-section p,
.about-section h2,
.about-section h3,
.about-section h4,
.about-section li,
.about-section span,
.about-section a {
    visibility: visible;
}


/* ========================================================= */
/* MOBILE */
/* ========================================================= */

@media (max-width: 900px) {

    .hero-main-layout {
        width: calc(100% - 40px);

        grid-template-columns: 1fr;

        gap: 25px;
    }


    .hero-king {
        width: 135px !important;

        max-width: 135px !important;
    }


    .hero-title-top {
        font-size:
            clamp(
                68px,
                19vw,
                105px
            );

        letter-spacing: -4px;
    }


    .hero-title-bottom {
        font-size:
            clamp(
                60px,
                16vw,
                92px
            );

        letter-spacing: -4px;
    }


    .hero-kicker {
        font-size: 8px;

        letter-spacing: 5px;

        margin-bottom: 20px;
    }


    .hero-description {
        margin-top: 35px;

        font-size: 14px;
    }

}
/* ========================================================= */
/* HERO POSITION + NAME ANIMATION */
/* ========================================================= */


/* --------------------------------------------------------- */
/* CENTER THE NAME */
/* --------------------------------------------------------- */

.hero-main-layout {
    position: relative;

    width: 100%;
    max-width: none;

    margin: 0 auto;

    display: block;
}


.hero-text-wrap {
    position: relative;

    width: min(900px, 72vw);

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    z-index: 3;
}



/* --------------------------------------------------------- */
/* CHESS KING */
/* --------------------------------------------------------- */

.hero-king-wrap {
    position: absolute;

    left: max(
        35px,
        calc(50% - 620px)
    );

    top: 50%;

    transform: translateY(-50%);

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 2;
}


.hero-king {
    width: 205px !important;
    max-width: 205px !important;

    height: auto !important;

    display: block;

    object-fit: contain;

    transition:
        transform .6s cubic-bezier(.2,.8,.2,1),
        filter .6s ease;
}


.hero-king:hover {
    transform:
        translateY(-5px)
        rotate(-2deg)
        scale(1.035);

    filter:
        drop-shadow(
            0 18px 28px
            rgba(255,255,255,.08)
        );
}



/* ========================================================= */
/* NAME LOAD ANIMATION */
/* ========================================================= */

.hero-title {
    overflow: hidden;

    padding:
        12px
        20px
        18px;

    cursor: default;
}


.hero-title-top,
.hero-title-bottom {
    display: block;

    opacity: 0;

    will-change:
        transform,
        opacity,
        filter,
        letter-spacing;
}



/* WALEED */

.hero-title-top {
    transform:
        translateY(110%)
        scaleY(.65);

    filter: blur(14px);

    animation:
        nameCounterReveal
        1.15s
        cubic-bezier(.16, 1, .3, 1)
        .15s
        forwards;
}



/* NISAR */

.hero-title-bottom {
    transform:
        translateY(110%)
        scaleY(.65);

    filter: blur(14px);

    animation:
        nameCounterReveal
        1.15s
        cubic-bezier(.16, 1, .3, 1)
        .30s
        forwards;
}



@keyframes nameCounterReveal {

    0% {
        opacity: 0;

        transform:
            translateY(110%)
            scaleY(.65);

        filter: blur(14px);
    }


    55% {
        opacity: 1;

        transform:
            translateY(-5%)
            scaleY(1.04);

        filter: blur(2px);
    }


    100% {
        opacity: 1;

        transform:
            translateY(0)
            scaleY(1);

        filter: blur(0);
    }

}



/* ========================================================= */
/* OTHER HERO ELEMENTS LOAD AFTER NAME */
/* ========================================================= */

.hero-kicker {
    opacity: 0;

    animation:
        heroFadeUp
        .8s
        ease
        .55s
        forwards;
}


.hero-description {
    opacity: 0;

    animation:
        heroFadeUp
        .8s
        ease
        .75s
        forwards;
}


.hero-button {
    opacity: 0;

    animation:
        heroFadeUp
        .8s
        ease
        .9s
        forwards;
}


@keyframes heroFadeUp {

    from {
        opacity: 0;

        transform:
            translateY(18px);
    }


    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}



/* ========================================================= */
/* NAME HOVER EFFECT */
/* ========================================================= */

.hero-title-top,
.hero-title-bottom {
    transition:
        transform .55s cubic-bezier(.16, 1, .3, 1),
        letter-spacing .55s cubic-bezier(.16, 1, .3, 1),
        color .4s ease,
        text-shadow .4s ease;
}



/* WALEED moves slightly left */

.hero-title:hover .hero-title-top {
    transform:
        translateX(-14px)
        skewX(-1.5deg);

    letter-spacing: -4px;

    text-shadow:
        0 0 24px
        rgba(255,255,255,.08);
}



/* NISAR moves slightly right */

.hero-title:hover .hero-title-bottom {
    transform:
        translateX(14px)
        skewX(1.5deg);

    letter-spacing: -3px;

    color: #a0a0a0;
}



/* ========================================================= */
/* MOBILE */
/* ========================================================= */

@media (max-width: 900px) {

    .hero-main-layout {
        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;
    }


    .hero-king-wrap {
        position: relative;

        left: auto;

        top: auto;

        transform: none;

        margin-bottom: 25px;
    }


    .hero-king {
        width: 125px !important;

        max-width: 125px !important;
    }


    .hero-text-wrap {
        width: calc(100% - 30px);
    }


    .hero-title:hover .hero-title-top,
    .hero-title:hover .hero-title-bottom {
        transform: none;
    }

}



/* ========================================================= */
/* ACCESSIBILITY */
/* ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .hero-title-top,
    .hero-title-bottom,
    .hero-kicker,
    .hero-description,
    .hero-button {
        animation: none !important;

        opacity: 1 !important;

        transform: none !important;

        filter: none !important;
    }

}
/* ========================================================= */
/* TOP RIGHT NAVIGATION */
/* ========================================================= */

.top-right-nav {
    position: fixed;

    top: 24px;
    right: 28px;

    z-index: 1000;

    display: flex;

    align-items: center;

    gap: 10px;
}


.top-right-nav .corner-tab {
    position: relative !important;

    top: auto !important;
    right: auto !important;
    left: auto !important;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding:
        0
        24px;

    border: 1px solid #2b2b2b;

    border-radius:
        4px
        24px
        24px
        24px;

    background:
        rgba(5,5,5,.72);

    backdrop-filter:
        blur(12px);

    color: #d7d7d7;

    text-decoration: none;

    font-size: 11px;

    letter-spacing: 2px;

    transition:
        border-color .3s ease,
        background .3s ease,
        transform .3s ease;
}


.top-right-nav .corner-tab:hover {
    transform:
        translateY(-2px);

    border-color:
        #555555;

    background:
        rgba(14,14,14,.88);
}



/* ========================================================= */
/* WEB DEVELOPMENT SECTION */
/* ========================================================= */

.webdev-section {
    position: relative;

    width: 100%;

    padding:
        130px
        5vw
        160px;

    background:
        radial-gradient(
            circle at 70% 5%,
            rgba(255,255,255,.035),
            transparent 35%
        ),
        #000000;

    overflow: hidden;
}


.webdev-container {
    width: min(1280px, 100%);

    margin: 0 auto;
}



/* ========================================================= */
/* ANIMATED BORDER */
/* ========================================================= */

@property --web-border-angle {

    syntax: "<angle>";

    initial-value: 0deg;

    inherits: false;

}


.webdev-shell {
    --web-border-angle: 0deg;

    position: relative;

    padding:
        80px
        70px;

    border-radius:
        8px
        48px
        8px
        48px;

    border:
        1px solid
        rgba(255,255,255,.08);

    background:
        rgba(5,5,5,.72);

    isolation: isolate;
}






/* ========================================================= */
/* WEB DEVELOPMENT HEADER */
/* ========================================================= */

.webdev-header {
    display: grid;

    grid-template-columns:
        minmax(0, 1.3fr)
        minmax(320px, .7fr);

    gap: 8vw;

    align-items: end;

    padding-bottom: 90px;

    border-bottom:
        1px solid
        #161616;
}


.webdev-kicker,
.webdev-small-label {
    color: #505050;

    font-size: 8px;

    letter-spacing: 5px;

    text-transform: uppercase;
}


.webdev-kicker {
    margin-bottom: 28px;
}


.webdev-header h2 {
    margin: 0;

    font-family:
        "Manrope",
        sans-serif;

    font-size:
        clamp(
            70px,
            8vw,
            125px
        );

    font-weight: 500;

    line-height: .88;

    letter-spacing: -7px;
}


.webdev-header h2 span {
    display: block;

    color: #626262;
}


.webdev-intro {
    display: flex;

    flex-direction: column;

    gap: 22px;
}


.webdev-intro p {
    color: #777777;

    font-size: 13px;

    line-height: 1.9;
}



/* ========================================================= */
/* CARDS */
/* ========================================================= */

.webdev-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

    margin-top: 70px;
}


.webdev-card {
    position: relative;

    min-height: 430px;

    padding:
        38px
        36px;

    border:
        1px solid
        #181818;

    border-radius:
        5px
        28px
        5px
        28px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.025),
            rgba(255,255,255,.004)
        );

    transition:
        transform .35s ease,
        border-color .35s ease,
        background .35s ease;
}


.webdev-card:hover {
    transform:
        translateY(-5px);

    border-color:
        #323232;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.008)
        );
}


.webdev-card-number {
    display: block;

    margin-bottom: 55px;

    color: #454545;

    font-size: 9px;

    letter-spacing: 3px;
}


.webdev-card h3 {
    margin-bottom: 30px;

    font-family:
        "Manrope",
        sans-serif;

    font-size: 29px;

    font-weight: 500;

    letter-spacing: -1.5px;
}


.webdev-card ul {
    list-style: none;

    display: grid;

    gap: 13px;
}


.webdev-card li {
    position: relative;

    padding-left: 18px;

    color: #777777;

    font-size: 12px;

    line-height: 1.5;
}


.webdev-card li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 8px;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background:
        #555555;
}



/* ========================================================= */
/* CAPABILITIES */
/* ========================================================= */

.webdev-capabilities {
    padding:
        110px
        0;

    border-bottom:
        1px solid
        #161616;
}


.webdev-capabilities h3 {
    max-width: 780px;

    margin:
        25px
        0
        45px;

    font-family:
        "Manrope",
        sans-serif;

    font-size:
        clamp(
            35px,
            4vw,
            60px
        );

    font-weight: 500;

    line-height: 1.1;

    letter-spacing: -3px;
}


.capability-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;
}


.capability-tags span {
    padding:
        11px
        16px;

    border:
        1px solid
        #1d1d1d;

    border-radius:
        999px;

    color:
        #686868;

    font-size:
        10px;

    transition:
        color .25s ease,
        border-color .25s ease,
        transform .25s ease;
}


.capability-tags span:hover {
    color: #ffffff;

    border-color: #444444;

    transform:
        translateY(-2px);
}



/* ========================================================= */
/* PROCESS */
/* ========================================================= */

.webdev-process {
    padding:
        110px
        0;

    border-bottom:
        1px solid
        #161616;
}


.process-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 28px;

    margin-top: 45px;
}


.process-step {
    padding-top:
        20px;

    border-top:
        1px solid
        #242424;
}


.process-step > span {
    color: #414141;

    font-size: 8px;

    letter-spacing: 3px;
}


.process-step h4 {
    margin:
        28px
        0
        13px;

    font-family:
        "Manrope",
        sans-serif;

    font-size:
        23px;

    font-weight: 500;
}


.process-step p {
    color: #696969;

    font-size: 12px;

    line-height: 1.8;
}



/* ========================================================= */
/* CONTACT */
/* ========================================================= */

.webdev-contact {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    gap: 60px;

    align-items: end;

    padding-top:
        110px;
}


.webdev-contact h3 {
    margin-top: 24px;

    font-family:
        "Manrope",
        sans-serif;

    font-size:
        clamp(
            45px,
            6vw,
            85px
        );

    font-weight: 500;

    line-height: .95;

    letter-spacing: -5px;
}


.webdev-contact h3 span {
    display: block;

    color: #626262;
}


.webdev-contact-details {
    display: flex;

    flex-direction: column;

    gap: 12px;

    min-width: 310px;
}


.webdev-contact-details a {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 35px;

    padding:
        17px
        20px;

    border:
        1px solid
        #242424;

    border-radius:
        4px
        18px
        4px
        18px;

    color: #b5b5b5;

    text-decoration: none;

    font-size: 11px;

    transition:
        transform .25s ease,
        border-color .25s ease,
        color .25s ease;
}


.webdev-contact-details a:hover {
    transform:
        translateX(4px);

    border-color:
        #535353;

    color:
        #ffffff;
}



/* ========================================================= */
/* MOBILE */
/* ========================================================= */

@media (max-width: 900px) {

    .top-right-nav {
        top: 16px;
        right: 16px;

        gap: 6px;
    }


    .top-right-nav .corner-tab {
        min-height: 40px;

        padding:
            0
            14px;

        font-size: 8px;

        letter-spacing: 1px;
    }


    .webdev-section {
        padding:
            90px
            20px
            110px;
    }


    .webdev-shell {
        padding:
            60px
            24px;

        border-radius:
            6px
            30px
            6px
            30px;
    }


    .webdev-header {
        grid-template-columns:
            1fr;

        gap: 45px;

        padding-bottom:
            65px;
    }


    .webdev-header h2 {
        font-size:
            clamp(
                55px,
                17vw,
                85px
            );

        letter-spacing:
            -4px;
    }


    .webdev-grid {
        grid-template-columns:
            1fr;
    }


    .webdev-card {
        min-height: auto;
    }


    .process-grid {
        grid-template-columns:
            repeat(2, 1fr);

        gap:
            45px
            20px;
    }


    .webdev-contact {
        grid-template-columns:
            1fr;

        align-items: start;
    }


    .webdev-contact-details {
        min-width: 0;

        width: 100%;
    }

}


@media (max-width: 520px) {

    .process-grid {
        grid-template-columns:
            1fr;
    }


    .webdev-contact-details a {
        font-size: 9px;

        gap: 10px;
    }

}
/* ========================================================= */
/* WEB DEVELOPMENT TAB - LOADING BORDER */
/* ========================================================= */

.webdev-top-tab {
    --web-border-angle: 0deg;

    position: relative !important;

    isolation: isolate;
}


.webdev-top-tab::before {
    content: "";

    position: absolute;

    inset: -1px;

    padding: 1px;

    border-radius: inherit;

    background:
        conic-gradient(
            from var(--web-border-angle),

            transparent 0deg,
            transparent 255deg,

            rgba(255,255,255,.08) 285deg,

            rgba(255,255,255,.9) 315deg,

            rgba(255,255,255,.18) 340deg,

            transparent 360deg
        );

    -webkit-mask:
        linear-gradient(#000 0 0)
        content-box,
        linear-gradient(#000 0 0);

    -webkit-mask-composite:
        xor;

    mask-composite:
        exclude;

    pointer-events: none;

    animation:
        webTabLoading
        3.8s
        linear
        infinite;
}


@keyframes webTabLoading {

    to {
        --web-border-angle: 360deg;
    }

}
/* ========================================================= */
/* WEB DEVELOPMENT — MOBILE FIX */
/* ========================================================= */

@media (max-width: 900px) {

    /* ----------------------------------------------------- */
    /* ALLOW THE ENTIRE PAGE TO SCROLL */
    /* ----------------------------------------------------- */

    html,
    body {
        width: 100% !important;

        height: auto !important;
        min-height: 100% !important;

        overflow-x: hidden !important;
        overflow-y: auto !important;
    }


    /* ----------------------------------------------------- */
    /* WEB DEVELOPMENT SECTION */
    /* ----------------------------------------------------- */

    .webdev-section {
        width: 100% !important;

        height: auto !important;
        min-height: auto !important;

        padding:
            105px
            14px
            100px !important;

        overflow: visible !important;
    }


    .webdev-container {
        width: 100% !important;

        max-width: 100% !important;

        margin: 0 auto !important;
    }


    .webdev-shell {
        width: 100% !important;

        height: auto !important;

        min-height: 0 !important;
        max-height: none !important;

        padding:
            55px
            22px
            75px !important;

        overflow: visible !important;

        border-radius:
            5px
            28px
            5px
            28px !important;
    }


    /* ----------------------------------------------------- */
    /* HEADER */
    /* ----------------------------------------------------- */

    .webdev-header {
        display: block !important;

        width: 100% !important;

        padding-bottom: 60px !important;
    }


    .webdev-kicker {
        font-size: 7px !important;

        letter-spacing: 4px !important;

        margin-bottom: 28px !important;
    }


    .webdev-header h2 {
        width: 100% !important;

        margin: 0 !important;

        font-size:
            clamp(
                48px,
                14vw,
                64px
            ) !important;

        line-height: .9 !important;

        letter-spacing: -4px !important;

        overflow: visible !important;

        white-space: normal !important;
    }


    .webdev-header h2 span {
        display: block !important;

        font-size: .72em !important;

        letter-spacing: -2px !important;

        white-space: nowrap !important;
    }


    /* ----------------------------------------------------- */
    /* INTRO TEXT */
    /* ----------------------------------------------------- */

    .webdev-intro {
        width: 100% !important;

        margin-top: 50px !important;

        gap: 24px !important;
    }


    .webdev-intro p {
        width: 100% !important;

        max-width: none !important;

        font-size: 13px !important;

        line-height: 1.9 !important;

        overflow-wrap: break-word !important;
    }


    /* ----------------------------------------------------- */
    /* SERVICE CARDS */
    /* ----------------------------------------------------- */

    .webdev-grid {
        display: grid !important;

        grid-template-columns: 1fr !important;

        width: 100% !important;

        gap: 16px !important;

        margin-top: 55px !important;
    }


    .webdev-card {
        display: block !important;

        width: 100% !important;

        min-height: 0 !important;

        height: auto !important;

        padding:
            32px
            25px !important;
    }


    .webdev-card-number {
        margin-bottom: 36px !important;
    }


    .webdev-card h3 {
        font-size: 25px !important;

        line-height: 1.15 !important;
    }


    .webdev-card li {
        font-size: 12px !important;
    }


    /* ----------------------------------------------------- */
    /* CAPABILITIES */
    /* ----------------------------------------------------- */

    .webdev-capabilities {
        display: block !important;

        width: 100% !important;

        padding:
            75px
            0 !important;
    }


    .webdev-capabilities h3 {
        font-size: 34px !important;

        line-height: 1.1 !important;

        letter-spacing: -2px !important;
    }


    .capability-tags {
        width: 100% !important;
    }


    /* ----------------------------------------------------- */
    /* PROCESS */
    /* ----------------------------------------------------- */

    .webdev-process {
        display: block !important;

        width: 100% !important;

        padding:
            75px
            0 !important;
    }


    .process-grid {
        display: grid !important;

        grid-template-columns: 1fr !important;

        gap: 42px !important;

        width: 100% !important;
    }


    /* ----------------------------------------------------- */
    /* CONTACT */
    /* ----------------------------------------------------- */

    .webdev-contact {
        display: block !important;

        width: 100% !important;

        padding-top: 75px !important;
    }


    .webdev-contact h3 {
        font-size: 45px !important;

        letter-spacing: -3px !important;
    }


    .webdev-contact-details {
        width: 100% !important;

        min-width: 0 !important;

        margin-top: 45px !important;
    }


    .webdev-contact-details a {
        width: 100% !important;

        font-size: 10px !important;

        overflow-wrap: anywhere !important;
    }


    /* ----------------------------------------------------- */
    /* HIDE FIXED HOMEPAGE NAV WHEN WEB DEV IS OPEN */
    /* ----------------------------------------------------- */

    body:has(#web-development:target)
    .bottom-navigation {
        display: none !important;
    }

}