/* FONTS */
:root {
    /* Accent */
    --accent: #60a5fa; /* cool steel blue */
    --accent-soft: rgba(96, 165, 250, 0.2);

    /* Dark surfaces */
    --bg-page: #0b1220;
    --bg-surface: #0f172a;
    --bg-card: linear-gradient(
        135deg,
        rgba(30, 41, 59, 0.85),
        rgba(15, 23, 42, 0.85)
    );

    /* Text */
    --text-primary: #e5e7eb;
    --text-secondary: #94a3b8;
}


body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;

    background: radial-gradient(
        circle at top,
        #111827 0%,
        #0b1220 55%,
        #020617 100%
    );

    color: var(--text-primary);
    margin: 0;
}

/* ===============================
   ENHANCED HEADER (RESPONSIVE)
================================ */
.split-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.site-header {
    padding: 70px 24px 60px;

    background:
        radial-gradient(circle at top, rgba(96,165,250,0.18), transparent 55%),
        linear-gradient(to bottom, rgba(2,6,23,0.96), rgba(2,6,23,0.99));

    border-bottom: 1px solid rgba(148,163,184,0.12);
}


.header-inner {
    max-width: 1100px;
    margin: 0 auto;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.header-center {
    max-width: 900px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.header-center h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0;
}

.header-subtitle {
    margin-top: 10px;
    font-size: 1.05rem;
    color: var(--text-secondary);
}


.header-identity h1 {
    font-size: 2.6rem;
    font-weight: 700;
}

.header-identity p {
    margin-top: 10px;
    font-size: 1.05rem;
    color: var(--text-secondary);
}


.header-socials {
    display: flex;
    gap: 16px;
    margin-top: 18px;
}

.header-socials img {
    width: 34px;
    height: 34px;
    opacity: 0.85;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.header-socials img:hover {
    transform: translateY(-3px) scale(1.1);
    opacity: 1;
}


@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        text-align: center;
    }

    .header-identity h1 {
        font-size: 2.2rem;
    }

    .header-identity p {
        font-size: 0.95rem;
    }

    .header-socials {
        margin-top: 18px;
        justify-content: center;
    }
}
.site-header::after {
    content: "";
    display: block;
    width: 120px;
    height: 3px;
    margin: 28px auto 0;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    border-radius: 999px;
    opacity: 0.7;
}
.header-quote {
    position: relative;

    padding: 24px 28px;
    border-radius: 18px;

    background: rgba(15,23,42,0.55);
    border: 1px solid rgba(148,163,184,0.12);

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.03),
        0 12px 30px rgba(0,0,0,0.35);
}

.header-quote p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.quote-mark {
    position: absolute;
    top: -18px;
    left: -12px;

    font-size: 4rem;
    color: var(--accent);
    opacity: 0.15;
    font-weight: 700;
}
.quote-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;

    margin-top: 34px;
}
.quote-pill {
    padding: 10px 18px;

    font-size: 0.95rem;
    font-weight: 500;

    color: var(--text-secondary);

    background: rgba(15,23,42,0.65);
    border: 1px solid rgba(148,163,184,0.15);
    border-radius: 999px;

    backdrop-filter: blur(10px);

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.03),
        0 8px 20px rgba(0,0,0,0.35);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.quote-pill:hover {
    transform: translateY(-2px);
    box-shadow:
        0 14px 30px rgba(0,0,0,0.45);
}
@media (max-width: 768px) {
    .header-center h1 {
        font-size: 2.2rem;
    }

    .header-subtitle {
        font-size: 0.95rem;
    }

    .quote-row {
        gap: 10px;
        margin-top: 26px;
    }

    .quote-pill {
        font-size: 0.9rem;
        padding: 9px 16px;
    }
}


@media (max-width: 768px) {
    .split-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .header-quote {
        margin-top: 24px;
    }

    .quote-mark {
        left: 50%;
        transform: translateX(-50%);
    }
}


/* HEADER */

.profile-img {
    max-width: 180px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-bottom: 20px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.header-img {
    height: 70px;
    margin-right: 20px;
}

.header-text {
    flex: 1;
    text-align: center;
}

.header-text h1 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    color: var(--text-primary);
    margin: 0;
    
}


.header-text p {
    color: var(--text-secondary);
}

h2, h3, h4 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.3px;
}


