@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --background: #090B18;
    --surface: #171B35;
    --primary: #7657FF;
    --secondary: #B6A1FF;
    --text: #F4F2FF;
    --muted: #A5A3B8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* NAVIGATION */

.header {
    width: 100%;
    padding: 25px 8%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.navbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 30px;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 27px;
    font-weight: 700;
    letter-spacing: -1.5px;
    flex-shrink: 0;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 38px;
    list-style: none;
    margin-left: auto;
}

.nav-links a {
    color: var(--muted);
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary);
}

.nav-button {
    padding: 12px 22px;
    border: 1px solid rgba(182, 161, 255, 0.35);
    border-radius: 30px;
    font-size: 13px;
    transition: 0.3s ease;
    flex-shrink: 0;
}

.nav-button:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* HERO SECTION */

.hero {
    min-height: 100vh;
    padding: 150px 8% 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 75% 55%,
            rgba(118, 87, 255, 0.18),
            transparent 38%
        ),
        radial-gradient(
            ellipse at 15% 100%,
            rgba(48, 42, 120, 0.25),
            transparent 45%
        );
}

.hero-content {
    max-width: 680px;
    position: relative;
    z-index: 2;
    animation: heroEntrance 1s ease both;
}

.hero-label {
    color: var(--secondary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 28px;
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(48px, 6.2vw, 82px);
    line-height: 1.08;
    letter-spacing: -4px;
    font-weight: 600;
}

.hero h1 span {
    display: block;
    color: var(--secondary);
}

.hero-description {
    color: var(--muted);
    max-width: 510px;
    line-height: 1.9;
    font-size: 16px;
    margin: 28px 0 35px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s ease;
}

.primary-button {
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 30px rgba(118, 87, 255, 0.25);
}

.primary-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(118, 87, 255, 0.45);
}

.secondary-button {
    border: 1px solid rgba(182, 161, 255, 0.3);
    color: var(--text);
}

.secondary-button:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-4px);
}

/* HERO ANIMATED VISUAL */

.hero-visual {
    width: 420px;
    height: 420px;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: visualEntrance 1.3s ease both;
}

.visual-glow {
    position: absolute;
    width: 260px;
    height: 260px;
    background: var(--primary);
    filter: blur(110px);
    opacity: 0.45;
    border-radius: 50%;
    animation: glowPulse 4s ease-in-out infinite;
}

.visual-circle {
    position: absolute;
    border: 1px solid rgba(182, 161, 255, 0.35);
    border-radius: 50%;
}

.circle-one {
    width: 330px;
    height: 330px;
    animation: rotateClockwise 18s linear infinite;
}

.circle-two {
    width: 245px;
    height: 245px;
    border-color: rgba(118, 87, 255, 0.75);
    animation: rotateAnticlockwise 13s linear infinite;
}

.visual-circle::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--secondary);
    border-radius: 50%;
    top: 12%;
    left: 15%;
    box-shadow: 0 0 20px var(--secondary);
}

.visual-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 27px;
    font-weight: 700;
    letter-spacing: 5px;
    text-align: center;
    z-index: 1;
}

.visual-text span:nth-child(2) {
    color: var(--secondary);
}

/* LOWER SECTIONS */

.work,
.about,
.contact {
    padding: 110px 8%;
    border-top: 1px solid rgba(182, 161, 255, 0.1);
    position: relative;
}

.work h2,
.about h2,
.contact h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 18px;
}

.work p {
    color: var(--muted);
    line-height: 1.8;
}

/* ANIMATIONS */

@keyframes heroEntrance {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes visualEntrance {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateClockwise {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateAnticlockwise {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.9);
    }

    50% {
        opacity: 0.55;
        transform: scale(1.15);
    }
}

/* RESPONSIVE DESIGN */

@media (max-width: 1000px) {
    .hero {
        gap: 25px;
    }

    .hero-visual {
        width: 320px;
        height: 320px;
    }

    .circle-one {
        width: 270px;
        height: 270px;
    }

    .circle-two {
        width: 200px;
        height: 200px;
    }

    .visual-text {
        font-size: 22px;
    }
}

@media (max-width: 750px) {
    .header {
        padding: 22px 6%;
    }

    .nav-links {
        gap: 18px;
    }

    .hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 145px 6% 70px;
    }

    .hero-visual {
        align-self: center;
    }
}

