/* Index.html classes : navigation-bar , navigation-bar .left , navigation-bar .right  navigation-bar .right*/

/* ══════════════════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════════════════ */

.contact-hero {
    text-align: center;
    padding: 60px 24px 40px;
}

.contact-hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    margin: 0 0 16px;
}

.contact-hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: #555;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Two-column contact layout */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 28px;
    width: min(1100px, 90%);
    margin: 0 auto 80px;
    align-items: start;
}

/* ── Form card ─────────────────────────────────────────── */

.contact-form-card {
    padding: 40px;
    border-radius: 24px;
    position: relative;
    isolation: isolate;

    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(40px) saturate(200%) brightness(1.08);
    -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(1.08);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-bottom-color: rgba(255, 255, 255, 0.2);
    box-shadow:
        0 4px 28px rgba(0, 0, 0, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.contact-form-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(160deg, rgba(255,255,255,0.4) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.contact-form-card > * { position: relative; z-index: 1; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 18px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #666;
}

.form-group input,
.form-group textarea {
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    color: #111;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-bottom-color: rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 12px 16px;
    outline: none;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group input:focus,
.form-group textarea:focus {
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    padding: 13px 30px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-bottom-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.65);
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #000;
    cursor: pointer;
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.form-submit-btn .material-symbols-outlined {
    font-size: 18px;
}

.form-submit-btn:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transform: translateY(-2px) scale(1.04);
}

.form-feedback {
    margin-top: 14px;
    font-size: 0.875rem;
    min-height: 20px;
    transition: color 0.2s;
}

.form-feedback.success { color: #16a34a; }
.form-feedback.error   { color: #dc2626; }

/* ── Info card ─────────────────────────────────────────── */

.contact-info-card {
    padding: 36px 32px;
    border-radius: 24px;
    position: relative;
    isolation: isolate;

    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(40px) saturate(200%) brightness(1.1);
    -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-bottom-color: rgba(255, 255, 255, 0.15);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.contact-info-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(160deg, rgba(255,255,255,0.4) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.contact-info-card > * { position: relative; z-index: 1; }

.contact-info-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.contact-info-desc {
    font-size: 0.875rem;
    color: #666;
    margin: 0 0 28px;
    line-height: 1.65;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 28px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-info-icon {
    font-size: 20px;
    color: #555;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-info-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #999;
    margin: 0 0 3px;
}

.contact-info-link {
    font-size: 0.875rem;
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-info-link:hover { color: #000; }

.contact-info-address {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Copy buttons inside contact card */
.contact-info-item .footer-copy-btn {
    font-size: 0.875rem;
    gap: 6px;
}

.contact-info-item .footer-copy-btn .material-symbols-outlined {
    font-size: 14px;
}

/* Social row */
.contact-social {
    display: flex;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.contact-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #333;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.12);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s;
}

.contact-social-btn:hover {
    transform: translateY(-2px) scale(1.1);
    border-color: rgba(0, 0, 0, 0.35);
}

.contact-social-btn .material-symbols-outlined {
    font-size: 18px;
}

/* ── Responsive contact page ───────────────────────────── */

@media (max-width: 900px) {
    .contact-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 40px 24px 28px;
    }

    .contact-form-card {
        padding: 28px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-info-card {
        padding: 28px 20px;
    }
}

/* ══════════════════════════════════════════════════════════
   END CONTACT PAGE
   ══════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════
   PROJECTS PAGE
   ══════════════════════════════════════════════════════════ */

.projects-hero {
    text-align: center;
    padding: 60px 24px 40px;
}

.projects-hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    margin: 0 0 16px;
}

.projects-hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: #555;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Filter tabs ───────────────────────────────────────── */

.projects-filter-wrap {
    display: flex;
    justify-content: center;
    padding: 0 24px 48px;
}

.projects-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 60px;
    position: relative;
    isolation: isolate;

    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(40px) saturate(200%) brightness(1.1);
    -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    border-radius: 50px;
    border: 1px solid transparent;
    background: none;
    font-family: "Poppins", sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.filter-btn .material-symbols-outlined {
    font-size: 17px;
}

.filter-btn:hover {
    color: #000;
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.8);
}

.filter-btn.active {
    color: #000;
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1);
    transform: scale(1.04);
}

/* ── Mobile filter select ──────────────────────────────── */

.projects-filter-mobile {
    display: none;
    align-items: center;
    gap: 10px;
    width: min(480px, 90%);
    margin: 0 auto 40px;
}

.projects-filter-mobile select {
    flex: 1;
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #222;
    padding: 11px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    /* custom chevron */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.projects-filter-mobile select:focus {
    border-color: rgba(255, 255, 255, 0.9);
    background-color: rgba(255, 255, 255, 0.7);
}

.filter-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 22px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.75);
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #111;
    cursor: pointer;
    white-space: nowrap;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.filter-apply-btn .material-symbols-outlined {
    font-size: 17px;
}

.filter-apply-btn:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09), inset 0 1px 0 rgba(255, 255, 255, 1);
    transform: scale(1.04);
}

/* ── Category blocks ───────────────────────────────────── */

.projects-grid-section {
    width: min(1200px, 90%);
    margin: 0 auto 80px;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.category-block {
    display: flex;
    flex-direction: column;
    gap: 28px;
    transition: opacity 0.3s ease;
}

.category-block.hidden {
    display: none;
}

.category-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.category-icon {
    font-size: 2rem;
    color: #444;
    flex-shrink: 0;
    margin-top: 2px;
    font-variation-settings: 'wght' 300;
}

.category-title {
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-weight: 700;
    margin: 0 0 6px;
}

.category-desc {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* ── Project grid ──────────────────────────────────────── */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* ── Project card ──────────────────────────────────────── */

.project-card {
    padding: 28px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    isolation: isolate;

    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(40px) saturate(200%) brightness(1.08);
    -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(1.08);
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-bottom-color: rgba(255, 255, 255, 0.18);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);

    transition:
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(160deg, rgba(255,255,255,0.42) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.project-card > * { position: relative; z-index: 1; }

.project-card:hover {
    transform: translateY(-4px) scale(1.015);
    background: rgba(255, 255, 255, 0.18);
    box-shadow:
        0 12px 36px rgba(0, 0, 0, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Top row: status badge + links */
.project-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Status badges */
.project-status {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 11px;
    border-radius: 50px;
}

.project-status.live {
    background: rgba(22, 163, 74, 0.12);
    color: #15803d;
    border: 1px solid rgba(22, 163, 74, 0.25);
}

.project-status.completed {
    background: rgba(59, 130, 246, 0.1);
    color: #1d4ed8;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.project-status.inprogress {
    background: rgba(234, 179, 8, 0.12);
    color: #a16207;
    border: 1px solid rgba(234, 179, 8, 0.25);
}

/* Link buttons */
.project-links {
    display: flex;
    gap: 8px;
}

.project-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #444;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s, color 0.2s;
}

.project-link-btn .material-symbols-outlined {
    font-size: 16px;
}

.project-link-btn:hover {
    transform: scale(1.15);
    border-color: rgba(0, 0, 0, 0.3);
    color: #000;
}

/* Card text */
.project-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.project-desc {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

/* Tech tags */
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.tag {
    font-size: 0.72rem;
    font-weight: 500;
    padding: 4px 11px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.055);
    color: #444;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* ── Empty state ───────────────────────────────────────── */

.projects-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 48px 24px;
    border-radius: 20px;
    border: 1.5px dashed rgba(0, 0, 0, 0.15);
    color: #aaa;
    text-align: center;
}

.projects-empty .material-symbols-outlined {
    font-size: 2.2rem;
    color: #ccc;
    font-variation-settings: 'wght' 200;
}

.projects-empty p {
    font-size: 0.95rem;
    margin: 0;
}

/* ── Responsive projects page ──────────────────────────── */

@media (max-width: 768px) {
    .projects-hero {
        padding: 40px 24px 28px;
    }

    /* Hide pill tabs, show select on mobile */
    .projects-filter-wrap {
        display: none;
    }

    .projects-filter-mobile {
        display: flex;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid-section {
        gap: 48px;
    }
}

/* ══════════════════════════════════════════════════════════
   END PROJECTS PAGE
   ══════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════════════════════ */

.about-hero {
    text-align: center;
    padding: 60px 24px 40px;
}

.about-hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    margin: 0 0 16px;
}

.about-hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: #555;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Page layout ───────────────────────────────────────── */

.about-content {
    width: min(900px, 90%);
    margin: 0 auto 80px;
    padding-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ── Shared glass card ─────────────────────────────────── */

.about-card {
    padding: 36px 40px;
    border-radius: 28px;
    position: relative;
    isolation: isolate;
    overflow: hidden;

    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(40px) saturate(200%) brightness(1.08);
    -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(1.08);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-bottom-color: rgba(255, 255, 255, 0.2);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.about-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(255,255,255,0.5) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.about-card > * { position: relative; z-index: 1; }

/* ── Section label ─────────────────────────────────────── */

.about-section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 24px;
}

.about-section-label .material-symbols-outlined {
    font-size: 16px;
    color: #bbb;
}

/* ── Profile card ──────────────────────────────────────── */

.about-profile-card {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 36px 40px;
}

.profile-avatar-wrap {
    position: relative;
    flex-shrink: 0;
    width: 220px;
    height: 220px;
}

.profile-avatar {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.12);
}

.profile-status {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.profile-status.online  { background: #23a55a; }
.profile-status.idle    { background: #f0b232; }
.profile-status.dnd     { background: #f23f43; }
.profile-status.offline { background: #80848e; }

.profile-name-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-left: 40px;
}

.profile-display-name {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0;
    color: #111;
}

.profile-role {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
    font-weight: 400;
}

.mbti-badge {
    display: inline-block;
    align-self: flex-start;
    margin-top: 6px;
    padding: 3px 12px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #444;
}

/* ── Personal Information card ─────────────────────────── */

.about-personal {
    padding: 32px 36px;
}

.personal-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.info-row:last-child {
    border-bottom: none;
}

.info-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}

.info-icon-wrap .material-symbols-outlined {
    font-size: 18px;
    color: #555;
    font-variation-settings: 'wght' 300;
}

.info-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.info-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #aaa;
}

.info-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111;
}

/* ── Education card ────────────────────────────────────── */

.about-education {
    padding: 32px 36px 36px;
}

.education-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.edu-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 0;
}

.edu-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.07);
}

.edu-logo-wrap {
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.edu-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    box-sizing: border-box;
}

.edu-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.edu-level {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #aaa;
}

.edu-school {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 2px 0 0;
    color: #111;
}

.edu-faculty {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.edu-major {
    font-size: 0.8rem;
    color: #999;
    margin: 0;
    font-style: italic;
}

/* ── Responsive about page ─────────────────────────────── */

@media (max-width: 650px) {
    .about-card {
        padding: 24px 20px;
    }

    .about-profile-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 32px 24px;
        gap: 20px;
    }

    .about-profile-card .profile-name-block {
        margin-left: 0;
    }

    .about-profile-card .profile-display-name {
        font-size: 1.4rem;
    }

    .about-profile-card .profile-role {
        font-size: 0.85rem;
    }

    .about-personal {
        padding: 24px 20px;
    }

    .about-education {
        padding: 24px 20px;
    }

    .edu-timeline {
        width: 60px;
    }

    .edu-logo-wrap {
        width: 72px;
        height: 72px;
        border-radius: 16px;
    }

    .edu-card {
        padding: 8px 14px 24px;
    }

    .edu-school {
        font-size: 0.95rem;
    }
}

/* ══════════════════════════════════════════════════════════
   END ABOUT PAGE
   ══════════════════════════════════════════════════════════ */

body {
    /* background color gradient  */
    /* background-image: linear-gradient( 90deg,  rgba(218,255,234,1) 5.3%, rgba(232,255,231,1) 11.6%, rgba(240,255,233,1) 17.4%, rgba(243,255,226,1) 22.9%, rgba(253,255,228,1) 28.5%, rgba(255,248,225,1) 33.9%, rgba(255,241,229,1) 39.4%, rgba(255,228,222,1) 44.8%, rgba(255,231,231,1) 50.3%, rgba(255,231,243,1) 56.9%, rgba(255,229,255,1) 63.2%, rgba(245,228,255,1) 69.1%, rgba(236,228,255,1) 74.7%, rgba(231,238,255,1) 80.4%, rgba(229,249,255,1) 85.8%, rgba(231,255,250,1) 90.6%, rgba(229,255,243,1) 94.4%, rgba(220,255,228,1) 98.3% ); */
    background-image: linear-gradient( 90deg,  rgba(218,255,234,1) 5.3%, rgba(232,255,231,1) 11.6%, rgba(240,255,233,1) 17.4%, rgba(243,255,226,1) 22.9%, rgba(253,255,228,1) 28.5%, rgba(255,248,225,1) 33.9%, rgba(255,241,229,1) 39.4%, rgba(255,228,222,1) 44.8%, rgba(255,231,231,1) 50.3%, rgba(255,231,243,1) 56.9%, rgba(255,229,255,1) 63.2%, rgba(245,228,255,1) 69.1%, rgba(236,228,255,1) 74.7%, rgba(231,238,255,1) 80.4%, rgba(229,249,255,1) 85.8%, rgba(231,255,250,1) 90.6%, rgba(229,255,243,1) 94.4%, rgba(220,255,228,1) 98.3% );
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
}

.navigation-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
}

.navigation-bar p {
    margin: 0;
}

.navigation-bar .left a {
    font-size: 34px;
    font-weight: 600;
    text-decoration: none;
    color: black;
    letter-spacing: 0.02em;
}

.navigation-bar .right {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 22px;
    border-radius: 50px;
    position: relative;
    isolation: isolate;

    /* Very transparent base — let colors bleed through */
    background: rgba(255, 255, 255, 0.15);

    /* The core of liquid glass: heavy blur + color pop */
    backdrop-filter: blur(40px) saturate(200%) brightness(1.1);
    -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(1.1);

    /* Crisp bright rim like glass edge */
    border: 1px solid rgba(255, 255, 255, 0.7);

    /* Outer depth + subtle color glow */
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);

    transition:
        background 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Top specular highlight — the "lens" shine Apple uses */
.navigation-bar .right::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.55) 0%,
        rgba(255, 255, 255, 0.10) 40%,
        transparent 60%
    );
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 0;
}

/* Bottom inner glow — glass thickness illusion */
.navigation-bar .right::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        to top,
        rgba(255, 255, 255, 0.22) 0%,
        transparent 50%
    );
    pointer-events: none;
    z-index: 0;
}

/* Keep links above pseudo-elements */
.navigation-bar .right a {
    font-size: 16px;
    position: relative;
    z-index: 1;
    text-decoration: none;
    color: black;
    font-weight: 400;
    padding: 5px 15px;
    border-radius: 60px;
    border: 1px solid transparent;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Hamburger ────────────────────────────────────────── */

.hamburger {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 100;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #000;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Animate to X when open */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    z-index: 98;
    margin-top: 8px;
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(40px) saturate(200%) brightness(1.1);
    -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);

    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease;
}

.mobile-menu.open {
    max-height: 300px;
    opacity: 1;
}

.mobile-menu a {
    padding: 16px 28px;
    text-decoration: none;
    color: #000;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.2s ease;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.5);
}

header {
    position: relative;
}

/* ── Split layout ─────────────────────────────────────── */

.split-layout {
    display: flex;
    align-items: center;
    justify-content: center;   /* center the pair horizontally */
    gap: 10px;                 /* 10px gap between left and right */
    height: calc(85vh - 80px);
}

/* LEFT — circle arena, sized to the sphere */
.split-left {
    flex: 0 0 600px;
    height: 600px;
    position: relative;
    overflow: hidden;
}

#circle-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* RIGHT — text */
.split-right {
    flex: 0 1 580px;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 40px;
    box-sizing: border-box;
}

.text-content h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin: 0 0 24px;
    line-height: 1.15;
}

.text-content p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 400;
    color: #333;
    line-height: 1.75;
    margin: 0 0 16px;
    max-width: 540px;
}

