/* ---------- 1. FONTS & ROOT ---------- */
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');

:root {
    --bg: #171517;
    --surface: #211e21;
    --surface-light: #302930;
    --text: #f5eff2;
    --muted: #b9adb4;
    --pink: #d69caf;
    --pink-light: #f0c6d2;
    --line: #40363c;
    --max-width: 1200px;
    --header-height: 76px;
}

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

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

body {
    min-width: 320px;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', Arial, sans-serif;
    line-height: 1.75;
}

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

button,
input,
textarea {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

/* ---------- 2. SCROLL PROGRESS ---------- */
.progress {
    position: fixed;
    z-index: 200;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
}

.progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--pink);
}

/* ---------- 3. NAVIGATION ---------- */
.header {
    position: fixed;
    z-index: 100;
    top: 14px;
    left: 0;
    width: 100%;
    padding: 0 20px;
    background: transparent;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    width: min(100%, 1500px);
    min-height: 70px;
    margin: auto;
    padding: 0 28px;

    /* Glass effect */
    background: rgba(25, 23, 25, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(214, 156, 175, 0.18);
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.brand {
    flex-shrink: 0;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: .04em;
    white-space: nowrap;
}

.brand span {
    color: var(--pink);
}

.nav-links {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(12px, 2vw, 28px);
    padding-right: 5px;
}

.nav-links a {
    position: relative;
    color: #aaa4aa;
    font-size: .82rem;
    white-space: nowrap;
    transition: color .2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--pink-light);
}

.nav-links a::after {
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;
    width: 0;
    height: 1px;
    margin: auto;
    background: var(--pink);
    content: '';
    transition: width .25s ease;
}

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

.menu-toggle {
    display: none;
    padding: 8px 12px;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
}

.nav-icon {
    display: none;
}

.nav-label {
    display: inline;
}

/* ---------- 4. MAIN & SECTION LAYOUT ---------- */
main {
    padding-top: 0;
}

.section-anchor {
    scroll-margin-top: 95px;
}

.section {
    min-height: calc(100svh - 90px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 45px max(24px, calc((100% - var(--max-width)) / 2));
    border-top: 1px solid #ffffff0d;
}

/* Full-screen section layout */

#about,
#education,
#skills,
#projects,
#experience,
#certificates,
#contact {
    min-height: 100svh;
    scroll-margin-top: 100px;
    padding-top: 110px;
    padding-bottom: 80px;
}

.section-alt {
    background: #1b181b;
}

.kicker,
.eyebrow,
.timeline-item small,
.experience small,
.project-copy>small {
    color: var(--pink);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.kicker {
    margin-bottom: 48px;
    color: #a9949e;
}

.kicker span {
    color: var(--pink);
}

.heading h2 {
    margin: 18px 0;
    font-size: clamp(2.7rem, 5vw, 5rem);
    line-height: 1.12;
    letter-spacing: -.06em;
}

.heading h2 em {
    color: var(--pink);
    font-family: 'League Spartan', sans-serif;
    font-weight: 700;
    font-style: normal;
}

.intro {
    max-width: 600px;
    color: var(--muted);
}

.two-col {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: start;
    gap: 9%;
}

.copy {
    color: var(--muted);
}

.large {
    margin-bottom: 20px;
    color: var(--text);
    font-size: 1.2rem;
    line-height: 1.7;
}

.details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 23px 28px;
    margin-top: 35px;
    padding-top: 27px;
    border-top: 1px solid var(--line);
}

.details div {
    display: grid;
    gap: 5px;
}

.details small {
    color: var(--pink);
    font-size: .62rem;
    letter-spacing: .15em;
}

.details strong {
    color: var(--text);
    font-size: .86rem;
    font-weight: 600;
}

.note {
    margin-top: 20px;
    color: #897d84;
    font-size: .73rem;
}

/* ---------- 5. HOME / HERO ---------- */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: calc(100svh - var(--header-height));
    padding: 70px max(24px, calc((100% - var(--max-width)) / 2)) 85px;
    overflow: hidden;
    background: radial-gradient(ellipse at 82% 45%, #7e4d612e, transparent 36%);
}

.hero-copy {
    position: relative;
    z-index: 2;
    width: 58%;
    max-width: 720px;
    margin-top: 50px;
}

.hero-copy .eyebrow {
    margin-bottom: 28px;
    letter-spacing: 2.5px;
}

.hero h1 {
    margin: 18px 0;
    font-family: 'League Spartan', sans-serif;
    font-size: clamp(3.4rem, 5.3vw, 5.3rem);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.035em;
}

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

.role {
    color: var(--pink-light);
    font-weight: 700;
}

.role i {
    padding: 0 7px;
    color: var(--muted);
    font-style: normal;
}

.hero-text {
    max-width: 560px;
    margin-top: 16px;
    color: var(--muted);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 19px;
    color: #241b20;
    background: var(--pink);
    border: 1px solid var(--pink);
    border-radius: 5px;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}

.btn:hover {
    transform: translateY(-2px);
    background: var(--pink-light);
}

.btn.outline {
    color: var(--text);
    background: transparent;
    border-color: var(--line);
}

.btn.outline:hover {
    color: var(--pink-light);
    border-color: var(--pink);
}

.scroll-cue {
    display: inline-block;
    margin-top: 55px;
    color: var(--muted);
    font-size: .65rem;
    letter-spacing: .17em;
}

.hero-art {
    position: absolute;
    top: 60%;
    left: 75%;
    right: auto;
    display: grid;
    width: min(32vw, 390px);
    aspect-ratio: 1;
    place-items: center;
    opacity: .88;
    transform: translate(-50%, -50%);
    animation: floatAA 5s ease-in-out infinite;
}

.orbit {
    position: absolute;
    inset: 0;
    border: 1px solid #d69caf55;
    border-radius: 50%;
    animation: spin 28s linear infinite;
}

.orbit-inner {
    inset: 13%;
    border-style: dashed;
    animation-direction: reverse;
    animation-duration: 35s;
}

.monogram {
    display: grid;
    width: 42%;
    aspect-ratio: 1;
    place-items: center;
    color: var(--pink-light);
    background: linear-gradient(145deg, #523b47, #241e23);
    border: 1px solid #d69caf77;
    border-radius: 50%;
    box-shadow: 0 0 35px #d69caf25;
    font: clamp(2rem, 5vw, 4rem) 'Playfair Display', serif;
    animation: glowAA 3s ease-in-out infinite alternate;
}

.spark {
    position: absolute;
    top: 9%;
    right: 15%;
    color: var(--pink-light);
    font-size: 1.6rem;
}

.hero-number {
    position: absolute;
    right: max(24px, calc((100% - var(--max-width)) / 2));
    bottom: 25px;
    color: #766b72;
    font-size: .7rem;
    letter-spacing: .15em;
}

/* ---------- 6. ABOUT PROFILE CARD (IF USED) ---------- */
.about-layout {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.6fr);
    align-items: stretch;
    gap: 35px;
}

.profile-card {
    padding: 35px 28px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.profile-image {
    width: 145px;
    height: 145px;
    margin: 0 auto 22px;
    overflow: hidden;
    border: 4px solid var(--pink);
    border-radius: 50%;
    animation: profileFloat 3.5s ease-in-out infinite;
    transition: box-shadow .3s ease;
}

.profile-image:hover {
    box-shadow: 0 0 25px #d69caf70;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: auto;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    transition: transform .4s ease;
}

.profile-image:hover img {
    transform: scale(1.08);
}

.profile-card h2 {
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.profile-role {
    color: var(--pink);
    font-size: .9rem;
    font-weight: 600;
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 7px 13px;
    color: var(--pink-light);
    border: 1px solid var(--line);
    border-radius: 30px;
    font-size: .72rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #8acb9a;
    border-radius: 50%;
}

.profile-divider {
    height: 1px;
    margin: 28px 0;
    background: var(--line);
}

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

.profile-stats div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.profile-stats strong {
    color: var(--pink);
    font-size: 1.3rem;
}

.profile-stats small {
    color: var(--muted);
    font-size: .65rem;
}

.profile-buttons {
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

.profile-buttons .btn {
    width: 100%;
}

.profile-tagline {
    margin: 20px 0 14px;
    color: var(--muted);
    font-size: .85rem;
    line-height: 1.7;
    text-align: left;
}

.profile-tagline h3 {
    margin-bottom: 10px;
    color: var(--text);
    font-size: 1rem;
}

.profile-tagline p {
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.6;
}

.profile-interests {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0 20px;
}

.interest-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 13px;
    text-align: left;
    background: var(--surface-light);
    border: 1px solid var(--line);
    border-radius: 13px;
}

.interest-icon {
    margin-bottom: 8px;
    color: var(--pink);
    font-size: 1.2rem;
}

.interest-card strong {
    font-size: .9rem;
}

.interest-card small {
    color: var(--muted);
    font-size: .7rem;
}

.profile-details {
    display: grid;
    gap: 20px;
    margin: 20px 0;
}

.profile-details div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.profile-details span {
    color: var(--muted);
    font-size: .7rem;
}

.profile-details strong {
    font-size: .85rem;
    text-align: right;
}

.profile-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

.profile-socials a {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--pink-light);
    background: var(--surface-light);
    border-radius: 10px;
    font-weight: 700;
    transition: color .2s ease, background .2s ease;
}

.profile-socials a:hover {
    color: var(--bg);
    background: var(--pink);
}

.about-content {
    padding: 15px 5px;
}

.about-label {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--pink);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .15em;
}

.about-content h2 {
    margin-bottom: 25px;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.2;
}

.about-content h2 span {
    color: var(--pink);
}

.about-intro {
    margin-bottom: 18px;
    color: var(--text);
    font-size: 1.1rem;
}

.about-description {
    margin-bottom: 35px;
    color: var(--muted);
}

.about-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.info-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-card span {
    color: var(--pink);
    font-size: .7rem;
    letter-spacing: .12em;
}

.info-card strong {
    font-size: .95rem;
    font-weight: 600;
}


/* ---------- 7. EDUCATION TIMELINE ---------- */
.education-timeline {
    position: relative;
    display: grid;
    width: 98%;
    max-width: none;
    gap: 38px;
    margin: 48px 0 0 9px;
    padding-left: 32px;
}

.education-timeline::before {
    content: '';
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 2px;
    width: 1px;
    background: var(--line);
}

.timeline-item {
    position: relative;
    padding: 25px 30px;
    color: var(--muted);
    background: rgba(48, 41, 48, 0.45);
    border: 1px solid var(--line);
    border-radius: 14px;
    transition: transform .3s ease,
        border-color .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
    background: rgba(48, 41, 48, 0.85);
    border-color: var(--pink);
    box-shadow: 0 10px 30px rgba(214, 156, 175, 0.10);
}

/* TIMELINE DOT HOVER */
.timeline-item:hover::before {
    background: var(--pink-light);
    box-shadow:
        0 0 0 4px rgba(214, 156, 175, 0.2),
        0 0 14px rgba(214, 156, 175, 0.8);
    transform: scale(1.2);
}

.timeline-item::before {
    position: absolute;
    top: 6px;
    left: -38px;
    width: 11px;
    height: 11px;
    background: var(--pink);
    border: 3px solid var(--bg);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(214, 156, 175, 0.15);
    content: '';
    transition: all .3s ease;
}

/* LOGO BESIDE DESCRIPTION */
.timeline-info {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin-top: 20px;
}

.timeline-logo {
    flex: 0 0 85px;
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: var(--surface-light);
    border: 1px solid var(--line);
    border-radius: 12px;
    transition: all .3s ease;
}

.timeline-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.timeline-item:hover .timeline-logo {
    border-color: var(--pink);
    transform: translateY(-3px);
}

.timeline-content {
    flex: 1;
    min-width: 0;
}

.timeline-content h3 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 1.4rem;
}

