body {
    background-image: url("images/BlackBG.jpg");
    background-size: cover;
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100vh;
    margin: 0;
    padding-top: 30px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

body.loaded {
    opacity: 1;
}

h1 {
    color: white;
    text-align: center;
    text-shadow: 1px 1px 1px black;
}

.section-divider,
.top-hr {
    width: 100%;
    height: 3px;
    border: none;
    border-radius: 5px;
    background: linear-gradient(135deg, #444349, #1e0f3f);
    margin: 150px auto 10px auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

footer{
    text-align: center;
    margin-top: 50px;
}

/* ------------------------------------------------------------------------------------------- */

/* Arrow Button */
.arrow-btn {
    position: fixed;
    top: 20px;
    right: 25px;
    color: black;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    background: none;
    transition: color 0.3s ease, transform 0, 2s ease;
}

.arrow-btn:hover {
    background: silver;
    transform: translateX(5px);
}

/* Header section for title + download link */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
    margin-bottom: 10px;
}

/* Title still centered visually */
.header-container h1 {
    flex: 1;
    text-align: left;
    color: white;
    margin: 0;
}

/* button styling Section for example: the about me button */
.cv-btn,
.Education-btn,
.MyExperience-btn,
.AllProjects-btn,
.Home-btn,.Featured-btn,
.Contact-btn {
    color: white;
    padding: 12px 26px;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.25s ease;
    text-shadow: 2px 2px 2px black;
}

.cv-btn:hover,
.Education-btn:hover,
.MyExperience-btn:hover,
.AllProjects-btn:hover,
.Home-btn:hover,.Featured-btn:hover,
.Contact-btn:hover {
    transform: translateY(-3px);
}

/* ---------------------------------------------PC SCREEN Responsive--------------------------- */
/* -------------------------Navigation Bar Styling for main Page------------------------------- */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #444349, #1e0f3f);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    z-index: 1000;
    opacity: 1;
    visibility: visible;
    /* ensures navbar stays on top of everything */
}

.navbar-socials {
    display: flex;
    align-items: center;
    margin-right: 70px;
    gap: 25px;
}

.navbar-socials img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.github,
.itchio,
.linkedin {
    filter: invert(40%) sepia(60%) saturate(300%) hue-rotate(900deg);
}

.navbar-socials img:hover {
    transform: scale(1.3);
}

/* Navbar title */
.site-title {
    color: rgb(79, 127, 201);
    ;
    font-size: 22px;
    font-weight: bold;
    text-shadow: 2px 2px 2px black;
    margin-right: 20px;
}

/* Navbar right-side buttons */
.navbar-right {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    flex: 1;
}

.navbar-btn {
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: bold;
    color: white;
    border: none;
    text-shadow: 1px 1px 1px black;
    transition: background 0.5s ease, transform 0.5s ease;
    white-space: nowrap;
}

/* Hover effect */
.nav-btn:hover {
    background: rgb(38, 1, 46);
    transform: scale(1.05);
}

.navbar-spacer {
    height: 110px;
    /* same height as navbar to prevent content overlap */
}

.active-page {
    background: rgb(38, 1, 46);
    color: white;
    border-radius: 10px;
}

p {
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 1px black;
}

/* -----------------------------------JL Main Profile Card / Home -------------------------------------------*/
/* Bio Text */
.home-bio {
    max-width: 800px;
    font-size: 20px;
    font-weight: bold;
    color: white;
    line-height: 1.5;
    text-shadow: 1px 1px 1px black;
}

.profile-card {
    display: flex;
    justify-content: left;
    align-items: left;
    gap: 60px;
    margin: 50px auto;
}

/* Profile Picture */
.profile-pic {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid black;
    margin-bottom: 10px;
    margin-left: 250px;
}

/* Hover effect */
.profile-pic:hover {
    transform: scale(1.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-name {
    font-size: 40px;
    font-weight: bold;
    margin-top: 20px;
    color: rgb(79, 127, 201);
    text-shadow: 1px 1px 1px black;
    margin-left: 10px;
}

.profile-minibio {
    font-size: 25px;
    font-weight: bold;
    color: rgb(79, 127, 201);
    text-shadow: 10px 10px 10px black;
    margin-left: 10px;
}

.Bio-Section p {
    margin-left: 10px;
    font-size: 22px;
}
/* --------------------------------------------------------------------------------------------------- */

/* ---------------------------------Featured Projects Section --------------------------------------------- */

.featured-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;

}
/* SpeedRacers Card */
.SR-card{
    position: relative;
    gap: 40px;
    width: 500px;
    overflow: hidden;
    border-radius: 40px;
    border: 4px solid #1e0f3f;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.SR-card video{
    width: 100%;
    display: block;
    transition: transform 0.4 ease;
    text-shadow: 10px 10px 10px black;
}

.overlay{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 80px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.SR-card:hover{
    transform: scale(1.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.SR-card:hover .overlay{
    transform: translateY(0);
}
/* LeapCity2 Card */
.LC2-card{
    position: relative;
    width: 500px;
    overflow: hidden;
    border-radius: 50px;
    border: 4px solid #1e0f3f;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.LC2-card video{
    width: 100%;
    display: block;
    transition: transform 0.4 ease;
    text-shadow: 10px 10px 10px black;
}

.LC2-card:hover{
    transform: scale(1.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.LC2-card:hover .overlay{
    transform: translateY(0);
}
/* MyGlidingSim Card */
.MGS-card{
    position: relative;
    width: 500px;
    overflow: hidden;
    border-radius: 50px;
    border: 4px solid #1e0f3f;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.MGS-card video{
    width: 100%;
    display: block;
    transition: transform 0.4 ease;
    text-shadow: 10px 10px 10px black;
}

.MGS-card:hover{
    transform: scale(1.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.MGS-card:hover .overlay{
    transform: translateY(0);
}

/* InfiniteTrigger Card */
.IFTG-card{
    position: relative;
    width: 500px;
    overflow: hidden;
    border-radius: 50px;
    border: 4px solid #1e0f3f;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.IFTG-card img{
    width: 100%;
    display: block;
    transition: transform 0.4 ease;
    text-shadow: 10px 10px 10px black;
}

.IFTG-card:hover{
    transform: scale(1.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.IFTG-card:hover .overlay{
    transform: translateY(0);
}


/* ---------------------------------Featured Projects Section --------------------------------------------- */

/* ---------------------------- EDUCATION Section--------------------------------------------- */
.snapchat-avatar {
    display: flex;
    margin-left: 500px;
}

.snapchat-avatar img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;

}

/* Lasalle FlexBox Card */
.Education-section {
    display: flex;
}

.Lasalle-card {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    border: 4px solid #1e0f3f;
    background: rgb(41, 41, 40);
    border-radius: 20px;
    padding: 25px;
    width: 420px;
    height: auto;
    max-width: 500px;
    margin-left: 50px;
    box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3 ease;
}

.Lasalle-card h1 {
    color: white;
    text-shadow: 10px 10px 10px black;
}

.Lasalle-card h4 {
    font-weight: bold;
    font-size: auto;
    color: white;
    text-shadow: 10px 10px 10px black;
}

.Lasalle-card p {
    align-items: left;
    text-shadow: 10px 10px 10px black;
    text-align: left;
}

.Lasalle-card:hover {
    transform: scale(1.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* ---------------------------------EDUCATION Section--------------------------------------------- */



/* -------------------------------Experience Section (little boxes)---------------------------------------------- */

.experience-section {
    margin-bottom: 100px;
    margin-top: 100px;

}

.experience-columns {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.experience-category {
    flex: 1 1 300px;
    text-align: center;
    min-width: 280px;
}

.experience-category h1 {
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
}

/* Container for my boxes */
.experience-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.experience-box {
    background: linear-gradient(135deg, #444349, #1e0f3f);
    color: white;
    font-weight: bold;
    padding: 10px 18px;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 1);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    min-width: 80px;
    text-align: center;
}

/* the Hover effect */
.experience-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 20px rgba(0, 0, 0, 1);
}


/* -----------------------------------------Contact Section---------------------------------------------- */
.contact-section {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    max-width: 700px;
    margin: 60px auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.contact-section h1 {
    color: white;
    font-size: 40px;
    margin-bottom: 50px;
    text-shadow: 1px 1px 1px black;
}

.contact-section p {
    color: white;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 50px;
}

/* here is my Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    max-width: 500px;
    padding: 14px 16px;
    border: 2px solid grey;
    border-radius: 10px;
    color: black;
    font-size: 16px;
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: grey;
    opacity: 0.8;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: black;
    background: rgba(250, 250, 255, 0.9);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* this is for send Message */

.sendMessage-btn {
    background: linear-gradient(135deg, #444349, #1e0f3f);
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sendMessage-btn:hover {
    background: rgb(139, 66, 138);
    transform: translate(-3px);
    box-shadow: 8px 8px 18px rgba(0, 0, 0, 0.5);
}

/* -----------------------------------Smooth Page Loading------------------------------------- */
/* HTML Scroll functionality */
html {
    scroll-behavior: smooth;
}

.fade-in {
    opacity: 0;
    transform: translate(20px);
    transition: opacity 0.8 ease, transform 0.8 ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* ---------------------------(Iphone 14 pro Max, Iphone 13,etc) SCREEN Responsive------------------------------------ */
@media (max-width: 480px) {

    /* NAVBAR SECTION*/
    .navbar {
        flex-direction: column;
        height: auto;
        padding: 12px 20px;
        gap: 12px;
        text-align: center;
    }

    .navbar-spacer {
        height: 140px;
        /* same height as navbar to prevent content overlap */
    }

    .site-title {
        font-size: 18px;
        text-align: center;
        width: 100%;
    }

    .navbar-right {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        width: 95%;
    }

    .nav-btn {
        padding: 5px 10px;
        font-size: 12px;
        border-radius: 8px;
    }

    .navbar-socials img {
        width: 30px;
        height: 30px;
    }

    /* SECTION TITLES */
    h1 {
        font-size: 26px;
        text-align: center;
    }

    /* PROFILE SECTION */
    .profile-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px;
    }

    .profile-pic {
        width: 180px;
        height: 180px;
        align-items: center;
        margin-left: 10px;
    }

    .profile-name {
        font-size: 25px;
    }

    .profile-minibio {
        font-size: 20px;
    }

    .home-bio p {
        font-size: 15px;
        padding: 0 15px;
        line-height: 1.5;
    }

    /* EDUCATION SECTION */

    .Lasalle-card {
        padding: 15px;
        margin-left: 5px;
    }

    .HighSchool-card {
        padding: 10px;
        margin-left: 5px;
    }

    .Education-section {
        flex-direction: column;
        align-items: center;
    }

    .snapchat-avatar {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 40px 0;
    }

    .snapchat-avatar img {
        width: 350px;
        height: 350px;
        border-radius: 50%;
        object-fit: cover;
    }

    /* EXPERIENCE SECTION */
    .experience-columns {
        flex-direction: column;
    }

    .experience-box {
        font-size: 14px;
        padding: 10px;
    }

    /* CONTACT FORM SECTION*/
    .contact-form {
        width: 90%;
        margin: 0 auto;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 14px;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}

/* ----------------------------------Responsiveness for my Website ------------------------------------- */

/* ---------------------------(LapTop) SCREEN Responsiveness-------------------------------------------- */

/* ---------------------------(Other) SCREEN Responsiveness--------------------------------------------- */

@media (max-width: 1024px) {

    .profile-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 20px auto;
    }

    .profile-pic {
        margin-left: 0;
        width: 250px;
        height: 250px;
    }

    .home-bio {
        max-width: 90%;
        text-align: center;
    }

    .Education-section {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .Lasalle-card,
    .HighSchool-card {
        margin-left: 0;
        width: 90%;
        max-width: 500px;
    }

    .snapchat-avatar {
        margin-left: 0;
        justify-content: center;
    }
}

/* ---------------------------(Other) SCREEN Responsiveness------------------------------------ */
@media (max-width: 768px) {

    .profile-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .profile-pic {
        width: 200px;
        height: 200px;
    }

    .home-bio {
        font-size: 18px;
        padding: 0 20px;
    }

    .snapchat-avatar img {
        width: 250px;
        height: 250px;
    }

    .experience-columns {
        flex-direction: column;
        align-items: center;
    }

    .experience-box {
        width: 80%;
        max-width: 300px;
    }
}

/* ---------------------------(All Devices Responsive fixed nav) SCREEN Responsiveness------------------------------------ */

@media (max-width: 900px) {

    .navbar {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 15px 0;
        gap: 12px;
    }

    .site-title {
        width: 100%;
        margin: 0;
        text-align: center;
    }

    .navbar-right {
        order: 2;
        width: 100%;
        justify-content: center;
    }

    .navbar-socials {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .navbar-spacer {
        height: 190px;
    }
}