.learn-about-me {
    display: inline-block;
    margin-top: 12px;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    isolation: isolate;

    /* Near-fully transparent — let background show through */
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);

    /* Thin bright rim — the only thing that defines the glass edge */
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom-color: rgba(255, 255, 255, 0.15);

    box-shadow:
        0 2px 16px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Subtle top shine only — not a solid overlay */
.learn-about-me::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        170deg,
        rgba(255, 255, 255, 0.25) 0%,
        transparent 50%
    );
    pointer-events: none;
    z-index: 0;
}

.learn-about-me:hover {
    background: rgba(255, 255, 255, 0.66);
    border-color: rgba(255, 255, 255, 0.75);
    border-bottom-color: rgba(255, 255, 255, 0.2);
    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(-2px) scale(1.04);
}

/* ── Skills ───────────────────────────────────────────── */

.skills-section {
    margin: 0 auto 20px;
    width: min(1100px, 90%);
    text-align: center;
}

.skills-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 40px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.skill-card {
    padding: 32px 24px;
    border-radius: 20px;
    text-align: left;
    position: relative;
    isolation: isolate;

    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(40px) saturate(200%) brightness(1.1);
    -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-bottom-color: rgba(255, 255, 255, 0.15);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);

    transition:
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.skill-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.45) 0%,
        transparent 55%
    );
    pointer-events: none;
    z-index: 0;
}

