/* ============================================
   CLEAR WATER THEME - Complete CSS (CLEANED)
   ============================================ */

:root {
    /* water tones */
    --w-deep:      #e8f6fb;
    --w-surface:   #f0fafd;
    --w-shallow:   #d6f0f8;
    --w-mid:       #b8e4f4;
    --w-teal:      #6dbfda;
    --w-current:   #2a8faf;
    --w-depth:     #0d5c76;
    --w-abyss:     #042d3e;

    /* glass surfaces */
    --glass-1:  rgba(255, 255, 255, 0.55);
    --glass-2:  rgba(240, 250, 253, 0.40);
    --glass-3:  rgba(230, 247, 253, 0.25);
    --glass-border: rgba(255, 255, 255, 0.75);
    --glass-blur: blur(20px) saturate(160%);

    /* shadows */
    --shadow-card:  0 8px 32px -12px rgba(13, 92, 118, 0.18);
    --shadow-hover: 0 20px 48px -16px rgba(13, 92, 118, 0.30);
    --shadow-nav:   0 2px 24px -8px  rgba(13, 92, 118, 0.14);

    /* layout */
    --radius-sm:  0.85rem;
    --radius-md:  1.4rem;
    --radius-lg:  2rem;
    --radius-pill: 100px;
    --max-w: 1100px;
    --trans: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    font-family: "DM Sans", system-ui, sans-serif;
    color: var(--w-abyss);
    min-height: 100vh;
    background: radial-gradient(ellipse 60% 40% at 10% 15%, rgba(174, 228, 248, 0.55) 0%, transparent 55%),
                radial-gradient(ellipse 50% 60% at 88% 80%, rgba(147, 218, 243, 0.45) 0%, transparent 55%),
                radial-gradient(ellipse 70% 50% at 55% 105%, rgba(200, 240, 252, 0.65) 0%, transparent 50%),
                radial-gradient(ellipse 90% 30% at 50% 0%, rgba(215, 244, 253, 0.80) 0%, transparent 40%),
                linear-gradient(175deg, #edf8fd 0%, #d8f2fb 35%, #e4f6fc 65%, #f0fafd 100%);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: repeating-linear-gradient(62deg,
            transparent 0px,
            transparent 18px,
            rgba(255, 255, 255, 0.045) 18px,
            rgba(255, 255, 255, 0.045) 20px);
    opacity: 0.6;
}

/* ===== NAVBAR ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(240, 250, 253, 0.72);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-nav);
    width: 100%;
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Page wrapper - FIXED for navbar spacing */
.page {
    position: relative;
    z-index: 10;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 80px 2rem 6rem;  /* Increased top padding to clear fixed navbar */
}

/* Brand Styles */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--w-depth);
}

.brand-alias {
    font-size: 0.6rem;
    font-weight: 400;
    color: var(--w-teal);
    letter-spacing: 0.3px;
    opacity: 0.85;
    margin-top: 1px;
}

.profile-image-container {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(13, 92, 118, 0.15);
    flex-shrink: 0;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.drop-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--w-mid), var(--w-teal));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.7rem;
    box-shadow: 0 4px 10px -4px rgba(42, 143, 175, 0.5);
}

/* Desktop Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-links li {
    margin: 0;
    padding: 0;
    position: relative;
}

.nav-links a {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--w-current);
    text-decoration: none;
    padding: 0.3rem 0.5rem;
    border-radius: 100px;
    transition: var(--trans);
    display: inline-block;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255, 255, 255, 0.6);
    color: var(--w-depth);
}

/* Remove dropdown styles if not needed */
.dropdown,
.dropdown-toggle,
.dropdown-menu,
.dropdown-arrow {
    display: none;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1001;
    outline: none;
}

.menu-toggle__line {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--w-depth);
    border-radius: 2px;
    margin: 0 auto;
    position: absolute;
    left: 9px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle__line--1 {
    top: 14px;
}

.menu-toggle__line--2 {
    top: 24px;
}

.menu-toggle.open .menu-toggle__line--1 {
    transform: rotate(45deg);
    top: 19px;
}

