:root {
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --ink: #101828;
    --text: #526078;
    --muted: #64748b;
    --bg: #f5f8fd;
    --white: #fff;
    --line: #e4eaf3;
    --shadow: 0 12px 32px rgba(15, 23, 42, .06)
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px
}

body {
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden
}

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

button {
    font: inherit
}

section {
    scroll-margin-top: 82px
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
    padding: 14px 8%;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line)
}

.logo {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(black)
}

.logo span {
    color: var(--ink)
}

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

.nav a {
    position: relative;
    padding: 7px 0;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap
}

.nav a:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width .25s
}

.nav a:hover,
.nav a.active {
    color: var(--blue)
}

.nav a:hover:after,
.nav a.active:after {
    width: 100%
}

.menu-btn {
    display: none;
    border: 0;
    background: #eff6ff;
    color: var(--blue);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 20px;
    cursor: pointer
}

.hero {
    min-height: calc(100vh - 76px);
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, .75fr);
    align-items: center;
    gap: 48px;
    padding: 70px 8%;
    background: radial-gradient(circle at 83% 25%, #dceaff 0, transparent 32%), linear-gradient(120deg, #f8fafc, #f1f6ff)
}

.hero-copy {
    max-width: 760px;
    animation: enterUp .75s ease both
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text)
}

.dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 5px #dcfce7
}

.hero h1 {
    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.12;
    letter-spacing: -2.8px;
    font-weight: 800;
    margin-bottom: 18px;
    overflow-wrap: anywhere
}

.hero h1 span {
    color: var(--blue)
}

.hero h2 {
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 18px
}

.hero-text {
    max-width: 610px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 27px
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 21px;
    border: 1px solid var(--blue);
    border-radius: 10px;
    background: var(--blue);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: transform .25s, box-shadow .25s, background .25s
}

.btn:hover {
    transform: translateY(-3px);
    background: var(--blue-dark);
    box-shadow: 0 10px 24px #2563eb30
}

.btn-light {
    background: transparent;
    color: var(--blue)
}

.btn-light:hover {
    color: #fff
}

.socials {
    display: flex;
    gap: 12px;
    margin-top: 26px
}

.socials a {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    color: var(--blue);
    font-size: 18px;
    transition: .25s
}

.socials a:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-3px)
}

.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
    animation: enterLeft .8s ease both
}

.photo-ring {
    position: relative;
    z-index: 1;
    width: min(300px, 26vw);
    aspect-ratio: 1;
    padding: 7px;
    border: 3px solid #bfdbfe;
    border-radius: 50%;
    background: white;
    box-shadow: 0 25px 65px #2563eb20;
    overflow: hidden;
    transition: transform .3s
}

.photo-ring:hover {
    transform: translateY(-5px)
}

.profile-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: #bfdbfe
}

.bubble-one {
    width: 66px;
    height: 66px;
    top: 3%;
    right: 0;
    opacity: .75
}

.bubble-two {
    width: 34px;
    height: 34px;
    bottom: 5%;
    left: 3%;
    background: #93c5fd
}

.section {
    padding: 88px 8%
}

.section-white {
    background: #fff
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 34px;
    text-align: center
}

.label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
    color: var(--blue);
    margin-bottom: 8px
}

.section-heading h2 {
    font-size: clamp(29px, 4vw, 38px);
    letter-spacing: -1px;
    line-height: 1.3
}

.section-heading h2:after {
    content: "";
    display: block;
    width: 54px;
    height: 4px;
    border-radius: 5px;
    background: var(--blue);
    margin: 14px auto 0
}

.section-heading>p:last-child {
    color: var(--text);
    font-size: 14px;
    margin-top: 13px
}

.card {
    min-width: 0;
    padding: 27px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
    transition: transform .28s, box-shadow .28s, border-color .28s
}

.card:hover {
    transform: translateY(-4px);
    border-color: #bfdbfe;
    box-shadow: 0 18px 40px #0f172a10
}

.icon-box {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: #eff6ff;
    color: var(--blue);
    font-size: 21px
}

.card h3 {
    font-size: 18px;
    margin-bottom: 8px
}

.card p {
    font-size: 14px;
    color: var(--text);
    line-height: 1.85
}

.about-card,
.experience-card,
.education-card {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 22px
}