.pink {
    margin-bottom: 12px;
    color: var(--pink-light);
    font-size: .88rem;
}

/* CGPA */
.education-cgpa {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 12px;
    padding: 8px 12px;
    background: var(--surface-light);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.education-cgpa span {
    color: var(--muted);
     font-size: 0.6rem;
    letter-spacing: 1.2px;
}

.education-cgpa strong {
    color: var(--pink-light);
     font-size: 1.2rem;
    line-height: 1.2;
}

.education-cgpa strong small {
    color: var(--muted);
    font-size: .85rem;
    font-weight: 400;
}

@media (max-width: 650px) {
    .education-timeline {
        width: 100%;
        gap: 22px;
        padding-left: 25px;
    }

    .timeline-item {
        padding: 22px 18px;
    }

    .timeline-item::before {
        left: -31px;
    }

    .timeline-info {
        gap: 14px;
    }

    .timeline-logo {
        flex-basis: 65px;
        width: 65px;
        height: 65px;
        padding: 8px;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
    }
}


/* ---------- 8. SKILLS ---------- */
.skill-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 48px;
}

.panel {
    position: relative;
    padding: 35px;
    overflow: hidden;
    background: linear-gradient(145deg,
            rgba(48, 41, 48, 0.75),
            rgba(33, 30, 33, 0.9));
    border: 1px solid var(--line);
    border-radius: 14px;
    transition: transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}

.panel:hover {
    transform: translateY(-7px);
    border-color: var(--pink);
    box-shadow: 0 15px 35px rgba(214, 156, 175, 0.12);
}

.panel h3 {
    position: relative;
    display: inline-block;
    margin-bottom: 8px;
}

.panel h3::after {
    display: block;
    width: 35px;
    height: 2px;
    margin-top: 8px;
    background: var(--pink);
    content: '';
    transition: width .3s ease;
}

.panel:hover h3::after {
    width: 100%;
}

.sub {
    margin: 8px 0 25px;
    color: var(--muted);
    font-size: .85rem;
}

.skill {
    margin: 18px 0;
}

.skill>div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: .82rem;
}

.skill small {
    color: #8d7d85;
}

.track {
    height: 5px;
    overflow: hidden;
    background: #40373d;
    border-radius: 9px;
}