@media (max-width: 650px) {
    .nav-links {
        display: none;
    }

    .nav-button {
        padding: 10px 16px;
    }

    .hero h1 {
        font-size: clamp(43px, 11vw, 60px);
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-visual {
        width: 100%;
        height: 300px;
    }

    .circle-one {
        width: 260px;
        height: 260px;
    }

    .circle-two {
        width: 195px;
        height: 195px;
    }

    .work,
    .about,
    .contact {
        padding: 80px 6%;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
.work {
    padding: 130px 8%;
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(118, 87, 255, 0.08),
            transparent 35%
        ),
        var(--background);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 65px;
}

.section-label,
.project-category {
    color: var(--secondary);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
}

.section-heading h2 {
    max-width: 650px;
    font-size: clamp(35px, 4.5vw, 58px);
    line-height: 1.15;
    letter-spacing: -2px;
    margin-top: 20px;
}

.section-heading h2 span {
    color: var(--secondary);
}

.section-description {
    max-width: 340px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.project-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 28px;
}

.project-card {
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(182, 161, 255, 0.12);
    border-radius: 18px;
    background: rgba(23, 27, 53, 0.55);
    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        background 0.4s ease;
}

.project-card:hover {
    transform: translateY(-9px);
    border-color: rgba(182, 161, 255, 0.5);
    background: rgba(23, 27, 53, 0.9);
}

/* STREET SIGNAL PREVIEW */

.project-preview {
    min-height: 360px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.street-signal-preview {
    background:
        radial-gradient(
            circle at 80% 65%,
            rgba(180, 255, 75, 0.16),
            transparent 30%
        ),
        linear-gradient(135deg, #101D18, #172C21 65%, #0B1712);
    padding: 25px;
}

.preview-top {
    display: flex;
    justify-content: space-between;
    color: #C7F58A;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.preview-content {
    position: relative;
    z-index: 2;
    margin-top: 75px;
}

.preview-label {
    color: #C7F58A;
    font-size: 10px;
    letter-spacing: 2px;
}

.preview-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 3vw, 43px);
    line-height: 1.15;
    margin: 16px 0;
}

.preview-content p {
    color: #C2CCBF;
    font-size: 12px;
}
.preview-orb {
    position: absolute;
    width: 230px;
    height: 230px;
    right: -80px;
    bottom: -100px;
    border-radius: 50%;
    border: 1px solid rgba(199, 245, 138, 0.3);
    box-shadow:
        0 0 50px rgba(199, 245, 138, 0.08),
        inset 0 0 40px rgba(199, 245, 138, 0.08);
}

/* PROJECT INFORMATION */

.project-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    padding: 25px 10px 15px;
}

.project-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 23px;
    margin: 12px 0;
}

.project-info p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
    max-width: 430px;
}

.project-link {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(182, 161, 255, 0.3);
    border-radius: 50%;
    color: var(--secondary);
    font-size: 20px;
    transition: 0.3s ease;
}

.project-card:hover .project-link {
    background: var(--primary);
    color: white;
    transform: rotate(45deg);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 5px 10px 12px;
}

.project-tags span {
    padding: 7px 11px;
    border: 1px solid rgba(182, 161, 255, 0.15);
    border-radius: 30px;
    color: var(--muted);
    font-size: 10px;
}

/* UPCOMING PROJECT */

.upcoming-preview {
    min-height: 360px;
    height: 360px;
    padding: 30px;
    border-radius: 12px;
    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(118, 87, 255, 0.3),
            transparent 45%
        ),
        #12152B;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.upcoming-preview::before,
.upcoming-preview::after {
    content: "";
    position: absolute;
    width: 270px;
    height: 270px;
    border: 1px solid rgba(182, 161, 255, 0.16);
    border-radius: 50%;
    animation: rotateClockwise 25s linear infinite;
}

.upcoming-preview::after {
    width: 200px;
    height: 200px;
    animation: rotateAnticlockwise 20s linear infinite;
}

.upcoming-icon {
    color: var(--secondary);
    font-size: 45px;
    margin-bottom: 20px;
}

.upcoming-preview > span {
    color: var(--secondary);
    font-size: 10px;
    letter-spacing: 3px;
    z-index: 1;
}