.skill-card > * {
    position: relative;
    z-index: 1;
}

.skill-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: block;
    font-variation-settings: 'wght' 300;
    color: #222;
}

.skill-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 10px;
}

.skill-card p {
    font-size: 0.875rem;
    color: #444;
    line-height: 1.65;
    margin: 0;
}

.skill-card:hover {
    transform: translateY(-4px) scale(1.02);
    background: rgba(255, 255, 255, 0.16);
    box-shadow:
        0 12px 36px rgba(0, 0, 0, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}


/* ── Divider ───────────────────────────────────────────── */

.divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 60px auto;
    width: min(1100px, 90%);
}

.divider-line {
    flex: 1;
    height: 1px;
    background: #000;
}

.divider-star {
    font-size: 14px;
    color: #000;
    line-height: 1;
}


/* ── End split layout ─────────────────────────────────── */

/* ── Tech Stack ───────────────────────────────────────── */

.techstack-section {
    margin: 0 auto 20px;
    width: min(1100px, 90%);
    text-align: center;
}

.techstack-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.tech-item {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.tech-item img {
    width: 80px;
    height: 80px;
}

.tech-item span {
    display: none;
}

.tech-item:hover {
    transform: translateY(-5px) scale(1.15);
}

/* ── Footer ───────────────────────────────────────────── */

.footer {
    margin-top: 80px;
    padding: 56px 0 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: min(1100px, 90%);
    margin: 0 auto 40px;
    gap: 60px;
}

/* Left: brand block */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 200px;
}