.track i {
    display: block;
    width: var(--w);
    height: 100%;
    background: linear-gradient(90deg, #a96f85, var(--pink-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.2s ease;
}

.panel.visible .track i {
    transform: scaleX(1);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.tags span {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    color: var(--pink-light);
    background: rgba(214, 156, 175, 0.06);
    border: 1px solid #5b4651;
    border-radius: 30px;
    font-size: .8rem;
    cursor: default;
    transition: all .3s ease;
}

/* Icon styling */
.tags span i {
    font-size: 1.05rem;
    color: var(--pink);
    transition: transform .3s ease, color .3s ease;
}

/* Hover effect */
.tags span:hover {
    color: #241b20;
    background: var(--pink);
    border-color: var(--pink);
    transform: translateY(-5px) scale(1.04);
    box-shadow: 0 6px 18px rgba(214, 156, 175, 0.2);
}

.tags span:hover i {
    color: #241b20;
    transform: scale(1.2);
}

blockquote {
    position: relative;
    margin-top: 35px;
    padding: 20px 22px;
    color: var(--pink-light);
    background: rgba(214, 156, 175, 0.06);
    border-left: 3px solid var(--pink);
    border-radius: 0 12px 12px 0;
    font: italic 1.15rem/1.6 'Playfair Display', serif;
    transition: background .3s ease, transform .3s ease;
}

blockquote:hover {
    background: rgba(214, 156, 175, 0.12);
    transform: translateX(5px);
}

/* ---------- 9. PROJECTS ---------- */
.projects {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.project {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    transition: transform .3s ease, border-color .3s ease;
}

.project:hover {
    transform: translateY(-5px);
    border-color: #986b7d;
}

.visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 220px;
    overflow: hidden;
}

.visual::before,
.visual::after {
    position: absolute;
    width: 240px;
    height: 240px;
    border: 1px solid #f0c6d233;
    border-radius: 50%;
    content: '';
}

.visual::after {
    width: 320px;
    height: 320px;
}

.visual small,
.visual b {
    position: relative;
    z-index: 1;
}

.visual small {
    color: #f0c6d2bb;
    font-size: .62rem;
    letter-spacing: .18em;
}

.visual b {
    font-size: 2.4rem;
    letter-spacing: -.06em;
}

.v1 {
    background: linear-gradient(135deg, #4a3441, #252027);
}

.v2 {
    background: linear-gradient(135deg, #394044, #26252b);
}

.v3 {
    background: linear-gradient(135deg, #453d5a, #26212e);
}

.v4 {
    background: linear-gradient(135deg, #465047, #242b29);
}

.v5 {
    background: linear-gradient(135deg, #594354, #30232d);
}

.project-copy {
    padding: 23px;
}

.project-copy>small {
    color: #b78398;
    font-size: .6rem;
}

.project-copy h3 {
    margin: 7px 0;
    font-size: 1.3rem;
}

.project-copy p {
    color: var(--muted);
    font-size: .86rem;
}

/* ---------- 10. EXPERIENCE ---------- */
.experience {
    display: grid;
    gap: 20px;
}

.experience article {
    padding: 27px;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--line);
}

.experience ul {
    margin: 17px 0 0 18px;
    font-size: .86rem;
}

.experience li {
    padding: 4px 0;
}

/* ---------- 11. CONTACT ---------- */
.section-contact {
    background: radial-gradient(ellipse at 80% 70%, #4b303d55, transparent 45%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr .9fr;
    align-items: start;
    gap: 10%;
}

.contact-links {
    display: grid;
    gap: 13px;
    margin-top: 32px;
}

.contact-links a {
    color: var(--pink);
    overflow-wrap: anywhere;
}

.contact-links span {
    margin-left: 8px;
    color: var(--muted);
}

.form {
    display: grid;
    gap: 11px;
}

.form label {
    margin-top: 5px;
    color: var(--pink-light);
    font-size: .75rem;
}

.form input,
.form textarea {
    width: 100%;
    padding: 13px;
    color: var(--text);
    background: #191619;
    border: 1px solid #51434b;
    border-radius: 4px;
    outline: none;
}

.form input:focus,
.form textarea:focus {
    border-color: var(--pink);
}

.form textarea {
    min-height: 125px;
    resize: vertical;
}

.form button {
    margin-top: 10px;
}

.form .note {
    font-size: .7rem;
}

/* ---------- 12. FOOTER ---------- */
footer {
    display: flex;
    align-items: center;
    justify-content: center;
    align-items: center;
    position: relative;
    gap: 20px;
    padding: 28px max(24px, calc((100% - var(--max-width)) / 2));
    color: #8d7d85;
    font-size: .75rem;
}

.top {
    color: var(--pink-light);
    font-size: .65rem;
    letter-spacing: .12em;
}

/* ---------- 13. REVEAL ANIMATIONS ---------- */
.reveal {
    opacity: 0;
    transform: translateY(27px);
    transition: opacity .75s ease, transform .75s cubic-bezier(.2, .7, .2, 1);
}

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

.delay-1 {
    transition-delay: .12s;
}

.delay-2 {
    transition-delay: .22s;
}

.delay-3 {
    transition-delay: .32s;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes floatAA {

    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -15px;
    }
}

@keyframes glowAA {
    from {
        box-shadow: 0 0 20px #d69caf15;
    }

    to {
        box-shadow: 0 0 40px #d69caf40;
    }
}

@keyframes profileFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ---------- 14. TABLET ---------- */
@media (min-width: 721px) and (max-width: 1000px) {
    .nav-wrap {
        gap: 14px;
        padding: 0 20px;
    }

    .nav-links {
        justify-content: flex-end;
        gap: 16px;
    }

    .nav-label {
        display: none;
    }

    .nav-icon {
        display: inline-block;
    }

    .nav-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: var(--pink);
        background: #d69caf20;
    }

    .hero {
        padding-right: 45px;
        padding-left: 45px;
    }

    .hero-copy {
        width: 72%;
    }

    .hero h1 {
        font-size: clamp(3.2rem, 6vw, 4.5rem);
    }

    .hero-art {
        right: 2%;
        width: 35vw;
        opacity: .2;
    }

    .two-col,
    .contact-grid {
        gap: 5%;
    }

    .about-layout {
        grid-template-columns: minmax(230px, .85fr) minmax(0, 1.4fr);
        gap: 24px;
    }

    .profile-card {
        padding: 28px 20px;
    }
}

/* ---------- 15. MOBILE ---------- */
@media (max-width: 720px) {
    :root {
        --header-height: 68px;
    }

    .header {
        top: 10px;
        padding: 0 12px;
    }

    .nav-wrap {
        min-height: 62px;
        gap: 12px;
        padding: 0 18px;
    }

    .brand {
        font-size: 1rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 78px;
        right: 13px;
        left: 13px;
        display: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin: 0;
        padding: 16px;
        background: #111111;
        border: 1px solid #302d30;
        border-radius: 20px;
        z-index: 999;
    }

    .nav-links.open {
        display: grid;
    }

    .nav-links a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 48px;
        padding: 0 14px;
        color: #d5d1d5;
        background: #191719;
        border: 1px solid #292929;
        border-radius: 14px;
        font-size: .85rem;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: var(--pink-light);
        border-color: var(--pink);
    }

    .nav-links a span {
        color: #777777;
    }

    .nav-links .mobile-contact,
    .nav-links .nav-cta-mobile {
        grid-column: 1 / -1;
    }

    .nav-links .nav-cta-mobile {
        display: flex;
        justify-content: center;
        min-height: 52px;
        font-weight: 700;
    }

    .hero {
        align-items: center;
        min-height: calc(100svh - var(--header-height));
        padding: 65px 25px 75px;
    }

    .hero-copy {
        width: 100%;
        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 10vw, 4.2rem);
        line-height: 1.02;
    }

    .hero-art {
        top: 75%;
        right: -12%;
        width: 55vw;
        opacity: .13;
    }

    .hero-text {
        max-width: 100%;
        font-size: .95rem;
    }

    .hero-number {
        right: 25px;
        bottom: 18px;
    }

    .scroll-cue {
        margin-top: 40px;
    }

    .section {
        min-height: calc(100svh - 68px);
        padding: 50px 25px;
    }

    .kicker {
        margin-bottom: 35px;
    }

    .two-col,
    .skill-grid,
    .contact-grid,
    .about-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .heading h2 {
        font-size: clamp(2.6rem, 11vw, 4rem);
    }

    .about-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-card {
        padding: 30px 22px;
    }

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

    .visual {
        height: 195px;
    }

    footer {
        flex-wrap: wrap;
        padding: 25px;
    }
}

/* ---------- 16. SMALL MOBILE ---------- */
@media (max-width: 420px) {
    .hero {
        padding: 55px 20px 65px;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 10vw, 3.2rem);
    }

    .role {
        font-size: .82rem;
        line-height: 1.8;
    }

    .hero-text {
        font-size: .88rem;
        line-height: 1.7;
    }

    .hero-art {
        right: -20%;
        width: 65vw;
        opacity: .1;
    }

    .actions {
        gap: 9px;
    }

    .btn {
        padding: 11px 13px;
        font-size: .75rem;
    }

    .details,
    .about-info {
        grid-template-columns: 1fr;
    }

    .panel {
        padding: 23px;
    }

    .project-copy p {
        font-size: .83rem;
    }

    .profile-interests {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---------- 17. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ========================================
   EXPERIENCE SECTION
======================================== */

.experience-list {
    display: grid;
    gap: 25px;
    width: 100%;
}

.experience-card {
    position: relative;
    display: flex;
    gap: 22px;
    padding: 30px;
    background: linear-gradient(145deg,
            rgba(48, 41, 48, .75),
            rgba(33, 30, 33, .9));
    border: 1px solid var(--line);
    border-radius: 16px;
    transition: transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}

.experience-card:hover {
    transform: translateY(-6px);
    border-color: var(--pink);
    box-shadow: 0 15px 35px rgba(214, 156, 175, .12);
}

.experience-number {
    flex-shrink: 0;
    color: var(--pink);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
}

.experience-content {
    flex: 1;
    min-width: 0;
}

.experience-date {
    color: var(--pink);
    font-size: .72rem;
    letter-spacing: 1.5px;
}

.experience-content h3 {
    margin: 12px 0 5px;
    color: var(--text);
    font-size: 1.45rem;
}

.experience-content .pink {
    color: var(--pink);
    margin-bottom: 15px;
}

.experience-description {
    color: var(--muted);
    line-height: 1.8;
    font-size: .9rem;
}

/* IMAGE GALLERY */

.experience-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 22px 0;
}

.experience-img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--line);
    cursor: pointer;
    transition: transform .3s ease,
        border-color .3s ease,
        filter .3s ease;
}

.experience-img:hover {
    transform: scale(1.04);
    border-color: var(--pink);
    filter: brightness(1.08);
}

/* RESPONSIBILITIES */

.experience-details {
    margin-top: 20px;
    border-top: 1px solid var(--line);
}

.experience-details summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 17px 0 5px;
    color: var(--pink-light);
    font-size: .85rem;
    cursor: pointer;
    list-style: none;
}

.experience-details summary::-webkit-details-marker {
    display: none;
}

.experience-details summary i {
    transition: transform .3s ease;
}

.experience-details[open] summary i {
    transform: rotate(45deg);
}

.experience-details ul {
    padding-left: 20px;
    margin-top: 15px;
}

.experience-details li {
    color: var(--muted);
    font-size: .85rem;
    line-height: 1.8;
    margin-bottom: 9px;
}

.experience-details li::marker {
    color: var(--pink);
}

/* PROFESSIONAL JOURNEY NOTE */

.experience-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    padding: 12px 18px;
    color: var(--pink-light);
    background: rgba(214, 156, 175, .07);
    border: 1px solid var(--line);
    border-radius: 30px;
    font-size: .8rem;
}