.upcoming-preview h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 35px;
    line-height: 1.2;
    margin: 20px 0;
    z-index: 1;
}

.upcoming-preview p {
    max-width: 270px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
    z-index: 1;
}

.upcoming-line {
    width: 45px;
    height: 2px;
    background: var(--primary);
    margin-top: 25px;
    z-index: 1;
}

/* WORK FOOTER */

.work-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid rgba(182, 161, 255, 0.12);
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 2px;
}

/* RESPONSIVE PROJECT LAYOUT */

@media (max-width: 900px) {
    .project-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-description {
        max-width: 500px;
    }
}

@media (max-width: 650px) {
    .work {
        padding: 85px 6%;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .project-preview {
        min-height: 390px;
        height: auto;
    }
    .upcoming-preview {
        min-height: 300px;
        height: 300px;
    }
    .street-signal-preview {
        padding: 22px;
    }
    .preview-content {
        margin-top: 35px;
        padding-bottom: 25px;
    }

    .project-info h3 {
        font-size: 20px;
    }

    .work-footer {
        flex-direction: column;
        line-height: 1.8;
    }
    .preview-button {
        display: inline-flex;
        margin-top: 20px;
        padding: 12px 18px;
        visibility: visible;
        opacity: 1;
    }
}
.about {
    padding: 130px 8%;
    background: #0D1021;
    overflow: hidden;
}

.about-container {
    max-width: 1400px;
    margin: auto;
}

.about-heading {
    max-width: 750px;
    margin-bottom: 75px;
}

.about-heading h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(38px, 5vw, 65px);
    line-height: 1.15;
    letter-spacing: -3px;
    margin-top: 20px;
}

.about-heading h2 span {
    color: var(--secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 90px;
}

.about-text {
    max-width: 620px;
}

.about-text p {
    color: var(--muted);
    font-size: 14px;
    line-height: 2;
    margin-bottom: 22px;
}

.about-text .about-intro {
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    line-height: 1.7;
}

.about-intro span {
    color: var(--secondary);
}

.about-button {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
    padding: 15px 23px;
    border: 1px solid rgba(182, 161, 255, 0.4);
    border-radius: 7px;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s ease;
}

.about-button:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.about-button span {
    color: var(--secondary);
}

/* ABOUT VISUAL */

.about-visual {
    min-height: 420px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(182, 161, 255, 0.12);
    border-radius: 18px;
    background:
        radial-gradient(
            circle at center,
            rgba(118, 87, 255, 0.18),
            transparent 55%
        ),
        #12152B;
}

.about-visual-glow {
    position: absolute;
    width: 180px;
    height: 180px;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0.45;
}

.about-orbit {
    position: absolute;
    border: 1px solid rgba(182, 161, 255, 0.25);
    border-radius: 50%;
}

.orbit-one {
    width: 290px;
    height: 290px;
    animation: rotateClockwise 20s linear infinite;
}

.orbit-two {
    width: 220px;
    height: 220px;
    border-color: rgba(118, 87, 255, 0.65);
    animation: rotateAnticlockwise 15s linear infinite;
}

.about-orbit::before {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    background: var(--secondary);
    border-radius: 50%;
    top: 10%;
    left: 20%;
    box-shadow: 0 0 18px var(--secondary);
}

.about-initials {
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    z-index: 2;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 110px;
    font-weight: 700;
    letter-spacing: -12px;
}

.about-initials span:first-child {
    color: var(--text);
}

.about-initials span:last-child {
    color: var(--secondary);
}

.about-caption {
    position: absolute;
    bottom: 65px;
    display: flex;
    gap: 12px;
    color: var(--secondary);
    font-size: 9px;
    letter-spacing: 3px;
}

.about-coordinate {
    position: absolute;
    top: 25px;
    right: 25px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 2px;
}

/* ABOUT BOTTOM DETAILS */

.about-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 85px;
    border-top: 1px solid rgba(182, 161, 255, 0.15);
    padding-top: 35px;
    gap: 25px;
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-number {
    color: var(--secondary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 30px;
    font-weight: 600;
}

.stat-label {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 2px;
}

/* ABOUT RESPONSIVENESS */

@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .about-visual {
        min-height: 380px;
    }
}

@media (max-width: 650px) {
    .about {
        padding: 85px 6%;
    }

    .about-heading {
        margin-bottom: 45px;
    }

    .about-heading h2 {
        letter-spacing: -2px;
    }

    .about-text .about-intro {
        font-size: 19px;
    }

    .about-visual {
        min-height: 320px;
    }

    .about-initials {
        font-size: 85px;
    }

    .orbit-one {
        width: 240px;
        height: 240px;
    }

    .orbit-two {
        width: 180px;
        height: 180px;
    }

    .about-bottom {
        gap: 20px;
        margin-top: 55px;
    }

    .stat-number {
        font-size: 25px;
    }

    .stat-label {
        font-size: 8px;
        letter-spacing: 1px;
    }
}
.toolkit {
    padding: 130px 8%;
    background: var(--background);
    overflow: hidden;
}

.toolkit-container {
    max-width: 1400px;
    margin: auto;
}

.toolkit-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 65px;
}