.menu-toggle.open .menu-toggle__line--2 {
    transform: rotate(-45deg);
    top: 19px;
}

/* Responsive for smaller screens */
@media (max-width: 1100px) {
    .nav-links a {
        font-size: 0.65rem;
        padding: 0.25rem 0.4rem;
    }
}

@media (max-width: 900px) {
    .nav-links a {
        font-size: 0.6rem;
        padding: 0.2rem 0.35rem;
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 2.5rem 2rem;
    }

    .contact-panel {
        padding: 2rem 1.8rem;
    }
}

@media (max-width: 820px) {
    .two-col {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 2.5rem 2rem;
    }

    .contact-panel {
        padding: 2rem 1.8rem;
    }
}

/* ===== GLASS CARD BASE ===== */
.glass {
    background: var(--glass-1);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-card);
}

/* ===== HERO SECTION ===== */
.hero {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    border-radius: var(--radius-lg);
    padding: 3.5rem 3.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-card),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero-text {
    flex: 1 1 340px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--w-current);
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: var(--radius-pill);
    padding: 0.3rem 0.9rem;
    margin-bottom: 1.1rem;
}

.hero-name {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(2.1rem, 4.5vw, 3.2rem);
    font-weight: 400;
    line-height: 1.08;
    color: var(--w-abyss);
    letter-spacing: -0.01em;
    margin-bottom: 1.1rem;
}

.hero-name em {
    font-style: italic;
    color: var(--w-depth);
}

.hero-bio {
    font-size: 0.98rem;
    font-weight: 330;
    line-height: 1.75;
    color: #1e5469;
    max-width: 500px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.6rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.50);
    color: var(--w-depth);
    border: 1px solid rgba(255, 255, 255, 0.80);
    border-radius: var(--radius-pill);
    padding: 0.35rem 0.95rem;
    text-decoration: none;
}

.tag i {
    color: var(--w-teal);
    font-size: 0.72rem;
}

.hero-cta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-avatar {
            flex: 0 0 auto; position: relative;
            width: 148px; height: 148px; border-radius: 50%;
            background: linear-gradient(145deg, var(--w-shallow) 0%, var(--w-mid) 50%, var(--w-teal) 100%);
            border: 4px solid rgba(255,255,255,0.90);
            box-shadow:
                0 20px 40px -16px rgba(13, 92, 118, 0.45),
                inset 0 2px 4px rgba(255,255,255,0.8);
            display: flex; align-items: center; justify-content: center;
        }

        .hero-avatar span {
            font-family: "DM Serif Display", serif;
            font-size: 2.6rem; font-weight: 400; color: var(--w-depth);
            letter-spacing: -0.02em; user-select: none;
        }


.hero-avatar-container {
    flex: 0 0 auto;
    width: 220px;
    height: 340px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(145deg, var(--w-shallow), var(--w-teal));
    border: 4px solid rgba(255, 255, 255, 0.90);
    box-shadow: 0 20px 40px -16px rgba(13, 92, 118, 0.45);
}

.hero-bio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: "DM Sans", sans-serif;
    font-size: 0.85rem;
    font-weight: 550;
    padding: 0.65rem 1.55rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--trans);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--w-depth) 0%, var(--w-current) 100%);
    color: #fff;
    box-shadow: 0 8px 22px -8px rgba(13, 92, 118, 0.50);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -10px rgba(13, 92, 118, 0.55);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.52);
    color: var(--w-depth);
    border: 1px solid rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.80);
    transform: translateY(-2px);
}

/* ===== STATS ROW ===== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 2.2rem;
}

.stat-card {
    border-radius: var(--radius-md);
    padding: 1.4rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-card),
                inset 0 1px 0 rgba(255, 255, 255, 0.90);
    transition: var(--trans);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.stat-val {
    font-family: "DM Serif Display", serif;
    font-size: 2.1rem;
    font-weight: 400;
    color: var(--w-depth);
    line-height: 1;
}

.stat-lbl {
    font-size: 0.75rem;
    font-weight: 480;
    color: var(--w-current);
    margin-top: 0.35rem;
    line-height: 1.35;
}

/* ===== SECTION LABELS ===== */
.sec-eye {
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--w-teal);
    margin-bottom: 0.35rem;
}

