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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #0f172a;
    --accent-color: #60a5fa;
    --accent-soft: #dbeafe;
    --dark-bg: #081225;
    --dark-surface: rgba(255, 255, 255, 0.08);
    --dark-surface-2: rgba(255, 255, 255, 0.06);
    --light-bg: #f8fafc;
    --light-surface: #ffffff;
    --muted-bg: #eef4ff;
    --text-dark: #0f172a;
    --text-light: #475569;
    --text-muted: #64748b;
    --white: #ffffff;
    --border-color: #dbe4f0;
    --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 18px 40px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.16);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* NAVBAR */
.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    padding: 0.85rem 0;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(219, 228, 240, 0.8);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.93);
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-brand {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--secondary-color);
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.96rem;
    padding: 0.55rem 0;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0.08rem;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.28s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.35rem;
}

.nav-toggle span {
    width: 26px;
    height: 2.5px;
    border-radius: 999px;
    background: var(--secondary-color);
    transition: var(--transition);
}

/* HERO */
.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    padding: 180px 0 120px;
    margin-top: 76px;
    background:
        radial-gradient(circle at 20% 20%, rgba(191, 219, 254, 0.18), transparent 18%),
        radial-gradient(circle at 80% 15%, rgba(96, 165, 250, 0.22), transparent 18%),
        linear-gradient(135deg, #081225 0%, #0e2d68 45%, #1d4ed8 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: auto -10% -120px -10%;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 65%);
    filter: blur(30px);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.12;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero h2 {
    font-size: clamp(1.15rem, 2.2vw, 1.75rem);
    font-weight: 500;
    opacity: 0.96;
    margin-bottom: 0.8rem;
}

.hero-subtitle {
    font-size: 1.08rem;
    max-width: 760px;
    margin: 0 auto 1.4rem;
    color: rgba(255, 255, 255, 0.86);
}

.hero-highlight {
    max-width: 760px;
    margin: 0 auto 1.8rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.96);
    font-size: 1.02rem;
    line-height: 1.75;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.hero-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin: 0 auto 2.4rem;
    max-width: 900px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
}

.hero-tag i {
    color: #bfdbfe;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 0.95rem 1.6rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.96rem;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--white), #eff6ff);
    color: var(--primary-dark);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.22);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--white);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-3px);
}

/* GENERAL SECTIONS */
.section {
    padding: 100px 0;
    position: relative;
}

.section-dark {
    background:
        radial-gradient(circle at top left, rgba(96, 165, 250, 0.08), transparent 22%),
        linear-gradient(180deg, #081225 0%, #0a1730 100%);
    color: var(--white);
}

.section-title {
    font-size: clamp(2rem, 3vw, 2.8rem);
    text-align: center;
    margin-bottom: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 84px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.subsection-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 3.2rem 0 1.6rem;
    letter-spacing: -0.02em;
}

.section-dark .subsection-title {
    color: var(--accent-color);
}

/* ABOUT */
.about-content {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 2rem;
    align-items: start;
}

.about-text,
.info-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(219, 228, 240, 0.95);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.about-text {
    padding: 2rem;
}

.about-text h3 {
    color: var(--secondary-color);
    font-size: 1.35rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.2rem;
}

.objectives-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.objectives-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.58rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 0 0 6px rgba(96, 165, 250, 0.15);
}

.info-card {
    padding: 2rem;
    position: sticky;
    top: 110px;
}

.info-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.info-card p {
    color: var(--text-light);
    margin-bottom: 0.85rem;
}

.info-card strong {
    color: var(--text-dark);
}

/* EXPERIENCE WRAPPER */
#experience .container {
    position: relative;
}

/* TIMELINE - FIXED */
.timeline {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding-left: 4.25rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        180deg,
        rgba(96, 165, 250, 0.10),
        rgba(96, 165, 250, 0.95),
        rgba(96, 165, 250, 0.10)
    );
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.18);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -4.25rem;
    top: 1.3rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #bfdbfe, var(--accent-color));
    border: 4px solid #0a1730;
    box-shadow:
        0 0 0 8px rgba(37, 99, 235, 0.12),
        0 0 18px rgba(96, 165, 250, 0.28);
}

.timeline-content {
    background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.05));
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 26px;
    padding: 1.7rem 1.7rem 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255,255,255,0.16);
}

.timeline-date {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 0.9rem;
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.3rem;
    font-weight: 800;
    color: var(--white);
}

.timeline-content h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.timeline-content ul li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.timeline-content ul li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* EXPERIENCE NOTE CARDS */
.experience-note {
    max-width: 980px;
    margin: 2rem auto 0;
    padding: 1.7rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.05));
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: var(--shadow-md);
}

.experience-note h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.9rem;
}

.experience-note p,
.experience-note li {
    color: rgba(255, 255, 255, 0.9);
}

.experience-note ul li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.7rem;
}

.experience-note ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* EDUCATION - STYLED STRONGLY */
#education {
    background:
        radial-gradient(circle at top left, rgba(96, 165, 250, 0.06), transparent 24%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.7rem;
    margin-bottom: 3rem;
}

.education-card {
    position: relative;
    padding: 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dbe4f0;
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
    overflow: hidden;
    transition: var(--transition);
}

.education-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.education-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.11);
}

.education-year {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.2);
}

.education-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.55rem;
}

.education-card h4 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.education-card p {
    color: var(--text-light);
    font-size: 1rem;
}

.distinctions {
    margin-top: 1rem;
}

.distinctions li {
    position: relative;
    padding-left: 1.55rem;
    margin-bottom: 0.65rem;
    color: var(--text-light);
}

