﻿:root {
    --bg: #07111f;
    --bg-2: #0b172a;
    --card: rgba(255,255,255,0.075);
    --card-2: rgba(255,255,255,0.11);
    --text: #f8fafc;
    --muted: #a7b4c7;
    --line: rgba(255,255,255,0.12);
    --gold: #d6a94a;
    --cyan: #38bdf8;
    --green: #34d399;
    --shadow: 0 24px 70px rgba(0,0,0,0.38);
    --radius: 28px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at 15% 10%, rgba(56,189,248,0.18), transparent 28%), radial-gradient(circle at 85% 5%, rgba(214,169,74,0.20), transparent 30%), radial-gradient(circle at 70% 70%, rgba(52,211,153,0.10), transparent 25%), linear-gradient(135deg, var(--bg), var(--bg-2));
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 36px));
    margin: auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(7,17,31,0.72);
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}


/* Links */

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

    .nav-links a {
        color: white;
        text-decoration: none;
        font-weight: 600;
        transition: .3s ease;
    }

        .nav-links a:hover {
            color: var(--gold);
        }

/* Hamburger */

.menu-toggle {
    display: none;
    font-size: 34px;
    color: white;
    cursor: pointer;
}


.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.logo {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 16px;
   
}

.nav-links {
    display: flex;
    gap: 22px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

    .nav-links a:hover {
        color: var(--text);
    }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), #f5d47d);
    color: #08111f;
    font-weight: 800;
    border: 0;
    cursor: pointer;
    box-shadow: 0 18px 45px rgba(214,169,74,0.25);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 26px 60px rgba(214,169,74,0.32);
    }

    .btn.secondary {
        background: rgba(255,255,255,0.08);
        color: var(--text);
        border: 1px solid var(--line);
        box-shadow: none;
    }

.hero {
    padding: 90px 0 54px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 42px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.07);
    color: #dbeafe;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 22px;
}

h1 {
    font-size: clamp(42px, 7vw, 40px);
    line-height: .94;
    letter-spacing: -0.075em;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, #fff, #bae6fd 42%, #f5d47d 85%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
    max-width: 720px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.profile-card {
    position: relative;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.055));
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    overflow: hidden;
}

    .profile-card::before {
        content: "";
        position: absolute;
        inset: -80px -90px auto auto;
        width: 220px;
        height: 220px;
        background: radial-gradient(circle, rgba(214,169,74,0.45), transparent 64%);
    }

.avatar {
    width: 128px;
    height: 128px;
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(56,189,248,0.28), rgba(214,169,74,0.32));
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    font-size: 44px;
    font-weight: 900;
    margin-bottom: 22px;
}

.profile-card h2 {
    font-size: 28px;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}

.profile-card .role {
    color: var(--gold);
    font-weight: 800;
    margin-bottom: 22px;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.mini-card {
    padding: 16px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.06);
}

    .mini-card strong {
        display: block;
        font-size: 24px;
        margin-bottom: 4px;
    }

    .mini-card span {
        color: var(--muted);
        font-size: 13px;
    }

section {
    padding: 58px 0;
}

.section-head {
    margin-bottom: 28px;
}

.eyebrow {
    color: var(--gold);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .18em;
    margin-bottom: 10px;
}

h3 {
    font-size: clamp(28px, 4vw, 46px);
    letter-spacing: -0.055em;
}

