/* GENERAL */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --bg: #f7f8fb;
    --surface: #ffffff;
    --surface-soft: #eef4ff;
    --text: #111827;
    --muted: #5f6b7a;
    --line: #e2e8f0;
    --blue: #2563eb;
    --pink: #7c3aed;
    --navy: #0f172a;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.06);
    --radius: 22px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.13), transparent 28rem),
        linear-gradient(180deg, #ffffff 0%, var(--bg) 48%, #ffffff 100%);
}

p {
    color: var(--muted);
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

a:hover {
    color: var(--blue);
}

/* NAVIGATION */

header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 0.85rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav {
    width: 100%;
    display: flex;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
}

.logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--navy);
    font-size: 0.95rem;
    font-weight: 500;
}

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

/* HAMBURGER MENU */

#hamburger-nav {
    display: none;
}

.hamburger-menu {
    position: relative;
    display: inline-block;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
    border: 0;
    background: transparent;
    padding: 0;
}

.hamburger-icon span {
    width: 100%;
    height: 2px;
    background-color: var(--navy);
    transition: all 0.3s ease-in-out;
}

.menu-links {
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    background-color: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    width: 210px;
    max-height: 0;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: max-height 0.3s ease-in-out;
}

.menu-links a {
    display: block;
    padding: 0.85rem 1rem;
    text-align: left;
    font-size: 0.95rem;
    color: var(--navy);
}

.menu-links a:hover {
    background: var(--surface-soft);
    color: var(--blue);
}

.menu-links li {
    list-style: none;
}

.menu-links.open {
    max-height: 320px;
}

.hamburger-icon.open span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 6px);
}

.hamburger-icon.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.open span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -6px);
}

/* SECTIONS */

main {
    margin-top: 0;
}

section {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 3.8rem 0;
}

.section_text_p1 {
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-align: center;
    text-transform: uppercase;
}

.title_1,
.title_2 {
    color: var(--navy);
    text-align: center;
    line-height: 1.1;
}

.title_1 {
    font-size: clamp(2.5rem, 7vw, 5.4rem);
    letter-spacing: -0.08em;
    margin: 0.25rem 0 0.5rem;
}

.title_2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    position: relative;
    letter-spacing: -0.05em;
    margin-top: 0.25rem;
}

.title_2::after {
    content: "";
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 86px;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--pink));
    border-radius: 999px;
}

.text_container,
.section_intro {
    max-width: 850px;
    margin: 1.6rem auto 0;
}

.text_container p,
.section_intro p {
    line-height: 1.75;
    font-size: 1rem;
    text-align: center;
}

/* BUTTONS */

.btn_container {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.btn_color,
.btn_secondary,
.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn_color {
    background: linear-gradient(90deg, var(--blue), var(--pink));
    color: white;
    padding: 0.78rem 1.15rem;
    border-radius: 999px;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.btn_secondary {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--line);
    color: var(--navy);
    padding: 0.78rem 1.15rem;
    border-radius: 999px;
}

.btn_color:hover,
.btn_secondary:hover,
.submit-button:hover {
    transform: translateY(-2px);
}

.btn_color:hover {
    color: white;
}

/* HERO */

#profile {
    min-height: calc(82vh - 76px);
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 3.5rem;
    padding-top: 2.2rem;
}

.section_pic_container {
    width: min(390px, 100%);
    justify-self: end;
    border-radius: 999px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.24), rgba(124, 58, 237, 0.18));
    box-shadow: var(--shadow);
}

.section_pic_container img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 999px;
    border: 8px solid white;
}

.section_text {
    text-align: left;
}

.hero-copy .section_text_p1,
.hero-copy .title_1,
.hero-copy .section_text_p2 {
    text-align: left;
}

.section_text_p2 {
    color: var(--navy);
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero_statement {
    max-width: 620px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.hero-actions {
    justify-content: flex-start;
}

.hero_credentials {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.55rem;
    margin-top: 1rem;
}

.hero_credentials span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

/* ABOUT */

#about {
    text-align: center;
}

.about-copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
    max-width: 1040px;
}