.toolkit-heading h2 {
    max-width: 650px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.15;
    letter-spacing: -2.5px;
    margin-top: 20px;
}

.toolkit-heading h2 span {
    color: var(--secondary);
}

.toolkit-description {
    max-width: 340px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

/* TOOLKIT GRID */

.toolkit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.toolkit-card {
    position: relative;
    min-width: 0;
    padding: 30px 25px;
    border: 1px solid rgba(182, 161, 255, 0.13);
    border-radius: 16px;
    background:
        linear-gradient(
            145deg,
            rgba(23, 27, 53, 0.95),
            rgba(13, 16, 33, 0.9)
        );
    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

.toolkit-card:hover {
    transform: translateY(-9px);
    border-color: rgba(182, 161, 255, 0.55);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
}

.toolkit-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.toolkit-number {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 2px;
}

.toolkit-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border: 1px solid rgba(182, 161, 255, 0.25);
    border-radius: 12px;
    color: var(--secondary);
    font-size: 19px;
    background: rgba(118, 87, 255, 0.1);
}

.toolkit-category {
    color: var(--secondary);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 13px;
}

.toolkit-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 21px;
    margin-bottom: 12px;
}

.toolkit-card-description {
    min-height: 65px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 28px;
}

/* TECHNOLOGY ITEMS */

.technology-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.technology-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid rgba(182, 161, 255, 0.09);
    border-radius: 9px;
    background: rgba(9, 11, 24, 0.4);
    transition:
        background 0.3s ease,
        transform 0.3s ease,
        border-color 0.3s ease;
}

.technology-item:hover {
    transform: translateX(5px);
    background: rgba(118, 87, 255, 0.1);
    border-color: rgba(182, 161, 255, 0.25);
}

.tech-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.html-icon {
    color: #FF875F;
    background: rgba(255, 135, 95, 0.12);
}

.css-icon {
    color: #65A9FF;
    background: rgba(101, 169, 255, 0.12);
}

.js-icon {
    color: #F7D65A;
    background: rgba(247, 214, 90, 0.12);
    font-size: 12px;
}

.vscode-icon {
    color: #5CB9FF;
    background: rgba(92, 185, 255, 0.12);
    font-size: 11px;
}

.git-icon {
    color: #FF8D72;
    background: rgba(255, 141, 114, 0.12);
}

.github-icon {
    color: #D5CCFF;
    background: rgba(213, 204, 255, 0.12);
    font-size: 11px;
}

.technology-item strong,
.learning-item strong {
    display: block;
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
}

.technology-item small,
.learning-item small {
    display: block;
    color: var(--muted);
    font-size: 10px;
    margin-top: 4px;
}

/* CURRENT LEARNING */

.learning-card {
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(118, 87, 255, 0.13),
            transparent 45%
        ),
        linear-gradient(
            145deg,
            rgba(23, 27, 53, 0.95),
            rgba(13, 16, 33, 0.9)
        );
}

.learning-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 8px 0;
}

.learning-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.learning-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    margin-top: 4px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 12px var(--secondary);
}

/* TOOLKIT FOOTER */

.toolkit-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid rgba(182, 161, 255, 0.13);
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 2px;
}

.footer-dot {
    color: var(--secondary);
    margin-left: 5px;
    font-size: 8px;
}

/* TOOLKIT RESPONSIVENESS */

@media (max-width: 1050px) {
    .toolkit-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .learning-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 750px) {
    .toolkit-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .toolkit-description {
        max-width: 500px;
    }
}