/* IMAGE LIGHTBOX */

.experience-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(0, 0, 0, .9);
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
}

.experience-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.experience-lightbox img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    color: white;
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

/* MOBILE */

@media (max-width: 720px) {

    .experience-card {
        padding: 22px 18px;
        gap: 13px;
    }

    .experience-number {
        font-size: 1.2rem;
    }

    .experience-content h3 {
        font-size: 1.25rem;
    }

    .experience-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .experience-img {
        height: 115px;
    }

    .experience-lightbox img {
        max-width: 100%;
    }

}

@media (max-width: 420px) {

    .experience-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .experience-img {
        height: 95px;
    }

}

/* CENTER EXPERIENCE HEADING */

#experience .heading {
    align-self: center;
    position: sticky;
    top: 50%;
    transform: translateY(-50%);
}


/* ========================================
   INTERACTIVE PROJECT CARDS
======================================== */

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 45px;
}

.project-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg,
            rgba(48, 41, 48, .85),
            rgba(33, 30, 33, .95));
    border: 1px solid var(--line);
    border-radius: 16px;
    transition: transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--pink);
    box-shadow: 0 16px 38px rgba(214, 156, 175, .13);
}

/* PROJECT IMAGE */

.project-image {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: var(--surface-light);
}

.project-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .6s ease,
        filter .4s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.07);
    filter: brightness(.78);
}

.project-label {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 12px;
    color: var(--pink-light);
    background: rgba(23, 21, 23, .82);
    border: 1px solid rgba(214, 156, 175, .3);
    border-radius: 30px;
    font-size: .65rem;
    letter-spacing: 1px;
}

/* IMAGE ZOOM BUTTON */

.image-zoom {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 38px;
    height: 38px;
    color: var(--pink-light);
    background: rgba(23, 21, 23, .8);
    border: 1px solid rgba(214, 156, 175, .4);
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transform: translateY(8px);
    transition: .3s ease;
}

.project-card:hover .image-zoom {
    opacity: 1;
    transform: translateY(0);
}

.image-zoom:hover {
    color: #241b20;
    background: var(--pink);
}

/* PROJECT DETAILS */

.project-card .project-copy {
    padding: 25px;
}

.project-copy>small {
    color: var(--pink);
    font-size: .68rem;
    letter-spacing: 1.3px;
}

.project-copy h3 {
    margin: 12px 0;
    color: var(--text);
    font-size: 1.3rem;
}

.project-copy p {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.8;
}

/* TECHNOLOGY TAGS */

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
}

.project-tags span {
    padding: 7px 12px;
    color: var(--pink-light);
    background: rgba(214, 156, 175, .07);
    border: 1px solid rgba(214, 156, 175, .2);
    border-radius: 30px;
    font-size: .7rem;
    transition: .3s ease;
}

.project-tags span:hover {
    color: #241b20;
    background: var(--pink);
    border-color: var(--pink);
    transform: translateY(-3px);
}

