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

:root {
    --bg: #fdfdfd;
    --text: #1f1f1f;
    --muted: #666;
    --card-bg: #ffffff;
    --border: #e4e4e4;
    --accent: #f97316;
}

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

body {
    font-family: "Poppins", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    background: #fff;
    border: 2px solid var(--text);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    z-index: 100;
}

.skip-link:focus-visible {
    top: 1rem;
}

html {
    scroll-behavior: smooth;
}

a {
    color: var(--text);
    text-decoration: none;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    position: sticky;
    top: 0;
    background: rgba(253, 253, 253, 0.9);
    backdrop-filter: blur(8px);
    z-index: 10;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    font-size: 1rem;
}

nav a {
    padding-bottom: 0.25rem;
    border-bottom: 2px solid transparent;
}

nav a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 0.4rem;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    white-space: nowrap;
}

#hamburger-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

#desktop-nav {
    display: none;
}

.hamburger-menu {
    position: relative;
}

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

.hamburger-icon span {
    width: 100%;
    height: 2px;
    background: var(--text);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-links {
    position: absolute;
    right: 0;
    top: 140%;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    margin: 0;
    padding: 0;
}

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

.menu-links a {
    display: block;
    padding: 0.75rem 1.5rem;
}

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

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

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

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

section {
    padding: 5rem 2rem;
}

section > .title {
    margin-bottom: 1rem;
}

#profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 8rem;
}

.section__pic-container {
    max-width: 320px;
}

.section__pic-container img {
    width: 100%;
    border-radius: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.profile-pic-frame {
    width: 320px;
    height: 320px;
    padding: 1.25rem;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, #fff7ed, #ffe4d0, #ffd4ba);
    display: grid;
    place-items: center;
    box-shadow: 0 25px 60px rgba(249, 115, 22, 0.25);
}

.profile-pic-frame img {
    border-radius: 50%;
    box-shadow: none;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.section__text {
    max-width: 540px;
}

.section__text__p1 {
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.title {
    font-size: 2.75rem;
    margin: 0.75rem 0;
}

.section__text__p2 {
    font-size: 1.1rem;
    color: var(--muted);
}

.lead {
    margin-top: 1rem;
    color: #444;
    margin-bottom: 1.25rem;
}

#socials-container {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.social-link {
    display: inline-flex;
    border-radius: 999px;
}

.icon {
    width: 2rem;
    height: 2rem;
    cursor: pointer;
}

.btn-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    font-weight: 600;
    padding: 0.9rem 1.75rem;
    border-radius: 999px;
    border: 2px solid var(--text);
    background: transparent;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.btn-color-1 {
    background: var(--text);
    color: #fff;
}

.btn-color-1:hover {
    background: #000;
}

.btn-color-2:hover {
    background: var(--text);
    color: #fff;
}

.quick-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.fact-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: 0.1rem;
    margin-bottom: 0.35rem;
}

.section-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

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

.quote-card {
    margin-top: 1rem;
    background: linear-gradient(135deg, #1d1d1d, #111111);
    border: 1px solid #2c2c2c;
    border-radius: 1.25rem;
    padding: 1.4rem 1.5rem;
    color: #f5f5f5;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.quote-label {
    display: inline-block;
    margin-bottom: 0.9rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(249, 115, 22, 0.5);
    background: rgba(249, 115, 22, 0.14);
    color: #ffd7bc;
    font-size: 0.72rem;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
}

.quote-card blockquote {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
    font-weight: 400;
}

.quote-signoff {
    margin-top: 0.9rem;
    color: #c8c8c8;
    font-size: 0.85rem;
}

.about-details-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-containers {
    display: flex;
    gap: 1.5rem;
}

.about-pic-wrapper {
    flex: 1;
    max-width: 380px;
}

.about-pic {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 1.75rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.details-container,
.experience-card,
.education-card,
.project-card,
.skills-card,
.activity-card,
.contact-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 1.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.details-container h3 {
    margin-bottom: 0.75rem;
}

.experience-details-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.experience-card ul {
    margin-top: 1rem;
    padding-left: 1.25rem;
    color: #444;
}

.experience-card li + li {
    margin-top: 0.6rem;
}

.card-header .eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.08rem;
    color: var(--muted);
    text-transform: uppercase;
}

.card-header h3 {
    margin-top: 0.35rem;
}

.education-card {
    max-width: 900px;
    margin: 0 auto;
}

.degree {
    font-weight: 600;
    margin: 0.75rem 0;
}

.honors {
    color: #444;
    margin-bottom: 1.25rem;
}

.tag-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.tag-grid span {
    background: #fff7ed;
    border: 1px solid #fcd9bd;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
}

.projects-grid,
.skills-grid,
.activities-grid,
.contact-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.activities-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.activity-card h3,
.project-card h3 {
    margin: 0.25rem 0 0.75rem;
}

.skills-card ul {
    margin-top: 1rem;
    padding-left: 1.25rem;
    color: #444;
}

.contact-card a {
    color: var(--accent);
    word-break: break-all;
}

footer {
    text-align: center;
    padding: 2rem 1rem 3rem;
    color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

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