.sec-title {
    font-family: "DM Serif Display", serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--w-abyss);
    margin-bottom: 1.5rem;
}

/* ===== RESEARCH GRID ===== */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1.1rem;
    margin-bottom: 2.2rem;
}

.res-card {
    border-radius: var(--radius-md);
    padding: 1.7rem 1.2rem 1.5rem;
    text-align: center;
    transition: var(--trans);
    box-shadow: var(--shadow-card),
                inset 0 1px 0 rgba(255, 255, 255, 0.90);
}

.res-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    background: var(--glass-1);
}

.res-icon {
    width: 54px;
    height: 54px;
    border-radius: 1.1rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.90), rgba(216, 242, 251, 0.75));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: var(--w-current);
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px -6px rgba(42, 143, 175, 0.25),
                inset 0 1px 2px rgba(255, 255, 255, 1);
}

.res-card h4 {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--w-abyss);
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.res-card p {
    font-size: 0.76rem;
    font-weight: 380;
    color: var(--w-current);
    line-height: 1.55;
}

/* ===== TWO COLUMN LAYOUT ===== */
.two-col {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.5rem;
    margin-bottom: 2.2rem;
}

/* ===== PANEL ===== */
.panel {
    border-radius: var(--radius-md);
    padding: 2rem 2.2rem;
    box-shadow: var(--shadow-card),
                inset 0 1px 0 rgba(255, 255, 255, 0.90);
}

/* ===== PUBLICATIONS ===== */
.pub-list {
    list-style: none;
}

.pub-item {
    padding: 1.05rem 0;
    border-bottom: 1px solid rgba(184, 228, 244, 0.35);
}

.pub-item:last-child {
    border-bottom: none;
}

.pub-type {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--w-current);
    background: rgba(184, 228, 244, 0.40);
    border: 1px solid rgba(255, 255, 255, 0.70);
    border-radius: var(--radius-pill);
    padding: 0.15rem 0.7rem;
    margin-bottom: 0.35rem;
}

.pub-title {
    font-size: 0.91rem;
    font-weight: 520;
    color: var(--w-abyss);
    line-height: 1.45;
    margin-bottom: 0.25rem;
}

.pub-authors {
    font-size: 0.77rem;
    font-weight: 350;
    color: var(--w-current);
    font-style: italic;
}

/* ===== TIMELINE ===== */
.timeline {
    list-style: none;
}

.tl-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(184, 228, 244, 0.35);
}

.tl-row:last-child {
    border-bottom: none;
}

.tl-marker {
    flex: 0 0 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--w-teal);
    margin-top: 5px;
    box-shadow: 0 0 0 3px rgba(109, 191, 218, 0.25);
}

.tl-body {
    flex: 1;
}

.tl-role {
    font-size: 0.90rem;
    font-weight: 580;
    color: var(--w-abyss);
    line-height: 1.3;
}

.tl-org {
    font-size: 0.79rem;
    font-weight: 380;
    color: var(--w-current);
    margin-top: 1px;
}

.tl-date {
    flex: 0 0 auto;
    font-size: 0.72rem;
    font-weight: 560;
    color: var(--w-depth);
    background: rgba(184, 228, 244, 0.40);
    border: 1px solid rgba(255, 255, 255, 0.70);
    border-radius: var(--radius-pill);
    padding: 0.18rem 0.75rem;
    white-space: nowrap;
}

/* ===== SKILLS CHIPS ===== */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.chip {
    font-size: 0.76rem;
    font-weight: 480;
    background: rgba(255, 255, 255, 0.52);
    color: var(--w-depth);
    border: 1px solid rgba(255, 255, 255, 0.80);
    border-radius: var(--radius-pill);
    padding: 0.28rem 0.85rem;
}