/* PROJECT LINK */

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 5px;
    color: var(--pink);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    transition: gap .3s ease, color .3s ease;
}

.project-link:hover {
    gap: 14px;
    color: var(--pink-light);
}

/* PROJECT LIGHTBOX */

.project-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(0, 0, 0, .92);
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
}

.project-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.project-lightbox img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
}

.project-lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    color: white;
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

/* TABLET & MOBILE */

@media (max-width: 720px) {

    .project-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .project-image {
        height: 210px;
    }

    .image-zoom {
        opacity: 1;
        transform: none;
    }

    .project-lightbox img {
        max-width: 100%;
    }
}

@media (max-width: 420px) {

    .project-image {
        height: 180px;
    }

    .project-card .project-copy {
        padding: 20px;
    }

}


/* ========================================
   PT2SB PROJECT DIALOG
   CENTERED + INTERACTIVE
======================================== */

.project-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    margin: 0;

    width: min(90%, 600px);
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;

    padding: 38px;
    color: var(--text);

    background: linear-gradient(145deg,
            #292329,
            #1d1a1d);

    border: 1px solid var(--pink);
    border-radius: 20px;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, .6),
        0 0 30px rgba(214, 156, 175, .08);

    transform: translate(-50%, -46%) scale(.94);
    opacity: 0;

    transition:
        opacity .3s ease,
        transform .3s ease;
}

.project-dialog[open] {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* BACKDROP */

.project-dialog::backdrop {
    background: rgba(0, 0, 0, .82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* DIALOG CONTENT */

.project-dialog small {
    color: var(--pink);
    font-size: .75rem;
    letter-spacing: 1.5px;
}

.project-dialog h3 {
    margin: 18px 0;
    color: var(--text);
    font-size: 1.7rem;
}

.project-dialog p {
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.9;
    margin-bottom: 14px;
}

.project-dialog strong {
    color: var(--pink-light);
}

/* CLOSE BUTTON */

.dialog-close {
    position: absolute;
    top: 22px;
    right: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    color: var(--pink-light);
    background: rgba(214, 156, 175, .08);

    border: 1px solid var(--line);
    border-radius: 50%;

    font-size: 1.1rem;
    cursor: pointer;

    transition: all .3s ease;
}

.dialog-close:hover {
    color: #241b20;
    background: var(--pink);
    border-color: var(--pink);
    transform: rotate(90deg);
}

/* MOBILE */

@media (max-width: 720px) {

    .project-dialog {
        width: calc(100% - 36px);
        max-width: none;
        max-height: 80vh;
        padding: 30px 22px;
        border-radius: 16px;
    }

    .project-dialog h3 {
        font-size: 1.4rem;
        padding-right: 30px;
    }

    .project-dialog p {
        font-size: .85rem;
    }

    .dialog-close {
        top: 16px;
        right: 16px;
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 420px) {

    .project-dialog {
        width: calc(100% - 28px);
        padding: 26px 18px;
    }

    .project-dialog h3 {
        font-size: 1.25rem;
    }

}


/* PT2SB BUTTON - MATCH MERVMAP LINK */

.project-details-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 9px;

    padding: 0 !important;
    margin-top: 5px;

    color: var(--pink) !important;
    background: transparent !important;

    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;

    font-family: inherit;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;

    transition: gap .3s ease, color .3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.project-details-btn:hover {
    gap: 14px;
    color: var(--pink-light) !important;
    background: transparent !important;
    box-shadow: none !important;
}

.project-details-btn:focus,
.project-details-btn:focus-visible,
.project-details-btn:active {
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}


/* MERVMAP GALLERY */

.mervmap-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -47%) scale(.96);
    margin: 0;

    width: min(92%, 900px);
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;

    padding: 35px;
    color: var(--text);
    background: linear-gradient(145deg, #292329, #1d1a1d);
    border: 1px solid var(--pink);
    border-radius: 20px;

    opacity: 0;
    transition: opacity .3s ease, transform .3s ease;
}

.mervmap-dialog[open] {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.mervmap-dialog::backdrop {
    background: rgba(0, 0, 0, .85);
    backdrop-filter: blur(10px);
}

.mervmap-gallery-content {
    display: grid;
    gap: 18px;
}

.gallery-heading small {
    color: var(--pink);
    letter-spacing: 1.5px;
    font-size: .7rem;
}

.gallery-heading h3 {
    margin: 8px 0 3px;
    font-size: 1.7rem;
}

.gallery-heading p,
.gallery-caption {
    color: var(--muted);
    font-size: .85rem;
}

/* MAIN IMAGE */

.gallery-main img {
    width: 100%;
    max-height: 340px;
    object-fit: contain;
    border-radius: 12px;
}

.gallery-main img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 12px;
}

.gallery-main button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;

    width: 40px;
    height: 40px;
    color: var(--pink-light);
    background: rgba(23, 21, 23, .85);
    border: 1px solid var(--pink);
    border-radius: 50%;
    cursor: pointer;
    transition: .3s ease;
}

.gallery-main button:hover {
    color: #241b20;
    background: var(--pink);
}

#mervPrev {
    left: 12px;
}

#mervNext {
    right: 12px;
}

/* THUMBNAILS */

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 9px;
}

.gallery-thumbnails img {
    width: 100%;
    height: 65px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 7px;
    opacity: .55;
    cursor: pointer;
    transition: .3s ease;
}

.gallery-thumbnails img:hover,
.gallery-thumbnails img.active {
    opacity: 1;
    border-color: var(--pink);
    transform: translateY(-3px);
}

.gallery-project-info {
    padding-top: 15px;
    border-top: 1px solid var(--line);
}

.gallery-project-info p {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.8;
}

.gallery-caption {
    text-align: center;
    margin: 0;
}

/* MOBILE */