.footer-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.footer-tagline {
    font-size: 0.8rem;
    color: #666;
    margin: 0 0 14px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #333;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.12);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s;
}

.footer-social a:hover {
    transform: translateY(-2px) scale(1.1);
    border-color: rgba(0, 0, 0, 0.35);
}

.footer-social .material-symbols-outlined {
    font-size: 17px;
}

/* Right: columns */
.footer-columns {
    display: flex;
    gap: 60px;
    flex: 1;
    justify-content: flex-end;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col-title {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #999;
    margin: 0 0 4px;
}

/* Copy buttons */
.footer-copy-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.875rem;
    color: #333;
    transition: color 0.2s ease;
    text-align: left;
}

.footer-copy-btn .material-symbols-outlined {
    font-size: 16px;
    color: #999;
    transition: color 0.2s;
}

.footer-copy-btn:hover {
    color: #000;
}

.footer-copy-btn:hover .material-symbols-outlined {
    color: #555;
}

.footer-copy-btn.copied {
    color: #16a34a;
}

.footer-copy-btn.copied .material-symbols-outlined {
    color: #16a34a;
}

.footer-address {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Bottom copyright */
.footer-copy {
    text-align: center;
    font-size: 0.75rem;
    color: #aaa;
    width: min(1100px, 90%);
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}


/* ── End Footer ───────────────────────────────────────── */

.navigation-bar .right a:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transform: scale(1.08);
}