/* ===== CONTACT ===== */
.contact-panel {
    border-radius: var(--radius-lg);
    padding: 2.6rem 3rem;
    margin-bottom: 0;
    box-shadow: var(--shadow-card),
                inset 0 1px 0 rgba(255, 255, 255, 0.90);
}

.contact-bio {
    font-size: 0.96rem;
    font-weight: 330;
    line-height: 1.75;
    color: #1e5469;
    max-width: 580px;
    margin-bottom: 1.6rem;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.clink {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--w-depth);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.80);
    border-radius: var(--radius-pill);
    padding: 0.55rem 1.25rem;
    transition: var(--trans);
}

.clink i {
    color: var(--w-teal);
}

.clink:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -8px rgba(13, 92, 118, 0.20);
}

/* ===== FOOTER ===== */
.site-footer {
    position: relative;
    z-index: 10;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 1.5rem 2rem 2.5rem;
    border-top: 1px solid rgba(184, 228, 244, 0.50);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    align-items: center;
}

.site-footer p {
    font-size: 0.78rem;
    color: var(--w-current);
    font-weight: 400;
}

.pulse-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--w-teal);
    border-radius: 50%;
    margin-right: 7px;
    vertical-align: middle;
    animation: pulse 2.8s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(109, 191, 218, 0.7);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(109, 191, 218, 0);
    }
}

/* ===== DIVIDER ===== */
.divider {
    border: none;
    border-top: 1px solid rgba(184, 228, 244, 0.40);
    margin: 2rem 0;
}

/* ===== ALERT MESSAGES ===== */
.alert {
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: var(--radius-md);
    position: relative;
    animation: slideDown 0.3s ease;
}

.alert-success {
    background: rgba(109, 191, 218, 0.2);
    border: 1px solid var(--w-teal);
    color: var(--w-depth);
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

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

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-link {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.5);
    color: var(--w-depth);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: var(--trans);
}

.page-link:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.page-current {
    padding: 0.5rem 1rem;
    background: var(--w-teal);
    color: white;
    border-radius: var(--radius-pill);
}

/* ===== ACADEMICS ===== */
.academic-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.academic-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(13, 92, 118, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.academic-icon i {
    font-size: 2rem;
    color: var(--w-depth);
}

.circular-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.academic-detail-card {
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.academic-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.academic-institution-name {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--w-depth);
}

.academic-field-study {
    color: var(--w-current);
    margin-top: 0.3rem;
}

.academic-duration {
    font-size: 1.1rem;
    color: var(--w-depth);
}

.academic-gpa-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1rem;
}

.academic-gpa-card {
    flex: 1;
    min-width: 200px;
    background: rgba(109, 191, 218, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(109, 191, 218, 0.3);
}

.academic-gpa-value {
    font-family: "DM Serif Display", serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--w-depth);
    line-height: 1;
}

.academic-gpa-scale {
    color: var(--w-current);
}

.academic-rank-card {
    flex: 1;
    min-width: 200px;
    background: rgba(13, 92, 118, 0.05);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(13, 92, 118, 0.2);
}

.academic-rank-value {
    font-family: "DM Serif Display", serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--w-depth);
    line-height: 1;
}

.academic-rank-desc {
    color: var(--w-current);
}

.academic-badge-container {
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.academic-badge {
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
    background: linear-gradient(145deg, rgba(109, 191, 218, 0.2), rgba(13, 92, 118, 0.1));
}

/* ===== SCHOOL LEVEL (PSC, JSC, SSC, HSC) ===== */
.school-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.school-info {
    padding-right: 1rem;
}

.school-institution {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--w-depth);
    margin-bottom: 0.5rem;
}

.school-duration {
    color: var(--w-current);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.school-group {
    font-size: 1rem;
    color: var(--w-depth);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.school-gpa-card {
    background: linear-gradient(145deg, rgba(109, 191, 218, 0.15), rgba(13, 92, 118, 0.1));
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.school-gpa-value {
    font-family: "DM Serif Display", serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--w-depth);
    line-height: 1;
}

.school-gpa-scale {
    color: var(--w-current);
    font-size: 1rem;
}

/* ===== TIMELINE CONTAINER ===== */
.timeline-container {
    position: relative;
    padding: 1rem 0;
}

.timeline-line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--w-teal), var(--w-depth));
    opacity: 0.3;
}