@media (max-width: 650px) {
    .toolkit {
        padding: 85px 6%;
    }

    .toolkit-heading {
        margin-bottom: 40px;
    }

    .toolkit-heading h2 {
        letter-spacing: -1.5px;
    }

    .toolkit-grid {
        grid-template-columns: 1fr;
    }

    .learning-card {
        grid-column: auto;
    }

    .toolkit-card {
        padding: 25px 20px;
    }

    .toolkit-card-description {
        min-height: auto;
    }

    .toolkit-footer {
        flex-direction: column;
        line-height: 1.8;
    }
}
.contact {
    padding: 130px 8%;
    background:
        radial-gradient(
            circle at 50% 55%,
            rgba(118, 87, 255, 0.15),
            transparent 45%
        ),
        #0D1021;
    overflow: hidden;
}

.contact-container {
    max-width: 1200px;
    margin: auto;
}

.contact-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 70px;
}

.contact-index {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 2px;
}

.contact-heading {
    max-width: 900px;
}

.contact-heading h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(48px, 7vw, 88px);
    line-height: 1.08;
    letter-spacing: -4px;
}

.contact-heading h2 span {
    display: block;
    color: var(--secondary);
}

.contact-heading p {
    max-width: 530px;
    color: var(--muted);
    font-size: 14px;
    line-height: 2;
    margin-top: 28px;
}

/* CONTACT BUTTON */

.contact-email-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    max-width: 330px;
    margin-top: 45px;
    padding: 20px 24px;
    border-radius: 8px;
    background: var(--primary);
    color: white;
    font-size: 13px;
    font-weight: 600;
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.contact-email-button:hover {
    background: #6546EB;
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(118, 87, 255, 0.25);
}

.contact-arrow {
    font-size: 21px;
    transition: transform 0.3s ease;
}

.contact-email-button:hover .contact-arrow {
    transform: translate(4px, -4px);
}

/* DIRECT EMAIL */

.contact-email {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 38px;
}

.contact-email > span,
.contact-socials > span {
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 2px;
}

.contact-email a {
    width: fit-content;
    color: var(--text);
    font-size: 15px;
    transition: color 0.3s ease;
}

.contact-email a:hover {
    color: var(--secondary);
}

/* CONTACT BOTTOM */

.contact-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 100px;
    padding-top: 30px;
    border-top: 1px solid rgba(182, 161, 255, 0.16);
}

.contact-availability {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--text);
    font-size: 10px;
    letter-spacing: 1.5px;
}

.availability-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #73E6A5;
    box-shadow: 0 0 12px rgba(115, 230, 165, 0.7);
    animation: availabilityPulse 2s ease-in-out infinite;
}

@keyframes availabilityPulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 12px rgba(115, 230, 165, 0.7);
    }

    50% {
        opacity: 0.45;
        box-shadow: 0 0 4px rgba(115, 230, 165, 0.3);
    }
}

.contact-socials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
}

.contact-socials a {
    color: var(--muted);
    font-size: 11px;
    transition: color 0.3s ease;
}

.contact-socials a:hover {
    color: var(--secondary);
}

/* =================================
   FOOTER
================================= */

.footer {
    padding: 35px 8% 22px;
    background: #090B18;
}

.footer-container {
    max-width: 1400px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 25px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -1px;
}

.footer-logo span {
    color: var(--secondary);
}

.footer-container p {
    color: var(--muted);
    font-size: 11px;
}