@media (max-width: 720px) {

    .mervmap-dialog {
        width: calc(100% - 28px);
        max-height: 85vh;
        padding: 23px 17px;
        border-radius: 15px;
    }

    .gallery-main {
        min-height: 180px;
    }

    .gallery-main img {
        max-height: 260px;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .gallery-thumbnails img {
        height: 60px;
    }

    .gallery-main button {
        width: 34px;
        height: 34px;
    }
}

/* MERVMAP KEY FEATURES */

.gallery-project-info {
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.gallery-project-info h4 {
    color: var(--text);
    margin-bottom: 16px;
    font-size: 1rem;
}

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

.mervmap-feature {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px;
    color: var(--muted);
    background: rgba(214, 156, 175, .05);
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: .82rem;
    transition: .3s ease;
}

.mervmap-feature i {
    color: var(--pink);
    font-size: 1rem;
}

.mervmap-feature:hover {
    border-color: var(--pink);
    transform: translateY(-3px);
}

.mervmap-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 18px;
    color: var(--muted);
    font-size: .75rem;
    line-height: 1.7;
}

.mervmap-note i {
    color: var(--pink);
    margin-top: 3px;
}

@media (max-width: 420px) {
    .mervmap-features {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   MERVMAP GALLERY - CLEAN SCROLL
======================================== */

.mervmap-dialog {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mervmap-dialog::-webkit-scrollbar {
    display: none;
}

/* Smooth scrolling */
.mervmap-dialog {
    scroll-behavior: smooth;
}

/* Prevent white scrollbar background */
.mervmap-dialog {
    background-color: #211e21;
    overflow-x: hidden;
}


/* ========================================
   MERVMAP GALLERY INTERACTIVE DETAILS
======================================== */

/* HEADING DIVIDER */

.gallery-heading {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(214, 156, 175, .22);
}

.gallery-title-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 180px;
    margin: 15px auto 0;
}

.gallery-heading {
    text-align: center;
}

.gallery-title-line {
    margin-left: auto;
    margin-right: auto;
}

.gallery-title-line span {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            var(--pink));
}

.gallery-title-line span:last-child {
    background: linear-gradient(90deg,
            var(--pink),
            transparent);
}

.gallery-title-line i {
    color: var(--pink);
    font-size: .85rem;
}

/* MAIN IMAGE ANIMATION */

.gallery-main img {
    opacity: 1;
    transition: opacity .3s ease, transform .4s ease;
}

.gallery-main img.changing {
    opacity: 0;
    transform: scale(.98);
}

/* THUMBNAIL INTERACTION */

.gallery-thumbnails img {
    opacity: .55;
    border: 1px solid var(--line);
    border-radius: 9px;
    cursor: pointer;
    transition:
        opacity .3s ease,
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.gallery-thumbnails img:hover {
    opacity: 1;
    transform: translateY(-5px);
    border-color: var(--pink);
}

.gallery-thumbnails img.active {
    opacity: 1;
    border: 2px solid var(--pink);
    transform: translateY(-4px);
    box-shadow: 0 5px 18px rgba(214, 156, 175, .18);
}

/* CAPTION DIVIDER */

.gallery-caption {
    text-align: center;
    padding: 0 0 17px;
    border-bottom: 1px solid rgba(214, 156, 175, .2);
    transition: color .3s ease;
}

/* ARROW BUTTON INTERACTION */

.gallery-main button {
    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease,
        box-shadow .3s ease;
}

.gallery-main button:hover {
    color: #241b20;
    background: var(--pink);
    border-color: var(--pink);
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 5px 18px rgba(214, 156, 175, .2);
}

/* KEY FEATURES DIVIDER */

.gallery-project-info {
    padding-top: 22px;
    border-top: 1px solid rgba(214, 156, 175, .25);
}

.gallery-project-info h4 {
    position: relative;
    display: inline-block;
    padding-bottom: 9px;
}

.gallery-project-info h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45px;
    height: 2px;
    background: var(--pink);
    border-radius: 5px;
}

/* FEATURE HOVER */

.mervmap-feature {
    transition: transform .3s ease,
        border-color .3s ease,
        background .3s ease;
}

.mervmap-feature:hover {
    transform: translateY(-4px);
    background: rgba(214, 156, 175, .1);
    border-color: var(--pink);
}

.mervmap-feature i {
    transition: transform .3s ease;
}

.mervmap-feature:hover i {
    transform: scale(1.2);
}

/* MOBILE */

@media (max-width: 720px) {
    .gallery-title-line {
        width: 140px;
    }

    .gallery-thumbnails img:hover {
        transform: translateY(-2px);
    }
}

/* PROJECTS HEADING ALIGNMENT */


#projects .heading .intro {
    max-width: 100%;
}

#education .heading .intro {
    max-width: 100%;
}

.project-tags span i {
    font-size: 1rem;
    margin-right: 5px;
    color: var(--pink);
}

.project-tags span:hover {
    color: #000 !important;
}

.project-tags span:hover i {
    color: #000 !important;
    opacity: 1;
    visibility: visible;
}

/* Position gallery navigation arrows */
.gallery-main {
    position: relative;
}

.gallery-main button:first-child {
    position: absolute;
    left: 0;
    right: auto;
    z-index: 2;
}

.gallery-main button:last-child {
    position: absolute;
    right: 0;
    left: auto;
    z-index: 2;
}


/* ==============================
   CERTIFICATES SECTION
============================== */

.certificate-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
    margin-bottom: 36px;
}

.certificate-filter {
    padding: 10px 20px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: transparent;
    color: var(--muted);
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.certificate-filter:hover,
.certificate-filter.active {
    background: var(--pink);
    border-color: var(--pink);
    color: #171517;
}

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

/* Certificates Section Spacing */
#certificates {
    justify-content: flex-start;
    padding-top: 100px;
}


/* ==============================
   CERTIFICATE CARDS
============================== */

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 20px;
}

/* Certificate Card */
.certificate-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-6px);
    border-color: var(--pink);
}

/* Certificate Image */
.certificate-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--surface-light);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.certificate-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.certificate-card:hover .certificate-image img {
    transform: scale(1.04);
}

/* Certificate Information */
.certificate-info {
    padding: 20px;
}

.certificate-year {
    display: inline-block;
    color: var(--pink);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.certificate-info h3 {
    color: var(--text);
    font-size: 20px;
    margin: 0 0 8px;
}

.certificate-info p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Tablet */
@media (max-width: 1000px) {
    .certificate-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 720px) {
    .certificate-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .certificate-image {
        aspect-ratio: 4 / 3;
    }
}


/* ==============================
   CONTACT SECTION REDESIGN
============================== */

#contact .contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

#contact .contact-intro,
#contact #contactForm {
    min-width: 0;
    max-width: 100%;
}

#contact #contactForm {
    box-sizing: border-box;
}

#contact #contactForm input,
#contact #contactForm textarea {
    box-sizing: border-box;
}

.contact-intro h2 {
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.12;
    margin: 15px 0 24px;
    max-width: 600px;
}

.contact-intro h2 span {
    color: var(--pink);
}

.contact-intro>.intro {
    max-width: 480px;
    line-height: 1.8;
    margin-bottom: 35px;
}

/* Contact Links */

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 17px 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
    text-decoration: none;
    transition: border-color 0.3s ease,
        background 0.3s ease;
}

.contact-item:hover {
    border-color: var(--pink);
    background: var(--surface);
}

.contact-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-light);
    border-radius: 9px;
    color: var(--pink);
    font-size: 19px;
    font-weight: 600;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.contact-detail small {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 1.5px;
}

.contact-detail strong {
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.contact-arrow {
    color: var(--pink);
    font-size: 18px;
}

/* Contact Form */

#contactForm {
    padding: 34px;
    border-radius: 14px;
}

.form-heading {
    margin-bottom: 28px;
}

.form-number {
    color: var(--pink);
    font-size: 11px;
    letter-spacing: 1.5px;
}

.form-heading h3 {
    font-size: 25px;
    margin: 12px 0 6px;
    color: var(--text);
}

.form-heading p {
    color: var(--muted);
    font-size: 14px;
}

#contactForm label {
    display: block;
    margin: 20px 0 9px;
    color: var(--text);
    font-size: 13px;
}

#contactForm input,
#contactForm textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

#contactForm input:focus,
#contactForm textarea:focus {
    border-color: var(--pink);
}

#contactForm textarea {
    min-height: 130px;
    resize: vertical;
}

#contactForm .btn {
    width: 100%;
    margin-top: 24px;
}

/* Responsive */

@media (max-width: 900px) {
    #contact .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 720px) {
    .contact-intro h2 {
        font-size: 42px;
    }

    #contactForm {
        padding: 24px;
    }
}