.social-links {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.social-links a {
    margin: 0 10px;
    transition: transform 0.2s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.social-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-logo:hover {
    transform: scale(1.2);
}

/* ===============================
   ENHANCED TABS NAVIGATION
================================ */

.tabs {
    position: sticky;
    top: 14px;
    z-index: 1000;

    display: flex;
    gap: 8px;
    padding: 10px;

    margin: 30px auto;
    width: fit-content;

    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(14px);

    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.15);

    box-shadow:
        0 10px 30px rgba(0,0,0,0.45),
        inset 0 0 0 1px rgba(255,255,255,0.04);
}


.tabs button {
    position: relative;

    background: transparent;
    border: none;

    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;

    padding: 10px 20px;
    border-radius: 999px;
    cursor: pointer;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.2s ease;
}

/* Hover */
.tabs button:hover {
    color: var(--text-primary);
    background: rgba(96,165,250,0.12);
    transform: translateY(-1px);
}

/* Active */
.tabs button.active {
    color: #020617;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    box-shadow:
        0 10px 25px rgba(59,130,246,0.45),
        inset 0 1px 0 rgba(255,255,255,0.35);
    transform: translateY(-1px);
}

.tabs button::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;

    width: 0;
    height: 3px;

    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 999px;

    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.tabs button.active::after {
    width: 60%;
}
@media (max-width: 768px) {
    .tabs {
        flex-wrap: wrap;
        justify-content: center;
        padding: 12px;
    }

    .tabs button {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}
.tabs {
    animation: tabsFadeIn 0.6s ease forwards;
}

@keyframes tabsFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* MAIN */
main {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 20px;
    background: transparent;
    backdrop-filter: blur(5px);
    border-radius: 12px;
    box-shadow: none;
}

/* SECTION FADE */
.tabcontent {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Cards */
.content-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 22px 26px;
    margin-bottom: 28px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}


.content-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.25);
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Download Button */
.download-button {
    background: linear-gradient(135deg, var(--accent), #0077ff);
    color: white;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    border: none;
    cursor: pointer;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}


.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 6px var(--accent-soft);
}


/* Hobbies */
.hobby {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
    text-align: center;
}

.hobby-img {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    object-fit: contain;
    background: rgba(255,255,255,0.6);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.hobby h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.hobby p {
    max-width: 700px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);

}

/* FOOTER */
footer {
    text-align: center;
    padding: 10px;
    background: rgba(255,255,255,0.05);
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: var(--text-secondary);

}
.profile-heading {
    font-size: 2.1rem;
    margin-top: 10px;
    color: var(--accent);
    font-family: 'Inter', sans-serif; 
    font-weight: 600;
}


.profile-subheading {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.profile-card {
    background: linear-gradient(
        to bottom right,
        rgba(241,245,249,0.75),
        rgba(226,232,240,0.75)
    );
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 28px 32px;
    max-width: 720px; 
    margin: 0 auto 40px auto;
    box-shadow: 0 12px 30px rgba(0,0,0,0.45);
}


.info-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr; 
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
    color: var(--text-secondary);
    word-break: break-word;
}


.info-row:last-child {
    border-bottom: none;
}

.about-me {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

.about-me h3 {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.about-me p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}
.profile-card:hover {
    transform: scale(1.01);
    box-shadow: 0 6px 18px rgba(0, 183, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
}

#PersonalProjects h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: var(--accent);
}

#PersonalProjects .content-card {
    text-align: center;
}


@media (max-width: 768px) {
    .button-row {
        flex-direction: column;
        align-items: center;
    }
}



/* RESPONSIVENESS */
@media (max-width: 768px) {
    .header-text h1 {
        font-size: 2rem;
    }

    .tabs button {
        font-size: 0.9rem;
        padding: 10px 12px;
    }

    main {
        padding: 10px;
    }

    .hobby-img {
        max-width: 90%;
    }
}
/* ===============================
   PROFILE CENTERING (FIX)
================================ */

.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-img {
    margin-bottom: 20px;
}

/* ===============================
   PERSONAL PROJECTS POLISH
================================ */

#PersonalProjects {
    text-align: center;
}

#PersonalProjects .content-card {
    max-width: 900px;
    margin: 40px auto;
    padding: 32px;
}

#PersonalProjects .content-card p {
    max-width: 750px;
    margin: 0 auto 24px auto;
    line-height: 1.7;
    color: var(--text-secondary);

}

/* Feature "chips" instead of bullets */
.feature-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 28px;
}

.feature-grid span {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}


/* ===============================
   FEATURED PROJECT
================================ */

.featured-project {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 40px;
    padding: 32px;
    margin-bottom: 40px;

    border-radius: 18px; /* same family as cards */
    background: var(--bg-card);

    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}
.featured-project:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.28);
}