.footer-back {
    color: var(--secondary);
    font-size: 10px;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.footer-back:hover {
    color: white;
}

.footer-copyright {
    max-width: 1400px;
    margin: 30px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(182, 161, 255, 0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 1px;
}

/* CONTACT RESPONSIVENESS */

@media (max-width: 650px) {

    .contact {
        padding: 85px 6%;
    }

    .contact-top {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 50px;
    }

    .contact-heading h2 {
        font-size: clamp(43px, 11vw, 62px);
        letter-spacing: -2px;
    }

    .contact-heading p {
        font-size: 13px;
    }

    .contact-email-button {
        max-width: 100%;
    }

    .contact-bottom {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 70px;
    }

    .contact-socials {
        gap: 16px;
    }

    .footer {
        padding: 30px 6% 20px;
    }

    .footer-container {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .footer-copyright {
        flex-direction: column;
        line-height: 1.8;
    }
}
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(182, 161, 255, 0.25);
    border-radius: 8px;
    background: rgba(118, 87, 255, 0.1);
    cursor: pointer;
    z-index: 1002;
}

.menu-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 5px;
    background: var(--text);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:first-child {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:last-child {
    transform: translateY(-8px) rotate(-45deg);
}

/* MOBILE DROPDOWN */

@media (max-width: 750px) {

    .navbar {
        position: relative;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 15px);
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        border: 1px solid rgba(182, 161, 255, 0.2);
        border-radius: 12px;
        background: rgba(13, 16, 33, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition:
            opacity 0.3s ease,
            transform 0.3s ease,
            visibility 0.3s ease;
        z-index: 1001;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 14px 15px;
        border-radius: 7px;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(118, 87, 255, 0.12);
    }

    .nav-button {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .menu-toggle span,
    .nav-links {
        transition: none;
    }
}
.page-loader {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #090B18;
    z-index: 10000;
    opacity: 1;
    visibility: visible;
    transition:
        opacity 0.7s ease,
        visibility 0.7s ease;
}

.page-loader.loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    width: min(280px, 80%);
    text-align: center;
}

.loader-initials {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 76px;
    font-weight: 700;
    letter-spacing: -7px;
    color: var(--text);
    animation: loaderAppear 0.8s ease both;
}

.loader-initials span {
    color: var(--secondary);
}

.loader-content p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 3px;
}

.loader-track {
    width: 100%;
    height: 2px;
    margin-top: 30px;
    overflow: hidden;
    background: rgba(182, 161, 255, 0.15);
}

.loader-progress {
    width: 0;
    height: 100%;
    background: linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );
    animation: loaderProgress 1.2s ease forwards;
}

@keyframes loaderProgress {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes loaderAppear {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-loader,
    .loader-initials {
        animation: none;
        transition: none;
    }

    .loader-progress {
        animation: none;
        width: 100%;
    }
}
.project-card,
.toolkit-card,
.about-stat {
    will-change: transform, opacity;
}
.project-card,
.toolkit-card {
    transition: opacity 0.7s ease,
    transform 0.7s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    --background 0.4s ease,
}
.about-stat {
    transition: opacity 0.7s ease, transform 0.7s ease;
}
@media (prefers-reduced-motion: reduce) {
    .project-card,
    .toolkit-card,
    .about-stat {
        transition: none;
        transform: none;
    }
}
.about-portrait {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    /* max-height: 420px; */
    object-fit: cover;
    object-position: center 25%;
    border-radius: 24px;
    border: 1px solid rgba(182, 161, 255, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35),  0 0 35px rgba(118, 87, 255, 0.12);
    transition: transform 0.5s ease,
    box-shadow 0.5s ease;
}
.about-visual:hover .about-potrait {
    transform: scale(1.025);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45), 0 0 45px rgba(118, 87, 255, 0.2)
}
@media (max-width: 750px) {
    .about-portrait {
        max-height: 360px;
        object-position: center 25%;
    }
}
@media (prefers-reduced-motion: reduce) {
    .about-portrait {
        transition: none;
    }
}
.preview-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    padding: 12px 20px;
    border: 1px solid rgba(199, 245, 138, 0.5);
    border-radius: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #C7F58A;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.preview-button:hover {
    background: rgba(199, 245, 138, 0.12);
    border-color: #C7F58A;
    transform: translateY(-3px);
}
.featured-project .preview-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    visibility: visible;
    opacity: 1;
    position: relative;
    z-index: 5;
}

.featured-project .project-github-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 20px 25px 25px;
    padding: 12px 18px;
    border: 1px solid rgba(182, 161, 255, 0.5);
    border-radius: 5px;
    color: var(--secondary);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    visibility: visible;
    opacity: 1;
    position: relative;
    z-index: 5;
    transition: all 0.3s ease;
}

.featured-project .project-github-link:hover {
    background: rgba(182, 161, 255, 0.12);
    border-color: var(--secondary);
    transform: translateY(-3px);
}

/* ENSURE PROJECT LINKS DISPLAY ON TOUCH DEVICES */

@media (hover: none) {
    .featured-project .preview-button,
    .featured-project .project-github-link {
        display: inline-flex;
        visibility: visible;
        opacity: 1;
    }
}

