  :root {
            --bg:        #0e1621;
            --bg2:       #131f2e;
            --bg3:       #192638;
            --surface:   #1d2f42;
            --surface2:  #223551;
            --border:    rgba(100,160,200,0.12);
            --teal:      #5bbfbf;
            --teal-dim:  #3d9999;
            --sage:      #7eb8a4;
            --gold:      #d4a96a;
            --text:      #dce9f0;
            --text-muted:#7fa8c2;
            --text-dim:  #4e7a96;
        }

        @font-face {
            font-family: "Saans";
            src: url('./fonts/WallopVF-TRIAL.woff2') format('woff2');
            font-weight: 100 900;
        }

        *, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

        html { scroll-behavior: smooth; font-size: 16px; }

        body {
             
            background: var(--bg);
            color: var(--text);
            overflow-x: hidden;
            font-family: "Saans", sans-serif;
        }


        nav {
            position: fixed;
            top: 0; left: 0; right: 0;
            z-index: 200;
            padding: 0 5%;
            height: 64px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: rgba(14,22,33,0.75);
            backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--border);
        }

        .logo {
            font-family: "Saans", sans-serif;
            font-size: 1.2rem;
            color: var(--teal);
            letter-spacing: 0.02em;
            text-decoration: none;
            font-weight: 700;
        }

        .nav-links {
            display: flex;
            gap: 0.25rem;
            list-style: none;
        }

        .nav-links a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.88rem;
            font-weight: 500;
            padding: 0.4rem 0.85rem;
            border-radius: 6px;
            transition: color 0.2s, background 0.2s;
            letter-spacing: 0.01em;
        }

        .nav-links a:hover {
            color: var(--teal);
            background: rgba(91,191,191,0.08);
        }


        #hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 6rem 5% 4rem;
            position: relative;
            overflow: hidden;
            background: var(--bg);
        }

        .hero-bg {
            position: absolute;
            inset: 0;
            background:
                radial-gradient(ellipse 60% 50% at 70% 40%, rgba(91,191,191,0.06) 0%, transparent 70%),
                radial-gradient(ellipse 40% 60% at 20% 70%, rgba(126,184,164,0.05) 0%, transparent 60%);
            pointer-events: none;
        }

        .hero-grid {
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(rgba(91,191,191,0.04) 1px, transparent 1px),
                linear-gradient(90deg, rgba(91,191,191,0.04) 1px, transparent 1px);
            background-size: 40px 40px;
            pointer-events: none;
            mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
        }

        .hero-inner {
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            gap: 5rem;
            max-width: 960px;
            width: 100%;
        }

        .hero-photo {
            position: relative;
            flex-shrink: 0;
            width: 220px;
            height: 220px;
            border-radius: 50%;
            border: 2px solid rgba(91,191,191,0.3);
            background: var(--surface);
            overflow: hidden;
            box-shadow: 0 0 40px rgba(91,191,191,0.1), 0 0 0 8px rgba(91,191,191,0.04);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero-photo video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .hero-text { flex: 1; }

        .hero-text h1 {
            font-family: "Saans", sans-serif;
            font-size: clamp(2.4rem, 5vw, 3.8rem);
            font-weight: 600;
            line-height: 1.15;
            margin-bottom: 0.6rem;
            color: var(--text);
        }

        .hero-text h1 span { color: var(--teal); }

        .typing-line {
            font-size: clamp(1rem, 2.2vw, 1.3rem);
            font-weight: 400;
            color: var(--text-muted);
            margin-bottom: 1.8rem;
            min-height: 2em;
            display: flex;
            align-items: center;
            gap: 0.4em;
        }

        .typing-line .prefix { color: var(--text-dim); }

        #typed-text {
            color: var(--sage);
            font-weight: 500;
        }

        .cursor {
            display: inline-block;
            width: 2px;
            height: 1.1em;
            background: var(--teal);
            margin-left: 1px;
            vertical-align: middle;
            border-radius: 1px;
            animation: blink 0.9s step-end infinite;
        }

        @keyframes blink {
            0%, 100% { opacity: 1; }
            50%       { opacity: 0; }
        }

        .hero-icons {
            display: flex;
            gap: 0.75rem;
            margin-bottom: 1.5rem;
        }

        .hero-icons a {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 1px solid rgba(91,191,191,0.25);
            background: rgba(91,191,191,0.04);
            color: var(--text-muted);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            text-decoration: none;
            transition: all 0.25s;
        }

        .hero-icons a:hover {
            border-color: var(--teal);
            color: var(--teal);
            background: rgba(91,191,191,0.1);
            transform: translateY(-3px);
            box-shadow: 0 6px 18px rgba(91,191,191,0.15);
        }

        .btn {
            display: inline-block;
            padding: 0.65rem 1.8rem;
            border: 1px solid rgba(91,191,191,0.4);
            border-radius: 50px;
            color: var(--teal);
            font-size: 0.9rem;
            font-weight: 500;
            text-decoration: none;
            letter-spacing: 0.04em;
            transition: all 0.25s;
            background: transparent;
            cursor: pointer;
        }

        .btn:hover {
            background: rgba(91,191,191,0.1);
            border-color: var(--teal);
            box-shadow: 0 4px 20px rgba(91,191,191,0.15);
            transform: translateY(-2px);
        }


        section {
            padding: 5rem 5%;
        }

        section:nth-child(even) { background: var(--bg2); }
        section:nth-child(odd)  { background: var(--bg);  }

        .section-wrap {
            max-width: 1100px;
            margin: 0 auto;
        }

        .section-heading {
            text-align: center;
            margin-bottom: 3rem;
        }

        .section-heading h2 {
            font-family: "Saans", sans-serif;
            font-size: clamp(1.6rem, 3vw, 2.2rem);
            font-weight: 600;
            color: var(--text);
            display: inline-block;
            position: relative;
            padding-bottom: 0.6rem;
            margin-bottom: 0.8rem;
        }

        .section-heading h2::after {
            content: '';
            position: absolute;
            bottom: 0; left: 50%;
            transform: translateX(-50%);
            width: 48px; height: 2px;
            background: linear-gradient(90deg, var(--teal), var(--sage));
            border-radius: 2px;
        }

        .section-heading p {
            color: var(--text-muted);
            font-size: 1rem;
            max-width: 680px;
            margin: 0 auto;
            line-height: 1.7;
        }


        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .about-text p {
            color: var(--text-muted);
            line-height: 1.8;
            margin-bottom: 1.2rem;
            font-size: 0.97rem;
        }

        .about-text p strong {
            color: var(--sage);
            font-weight: 600;
        }


        .tech-stack {
            margin-top: 1.8rem;
        }

        .tech-stack-label {
            font-size: 0.78rem;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--text-dim);
            margin-bottom: 0.75rem;
        }

        .tech-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .tech-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.3rem 0.75rem;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 500;
            border: 1px solid;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .tech-badge:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        }

        .tech-badge.teal {
            color: var(--teal);
            border-color: rgba(91,191,191,0.3);
            background: rgba(91,191,191,0.06);
        }

        .tech-badge.sage {
            color: var(--sage);
            border-color: rgba(126,184,164,0.3);
            background: rgba(126,184,164,0.06);
        }

        .tech-badge.gold {
            color: var(--gold);
            border-color: rgba(212,169,106,0.3);
            background: rgba(212,169,106,0.06);
        }

        .tech-badge.lavender {
            color: #a78bfa;
            border-color: rgba(167,139,250,0.3);
            background: rgba(167,139,250,0.06);
        }

        .about-img {
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid var(--border);
            background: var(--surface);
        }

        .about-img img {
            width: 100%;
            height: auto;
            display: block;
            opacity: 0.9;
        }

        .about-img-placeholder {
            aspect-ratio: 4/3;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-dim);
            font-size: 3rem;
        }



        /* FIX: Olympic layout — 6 virtual columns so last 2 center naturally */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 1.5rem;
        }

        /* Each card spans 2 of the 6 columns → 3 per row */
        .feature-card {
            grid-column: span 2;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 1.8rem;
            transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
            position: relative;
            overflow: hidden;
        }

        /* 4th card starts at column 2 → leaves 1 col gap each side */
        .feature-card:nth-child(4) { grid-column: 2 / 4; }
        /* 5th card sits right next to it */
        .feature-card:nth-child(5) { grid-column: 4 / 6; }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--teal), var(--sage));
            opacity: 0;
            transition: opacity 0.25s;
        }

        .feature-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 30px rgba(0,0,0,0.25);
            border-color: rgba(91,191,191,0.2);
        }

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

        .feature-icon {
            width: 52px; height: 52px;
            border-radius: 12px;
            background: rgba(91,191,191,0.08);
            border: 1px solid rgba(91,191,191,0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            color: var(--teal);
            margin-bottom: 1rem;
        }

        .feature-card h3 {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 0.5rem;
        }

        .feature-card p {
            font-size: 0.88rem;
            color: var(--text-muted);
            line-height: 1.7;
        }


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

        .doc-card {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 2rem;
            text-align: center;
            transition: transform 0.25s, box-shadow 0.25s;
        }

        .doc-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 30px rgba(0,0,0,0.25);
        }

        .doc-icon {
            font-size: 1.8rem;
            color: var(--gold);
            margin-bottom: 1rem;
        }

        .doc-card h3 {
            font-family: "Saans", sans-serif;
            font-size: 1.05rem;
            color: var(--text);
            margin-bottom: 0.6rem;
        }

        .doc-card p {
            font-size: 0.88rem;
            color: var(--text-muted);
            line-height: 1.65;
            margin-bottom: 1.4rem;
        }

        .doc-btn {
            display: inline-block;
            padding: 0.5rem 1.4rem;
            border: 1px solid rgba(212,169,106,0.3);
            border-radius: 50px;
            color: var(--gold);
            font-size: 0.82rem;
            font-weight: 500;
            text-decoration: none;
            letter-spacing: 0.04em;
            transition: all 0.25s;
        }

        .doc-btn:hover {
            background: rgba(212,169,106,0.1);
            border-color: var(--gold);
        }


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

        .showcase-item {
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 12px;
            overflow: hidden;
            transition: transform 0.25s, box-shadow 0.25s;
            display: flex;
            flex-direction: column;
        }

        .showcase-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 28px rgba(0,0,0,0.3);
        }

        .showcase-item img {
            width: 100%;
            aspect-ratio: 16 / 10;
            object-fit: cover;
            display: block;
            border-bottom: 1px solid var(--border);
        }
        .showcase-item video {
            width: 100%;
            aspect-ratio: 16 / 10;
            object-fit: cover;
            display: block;
            border-bottom: 1px solid var(--border);
        }

        .showcase-img-placeholder {
            aspect-ratio: 16/10;
            background: var(--surface2);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-dim);
            font-size: 2.5rem;
            border-bottom: 1px solid var(--border);
        }

        .showcase-label {
            padding: 1rem 1.2rem;
            flex: 1;
        }

        .showcase-label h3 {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 0.3rem;
        }

        .showcase-label p {
            font-size: 0.82rem;
            color: var(--text-muted);
            line-height: 1.6;
        }


        #contact {
            background: var(--bg2);
        }

        .contact-grid {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2rem;
        }

        .contact-methods {
            display: flex;
            flex-wrap: wrap;
            gap: 1.2rem;
            justify-content: center;
        }

        .contact-chip {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.85rem 1.4rem;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 50px;
            text-decoration: none;
            color: var(--text-muted);
            font-size: 0.9rem;
            transition: all 0.25s;
        }

        .contact-chip i {
            color: var(--teal);
            font-size: 1.1rem;
        }

        .contact-chip:hover {
            border-color: rgba(91,191,191,0.35);
            color: var(--text);
            background: var(--surface2);
            transform: translateY(-3px);
            box-shadow: 0 6px 18px rgba(0,0,0,0.2);
        }


        footer {
            background: var(--bg);
            border-top: 1px solid var(--border);
            padding: 1.5rem 5%;
            text-align: center;
            color: var(--text-dim);
            font-size: 0.8rem;
        }

        footer .f-logo {
            font-family: "Saans", sans-serif;
            font-style: italic;
            color: var(--teal);
            font-size: 1rem;
            margin-bottom: 0.3rem;
        }

        /* FIX: Footer link — no underline, proper colour on hover */
        footer a {
            color: var(--text-dim);
            text-decoration: none;
            transition: color 0.2s;
            cursor: pointer;
        }

        footer a:hover {
            color: #7eb8a4;
        }

        /* ── RESPONSIVE ──────────────────────────────── */
        @media (max-width: 768px) {
            .hero-inner   { flex-direction: column; text-align: center; gap: 2rem; }
            .hero-icons   { justify-content: center; }
            .about-grid   { grid-template-columns: 1fr; }
            .nav-links    { display: none; }

            /* Stack features to single column on mobile */
            .features-grid { grid-template-columns: 1fr; }
            .feature-card,
            .feature-card:nth-child(4),
            .feature-card:nth-child(5) { grid-column: 1 / -1; }
        }