.about-card>div:last-child,
.card-main,
.education-card>div:last-child {
    min-width: 0;
    flex: 1
}

.small-label {
    display: inline-block;
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    margin-bottom: 7px
}

.card-main h4 {
    font-size: 14px;
    color: var(--blue);
    margin: 0 0 10px
}

.duration {
    font-size: 13px !important;
    margin-bottom: 12px
}

.duration i {
    margin-right: 6px
}

.hint {
    font-size: 12px !important;
    color: #94a3b8 !important;
    margin-top: 9px
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto
}

.skill-card .icon-box {
    margin-bottom: 17px
}

.skill-card h3 {
    margin-bottom: 6px
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
    padding: 22px
}

.contact-info {
    flex: 1;
    min-width: 0
}

.contact-info h3 {
    margin-bottom: 3px
}

.contact-info p {
    font-size: 13px;
    overflow-wrap: anywhere
}

.arrow {
    flex-shrink: 0;
    color: #94a3b8;
    font-size: 14px
}

.contact-card:hover .arrow {
    color: var(--blue)
}

.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 24px 8%;
    background: #101828;
    color: #d0d5dd;
    text-align: center
}

.footer p {
    font-size: 13px
}

.top-btn {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #263449;
    color: #fff;
    transition: .25s
}

.top-btn:hover {
    background: var(--blue);
    transform: translateY(-3px)
}

.js-ready .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s ease, transform .65s ease
}

.js-ready .reveal.visible {
    opacity: 1;
    transform: translateY(0)
}

@keyframes enterUp {
    from {
        opacity: 0;
        transform: translateY(22px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes enterLeft {
    from {
        opacity: 0;
        transform: translateX(20px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

@media(max-width:1000px) {

    .header,
    .hero,
    .section {
        padding-left: 6%;
        padding-right: 6%
    }

    .nav {
        gap: 16px
    }

    .nav a {
        font-size: 12px
    }

    .hero {
        gap: 28px
    }

    .photo-ring {
        width: min(270px, 29vw)
    }

    .hero h1 {
        font-size: clamp(36px, 5vw, 54px);
        letter-spacing: -2px
    }
}

@media(max-width:760px) {
    html {
        scroll-padding-top: 72px
    }

    .header {
        min-height: 68px;
        flex-wrap: wrap;
        gap: 12px;
        padding-top: 12px;
        padding-bottom: 12px
    }

    .menu-btn {
        display: block;
        margin-left: auto
    }

    .nav {
        display: none;
        order: 3;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 7px 0
    }

    .nav.open {
        display: flex
    }

    .nav a {
        padding: 10px 8px;
        font-size: 14px
    }

    .nav a:after {
        display: none
    }

    .nav a.active {
        background: #eff6ff;
        border-radius: 8px
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 48px;
        padding-bottom: 62px;
        gap: 32px
    }

    .hero-copy {
        order: 2
    }

    .hero-visual {
        order: 1
    }

    .eyebrow {
        justify-content: center;
        font-size: 10px
    }

    .hero h1 {
        font-size: clamp(35px, 8.5vw, 49px);
        letter-spacing: -1.7px
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
        font-size: 14px
    }

    .hero-actions,
    .socials {
        justify-content: center
    }

    .photo-ring {
        width: 220px
    }

    .bubble-one {
        right: 15%
    }

    .bubble-two {
        left: 15%
    }

    .section {
        padding-top: 65px;
        padding-bottom: 65px
    }

    .section-heading {
        margin-bottom: 26px
    }

    .about-card,
    .experience-card,
    .education-card {
        padding: 21px;
        gap: 15px
    }

    .skills-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .skill-card {
        padding: 22px
    }

    .contact-card {
        padding: 18px;
        gap: 12px
    }

    .contact-info p {
        font-size: 12px
    }

    .footer {
        padding: 22px 6%
    }
}

@media(max-width:400px) {
    .hero h1 {
        font-size: 33px
    }

    .hero-actions {
        flex-direction: column
    }

    .hero-actions .btn {
        width: 100%
    }

    .about-card,
    .experience-card,
    .education-card {
        flex-direction: column
    }

    .contact-card .icon-box {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        font-size: 18px
    }

    .contact-card {
        gap: 10px
    }

    .contact-info p {
        font-size: 11px
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important
    }

    .js-ready .reveal {
        opacity: 1;
        transform: none
    }
}