.timeline-items {
    position: relative;
    padding-left: 50px;
}

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

.timeline-marker {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: absolute;
    left: -35px;
    top: 5px;
}

.timeline-marker-current {
    background: var(--w-depth);
    box-shadow: 0 0 0 3px rgba(13, 92, 118, 0.2);
}

.timeline-marker-phd {
    background: var(--w-depth);
    box-shadow: 0 0 0 3px rgba(13, 92, 118, 0.2);
}

.timeline-marker-masters {
    background: var(--w-teal);
    box-shadow: 0 0 0 3px rgba(109, 191, 218, 0.3);
}

.timeline-marker-bachelors {
    background: var(--w-teal);
    box-shadow: 0 0 0 3px rgba(109, 191, 218, 0.3);
}

.timeline-marker-other {
    background: var(--w-mid);
    box-shadow: 0 0 0 3px rgba(184, 228, 244, 0.4);
}

.marker-award {
    background: #ffd700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

.marker-scholarship {
    background: #c0c0c0;
    box-shadow: 0 0 0 3px rgba(192, 192, 192, 0.3);
}

.marker-honor {
    background: #cd7f32;
    box-shadow: 0 0 0 3px rgba(205, 127, 50, 0.3);
}

.marker-event {
    background: var(--w-teal);
    box-shadow: 0 0 0 3px rgba(109, 191, 218, 0.3);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    padding: 1.2rem;
}

.event-content {
    background: rgba(255, 255, 255, 0.2);
    border: 1px dashed rgba(109, 191, 218, 0.3);
}

.event-institution {
    font-size: 0.8rem;
    color: var(--w-teal);
}

.timeline-title {
    font-weight: 600;
    color: var(--w-abyss);
}

.timeline-subtitle {
    color: var(--w-current);
    font-size: 0.85rem;
}

/* ===== FEATURED ACHIEVEMENT ===== */
.featured-achievement {
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.1), rgba(255, 255, 255, 0.3));
}

.featured-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.featured-icon-container {
    text-align: center;
}

.featured-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffd700, #ffed4e);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-icon i {
    color: #8B4513;
    font-size: 3rem;
}

.featured-rank {
    font-size: 2.5rem;
}

.featured-text {
    max-width: 400px;
}

.featured-title {
    font-family: "DM Serif Display", serif;
    font-size: 1.8rem;
    color: var(--w-abyss);
    margin-bottom: 0.5rem;
}

.featured-description {
    color: var(--w-current);
    line-height: 1.6;
}

/* ===== MOOC CARDS ===== */
.mooc-card {
    transition: var(--trans);
}

.mooc-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* ===== CVE CARDS ===== */
.cve-card,
.cve-list-item {
    transition: var(--trans);
}

.cve-card:hover,
.cve-list-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.cve-card.featured {
    border-left: 4px solid var(--w-depth);
}

.severity-badge {
    transition: var(--trans);
}

/* ===== BLOG ===== */
.blog-card,
.blog-post-item {
    transition: var(--trans);
}

.blog-card:hover,
.blog-post-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.blog-card.featured {
    border-left: 4px solid var(--w-depth);
}