/* @import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: "Poppins", sans-serif;
}

html {
    font-size: 62.5%;
}

body {
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background-color: black;
    color: white;
}

header {
    margin-top: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 9%;
    background-color: transparent;
    filter: drop-shadow(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 3rem;
    color: #b74b4b;
    font-weight: 800;
    cursor: pointer;
    transition: 0.5s ease;
}

.logo:hover {
    transform: scale(1.1);
}

nav a {
    font-size: 1.8rem;
    color: white;
    margin-left: 500;
    transition: 0.3 ease;
    border-bottom: 3px solid transparent;
}

nav a:hover,nav a.active{
    color: #b74b4b;
    border-bottom: 3px solid #b74b4b;
}

@media(max-width:955px){
    nav {
        position: absolute;
        display: none;
        top: 0;
        right: 0;
        width: 40%;
        border-left: 3px solid #b74b4b;
        border-bottom: 3px solid #b74b4b;
        border-bottom-left-radius: 2rem;
        padding: 1rem;
        background-color: #161616;
        border-top: 0.1rem solid rgba(0,0,0,1);
    }

    nav .active {
        display: block;
    }

    nav a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }

    nav a:hover, nav a.active {
        padding: 1rem;
        border-radius: 0.5rem;
        border-bottom: 0.5rem solid #b74b4b;
    }

}

section {
    min-height: 100vh;
    padding: 5rem 9% 5rem; 
}

.home {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    background-color: black;
}

.home .home-content h1 {
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.3;
}

span {
    color: #b74b4b;
}
.home-content h3 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.home-img {
    border-radius: 50%;
}

.home-img img {
    position: relative;
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 25px solid #b74b4b;
    cursor: pointer;
    transition: 0.2s linear;

}

.home-img img:hover {
    font-size: 1.8rem;
    font-weight: 500;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: 0.2rem solid #b74b4b;
    font-size: 2rem;
    border-radius: 50%;
    margin: 3rem 1.5rem 0;
    transition: 0.3s ease;
    color: white;
}

.social-icons a:hover {
    color: black;
    transform: scale(1.3) translateY(-5px);
    background-color: #b74b4b;
    box-shadow: 0 0 25px #b74b4b;

}
.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: black;
    border-radius: 4rem;
    font-size: 1.6rem;
    color: #b74b4b;
    letter-spacing: 0.3rem;
    font-weight: 600;
    border: 2px solid #b74b4b;
    transition: 0.3s ease;
    cursor: pointer;
}

.btn:hover{
    transform: scale3d(1.03);
    background-color: #b74b4b;
    color: black;
    box-shadow: 0 0 25px #b74b4b;
}

.typing-text{
    font-size: 34px;
    font-weight: 600;
    min-width: 280px;
}

.typing-text span {
    position: relative;
}

.typing-text span::before {
    content: "software dev";
    color: #b74b4b;
    animation: words 20s infinite;
}

.typing-text span::after {
    content: "";
    background-color: black;
    position: absolute;
    width: calc(100%+8px);
    height: 100%;
    border-left: 3px solid black;
    right: -8;
    animation: cursor 0.6s infinite;
}

@keyframes cursor {
    to {
        border-left: 3px solid #b74b4b;
    }

}

@keyframes words {
    0%, 20% {
        content: "Final Year Student Of Software Development Honours Degree"
    }
    21%, 40% {
        content: "CS Fresh Graduate"
    }
    41%, 60%{
        content: "Software Engineer"
    }
    61%, 80% {
        content: "Fullstack Developer"
    }
    81%, 100% {
        content: "Cloud Enthusiast"
    }
}

@media (max-width: 1000px){
    .home{
        flex-direction:column;
        margin: 5rem 4rem;
    }
}

@media(max-width: 995px){
    .home .home-content h3{
        font-size: 2.5rem;
    }
    .home-content h1 {
        font-size: 5rem;
    }
    .home-img img {
        margin-top: 4rem;
    }
} */