@media (max-width: 900px) {
    #contact .contact-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }
}

/* ==============================
   CONTACT CLOSING CARD
============================== */

#contact .contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: 60px;
    align-items: center;
    width: 100%;
}

.contact-closing {
    position: relative;
    padding: 42px;
    min-height: 390px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.closing-mark {
    position: absolute;
    top: 15px;
    right: 25px;
    font-family: 'Playfair Display', serif;
    font-size: 100px;
    line-height: 1;
    color: var(--pink);
    opacity: 0.12;
}

.contact-closing .eyebrow {
    margin-bottom: 18px;
}

.contact-closing h3 {
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.2;
    margin: 0 0 18px;
    color: var(--text);
    max-width: 400px;
}

.contact-closing h3 span {
    color: var(--pink);
}

.contact-closing>p:not(.eyebrow) {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    max-width: 390px;
    margin-bottom: 28px;
}

.contact-closing .btn {
    width: fit-content;
    text-decoration: none;
}

.closing-footer {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 18px;
    margin-top: 38px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 1.5px;
}

/* Responsive */

@media (max-width: 900px) {
    #contact .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-closing {
        min-height: 340px;
    }
}

@media (max-width: 720px) {
    .contact-closing {
        padding: 28px;
    }

    .contact-closing h3 {
        font-size: 32px;
    }
}

.contact-closing>p:not(.eyebrow) {
    width: 100%;
    max-width: 390px;
    text-align: justify;
    line-height: 1.8;
}

.contact-closing .eyebrow,
.contact-closing h3 {
    width: 100%;
    text-align: center;
}

.contact-closing>p:not(.eyebrow) {
    width: 100%;
    max-width: 390px;
    text-align: left;
    line-height: 1.8;
}

.contact-closing .btn {
    align-self: center;
}

/* FIX EXPERIENCE SECTION ON MOBILE */
@media (max-width: 720px) {
    #experience .heading {
        position: static;
        top: auto;
        transform: none;
        align-self: stretch;
        margin-bottom: 25px;
    }
}


/* =================================
   HOME PORTFOLIO MENU
================================= */

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

.home-menu-card {
    position: relative;
    min-height: 190px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.home-menu-card:hover {
    transform: translateY(-6px);
    border-color: var(--pink);
    background: var(--surface-light);
}

.menu-number {
    color: var(--muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
}

.menu-icon {
    font-size: 1.7rem;
    color: var(--pink);
    margin-top: 15px;
}

.home-menu-card h3 {
    font-size: 1.3rem;
    margin: 12px 0 0;
}

.menu-arrow {
    position: absolute;
    right: 24px;
    bottom: 25px;
    color: var(--muted);
    transition: all 0.3s ease;
}

.home-menu-card:hover .menu-arrow {
    color: var(--pink);
    transform: translate(3px, -3px);
}

/* TABLET */
@media (max-width: 1000px) {
    .home-menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE */
@media (max-width: 600px) {
    .home-menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .home-menu-card {
        min-height: 155px;
        padding: 18px;
    }

    .home-menu-card h3 {
        font-size: 1.05rem;
    }

    .menu-arrow {
        right: 17px;
        bottom: 18px;
    }
}

/* =====================================
   MODERN HERO SECTION - CLEAN VERSION
===================================== */

.hero-modern {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 45px;
    min-height: calc(100svh - var(--header-height));
    padding: 80px max(6%, calc((100% - var(--max-width)) / 2));
    overflow: hidden;
}

/* CONTENT */
.hero-modern .hero-copy {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 620px;
}

.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    padding: 9px 15px;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 30px;
    font-size: .7rem;
    letter-spacing: 2px;
}

.hero-status .status-dot {
    width: 8px;
    height: 8px;
    background: var(--pink);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--pink);
}

.hero-greeting {
    margin-bottom: 12px;
    color: var(--pink);
    font-size: 1rem;
}

.hero-modern h1 {
    margin: 0;
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -4px;
}

.hero-modern h1 .hero-name {
    color: var(--pink);
    white-space: nowrap;
    font-size: .85em;
    letter-spacing: -.04em;
}

.hero-period {
    color: var(--pink-light);
}

.hero-modern .role {
    margin-top: 25px;
    color: var(--text);
    font-size: .95rem;
    line-height: 1.8;
}

.hero-modern .role span {
    margin: 0 5px;
    color: var(--pink);
}

.hero-modern .hero-text {
    max-width: 440px;
    margin-top: 15px;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.9;
}

.hero-modern .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.hero-modern .actions .btn span {
    margin-left: 8px;
}

/* SOCIAL LINKS */
.hero-socials {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 55px;
}

.hero-socials>span {
    color: var(--muted);
    font-size: .65rem;
    letter-spacing: 2px;
}

.hero-socials a {
    color: var(--muted);
    font-size: 1.1rem;
    transition: color .3s ease, transform .3s ease;
}

.hero-socials a:hover {
    color: var(--pink);
    transform: translateY(-3px);
}

/* VISUAL */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
}

.visual-circle {
    position: absolute;
    border: 1px solid rgba(214, 156, 175, .22);
    border-radius: 50%;
    pointer-events: none;
}

.circle-one {
    width: 390px;
    height: 390px;
    animation: heroRotate 30s linear infinite;
}

.circle-two {
    width: 300px;
    height: 300px;
    border-style: dashed;
    animation: heroRotate 35s linear infinite reverse;
}