.about-copy p {
    text-align: left;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.3rem;
    box-shadow: var(--shadow-soft);
}

.about_highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.4rem;
}

.highlight_card {
    text-align: left;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow-soft);
}

.highlight_card span {
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 700;
}

.highlight_card h3 {
    color: var(--navy);
    font-size: 1.05rem;
    margin: 0.35rem 0;
}

.highlight_card p {
    font-size: 0.92rem;
    line-height: 1.55;
}

/* FOCUS AREAS */

#proficiencies {
    text-align: center;
}

.article_container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.6rem;
}

article {
    text-align: left;
}

.focus_grid article {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.3rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.focus_grid article:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: var(--shadow);
}

article .icon {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin-bottom: 1rem;
}

article h3 {
    font-size: 1.03rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

article p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* PROJECTS */

#projects {
    text-align: center;
}

.details_container {
    margin-top: 1.7rem;
}

.projects_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

.subdetail_container {
    background-color: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.35rem;
    text-align: left;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.subdetail_container:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: var(--shadow);
}

.featured_project {
    border-top: 4px solid var(--blue);
}

.project_header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.7rem;
}

.project_type {
    color: var(--blue);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.status_badge {
    flex: none;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.35rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 800;
}

.status_badge.shipped {
    color: #1e5f3d;
    background: #dcfce7;
}

.status_badge.progress {
    color: #7a3f04;
    background: #ffedd5;
}

.status_badge.lab {
    color: #4b5563;
    background: #f3f4f6;
}

.projects_subtitle {
    color: var(--navy);
    font-size: 1.35rem;
    line-height: 1.25;
    letter-spacing: -0.03em;
    margin-bottom: 0.7rem;
}

.project_summary {
    font-size: 0.95rem;
    line-height: 1.65;
}

.chip_group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1rem;
}

.chip_group span {
    background: var(--surface-soft);
    border: 1px solid #dbeafe;
    color: #1d4ed8;
    border-radius: 999px;
    padding: 0.35rem 0.62rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.evidence_box {
    margin-top: 1rem;
    padding: 0.9rem;
    border-radius: 16px;
    background: #fbfdff;
    border: 1px dashed #cbd5e1;
}

.evidence_box strong {
    color: var(--navy);
    font-size: 0.85rem;
}

.evidence_box p {
    margin-top: 0.35rem;
    font-size: 0.86rem;
    line-height: 1.55;
}

.card_actions {
    justify-content: flex-start;
    margin-top: 1.1rem;
}

.card_actions .btn_color {
    padding: 0.62rem 0.95rem;
    font-size: 0.85rem;
}

/* OTHER PLATFORMS */

#other-platforms {
    text-align: center;
}

.platform_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 280px));
    justify-content: center;
    gap: 1.2rem;
}

.sub-detail_container {
    background-color: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sub-detail_container:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: var(--shadow);
}

.project_img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    margin: 0 auto 1rem;
}

.platform-link p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* CONTACT */

#contact {
    text-align: center;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 1.5rem;
    margin-top: 1.6rem;
}

.contact-card,
.contact-info {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    text-align: left;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.form-group label {
    display: block;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 0.9rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fbfdff;
    color: var(--navy);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

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

.submit-button {
    background: linear-gradient(90deg, var(--blue), var(--pink));
    color: white;
    padding: 0.85rem 1.2rem;
    border-radius: 999px;
    justify-self: start;
    font-family: inherit;
}

.contact-info h2 {
    color: var(--navy);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.info-item {
    display: grid;
    gap: 0.15rem;
    margin-bottom: 0.9rem;
}

.info-label {
    color: var(--blue);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-info a,
.contact-info p {
    color: var(--muted);
    overflow-wrap: anywhere;
}

.contact-info a:hover {
    color: var(--blue);
}

/* FOOTER */

footer {
    padding: 2rem 0;
    text-align: center;
    background-color: #f8fafc;
    border-top: 1px solid var(--line);
}

footer p {
    margin: 0;
    font-size: 0.85rem;
}