.featured-project h3 {
    font-size: 1.7rem;
    color: var(--accent);
}

.project-tag {
    font-size: 0.85rem;
    color: var(--accent);
    opacity: 0.85;
    font-weight: 500;
    margin-bottom: 12px;
}
.featured-left {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.featured-actions {
    margin-top: auto;          /* pushes button to bottom */
    display: flex;
    justify-content: flex-start; /* left aligned */
}


.feature-list {
    margin: 20px 0;
    padding-left: 20px;
}

.feature-list li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.featured-right video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

.subsection-title {
    margin: 40px 0 20px;
    color: var(--accent);

}

/* GRID FOR SIMPLE PROJECTS */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

/* Responsive */
@media (max-width: 900px) {
    .featured-project {
        grid-template-columns: 1fr;
    }
}

.personal-hero {
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: linear-gradient(
        135deg,
        rgba(238,242,246,0.95),
        rgba(226,232,240,0.95)
    );
    box-shadow: 0 25px 60px rgba(15,23,42,0.15);
}

.tabcontent h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 30px;
}
.tabcontent h2::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin: 12px auto 0;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    border-radius: 999px;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: #00c6ff;
    margin: 10px auto 30px;
    border-radius: 999px;
}

.video-frame {
    display: flex;
    justify-content: center;  
    align-items: center;      
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.8),
        rgba(2, 6, 23, 0.8)
    );

    padding: 18px;
    border-radius: 22px;
}


.video-frame video {
    width: 100%; 
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.65);
}
.tabs {
    position: sticky;
    top: 12px;
    z-index: 1000;
}
.tabs button {
    transition: 
        background 0.3s ease,
        transform 0.2s ease,
        box-shadow 0.3s ease;
}

.tabs button.active {
    transform: translateY(-1px);
}
.content-card,
.featured-project,
.profile-card,
.personal-hero {
    background: var(--bg-card);
    border: 1px solid rgba(148, 163, 184, 0.12);
    backdrop-filter: blur(10px);
}
/* ===============================
   CAREER TIMELINE
================================ */

.timeline {
    position: relative;
    max-width: 850px;
    margin: 60px auto;
    padding-left: 30px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--accent),
        transparent
    );
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.timeline-item.show {
    opacity: 1;
    transform: translateY(0);
}

.timeline-dot {
    position: absolute;
    left: -2px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 6px var(--accent-soft);
}

.timeline-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 22px 26px;
    margin-left: 30px;
    border: 1px solid rgba(148,163,184,0.15);
    box-shadow: 0 12px 30px rgba(0,0,0,0.45);
    transition: transform 0.25s ease;
}

.timeline-card:hover {
    transform: translateY(-4px);
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.timeline-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.timeline-tags span {
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(96,165,250,0.12);
    border: 1px solid rgba(96,165,250,0.25);
}
/* ===============================
   PROJECT HOVER EXPANSION
================================ */

.project-card {
    position: relative;
    overflow: hidden;
}

.project-expand {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition:
        max-height 0.4s ease,
        opacity 0.3s ease,
        margin 0.3s ease;
}

.project-card:hover .project-expand {
    max-height: 240px;          /* slightly more breathing room */
    opacity: 1;
    margin-top: 14px;
    margin-bottom: 16px;        /* 👈 BUFFER before button */
}

.project-tags {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.project-tags span {
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(96,165,250,0.12);
    border: 1px solid rgba(96,165,250,0.25);
}
/* ===============================
   COURSES ENHANCEMENT
================================ */

.course-card {
    cursor: pointer;
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-term {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.course-toggle {
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.course-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        max-height 0.4s ease,
        opacity 0.3s ease,
        margin-top 0.3s ease;
}

.course-card.active .course-body {
    max-height: 300px;
    opacity: 1;
    margin-top: 14px;
}

.course-card.active .course-toggle {
    transform: rotate(45deg);
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.course-tags span {
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(96,165,250,0.12);
    border: 1px solid rgba(96,165,250,0.25);
}
/* ===============================
   PERSONAL PROJECTS ENHANCEMENTS
================================ */

.project-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 18px;
    margin: 24px 0;
}

.project-stats div {
    background: rgba(15,23,42,0.6);
    border: 1px solid rgba(148,163,184,0.15);
    border-radius: 14px;
    padding: 14px;
    text-align: center;
}

.project-stats strong {
    display: block;
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.project-stats span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.featured-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 14px;
    font-size: 0.75rem;
    letter-spacing: 0.6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: #020617;
    font-weight: 600;
}

