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

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #151515;
    color: #a0a0a0;
    line-height: 1.7;
    overflow-x: hidden;
}

body.light-mode {
    background: #f0f0f3;
    color: #222222;
}

a {
    color: #04c2c9;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #02e0e8;
}

body.light-mode a {
    color: #04c2c9;
}

img {
    max-width: 100%;
}

.left-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 60px;
    height: 100%;
    background: #111111;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
}

body.light-mode .left-nav {
    background: #fff;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-logo {
    width: 40px;
    height: 40px;
    margin-top: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    background: linear-gradient(135deg, #04c2c9, #6c2cf5);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.nav-links li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    padding: 5px 0;
    color: rgba(169, 169, 184, 0.85);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    position: relative;
    text-decoration: none;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #04c2c9;
}

.nav-links li a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: #04c2c9;
    border-radius: 0 2px 2px 0;
}

.mode-toggle {
    margin-top: auto;
    margin-bottom: 20px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: rgba(169, 169, 184, 0.5);
    transition: all 0.3s;
    background: none;
}

body.light-mode .mode-toggle {
    border-color: rgba(0, 0, 0, 0.1);
    color: #555;
}

.mode-toggle:hover {
    color: #04c2c9;
    border-color: #04c2c9;
}

.mob-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: rgba(11, 11, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 190;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

body.light-mode .mob-header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mob-header .mob-logo {
    font-weight: 700;
    font-size: 16px;
    background: linear-gradient(135deg, #04c2c9, #6c2cf5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mob-btn {
    background: none;
    border: none;
    color: #a9a9b8;
    font-size: 22px;
    cursor: pointer;
}

body.light-mode .mob-btn {
    color: #555;
}

.mob-menu {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 11, 15, 0.98);
    z-index: 185;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

body.light-mode .mob-menu {
    background: rgba(244, 244, 248, 0.98);
}

.mob-menu.open {
    display: flex;
}

.mob-menu a {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.3s;
}

body.light-mode .mob-menu a {
    color: #555;
}

.mob-menu a:hover {
    color: #04c2c9;
}

.main-content {
    margin-left: 60px;
}

#intro {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: #151515;
}

body.light-mode #intro {
    background: #e8e8ec;
}

#intro::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(4, 194, 201, 0.08) 0%, transparent 70%);
    top: 10%;
    left: 20%;
    animation: floatGlow 12s ease-in-out infinite;
}

#intro::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108, 44, 245, 0.06) 0%, transparent 70%);
    bottom: 10%;
    right: 15%;
    animation: floatGlow 15s ease-in-out infinite reverse;
}

@keyframes floatGlow {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -20px);
    }
}

.intro-content {
    position: relative;
    z-index: 2;
}

.intro-hello {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(169, 169, 184, 0.5);
    margin-bottom: 14px;
}

body.light-mode .intro-hello {
    color: rgba(58, 58, 74, 0.5);
}

.intro-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5em;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 12px;
}

body.light-mode .intro-content h1 {
    color: #1a1a2e;
}

.intro-content h1 span {
    color: #04c2c9;
}

