* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Page entrance animation (soft fade; minimal movement) */
body {
    background: #080808;
    color: #fff;
    padding-top: 0 !important;
    animation: fadeInSoft 0.45s ease-out;
}

@keyframes fadeInSoft {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered content animations */
.project-hero {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.project-content .project-section {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.project-content .project-section:nth-child(1) { animation-delay: 0.4s; }
.project-content .project-section:nth-child(2) { animation-delay: 0.6s; }
.project-content .project-section:nth-child(3) { animation-delay: 0.8s; }
.project-content .project-section:nth-child(4) { animation-delay: 1s; }
.project-content .project-section:nth-child(5) { animation-delay: 1.2s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Project page specific styles */
.project-hero {
    background: linear-gradient(135deg, #080808 0%, #1a1a1a 100%);
    padding: 120px 0 50px;
    min-height: 60vh;
}

.project-title {
    font-size: 48px;
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
}

.project-subtitle {
    font-size: 20px;
    color: #ababab;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
}

.project-image {
    max-width: 800px;
    width: 100%;
    border-radius: 15px;
    margin: 40px auto;
    display: block;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Native video (keeps the video's real aspect ratio) */
.project-media {
    max-width: 800px;
    width: 100%;
    margin: 40px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: #000;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* Make the video about as tall as typical screenshots without cropping. */
.project-media--match-images {
    height: min(460px, 60vh);
}

.project-media .project-video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    background: #000;
}

/* Responsive video embed (used for project demos) */
.video-embed {
    max-width: 900px;
    width: 100%;
    margin: 40px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.project-content {
    background: #080808;
    padding: 80px 0;
}

.project-section {
    margin-bottom: 60px;
}

/* Captions for progress media (images/videos) */
.media-caption {
    text-align: center;
    color: #ababab;
    font-size: 14px;
    margin-top: -24px;
    margin-bottom: 26px;
}

.project-section h2 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 20px;
    border-bottom: 3px solid #ff004f;
    padding-bottom: 10px;
    display: inline-block;
}

.project-section p {
    font-size: 18px;
    line-height: 1.8;
    color: #ababab;
    margin-bottom: 20px;
}

.project-section ul {
    margin: 10px 0 20px;
    padding-left: 22px;
    color: #ababab;
    font-size: 18px;
    line-height: 1.8;
}

.project-section li {
    margin: 8px 0;
}

.project-section a {
    color: #ff004f;
    text-decoration: none;
}

.project-section a:hover {
    text-decoration: underline;
}

.project-section code {
    background-color: #1e1e1e;
    color: #4ec9b0;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', Consolas, monospace;
    font-size: 16px;
}

.terminal-window {
    background-color: #0c0c0c;
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.terminal-header {
    background-color: #1e1e1e;
    padding: 8px 12px;
    border-bottom: 1px solid #333;
}

.terminal-title {
    color: #cccccc;
    font-size: 13px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.terminal-body {
    background-color: #0c0c0c;
    color: #cccccc;
    padding: 16px;
    margin: 0;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: auto;
}

.markdown-body {
    color: #ababab;
    font-size: 18px;
    line-height: 1.8;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3 {
    color: #fff;
<<<<<<< HEAD
    margin-top: 24px;
    margin-bottom: 16px;
}

.markdown-body h1 {
    font-size: 32px;
    border-bottom: 2px solid #ff004f;
    padding-bottom: 10px;
}

.markdown-body h2 {
    font-size: 28px;
    border-bottom: 1px solid #444;
    padding-bottom: 8px;
}

.markdown-body h3 {
    font-size: 24px;
}

.markdown-body p {
    margin-bottom: 16px;
}

.markdown-body ul,
.markdown-body ol {
    margin: 16px 0;
    padding-left: 30px;
}

.markdown-body li {
    margin: 8px 0;
}

.markdown-body code {
    background-color: #1e1e1e;
    color: #4ec9b0;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', Consolas, monospace;
    font-size: 14px;
}

.markdown-body pre {
    background-color: #1e1e1e;
    padding: 16px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 16px 0;
}

.markdown-body pre code {
    background-color: transparent;
    padding: 0;
    color: #d4d4d4;
    font-size: 13px;
    line-height: 1.4;
    font-family: 'Consolas', 'Courier New', monospace;
    white-space: pre;
}

.code-block {
    background-color: #1e1e1e;
    padding: 16px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 16px 0;
    color: #d4d4d4;
    font-size: 13px;
    line-height: 1.4;
    font-family: 'Consolas', 'Courier New', monospace;
    white-space: pre;
=======
    margin: 22px 0 12px;
    line-height: 1.25;
}

.markdown-body h1 { font-size: 28px; }
.markdown-body h2 { font-size: 22px; }
.markdown-body h3 { font-size: 18px; }

.markdown-body p { margin: 12px 0; }

.markdown-body ul {
    margin: 10px 0 20px;
    padding-left: 22px;
}

.markdown-body li { margin: 8px 0; }

.markdown-body a {
    color: #ff004f;
    text-decoration: none;
}

.markdown-body a:hover { text-decoration: underline; }

.markdown-body pre {
    background: #262626;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-left: 4px solid #ff004f;
    border-radius: 10px;
    padding: 18px;
    overflow-x: auto;
    color: #e8e8e8;
    font-size: 13px;
    line-height: 1.4;
    margin: 16px 0 24px;
    font-family: 'Courier New', Courier, monospace;
    white-space: pre;
}

.markdown-body code {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 6px;
    padding: 2px 6px;
    color: #e8e8e8;
    font-size: 0.9em;
    font-family: 'Courier New', Courier, monospace;
}

.markdown-body pre code {
    background: transparent;
    border: 0;
    padding: 0;
    font-size: inherit;
    white-space: pre;
    word-wrap: normal;
>>>>>>> 871e7eb0eb08799c80a12123d337ec67d2a34efd
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
}

.tech-tag {
    background: rgba(255, 0, 79, 0.1);
    border: 1px solid #ff004f;
    color: #ff004f;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.project-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-primary {
    background: #ff004f;
    color: #fff;
    border: 2px solid #ff004f;
}

.btn-primary:hover {
    background: transparent;
    color: #ff004f;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #080808;
}

.back-btn {
    position: fixed;
    top: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-btn:hover {
    background: rgba(255, 0, 79, 0.2);
    border-color: #ff004f;
    transform: translateY(-2px);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
    margin: 40px 0;
}

.feature-card {
    background: #262626;
    padding: 18px 20px;
    border-radius: 10px;
    border-left: 4px solid #ff004f;
}

.feature-card h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 18px;
}

.feature-card p {
    color: #ababab;
    font-size: 15px;
    line-height: 1.5;
}

/* Mobile responsive */
@media only screen and (max-width: 768px) {
    .project-hero {
        /* Reduce empty space above the title in narrow/split-screen layouts */
        padding: 80px 0 30px;
        min-height: auto;
    }

    .project-title {
        font-size: 36px;
    }

    .project-subtitle {
        font-size: 18px;
    }

    .project-section h2 {
        font-size: 28px;
    }

    .project-links {
        flex-direction: column;
        align-items: center;
    }

    .back-btn {
        /* Keep it out of document flow so it doesn't create a big empty band above the hero */
        position: fixed;
        top: 15px;
        left: 15px;
        margin-bottom: 0;
        display: inline-block;
    }

    .container {
        padding: 10px 5%;
    }
}

/* Also tighten the hero spacing when the window is short (common in split-screen). */
@media only screen and (max-height: 700px) {
    .project-hero {
        padding: 70px 0 30px;
        min-height: auto;
    }
}

nav ul li a:hover::after {
   width: 100%;
}

nav ul li a.active {
    color: #ff004f;
}

nav ul li a.active::after {
    width: 100%;
}

/* Header Section (FIGURE OUT HOW TO SPACE OUT MORE) */

.header-text {
    margin-top: 20%;
    margin-left: auto;
    margin-right: 0;
    font-size: 30px;
    background: rgba(0, 0, 0, 0.8);
    padding: 40px;
    border-radius: 15px;
    text-align: left;
    float: right;
}

.header-text h1 {
    font-size: 60px;
    margin-bottom: 20px;
}

.header-text h1 span {
    color: #ff004f;
}

/* About Section */

#about {
   padding: 80px 0;
   color: #ababab;
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1 {
    flex-basis: 35%;
    padding: 20px;
}

.about-col-1 img{
    width: 100%;
    border-radius: 15px;
}

.about-col-2 {
    flex-basis: 60%;   
}

.about-col-2 p {
    font-size: 18px;
    line-height: 1.6;
}

.sub-title {
    font-size: 60px;
    font-weight: 600;
    color: #fff
}

.tab-titles {
    display: flex;
    margin: 20px 0 40px;
}

.tab-links {
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links::after {
    content: '';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after {
    width: 50%;
}

.tab-contents ul li {
    list-style: none;
    margin: 10px 0;
    font-size: 18px;
}

.tab-contents ul li span {
    color: #b54769;
    font-size: 20px;
    font-weight: 600;
}

.coursework-list {
    list-style: disc !important;
    margin-left: 20px;
    margin-top: 5px;
}

.coursework-list li {
    list-style: disc !important;
    margin: 5px 0;
    font-size: 18px;
}

.tab-contents {
    display: none;
}

.tab-contents.active-tab {
    display: block;
}

/* Experience Section */

#experience {
    padding: 30px 0;
}

.experience-timeline {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.experience-item {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    background: linear-gradient(145deg, #262626, #1f1f1f);
    border-radius: 15px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.30);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.experience-item:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 0, 79, 0.55);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.38),
                0 0 18px rgba(255, 0, 79, 0.12);
}

.experience-brand {
    flex: 0 0 180px;
    min-width: 180px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.experience-content {
    flex: 1;
    min-width: 0;
}

.experience-logo {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
    transition: transform 0.25s ease;
    transform-origin: left center;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

.experience-item:hover .experience-logo {
    transform: scale(1.04);
}

.experience-mark {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.experience-item h2 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #fff;
    position: relative;
}

.experience-item p {
    color: #ababab;
    position: relative;
    line-height: 1.6;
}

.experience-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
    margin-bottom: 12px;
    color: #d6d6d6;
    font-size: 15px;
}

.experience-org {
    font-weight: 600;
    color: #fff;
}

.experience-loc {
    color: #d6d6d6;
}

.experience-sep {
    color: rgba(255, 255, 255, 0.35);
}

.experience-dates {
    color: #ababab;
    font-weight: 600;
}

.experience-summary {
    font-size: 15px;
    line-height: 1.7;
}

.experience-bullets {
    margin-top: 6px;
    padding-left: 18px;
    color: #ababab;
    font-size: 15px;
    line-height: 1.7;
}

.experience-bullets li {
    margin: 8px 0;
}

.experience-item:hover p,
.experience-item:hover .experience-bullets {
    color: #e0e0e0;
}

/* Hobbies Section */

#hobbies {
    padding: 80px 0;
    background: #1a1a1a;
    margin-bottom: 50px;
}

.hobbies-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.hobby-card {
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 500px;
}

.hobby-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.hobby-card:hover img {
    transform: scale(1.1);
}

.hobby-layer {
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px;
    text-align: center;
    transition: background 0.3s;
}

.hobby-card:hover .hobby-layer {
    background: rgba(0, 0, 0, 0.9);
}

.hobby-layer h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.hobby-layer p {
    font-size: 14px;
    line-height: 1.5;
    color: #ababab;
}

/* Portfolio */

#portfolio {
    padding: 50px 0;
}

.work-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.work {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background: #1a1a1a;
}

.work img {
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.layer {
    width: 100%;
    height: 100%;
    background: rgba(8, 8, 8, 0.92);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    border: 1px solid rgba(255, 0, 79, 0.25);
}

.layer h3 {
    font-weight: 700;
    margin-bottom: 10px;
}

.layer p {
    margin-bottom: 0;
}

.layer a {
    text-decoration: none;
    color: #ff004f;
    font-size: 18px;
    line-height: 60px;
    margin-top: 20px;
    background-color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
}

.work:hover img {
    transform: scale(1.1);
}

.work:hover .layer {
    opacity: 1;
    transform: translateY(0);
}

.btn {
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #ff004f;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: background 0.5s;
}

.btn:hover {
    background: #ff004f;
}

/* Contact Section */
.contact-left {
    flex-basis: 35%;
}

.contact-right {
    flex-basis: 60%;
}

.contact-left p {
    margin-top: 30px;
}

.contact-left p i {
    color: #ff004f;
    margin-right: 15px;
    font-size: 25px;
}

.social-icons {
    margin-top: 30px;
}

.social-icons a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #ababab;
    display: inline-block;
    transition: transform 0.5s;
}

.social-icons a:hover {
    color: #ff004f;
    transform: translateY(-5px);
}

.btn.btn2 {
    display: inline-block;
    background: #ff004f;
}

.contact-right form {
    width: 100%;
}

form input, form textarea {
    width: 100%;
    padding: 15px;
    margin: 15px 0;
    font-size: 18px;
    border-radius: 6px;
    outline: none;
    border: none;
    background: #262626;
    color: #fff;
}

form .btn2 {
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}

/* CSS for small screens */
nav .fas {
    display: none;
}

@media only screen and (max-width: 600px) {
    body {
        padding-top: 0 !important;
    }

    #header {
        background-image: url(img/phone-background.jpg);
        margin-top: -70px;
        padding-top: 70px;
    }
    
    nav {
        background: rgba(0, 0, 0, 0.95);
        padding: 10px 20px;
    }
    
    .header-text {
        font-size: 20px;
        margin-top: 175%;
    }

    .header-text h1 {
        font-size: 45px;
    }

    nav .fas {
        position: absolute;
        top: 25px;
        left: 30px;
        display: block;
        font-size: 30px;
        color: #ff004f;
        transition: all 0.3s ease;
        cursor: pointer;
        padding: 8px;
        border-radius: 6px;
        background: rgba(255, 0, 79, 0.1);
        border: 2px solid rgba(255, 0, 79, 0.2);
    }

    nav .fas:hover {
        color: #fff;
        background: rgba(255, 0, 79, 0.3);
        border-color: #ff004f;
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 4px 15px rgba(255, 0, 79, 0.3);
    }

    nav ul {
        background: rgba(100, 9, 39, 0.9);
        backdrop-filter: blur(10px);
        position: fixed;
        top: 0;
        left: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: left 0.5s;
        border-right: 2px solid rgba(255, 0, 79, 0.3);
        box-shadow: 2px 0 15px rgba(0, 0, 0, 0.3);
    }

    nav ul li {
        display: block;
        margin: 25px;
    }

    nav ul li a {
        color: #fff;
        transition: all 0.3s ease;
        padding: 10px 15px;
        border-radius: 8px;
        display: block;
        position: relative;
        overflow: hidden;

    .experience-item {
        flex-direction: column;
        gap: 14px;
        padding: 20px;
    }

    .experience-brand {
        flex: 0 0 auto;
        min-width: 0;
    }

    .experience-item h2 {
        font-size: 24px;
    }
    }

    nav ul li a:hover {
        color: #ff004f;
        background: rgba(255, 0, 79, 0.1);
        transform: translateX(10px) scale(1.05);
        text-shadow: 0 0 8px rgba(255, 0, 79, 0.5);
        box-shadow: 0 4px 12px rgba(255, 0, 79, 0.2);
    }

    nav ul li a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 3px;
        background: #ff004f;
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }

    nav ul li a:hover::before {
        transform: scaleY(1);
    }

    nav ul .fas {
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
        color: #ff004f;
        font-size: 24px;
        transition: all 0.3s ease;
        padding: 8px;
        border-radius: 6px;
        background: rgba(255, 0, 79, 0.1);
        border: 2px solid rgba(255, 0, 79, 0.2);
    }

    nav ul .fas:hover {
        color: #fff;
        background: rgba(255, 0, 79, 0.3);
        border-color: #ff004f;
        transform: rotate(180deg) scale(1.1);
        box-shadow: 0 4px 15px rgba(255, 0, 79, 0.3);
    }

    .sub-title {
        font-size: 40px;
    }

    .about-col-1, .about-col-2 {
        flex-basis: 100%;
    }
    .about-col-1 {
        margin-bottom: 30px;
    }

    .about-col-2 {
        font-size: 14px;
    }

    .tab-links {
        font-size: 16px;
        margin-right: 20px;
    }

    .contact-left, .contact-right {
        flex-basis: 100%;
    }

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

    .hobby-card {
        padding: 30px 20px;
    }

}

#msg {
    color: #61b752;
    margin-top: -40px;
    display: block;
}


=======
}
>>>>>>> 871e7eb0eb08799c80a12123d337ec67d2a34efd