.navigation-bar .right a.nav-login {
    background: rgba(0, 0, 0, 0.07);
    border-color: rgba(0, 0, 0, 0.12);
    font-weight: 600;
}

.navigation-bar .right a.nav-login:hover {
    background: rgba(0, 0, 0, 0.13);
    border-color: rgba(0, 0, 0, 0.2);
}

.mobile-menu a.nav-login {
    font-weight: 600;
    opacity: 0.75;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */

/* ── Tablet (≤ 1024px) ─────────────────────────────────── */
@media (max-width: 1024px) {
    /* Split: shrink fixed sizes */
    .split-left {
        flex: 0 0 420px;
        height: 420px;
    }

    .split-right {
        padding: 24px 32px;
    }

    /* Skills: 2 columns */
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Mobile (≤ 768px) ──────────────────────────────────── */
@media (max-width: 768px) {

    /* Navbar — liquid glass on mobile */
    .navigation-bar {
        padding: 14px 16px;
        margin: 20px 12px 0;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.18);
        backdrop-filter: blur(40px) saturate(200%) brightness(1.1);
        -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(1.1);
        border: 1px solid rgba(255, 255, 255, 0.65);
        box-shadow:
            0 4px 24px rgba(0, 0, 0, 0.07),
            inset 0 1px 0 rgba(255, 255, 255, 0.85);
    }

    .navigation-bar .left a {
        font-size: 22px;
    }

    /* Hide desktop nav, show hamburger */
    .navigation-bar .right {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    /* Split: stack vertically, text first then sphere */
    .split-layout {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
        gap: 0;
    }

    .split-left {
        order: 2;
        flex: none;
        width: 100%;
        height: 60vw;
        min-height: 280px;
        max-height: 400px;
    }

    .split-right {
        order: 1;
        flex: none;
        width: 100%;
        padding: 32px 24px;
        justify-content: flex-start;
    }

    .text-content h1 {
        margin: 0 0 12px;
    }

    /* Divider */
    .divider {
        margin: 40px auto;
    }

    /* Skills: 1 column */
    .skills-grid {
        grid-template-columns: 1fr;
    }

    /* Tech stack: smaller icons */
    .tech-item img {
        width: 56px;
        height: 56px;
    }

    .techstack-grid {
        gap: 16px;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        gap: 36px;
    }

    .footer-columns {
        flex-direction: column;
        gap: 28px;
        justify-content: flex-start;
    }
}

/* ── Small mobile (≤ 480px) ────────────────────────────── */
@media (max-width: 480px) {

    /* Skills */
    .skills-section,
    .techstack-section {
        width: 95%;
    }

    /* Tech icons */
    .tech-item img {
        width: 44px;
        height: 44px;
    }
}