.intro-tagline {
    font-size: 16px;
    color: rgba(169, 169, 184, 0.6);
    max-width: 520px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

body.light-mode .intro-tagline {
    color: rgba(58, 58, 74, 0.6);
}

.intro-btns a {
    display: inline-block;
    padding: 13px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 13px;
    margin: 0 6px;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.btn-filled {
    background: #04c2c9;
    color: #fff;
}

body.light-mode .btn-filled {
    color: #fff;
}

.btn-filled:hover {
    background: #02e0e8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(4, 194, 201, 0.3);
    color: #fff;
    text-decoration: none;
}

.btn-ghost {
    border: 2px solid rgba(169, 169, 184, 0.2);
    color: #a9a9b8;
}

body.light-mode .btn-ghost {
    border-color: rgba(0, 0, 0, 0.15);
    color: #333;
}

.btn-ghost:hover {
    border-color: #04c2c9;
    color: #04c2c9;
    transform: translateY(-2px);
    text-decoration: none;
}

.scroll-arrow {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow span {
    display: block;
    width: 18px;
    height: 18px;
    border-right: 2px solid rgba(4, 194, 201, 0.4);
    border-bottom: 2px solid rgba(4, 194, 201, 0.4);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: rotate(45deg) translate(0, 0);
        opacity: 0.4;
    }

    50% {
        transform: rotate(45deg) translate(6px, 6px);
        opacity: 1;
    }
}

.section {
    padding: 90px 60px;
    position: relative;
}

.section-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #04c2c9;
    margin-bottom: 12px;
}

.section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2em;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

body.light-mode .section h2 {
    color: #1a1a2e;
}

.section .section-sub {
    color: rgba(169, 169, 184, 0.45);
    font-size: 14px;
    margin-bottom: 45px;
    max-width: 580px;
}

body.light-mode .section .section-sub {
    color: rgba(58, 58, 74, 0.5);
}

.about-grid {
    display: grid;
    grid-template-columns: 250px 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-photo {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.profile-img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(4, 194, 201, 0.3);
    box-shadow: 0 0 30px rgba(4, 194, 201, 0.15);
    transition: all 0.4s;
}

body.light-mode .profile-img {
    border-color: rgba(4, 194, 201, 0.25);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.profile-img:hover {
    transform: scale(1.04);
    box-shadow: 0 0 40px rgba(4, 194, 201, 0.25);
}

.about-text-block p {
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 14px;
}

.profile-list {
    list-style: none;
    margin-top: 20px;
}

.profile-list li {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 14px;
}

body.light-mode .profile-list li {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

.profile-list li .label {
    min-width: 120px;
    color: rgba(169, 169, 184, 0.4);
    font-weight: 500;
}

body.light-mode .profile-list li .label {
    color: rgba(58, 58, 74, 0.45);
}

.profile-list li .value {
    color: #e0e0e0;
    font-weight: 500;
}

body.light-mode .profile-list li .value {
    color: #222;
}

.skills-block h3 {
    font-size: 16px;
    font-weight: 600;
    color: #d0d0da;
    margin-bottom: 22px;
}

body.light-mode .skills-block h3 {
    color: #222;
}

.skill-item {
    margin-bottom: 20px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #d0d0da;
}

body.light-mode .skill-header {
    color: #222;
}

.skill-header span {
    color: #04c2c9;
}

.skill-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
}

body.light-mode .skill-bar {
    background: rgba(0, 0, 0, 0.06);
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, #04c2c9, #6c2cf5);
    border-radius: 2px;
    width: 0;
    animation: grow 1.8s ease forwards;
}

@keyframes grow {
    to {
        width: var(--pct);
    }
}

.about-btns {
    margin-top: 28px;
    display: flex;
    gap: 12px;
}

.about-btns a {
    display: inline-block;
    padding: 11px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s;
}

.section-dark {
    background: #111111;
}

body.light-mode .section-dark {
    background: #e2e2e6;
}

.resume-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.resume-col h3 {
    font-size: 16px;
    font-weight: 600;
    color: #d0d0da;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
}

body.light-mode .resume-col h3 {
    color: #222;
}

.resume-col h3 .col-icon {
    color: #04c2c9;
    font-size: 18px;
}

.timeline {
    border-left: 2px solid rgba(4, 194, 201, 0.15);
    padding-left: 25px;
}

.t-item {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 5px;
}

.t-item::before {
    content: '';
    position: absolute;
    left: -31px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #151515;
    border: 2px solid #04c2c9;
}

body.light-mode .t-item::before {
    background: #e2e2e6;
}

.t-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 2px;
}

body.light-mode .t-item h4 {
    color: #222;
}

.t-item .t-date {
    font-size: 12px;
    color: #04c2c9;
    font-weight: 500;
    margin-bottom: 4px;
}

.t-item .t-place {
    font-size: 13px;
    color: rgba(169, 169, 184, 0.5);
    margin-bottom: 6px;
    font-weight: 500;
}

body.light-mode .t-item .t-place {
    color: rgba(58, 58, 74, 0.5);
}

.t-item .t-desc {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(169, 169, 184, 0.55);
}

body.light-mode .t-item .t-desc {
    color: rgba(58, 58, 74, 0.55);
}

.quote-bar {
    text-align: center;
    padding: 55px 40px;
    background: linear-gradient(135deg, rgba(4, 194, 201, 0.06), rgba(108, 44, 245, 0.06));
    border-top: 1px solid rgba(4, 194, 201, 0.06);
    border-bottom: 1px solid rgba(4, 194, 201, 0.06);
}

body.light-mode .quote-bar {
    background: linear-gradient(135deg, rgba(4, 194, 201, 0.04), rgba(108, 44, 245, 0.04));
}

.quote-bar blockquote {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.15em;
    font-style: italic;
    line-height: 1.8;
    color: rgba(169, 169, 184, 0.7);
}

body.light-mode .quote-bar blockquote {
    color: rgba(58, 58, 74, 0.6);
}

.quote-bar .said-by {
    margin-top: 14px;
    font-size: 13px;
    color: #04c2c9;
    font-style: normal;
    font-weight: 600;
}

.movies-list {
    list-style: none;
    counter-reset: mcount;
    max-width: 700px;
}

.movies-list li {
    counter-increment: mcount;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 6px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.3s;
    font-size: 14px;
}

body.light-mode .movies-list li {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.06);
}

.movies-list li:hover {
    transform: translateX(6px);
    border-color: rgba(4, 194, 201, 0.2);
}

.movies-list li::before {
    content: counter(mcount);
    background: linear-gradient(135deg, #04c2c9, #6c2cf5);
    color: #fff;
    min-width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
    flex-shrink: 0;
}

.tbl-wrap {
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    max-width: 800px;
}

body.light-mode .tbl-wrap {
    border-color: rgba(0, 0, 0, 0.08);
}

.tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.tbl thead {
    background: linear-gradient(135deg, #04c2c9, #6c2cf5);
    color: #fff;
}

.tbl th {
    padding: 13px 16px;
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.8px;
}

.tbl td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: rgba(169, 169, 184, 0.7);
    vertical-align: top;
}

body.light-mode .tbl td {
    border-bottom-color: rgba(0, 0, 0, 0.06);
    color: rgba(58, 58, 74, 0.7);
}

.tbl tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.015);
}