.section-head p {
    color: var(--muted);
    margin-top: 12px;
    line-height: 1.7;
    max-width: 760px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.card {
    border: 1px solid var(--line);
    background: var(--card);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 16px 44px rgba(0,0,0,0.18);
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

    .card:hover {
        transform: translateY(-6px);
        background: var(--card-2);
        border-color: rgba(214,169,74,0.35);
    }

.icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(56,189,248,0.12);
    border: 1px solid rgba(56,189,248,0.24);
    margin-bottom: 18px;
    font-size: 22px;
}

.card h4 {
    font-size: 20px;
    margin-bottom: 10px;
    letter-spacing: -0.03em;
}

.card p, .card li {
    color: var(--muted);
    line-height: 1.7;
    font-size: 15px;
}

ul {
    padding-left: 18px;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 30px;
    padding: 34px;
    border-radius: 32px;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient( 135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03) );
    backdrop-filter: blur(12px);
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

    .timeline-item:hover {
        transform: translateY(-6px);
        border-color: rgba(214,169,74,0.25);
        box-shadow: 0 25px 60px rgba(0,0,0,0.28), 0 0 40px rgba(56,189,248,0.08);
    }

/* Left Date */

.time {
    color: var(--gold);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.5px;
    white-space: nowrap;
    padding-top: 6px;
}

/* Job Title */

.timeline-item h4 {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}

/* Location */

.timeline-item p strong {
    display: inline-block;
    margin-bottom: 18px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
}

/* Bullet List */

.timeline-item ul {
    padding-left: 22px;
    margin-bottom: 22px;
}

    .timeline-item ul li {
        color: var(--muted);
        line-height: 1.9;
        margin-bottom: 10px;
        font-size: 16px;
    }

/* Chips */

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.chip {
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: #dbeafe;
    font-size: 13px;
    font-weight: 700;
    transition: background .3s ease, border-color .3s ease, transform .3s ease;
}

    .chip:hover {
        background: rgba(56,189,248,0.12);
        border-color: rgba(56,189,248,0.25);
        transform: translateY(-2px);
    }


.project-card {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-top span {
    color: var(--green);
    font-weight: 800;
    font-size: 13px;
}

.contact-box {
    text-align: center;
    padding: 50px 26px;
    border: 1px solid rgba(214,169,74,0.28);
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(214,169,74,0.12), rgba(56,189,248,0.09)), rgba(255,255,255,0.055);
    box-shadow: var(--shadow);
}

    .contact-box p {
        color: var(--muted);
        line-height: 1.8;
        max-width: 760px;
        margin: 14px auto 26px;
    }

footer {
    padding: 28px 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    text-align: center;
    font-size: 14px;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: .8s ease;
}

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

@media (max-width: 920px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 58px;
    }

    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .timeline-item {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .nav .btn {
        display: none;
    }

    .hero p {
        font-size: 16px;
    }

    .profile-card {
        padding: 22px;
    }

    .mini-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 42px 0;
    }
}

.avatar-frame {
    position: relative;
    width: 180px;
    height: 180px;
    margin-bottom: 28px;
    border-radius: 36px;
    padding: 5px;
    background: linear-gradient( 135deg, rgba(56,189,248,0.9), rgba(214,169,74,0.9) );
    box-shadow: 0 25px 60px rgba(56,189,248,0.18), 0 20px 40px rgba(214,169,74,0.18);
    overflow: hidden;
    transition: transform .4s ease;
}

    .avatar-frame:hover {
        transform: translateY(-6px) scale(1.02);
    }

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
    display: block;
    border: 3px solid rgba(255,255,255,0.12);
}

.avatar-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle, rgba(56,189,248,0.25), transparent 60%);
    z-index: -1;
    animation: pulseGlow 4s infinite ease-in-out;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        opacity: .7;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: .7;
    }
}

.cert-badges {
    display: block;
    margin-top: 18px;
    font-size: 18px;
    font-weight: 700;
    color: #cbd5e1;
    line-height: 1.8;
    letter-spacing: 1px;
    word-spacing: 4px;
    opacity: 0.95;
}


@media (max-width: 992px) {

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 26px;
    }

    .time {
        font-size: 14px;
        padding-top: 0;
    }

    .timeline-item h4 {
        font-size: 26px;
    }

    .timeline-item ul li {
        font-size: 15px;
        line-height: 1.8;
    }

    .menu-toggle {
        display: block;
    }

    .linkedin-btn {
        display: none;
    }

    .nav-links {
        position: absolute;
        top: 90px;
        left: 20px;
        right: 20px;
        background: rgba(7,17,31,0.98);
        backdrop-filter: blur(18px);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 24px;
        padding: 28px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        z-index: 999;
    }

        .nav-links.active {
            display: flex;
        }

        .nav-links a {
            font-size: 16px;
            width: 100%;
        }

    .logo img {
        width: 150px;
        margin-top: -15px !important;
    }


}

@media (max-width: 768px) {


    .cert-badges {
        font-size: 13px;
        line-height: 1.9;
        letter-spacing: 0.5px;
        word-spacing: 2px;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 14px;
    }

    .timeline {
        gap: 20px;
    }

    .timeline-item {
        padding: 22px;
        border-radius: 26px;
    }

        .timeline-item h4 {
            font-size: 22px;
            line-height: 1.4;
        }

        .timeline-item p strong {
            font-size: 15px;
        }

        .timeline-item ul {
            padding-left: 18px;
        }

            .timeline-item ul li {
                font-size: 14px;
                margin-bottom: 8px;
            }

    .chips {
        gap: 8px;
    }

    .chip {
        font-size: 12px;
        padding: 8px 12px;
    }
}