.hero-monogram {
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 245px;
    height: 245px;
    background: linear-gradient(145deg, #33252d, #211e21);
    border: 1px solid rgba(214, 156, 175, .5);
    border-radius: 50%;
    box-shadow: 0 20px 80px rgba(214, 156, 175, .12);
}

.hero-monogram span {
    color: var(--pink-light);
    font-size: 6rem;
    font-weight: 700;
    letter-spacing: -10px;
}

.hero-monogram small {
    margin-top: 5px;
    color: var(--muted);
    font-size: .58rem;
    letter-spacing: 4px;
}

/* FLOATING LABELS */
.floating-tag {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 17px;
    color: var(--text);
    background: var(--surface-light);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
    font-size: .78rem;
    animation: tagFloat 4s ease-in-out infinite;
}

.floating-tag i {
    color: var(--pink);
}

.tag-code {
    top: 23%;
    right: 0;
}

.tag-design {
    bottom: 23%;
    left: 0;
    animation-delay: 1s;
}

.visual-star {
    position: absolute;
    color: var(--pink);
    font-size: 1.5rem;
}

.star-one {
    top: 14%;
    left: 17%;
}

.star-two {
    right: 15%;
    bottom: 15%;
    font-size: 1rem;
}

.visual-caption {
    position: absolute;
    right: 5%;
    bottom: 0;
    left: 5%;
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: .62rem;
    letter-spacing: 2px;
}

/* SCROLL INDICATOR */
.hero-scroll {
    position: absolute;
    bottom: 25px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: .6rem;
    letter-spacing: 2px;
    transform: translateX(-50%);
}

.hero-scroll span {
    width: 25px;
    height: 1px;
    background: var(--pink);
}

/* ANIMATIONS */
@keyframes heroRotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes tagFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* LAPTOP */
@media (max-width: 1100px) {
    .hero-modern {
        gap: 20px;
        padding-right: 5%;
        padding-left: 5%;
    }

    .hero-modern h1 {
        font-size: clamp(3.2rem, 6vw, 5.5rem);
    }

    .circle-one {
        width: 340px;
        height: 340px;
    }

    .circle-two {
        width: 265px;
        height: 265px;
    }

    .hero-monogram {
        width: 215px;
        height: 215px;
    }

    .hero-monogram span {
        font-size: 5.2rem;
    }
}

/* TABLET */
@media (max-width: 900px) and (min-width: 651px) {
    .hero-modern {
        grid-template-columns: 1fr .85fr;
        min-height: auto;
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .hero-modern h1 {
        font-size: clamp(2.8rem, 5.5vw, 4rem);
        letter-spacing: -2px;
    }

    .hero-visual {
        min-height: 350px;
    }

    .circle-one {
        width: 280px;
        height: 280px;
    }

    .circle-two {
        width: 220px;
        height: 220px;
    }

    .hero-monogram {
        width: 180px;
        height: 180px;
    }

    .hero-monogram span {
        font-size: 4.3rem;
    }

    .floating-tag {
        padding: 10px 12px;
        font-size: .65rem;
    }
}

/* MOBILE */
@media (max-width: 650px) {
    .hero-modern {
        display: block;
        min-height: calc(100svh - var(--header-height));
        padding: 65px 22px 80px;
        text-align: left;
    }

    .hero-modern .hero-copy {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .hero-status {
        margin-bottom: 25px;
        font-size: .58rem;
    }

    .hero-greeting {
        font-size: .9rem;
    }

    .hero-modern h1 {
        font-size: clamp(2.5rem, 9vw, 3.5rem);
        line-height: 1.05;
        letter-spacing: -1.5px;
    }

    .hero-modern h1 .hero-name {
        font-size: .85em;
        letter-spacing: -.04em;
    }

    .hero-modern .role {
        margin-top: 20px;
        font-size: .82rem;
        line-height: 1.7;
    }

    .hero-modern .hero-text {
        max-width: 100%;
        margin-top: 15px;
        font-size: .87rem;
        line-height: 1.7;
    }

    .hero-modern .actions {
        justify-content: flex-start;
        gap: 10px;
        margin-top: 25px;
    }

    .hero-modern .actions .btn {
        padding: 12px 13px;
        font-size: .75rem;
    }

    .hero-socials {
        justify-content: flex-start;
        gap: 17px;
        margin-top: 35px;
    }

    /* Monogram becomes a subtle background visual on mobile */
    .hero-visual {
        position: absolute;
        left: 50%;
        right: auto;
        bottom: 65px;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 220px;
        min-height: 220px;
        margin: 0;
        opacity: .16;
        pointer-events: none;
    }

    .circle-one {
        width: 210px;
        height: 210px;
    }

    .circle-two {
        width: 165px;
        height: 165px;
    }

    .hero-monogram {
        width: 125px;
        height: 125px;
    }

    .hero-monogram span {
        font-size: 3rem;
        letter-spacing: -5px;
    }

    .hero-monogram small {
        font-size: .4rem;
        letter-spacing: 3px;
    }

    .floating-tag,
    .visual-star,
    .visual-caption {
        display: none;
    }

    .hero-scroll {
        bottom: 20px;
        left: 22px;
        transform: none;
    }
}

/* SMALL MOBILE */
@media (max-width: 380px) {
    .hero-modern {
        padding-right: 16px;
        padding-left: 16px;
    }

    .hero-modern h1 {
        font-size: 2.4rem;
    }

    .hero-modern h1 .hero-name {
        font-size: .82em;
    }

    .hero-modern .actions {
        gap: 8px;
    }

    .hero-modern .actions .btn {
        padding: 11px 10px;
        font-size: .68rem;
    }

    .hero-visual {
        left: 50%;
        right: auto;
        bottom: 55px;
        transform: translateX(-50%);
    }
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {

    .hero-modern .visual-circle,
    .hero-modern .floating-tag {
        animation: none;
    }
}

/* Hide AA visual on mobile */
/* MOBILE HERO - REDUCE EMPTY SPACE */
@media (max-width: 768px) {
    .hero-modern {
        min-height: auto !important;
        padding-top: 45px;
        padding-bottom: 75px;
    }

    .hero-socials {
        margin-top: 30px;
    }

    .hero-scroll {
        bottom: 20px;
    }

    .hero-visual {
        display: none !important;
    }
}

/* FIX PORTFOLIO LABEL - MOBILE ONLY */
@media (max-width: 768px) {
    .hero-status {
        margin-top: 35px !important;
        position: relative;
        z-index: 5;
    }
}


/* =====================================
   ABOUT - PERSONAL QUALITIES & OBJECTIVE
===================================== */

.about-extra {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 24px;
    margin-top: 65px;
    position: relative;
    clear: both;
}

.about-extra-card,
.career-objective {
    padding: 30px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.about-extra-card h3,
.career-objective h3 {
    margin: 8px 0 24px;
    font-size: 1.5rem;
    color: var(--text);
}

.about-extra-card h3 span {
    color: var(--pink-light);
}

/* PERSONAL QUALITIES GRID */

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

.quality-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    background: var(--surface-light);
    border-radius: 9px;
    color: var(--text);
    font-size: .88rem;
}

.quality-item i {
    color: var(--pink);
    font-size: 1rem;
}

/* CAREER OBJECTIVE */

.career-objective {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.career-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(214, 156, 175, .12);
    color: var(--pink-light);
    font-size: 1.2rem;
}

.career-objective h3 {
    margin-bottom: 14px;
}

.career-objective p:last-child {
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.8;
    margin: 0;
}

/* TABLET & MOBILE */

@media (max-width: 768px) {
    .about-extra {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .about-extra-card,
    .career-objective {
        padding: 23px;
    }
}

@media (max-width: 480px) {
    .qualities-grid {
        grid-template-columns: 1fr;
    }
}

.info-card strong small {
    display: block;
    margin-top: 7px;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--muted);
}

/* PERSONAL QUALITIES HOVER EFFECT */
.quality-item {
    transition: all 0.3s ease;
    cursor: default;
}

.quality-item:hover {
    background: var(--pink);
    color: var(--bg);
    transform: translateY(-4px);
}

.quality-item:hover i {
    color: var(--bg);
}


/* TIMELINE LOGO + INFORMATION */

.timeline-info {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin-top: 20px;
}

.timeline-logo {
    flex: 0 0 85px;
    width: 85px;
    height: 85px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 12px;
    background: var(--surface-light);
    border: 1px solid var(--line);
    border-radius: 12px;

    transition: all 0.3s ease;
}

.timeline-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.timeline-item:hover .timeline-logo {
    border-color: var(--pink);
    transform: translateY(-3px);
}

.timeline-content {
    flex: 1;
    min-width: 0;
}

.timeline-content h3 {
    margin-top: 0;
}

/* MOBILE */
@media (max-width: 600px) {
    .timeline-info {
        gap: 14px;
    }

    .timeline-logo {
        flex-basis: 65px;
        width: 65px;
        height: 65px;
        padding: 8px;
    }
}

.hero-monogram {
    width: 245px;
    height: 245px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-monogram img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}