/* ===== PROJECTS ===== */
.project-card {
    transition: var(--trans);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.project-card:hover img {
    transform: scale(1.05);
}

/* ===== HONORS & AWARDS ===== */
.honor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.honor-card {
    background: rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: var(--trans);
}

.honor-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.honor-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.honor-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.award-type {
    background: rgba(255, 215, 0, 0.2);
}

.scholarship-type {
    background: rgba(192, 192, 192, 0.2);
}

.honor-type {
    background: rgba(205, 127, 50, 0.2);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.icon-gold {
    width: 50px;
    height: 50px;
    border-radius: 1rem;
    background: linear-gradient(145deg, #ffd700, #ffed4e);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-gold i {
    color: #8B4513;
    font-size: 1.5rem;
}

.icon-silver {
    width: 50px;
    height: 50px;
    border-radius: 1rem;
    background: linear-gradient(145deg, #c0c0c0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-silver i {
    color: #4a4a4a;
    font-size: 1.5rem;
}

.icon-teal {
    width: 50px;
    height: 50px;
    border-radius: 1rem;
    background: linear-gradient(145deg, var(--w-teal), var(--w-depth));
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-teal i {
    color: white;
    font-size: 1.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .nav-links a {
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
    }
}

@media (max-width: 900px) {
    .nav-links a {
        font-size: 0.65rem;
        padding: 0.25rem 0.45rem;
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 2.5rem 2rem;
    }

    .contact-panel {
        padding: 2rem 1.8rem;
    }
}

@media (max-width: 820px) {
    .two-col {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 2.5rem 2rem;
    }

    .contact-panel {
        padding: 2rem 1.8rem;
    }
}

/* Mobile styles consolidated */
@media (max-width: 768px) {
    .nav-inner {
        padding: 0 1rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 58px;
        left: 0;
        right: 0;
        background: rgba(240, 250, 253, 0.98);
        backdrop-filter: var(--glass-blur);
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem 1rem 1.5rem;
        gap: 0.3rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.8);
        box-shadow: 0 8px 32px rgba(13, 92, 118, 0.15);
        max-height: calc(100vh - 58px);
        overflow-y: auto;
        z-index: 1000;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        pointer-events: none;
    }

    .nav-links.show {
        display: flex;
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
    }

    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        transition-delay: calc(0.05s * var(--item-index, 0));
    }

    .nav-links.show li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links li:nth-child(1) { --item-index: 1; }
    .nav-links li:nth-child(2) { --item-index: 2; }
    .nav-links li:nth-child(3) { --item-index: 3; }
    .nav-links li:nth-child(4) { --item-index: 4; }
    .nav-links li:nth-child(5) { --item-index: 5; }
    .nav-links li:nth-child(6) { --item-index: 6; }
    .nav-links li:nth-child(7) { --item-index: 7; }
    .nav-links li:nth-child(8) { --item-index: 8; }
    .nav-links li:nth-child(9) { --item-index: 9; }
    .nav-links li:nth-child(10) { --item-index: 10; }
    .nav-links li:nth-child(11) { --item-index: 11; }
    .nav-links li:nth-child(12) { --item-index: 12; }

    .nav-links a {
        font-size: 1rem;
        padding: 0.9rem 1rem;
        width: 100%;
        display: block;
        white-space: normal;
        border-radius: 14px;
        font-weight: 500;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.9);
        transform: scale(1.02);
    }

    .nav-links a.active {
        background: rgba(255, 255, 255, 0.9);
        color: var(--w-depth);
        font-weight: 600;
    }

    .brand-name {
        font-size: 0.9rem;
    }

    .brand-alias {
        font-size: 0.55rem;
    }

    .profile-image-container {
        width: 30px;
        height: 30px;
    }

    .page {
        padding: 70px 1rem 4rem;
    }

    .hero-avatar-container {
        width: 160px;
        height: 240px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.3);
        box-shadow: none;
        margin: 0.3rem 0 0.3rem 1rem;
        padding: 0.3rem 0;
        border: 1px solid rgba(255, 255, 255, 0.5);
        display: none;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .dropdown.open .dropdown-arrow {
        transform: rotate(180deg);
    }

    .dropdown-menu a {
        font-size: 0.85rem;
        padding: 0.6rem 1.5rem;
    }
}

@media (max-width: 560px) {
    .page {
        padding: 70px 1rem 4rem;
    }

    .hero {
        padding: 2rem 1.4rem;
        gap: 2rem;
    }

    .hero-avatar-container {
        width: 120px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .nav-links a {
        font-size: 0.95rem;
        padding: 0.8rem 0.8rem;
    }
}