body.light-mode .tbl tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.02);
}

.tbl tbody tr:hover {
    background: rgba(4, 194, 201, 0.04);
    transition: background 0.3s;
}

body.light-mode .tbl tbody tr:hover {
    background: rgba(4, 194, 201, 0.06);
}

.pics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.pic-card {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.35s;
}

body.light-mode .pic-card {
    border-color: rgba(0, 0, 0, 0.06);
}

.pic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(4, 194, 201, 0.1);
    border-color: rgba(4, 194, 201, 0.2);
}

.pic-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s;
    border-radius: 10px 10px 0 0;
}

.pic-card:hover img {
    transform: scale(1.04);
}

.pic-card .pic-label {
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #d0d0da;
    background: rgba(255, 255, 255, 0.02);
}

body.light-mode .pic-card .pic-label {
    color: #222;
    background: #fff;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    color: #a9a9b8;
    transition: all 0.3s;
}

body.light-mode .link-card {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.06);
    color: #555;
}

.link-card:hover {
    border-color: rgba(4, 194, 201, 0.25);
    transform: translateY(-3px);
    text-decoration: none;
    color: #04c2c9;
}

.link-card .link-icon {
    font-size: 1.2em;
    background: rgba(4, 194, 201, 0.08);
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.link-card .link-name {
    font-weight: 600;
    font-size: 13px;
}

.link-card .link-sub {
    font-size: 11px;
    color: rgba(169, 169, 184, 0.35);
}

body.light-mode .link-card .link-sub {
    color: rgba(58, 58, 74, 0.4);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-list {
    list-style: none;
    margin-top: 10px;
}

.contact-info-list li {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    align-items: flex-start;
}

body.light-mode .contact-info-list li {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

.contact-info-list .ci-icon {
    font-size: 18px;
    color: #04c2c9;
    margin-top: 2px;
}

.contact-info-list .ci-label {
    font-size: 12px;
    color: rgba(169, 169, 184, 0.7);
    margin-bottom: 2px;
}

body.light-mode .contact-info-list .ci-label {
    color: rgba(58, 58, 74, 0.75);
}

.contact-info-list .ci-value {
    font-size: 14px;
    color: #d0d0da;
    font-weight: 500;
}

body.light-mode .contact-info-list .ci-value {
    color: #222;
}

.contact-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: rgba(169, 169, 184, 0.7);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.light-mode .contact-form label {
    color: rgba(58, 58, 74, 0.8);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    background: rgba(255, 255, 255, 0.03);
    color: #d0d0da;
    transition: all 0.3s;
    margin-bottom: 16px;
}

body.light-mode .contact-form input,
body.light-mode .contact-form textarea {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.1);
    color: #2a2a3a;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #04c2c9;
    box-shadow: 0 0 12px rgba(4, 194, 201, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.send-btn {
    padding: 12px 32px;
    background: #04c2c9;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.send-btn:hover {
    background: #02e0e8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 194, 201, 0.3);
}

.footer {
    text-align: center;
    padding: 30px 20px 16px;
    font-size: 12px;
    color: rgba(169, 169, 184, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

body.light-mode .footer {
    color: rgba(58, 58, 74, 0.7);
    border-top-color: rgba(0, 0, 0, 0.06);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(169, 169, 184, 0.6);
    font-size: 12px;
    font-weight: 500;
    transition: color 0.3s;
}

body.light-mode .footer-links a {
    color: rgba(58, 58, 74, 0.4);
}

.footer-links a:hover {
    color: #04c2c9;
}

.footer hr {
    border: none;
    height: 2px;
    width: 40px;
    background: linear-gradient(90deg, #04c2c9, #6c2cf5);
    margin: 10px auto;
}

.footer .page-meta {
    font-size: 10px;
    opacity: 0.5;
    margin-top: 6px;
}

.red-text {
    color: #ff4d6d;
    font-weight: 700;
}

.highlight {
    color: #04c2c9;
    font-weight: 600;
}

.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill {
    background: rgba(4, 194, 201, 0.08);
    color: #04c2c9;
    padding: 7px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
    cursor: default;
    border: 1px solid rgba(4, 194, 201, 0.1);
    transition: all 0.3s;
}

body.light-mode .pill {
    background: rgba(4, 194, 201, 0.06);
}

.pill:hover {
    background: #04c2c9;
    color: #0b0b0f;
    border-color: transparent;
    transform: translateY(-2px);
}

.panel {
    background: rgba(255, 255, 255, 0.02);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    margin-bottom: 16px;
    transition: all 0.3s;
}

body.light-mode .panel {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.06);
}

.panel:hover {
    border-color: rgba(4, 194, 201, 0.12);
}

.pj-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.pj-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    overflow: hidden;
    transition: all 0.35s;
}

body.light-mode .pj-card {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.06);
}

.pj-card:hover {
    box-shadow: 0 8px 30px rgba(4, 194, 201, 0.08);
    transform: translateY(-4px);
    border-color: rgba(4, 194, 201, 0.15);
}

.pj-top {
    padding: 20px 20px 0;
}

.pj-body {
    padding: 10px 20px 20px;
}

.pj-card h3 {
    font-size: 1em;
    margin: 8px 0 6px;
    color: #d0d0da;
}

body.light-mode .pj-card h3 {
    color: #1a1a2e;
}

.pj-card .pj-desc {
    color: rgba(169, 169, 184, 0.8);
    font-size: 13px;
    line-height: 1.6;
}

body.light-mode .pj-card .pj-desc {
    color: rgba(58, 58, 74, 0.85);
}

.pj-tag {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(4, 194, 201, 0.08);
    color: #04c2c9;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    margin-right: 4px;
}

.pj-btns {
    margin-top: 14px;
    display: flex;
    gap: 8px;
}

.pj-btns a {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s;
}

.pj-btn-blue {
    background: #04c2c9;
    color: #fff;
}

.pj-btn-blue:hover {
    background: #02e0e8;
    text-decoration: none;
    color: #fff;
}

.pj-btn-gray {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(169, 169, 184, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

body.light-mode .pj-btn-gray {
    background: rgba(0, 0, 0, 0.03);
    color: rgba(58, 58, 74, 0.6);
    border-color: rgba(0, 0, 0, 0.1);
}

.pj-btn-gray:hover {
    border-color: #04c2c9;
    color: #04c2c9;
    text-decoration: none;
}

.sticker {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.stk-done {
    background: rgba(0, 212, 100, 0.1);
    color: #00d464;
}

.stk-wip {
    background: rgba(255, 190, 50, 0.1);
    color: #ffbe32;
}

.stk-soon {
    background: rgba(4, 194, 201, 0.1);
    color: #04c2c9;
}

.edu-list {
    border-left: 2px solid rgba(4, 194, 201, 0.15);
    padding-left: 25px;
}

.edu-entry {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    padding: 18px 20px;
    border-radius: 10px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s;
}

body.light-mode .edu-entry {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.06);
}

.edu-entry:hover {
    transform: translateX(5px);
    border-color: rgba(4, 194, 201, 0.15);
}

.edu-entry::before {
    content: '';
    width: 10px;
    height: 10px;
    background: #04c2c9;
    border-radius: 50%;
    position: absolute;
    left: -32px;
    top: 22px;
    box-shadow: 0 0 8px rgba(4, 194, 201, 0.3);
}

.edu-entry h3 {
    font-size: 1em;
    color: #d0d0da;
}

body.light-mode .edu-entry h3 {
    color: #1a1a2e;
}

.edu-entry .place {
    color: #04c2c9;
    font-weight: 600;
    font-size: 13px;
}

.edu-entry .when {
    color: rgba(169, 169, 184, 0.6);
    font-size: 12px;
    margin-top: 2px;
}

.sub-banner {
    text-align: center;
    padding: 80px 30px 50px;
    background: linear-gradient(135deg, rgba(4, 194, 201, 0.06), rgba(108, 44, 245, 0.06));
    border-bottom: 1px solid rgba(4, 194, 201, 0.04);
}

body.light-mode .sub-banner {
    background: linear-gradient(135deg, rgba(4, 194, 201, 0.04), rgba(108, 44, 245, 0.04));
}

.sub-banner h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2em;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

body.light-mode .sub-banner h1 {
    color: #1a1a2e;
}

.sub-banner .tagline {
    color: rgba(169, 169, 184, 0.7);
    font-size: 15px;
}

body.light-mode .sub-banner .tagline {
    color: rgba(58, 58, 74, 0.5);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

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

.fade-in {
    animation: fadeUp 0.5s ease forwards;
}

@media screen and (max-width: 768px) {
    .left-nav {
        display: none;
    }

    .mob-header {
        display: flex;
    }

    .main-content {
        margin-left: 0;
    }

    #intro {
        padding-top: 56px;
    }

    .intro-content h1 {
        font-size: 2em;
    }

    .section {
        padding: 60px 20px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-photo {
        justify-content: center;
    }

    .profile-img {
        width: 160px;
        height: 160px;
    }

    .resume-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .pics-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .pj-grid {
        grid-template-columns: 1fr;
    }

    .sub-banner {
        padding-top: 76px;
    }

    .sub-banner h1 {
        font-size: 1.6em;
    }
}

.hidden-trigger {
    display: none;
}

.success-message {
    display: none;
    background: rgba(4, 194, 201, 0.1);
    border: 1px solid #04c2c9;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: #fff;
    animation: fadeIn 0.5s ease;
}

body.light-mode .success-message {
    background: rgba(4, 194, 201, 0.1);
    color: #333;
    border-color: #04c2c9;
}

.success-message h3 {
    margin-bottom: 10px;
    color: #04c2c9;
}


#success-trigger:checked~.contact-form {
    display: none;
}

#success-trigger:checked~.success-message {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Academics Tabs & Section Styling */
.academics-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
    max-width: 800px;
}
body.light-mode .academics-tabs {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}
.tab-btn {
    background: none;
    border: none;
    color: rgba(169, 169, 184, 0.6);
    padding: 10px 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}
body.light-mode .tab-btn {
    color: rgba(58, 58, 74, 0.7);
}
.tab-btn:hover {
    color: #04c2c9;
    background: rgba(4, 194, 201, 0.04);
    border-color: rgba(4, 194, 201, 0.15);
}
.tab-btn.active {
    color: #fff;
    background: linear-gradient(135deg, #04c2c9, #6c2cf5);
    box-shadow: 0 4px 20px rgba(4, 194, 201, 0.25);
    border: none;
}
.tab-content {
    display: none;
    animation: tabFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.tab-content.active {
    display: block;
}
@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Course Cards Layout */
.course-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 900px;
}
.course-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
body.light-mode .course-card {
    background: rgba(255, 255, 255, 0.65);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}
.course-card:hover {
    transform: translateY(-5px);
    border-color: rgba(4, 194, 201, 0.25);
    box-shadow: 0 10px 30px rgba(4, 194, 201, 0.08);
}
.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #04c2c9;
}
/* Color themes for courses */
.cse420-theme::before, .cse420-theme.course-card::before { background: #14b8a6; }
.cse422-theme::before, .cse422-theme.course-card::before { background: #a855f7; }
.cse471-theme::before, .cse471-theme.course-card::before { background: #6366f1; }

.course-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.course-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
}
.cse420-theme .course-badge { background: rgba(20, 184, 166, 0.1); color: #14b8a6; }
.cse422-theme .course-badge { background: rgba(168, 85, 247, 0.1); color: #a855f7; }
.cse471-theme .course-badge { background: rgba(99, 102, 241, 0.1); color: #6366f1; }

.credits-badge {
    font-size: 10px;
    color: rgba(169, 169, 184, 0.5);
    font-weight: 500;
}
body.light-mode .credits-badge {
    color: rgba(58, 58, 74, 0.6);
}
.course-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}
body.light-mode .course-card h3 {
    color: #1a1a2e;
}
.course-desc {
    font-size: 13px;
    color: rgba(169, 169, 184, 0.65);
    line-height: 1.6;
    margin-bottom: 20px;
}
body.light-mode .course-desc {
    color: rgba(58, 58, 74, 0.65);
}
.course-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}
body.light-mode .course-meta {
    border-top-color: rgba(0, 0, 0, 0.06);
}
.meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.meta-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.cse420-theme .meta-label { color: #14b8a6; }
.cse422-theme .meta-label { color: #a855f7; }
.cse471-theme .meta-label { color: #6366f1; }

.meta-val {
    font-size: 12px;
    color: #e0e0e0;
    font-weight: 500;
}
body.light-mode .meta-val {
    color: #222;
}
.meta-room {
    font-size: 11px;
    color: rgba(169, 169, 184, 0.5);
}
body.light-mode .meta-room {
    color: rgba(58, 58, 74, 0.5);
}

/* Routine Tab Grid Modernization */
.routine-tbl-wrap {
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    max-width: 900px;
    background: rgba(255, 255, 255, 0.005);
}
body.light-mode .routine-tbl-wrap {
    border-color: rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.4);
}
.routine-tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    text-align: center;
}
.routine-tbl th {
    background: linear-gradient(135deg, #04c2c9, #6c2cf5);
    color: #fff;
    padding: 15px 12px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.routine-tbl td {
    padding: 12px 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: rgba(169, 169, 184, 0.45);
    vertical-align: middle;
}
body.light-mode .routine-tbl td {
    border-color: rgba(0, 0, 0, 0.05);
    color: rgba(58, 58, 74, 0.45);
}
.routine-tbl tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.005);
}
body.light-mode .routine-tbl tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.01);
}
.routine-block {
    border-radius: 8px;
    padding: 10px 8px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.routine-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
/* Theme blocks */
.cse471-block {
    background: rgba(99, 102, 241, 0.08);
    border-left: 3px solid #6366f1;
}
body.light-mode .cse471-block { background: rgba(99, 102, 241, 0.12); }
.cse471-block .block-code { color: #818cf8; }
body.light-mode .cse471-block .block-code { color: #4f46e5; }

.cse420-block {
    background: rgba(20, 184, 166, 0.08);
    border-left: 3px solid #14b8a6;
}
body.light-mode .cse420-block { background: rgba(20, 184, 166, 0.12); }
.cse420-block .block-code { color: #2dd4bf; }
body.light-mode .cse420-block .block-code { color: #0d9488; }

.cse422-block {
    background: rgba(168, 85, 247, 0.08);
    border-left: 3px solid #a855f7;
}
body.light-mode .cse422-block { background: rgba(168, 85, 247, 0.12); }
.cse422-block .block-code { color: #c084fc; }
body.light-mode .cse422-block .block-code { color: #7c3aed; }

/* Labs can be styled with dashed border */
.lab-block {
    border-left-style: dashed;
}

.block-code {
    display: block;
    font-weight: 700;
    font-size: 11px;
    margin-bottom: 2px;
}
.block-instructor {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: #e0e0e0;
}
body.light-mode .block-instructor {
    color: #222;
}
.block-room {
    display: block;
    font-size: 9px;
    color: rgba(169, 169, 184, 0.55);
}
body.light-mode .block-room {
    color: rgba(58, 58, 74, 0.6);
}

/* Timeline Exam Layout */
.timeline-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
}
@media (max-width: 768px) {
    .timeline-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
.timeline-column {
    display: flex;
    flex-direction: column;
}
.timeline-header {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
body.light-mode .timeline-header {
    color: #1a1a2e;
}
.timeline-header .header-icon {
    font-size: 18px;
}
.timeline-items {
    position: relative;
    border-left: 2px solid rgba(255, 255, 255, 0.05);
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
body.light-mode .timeline-items {
    border-left-color: rgba(0, 0, 0, 0.06);
}
.timeline-item {
    position: relative;
}
.timeline-dot {
    position: absolute;
    left: -27px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #111;
    border: 2px solid #04c2c9;
    transition: all 0.3s ease;
}
body.light-mode .timeline-dot {
    background: #fff;
}
.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
    background: #04c2c9;
    box-shadow: 0 0 10px rgba(4, 194, 201, 0.5);
}
.timeline-item.cse420-theme .timeline-dot { border-color: #14b8a6; }
.timeline-item.cse422-theme .timeline-dot { border-color: #a855f7; }
.timeline-item.cse471-theme .timeline-dot { border-color: #6366f1; }

.timeline-item:hover.cse420-theme .timeline-dot { background: #14b8a6; box-shadow: 0 0 10px rgba(20, 184, 166, 0.5); }
.timeline-item:hover.cse422-theme .timeline-dot { background: #a855f7; box-shadow: 0 0 10px rgba(168, 85, 247, 0.5); }
.timeline-item:hover.cse471-theme .timeline-dot { background: #6366f1; box-shadow: 0 0 10px rgba(99, 102, 241, 0.5); }

.timeline-content {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 16px 20px;
    transition: all 0.3s ease;
}
body.light-mode .timeline-content {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.05);
}
.timeline-item:hover .timeline-content {
    transform: translateX(4px);
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
}
body.light-mode .timeline-item:hover .timeline-content {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.95);
}
.timeline-item.cse420-theme:hover .timeline-content { border-left: 3px solid #14b8a6; }
.timeline-item.cse422-theme:hover .timeline-content { border-left: 3px solid #a855f7; }
.timeline-item.cse471-theme:hover .timeline-content { border-left: 3px solid #6366f1; }

.timeline-date {
    font-size: 11px;
    color: #04c2c9;
    font-weight: 600;
    margin-bottom: 5px;
}
.cse420-theme .timeline-date { color: #14b8a6; }
.cse422-theme .timeline-date { color: #a855f7; }
.cse471-theme .timeline-date { color: #6366f1; }

.timeline-content h4 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
body.light-mode .timeline-content h4 {
    color: #1a1a2e;
}
.timeline-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.timeline-time {
    font-size: 11px;
    color: rgba(169, 169, 184, 0.6);
}
body.light-mode .timeline-time {
    color: rgba(58, 58, 74, 0.65);
}
.timeline-badge {
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}
.mid-badge {
    background: rgba(4, 194, 201, 0.1);
    color: #04c2c9;
}
.final-badge {
    background: rgba(108, 44, 245, 0.1);
    color: #6c2cf5;
}