.distinctions li::before {
    content: "◆";
    position: absolute;
    left: 0;
    top: 0.15rem;
    font-size: 0.75rem;
    color: var(--primary-color);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.3rem;
}

.course-card {
    position: relative;
    padding: 1.45rem 1.35rem 1.45rem 1.2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dbe4f0;
    border-radius: 20px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
    transition: var(--transition);
}

.course-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    border-radius: 20px 0 0 20px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.09);
}

.course-card h4 {
    color: var(--secondary-color);
    font-size: 1.08rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.course-card p {
    color: var(--text-light);
    font-size: 0.96rem;
}

/* SKILLS */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.8rem;
    margin-bottom: 3rem;
}

.skills-column {
    background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.05));
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 24px;
    padding: 1.8rem;
    box-shadow: var(--shadow-md);
}

.skills-column h3 {
    color: var(--accent-color);
    font-size: 1.28rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.skills-list li {
    position: relative;
    padding: 0.85rem 0 0.85rem 1.5rem;
    color: rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.skills-list li:last-child {
    border-bottom: none;
}

.skills-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #7dd3fc;
    font-weight: 800;
}

.specialties {
    margin-top: 2rem;
}

.specialties h3 {
    text-align: center;
    color: var(--accent-color);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1.4rem;
}

.specialty-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
}

.tag {
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    background: rgba(96, 165, 250, 0.14);
    border: 1px solid rgba(96, 165, 250, 0.22);
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.tag:hover {
    transform: translateY(-2px);
    background: rgba(96, 165, 250, 0.22);
}

/* PUBLICATIONS / RESEARCH */
#publications {
    background:
        radial-gradient(circle at top right, rgba(96, 165, 250, 0.05), transparent 25%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.publications-list {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    gap: 1.4rem;
}

.publication-item {
    position: relative;
    padding: 1.8rem 1.8rem 1.8rem 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dbe4f0;
    border-radius: 24px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
    transition: var(--transition);
    overflow: hidden;
}

.publication-item::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.publication-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.10);
}

.publication-item h3 {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.5;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
}

.publication-details {
    color: var(--text-light);
    line-height: 1.75;
    font-size: 0.98rem;
}

.publication-details strong {
    color: var(--primary-dark);
    font-weight: 700;
}

.audit-item {
    position: relative;
    margin-top: 1rem;
    padding: 1.6rem 1.8rem 1.6rem 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dbe4f0;
    border-radius: 24px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.audit-item::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: linear-gradient(180deg, #0ea5e9, #60a5fa);
}

.audit-item p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.75;
}

/* CONTACT - MUCH MODERNER */
#contact.section-dark {
    background:
        radial-gradient(circle at top left, rgba(147, 197, 253, 0.18), transparent 22%),
        radial-gradient(circle at bottom right, rgba(96, 165, 250, 0.12), transparent 22%),
        linear-gradient(135deg, #0b1730 0%, #10264d 50%, #163b7a 100%);
}

.contact-content {
    max-width: 1050px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.contact-item {
    position: relative;
    padding: 2rem 1.7rem;
    text-align: center;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.14);
    transition: var(--transition);
    overflow: hidden;
}

.contact-item::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, #93c5fd, #60a5fa);
}

.contact-item::after {
    content: "";
    position: absolute;
    inset: auto -40px -40px auto;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 65%);
    pointer-events: none;
}

.contact-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 50px rgba(0, 0, 0, 0.18);
    background: rgba(255, 255, 255, 0.18);
}

.contact-item h3 {
    color: #93c5fd;
    font-size: 1.18rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.contact-item h3 i {
    margin-right: 0.55rem;
}

.contact-item p {
    color: rgba(255,255,255,0.94);
    font-size: 1.03rem;
}

.contact-item a {
    color: #dbeafe;
    font-weight: 700;
}

.contact-item a:hover {
    color: var(--white);
}

/* FOOTER */
.footer {
    background: #08111f;
    color: rgba(255, 255, 255, 0.74);
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer p {
    margin: 0.4rem 0;
}

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* SCROLL TO TOP */
.scroll-top-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition);
    z-index: 999;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .info-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 76px;
        left: 50%;
        transform: translateX(-50%) translateY(-20px);
        width: min(92%, 420px);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(255, 255, 255, 0.97);
        border: 1px solid rgba(219, 228, 240, 0.95);
        border-radius: 20px;
        box-shadow: var(--shadow-lg);
        padding: 1rem;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.28s ease;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 0.95rem 0.75rem;
        border-radius: 12px;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background: var(--muted-bg);
    }

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

    .hero {
        padding: 150px 0 90px;
    }

    .hero-highlight {
        padding: 0.95rem 1rem;
        font-size: 0.97rem;
        margin-bottom: 1.4rem;
    }

    .hero-tags {
        gap: 0.7rem;
        margin-bottom: 2rem;
    }

    .hero-tag {
        font-size: 0.9rem;
        padding: 0.7rem 0.95rem;
    }

    .hero-buttons {
        gap: 0.85rem;
    }

    .section {
        padding: 80px 0;
    }

    .timeline {
        padding-left: 3.2rem;
    }

    .timeline::before {
        left: 0.95rem;
    }

    .timeline-marker {
        left: -2.25rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.08rem;
    }

    .hero-subtitle {
        font-size: 0.98rem;
    }

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

    .hero-tag {
        width: 100%;
        justify-content: center;
    }

    .about-text,
    .info-card,
    .education-card,
    .course-card,
    .publication-item,
    .audit-item,
    .contact-item,
    .skills-column,
    .timeline-content,
    .experience-note {
        padding: 1.35rem;
    }

    .scroll-top-btn {
        right: 16px;
        bottom: 16px;
    }
}
