@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Roboto+Mono:wght@400&display=swap');

/* Header Section */
.header-container {
    width: 100%;
    max-width: 100vw; /* Prevent horizontal scrolling */
    height: 5rem; /* Restrict height to 5rem */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem; /* Reduced padding to save space */
    background-color: #0d0d0d; /* Dark background */
    border-bottom: 3px solid #39FF14; /* Neon green bottom border */
    box-sizing: border-box; /* Ensures padding is included in the element's width */
    overflow: hidden; /* Prevents horizontal overflow */
}

/* Name Styling */
.myname {
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: #00FFFF; /* Neon blue */
    text-shadow: 0 0 10px #00FFFF; /* Neon blue glow */
}

/* Navigation Buttons Styling */
.nav-buttons {
    display: flex;
    gap: 1rem; /* Space between buttons */
    justify-content: left;
    flex-wrap: wrap; /* Allows buttons to wrap on smaller screens */
    flex: 1; /* Pushes buttons to center */
    margin-left: 1rem;
}

.hdr-btn {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem; /* Reduced font size to fit smaller screens */
    text-decoration: none;
    color: #00FFFF;
    background-color: #101010;
    border: 2px solid #39FF14; /* Neon green border */
    padding: 0.5rem 0.8rem;
    border-radius: 0.3rem;
    transition: 0.3s;
}

.hdr-btn:hover {
    background-color: #39FF14; /* Neon green background on hover */
    color: #000; /* Dark text on hover */
    cursor: pointer;
    box-shadow: 0 0 15px #39FF14; /* Glow effect */
}

/* Social Media Icons */
.social-links {
    display: flex;
    gap: 1rem;
    margin-left: 1rem;
}

.social-icon {
    width: 35px; /* Slightly reduced icon size */
    height: auto;
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.2); /* Zoom-in effect on hover */
}

/* Responsive Adjustments for Smaller Screens */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        height: auto; /* Allows for expansion */
        padding: 0.5rem 1rem;
        text-align: center;
    }

    .nav-buttons {
        flex-wrap: wrap; /* Allows buttons to wrap */
        justify-content: center;
        margin: 0.5rem 0;
        gap: 0.5rem; /* Smaller gap between buttons */
    }

    .hdr-btn {
        font-size: 0.9rem; /* Smaller font size for smaller screens */
        padding: 0.4rem 0.6rem; /* Adjust padding for smaller buttons */
    }

    .social-links {
        justify-content: center;
        margin-top: 0.5rem;
    }
}

/* page info */
.body-class {
    margin: 0;
    background-color: #101010; /* Dark primary background */
    color: #E0E0E0; /* Softer white for better readability */
    font-family: 'Roboto Mono', monospace; /* Secondary futuristic font */
}

.page-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: #00FFFF; /* Neon blue for heading */
    text-shadow: 0 0 15px #00FFFF; /* Neon glow effect */
    text-align: center;
    margin-top: 2rem;
}
/* New styles for scrollable index page */
.page-content-scrollable {
    padding: 0 2rem 5rem 2rem; /* Add padding to sides and bottom */
}

.intro-container {
    max-width: 800px;
    margin: 0 auto; /* Center the content */
    text-align: center;
}

/* index */
.name-section {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.name-content {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    color: #00FFFF;
    /* text-shadow: 0 0 10px #00FFFF; */ /* Shadow removed */
}

.elevator-pitch {
    font-size: 1.2rem;
    color: #E0E0E0;
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.6;
}

.elevator-pitch strong {
    color: #39FF14;
    font-weight: normal;
}

.profile-pic-circular {
    width: 200px;
    height: 200px;
    border-radius: 50%; /* Makes the image circular */
    object-fit: cover;
    object-position: center 5%; /* Adjusts visible part of image further down */
    border: 3px solid #00FFFF;
    /* box-shadow: 0 0 20px rgba(0, 255, 255, 0.5); */ /* Shadow removed */
    margin-top: .5rem; /* Increased top margin to move it down */
    margin-bottom: .5rem;
}

.main-narrative {
    text-align: left;
    margin-bottom: 4rem;
}

.content-subheading {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: #39FF14;
    /* text-shadow: 0 0 8px rgba(57, 255, 20, 0.7); */ /* Shadow removed */
    border-bottom: 2px solid #39FF14;
    padding-bottom: 0.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.main-narrative p {
    font-size: 1.1rem;
    color: #E0E0E0;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.main-narrative p strong {
    font-weight: bold;
    color: #00FFFF;
}

.main-narrative ul li b {
    font-weight: bold;
    color: #00FFFF; /* Ensure these titles are bold and match other strong emphasis */
}

/* Skills Section */
.skills-section {
    margin-bottom: 4rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column on small screens */
    gap: 2rem;
    text-align: left;
}

.skill-category {
    background-color: #0d0d0d;
    padding: 1.5rem;
    border-left: 4px solid #00FFFF;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 5px 15px rgba(0, 255, 255, 0.1); */ /* Shadow removed */
    border-left-color: #39FF14; /* Change border color on hover for feedback */
}

.skill-category h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: #00FFFF;
    margin-top: 0;
    margin-bottom: 1rem;
}

.skill-category p {
    font-size: 1rem;
    color: #E0E0E0;
    line-height: 1.6;
    margin: 0;
}

/* Footer Section */
footer {
    text-align: center;
    padding: 3rem 2rem 2rem 2rem; /* Added more padding top, reduced bottom */
    margin-top: 4rem; /* Space above footer */
    margin-bottom: -6rem;
    border-top: 1px solid #222; /* Subtle top border */
}

.footer-heading {
    margin-bottom: 2rem; /* Space below footer heading */
    font-size: 1.6rem; /* Slightly smaller footer heading */
    border-bottom-color: rgba(57, 255, 20, 0.3); /* More subtle border */
}

.footer-links-container {
    display: flex;
    justify-content: center;
    gap: 1rem; /* Adjusted gap */
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-link {
    text-decoration: none;
    padding: 0.6rem 1.2rem; /* Adjusted padding */
    font-family: 'Roboto Mono', monospace; /* Consistent font */
    font-size: 0.9rem;
    border-radius: 4px;
    background-color: transparent;
    color: #00FFFF;
    border: 1px solid #00FFFF;
    transition: all 0.3s ease;
}

.footer-link:hover {
    cursor: pointer;
    background-color: #00FFFF;
    color: #000;
    border-color: #00FFFF;
    /* box-shadow: 0 0 10px #00FFFF; */ /* Shadow removed */
    transform: scale(1.03);
}

.copyright {
    font-size: 0.85rem;
    color: #777;
    margin-top: 2rem;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns on larger screens */
    }
}


/* education */
.education-content {
    width: 100%;
    padding-top: 1.5rem;
    padding-bottom: 6rem;
    flex-wrap: wrap;
    display: flex;
    justify-content: space-around; /* Cleaner layout by spacing items evenly */
    align-items: flex-start;
    background-color: #101010; /* Dark background */
}

.cu-flexbox {
    text-shadow: 0 0 10px #00FFFF; /* Neon blue text glow */
    gap: 1em;
    width: clamp(0%, 50rem, 100%);
    color: #00FFFF; /* Neon blue text */
    padding: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.cu-img {
    height: 10rem;
    max-height: 100%;
    max-width: 100%;
}
.cu-text {
    font-size: 1rem;
    display:inline-block;
    flex:1;
    color: #39FF14;
    text-shadow: 0 0 10px #37ff1400; /* Neon green glow effect */    
}

.classes-box {
    width: 100%;
    max-width: 800px; /* Slightly smaller width for more whitespace */
    background-color: #0d0d0d; /* Dark background */
    padding: 2rem;
    border-left: 5px solid #00FFFF; /* Neon blue border */
    border-radius: 0.5rem; /* Rounded corners */
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2); /* Neon blue glow */
    margin-top: 2rem; /* Increased margin for extra whitespace */
    margin-bottom:2rem;
    transition: box-shadow 0.3s ease;
}

.classes-box:hover {
    box-shadow: 0 0 15px #39FF14;
}

.class-image {
    border-style: inset;
    border-color: #00FFFF; /* Neon blue */
    border-width: 0.3rem;
    display: block;
    margin: auto;
    margin-bottom: 1rem;
    width: auto;
    height: 8rem; /* Adjust image height to make it uniform */
}

.class-name {
    color: #00FFFF;
    font-weight: bold;
    font-size: 1.5rem; /* Slightly larger for readability */
    text-align: center; /* Center-align titles */
    margin-bottom: 0.5rem;
}

.class-location-date {
    font-size: 1rem;
    color: #39FF14;
    text-align: center;
    margin-bottom: 1rem;
}

.class-description {
    font-size: 1.1rem;
    color: #E0E0E0;
    text-align: center;
    line-height: 1.6;
}

.class-description li {
    list-style-type: none; /* Removes bullet points */
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.class-description li::before {
    content: "•"; /* Adds a bullet point */
    color: #39FF14; /* Neon green for bullet points */
    position: absolute;
    left: 0; /* Aligns the bullet point with the text */
    font-size: 1.3rem; /* Makes the bullet point slightly larger */
    line-height: 1.6;
}

.job-description {
    font-size: 1.1rem;
    color: #E0E0E0;
    line-height: 1.6;
}

.job-description li {
    list-style-type: none; /* Removes bullet points */
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.job-description li::before {
    content: "•"; /* Adds a bullet point */
    color: #39FF14; /* Neon green for bullet points */
    position: absolute;
    left: 0; /* Aligns the bullet point with the text */
    font-size: 1.3rem; /* Makes the bullet point slightly larger */
    line-height: 1.6;
}

.masters-program-box {
    background-color: #0d0d0d; /* Slightly different dark background */
    padding: 1.5rem; /* More padding */
    margin-bottom: 2rem; /* Space below */
    border-left: 5px solid #39FF14; /* Neon green accent border */
    border-radius: 0.3rem; /* Subtle rounded corners */
    width: clamp(60%, 65rem, 90%); /* Responsive width */
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.3); /* Subtle neon green glow */
}

.masters-program-box .class-name {
    color: #39FF14; /* Neon green for the program name */
    font-size: 1.7rem; /* Larger font for program name */
}

.masters-program-box .class-location-date {
    font-size: 1.1rem; /* Slightly larger date/location */
    color: #00FFFF; /* Neon blue for details */
    margin-bottom: 0.5rem; /* Adjusted margin */
}

/* Media query to adjust layout for smaller screens */
@media (max-width: 850px) {
    .classes-box {
        width: 75%; /* Full width on smaller screens */
    }
}

/* projects */
.projects-content {
    display: flex;
    flex-direction: column;
    padding-bottom: 10rem;
    gap: 3rem; /* Space between project entries */
    align-items: center;
}

.project-box {
    width: 100%;
    max-width: 900px; 
    background-color: #0d0d0d; /* Dark background */
    padding: 2rem;
    margin-top: 4rem;
    border-left: 5px solid #00FFFF; /* Neon blue border */
    border-radius: 0.5rem; /* Rounded corners */
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2); /* Neon blue glow */
    transition: box-shadow 0.3s ease;
    text-align: center;
}

.project-name {
    color: #00FFFF; /* Neon blue */
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 0 0 10px #00FFFF;
    margin-bottom: 1rem;
}

.technologies {
    font-size: 1.1rem;
    color: #39FF14; /* Neon green */
    text-align: center;
    margin-bottom: 1rem;
}

.project-description {
    font-size: 1.1rem;
    color: #E0E0E0;
    line-height: 1.6;
    text-align: left;
    padding-left: 1.5rem;
}

.project-description li {
    list-style-type: none; /* Removes bullet points */
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.project-description li::before {
    content: "•"; /* Adds a bullet point */
    color: #39FF14; /* Neon green for bullet points */
    position: absolute;
    left: 0; /* Aligns the bullet point with the text */
    font-size: 1.3rem; /* Makes the bullet point slightly larger */
    line-height: 1.6;
}

.project-box:hover {
    box-shadow: 0 0 25px #39FF14; /* Neon green hover effect */
}


/* Small screen adjustments */
@media (max-width: 1100px) {
    .project-box {
        width: 75%;
    }
}

.emphasis {
    font-weight: bold;
    color: #39FF14; /* Neon green */
}

.project-info {
    display: flex;
    justify-content: left;
    align-items: flex-start;
    padding-bottom: 1rem;
    border-bottom: 2px solid #00FFFF; /* Neon blue border */
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2); /* Soft neon blue glow */
    background-color: #101010; /* Dark background */
}

/* Image container to hold the images side by side */
.image-container {
    display: flex;
    justify-content: space-between; /* Ensures space between the images */
    align-items: center;
    width: 100%; /* Makes the container take full width */
    gap: 1rem; /* Adds space between the images */
}

.project-image-large {
    display: block;
    margin: auto;
    max-height: 400px; /* Larger image for project */
    max-width: 100%;
    object-fit: contain; /* Ensures entire image is displayed */
    margin-bottom: 1.5rem;
    border: 2px solid #00FFFF; /* Neon blue border */
}

@media (max-width: 1100px) {
    .image-container {
        flex-direction: column; /* Stack the images vertically on small screens */
        align-items: center; /* Center-align the images */
    }

    .project-image-large {
        max-width: 100%; /* Ensure images take full width on small screens */
    }
}

/* Responsive media query */
@media (max-width: 56rem) {
    .name-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .job, .cu-flexbox {
        flex-direction: column;
    }

    .hdr-btn {
        padding: 0.5em 1vw;
    }

    .header-buttons {
        margin-left: 0;
    }

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

    .aboutme-content {
        flex-direction: column;
    }

    .myimg-container {
        align-self: auto;
        padding-bottom: 1rem;
    }
}


/* Experience */
.experience-content {
    width: 100%;
    padding-top: 2rem;
    padding-bottom: 6rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    background-color: #101010;
}

.experience-image {
    display: block;
    width: 140px; /* Keeping the image small */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensures entire image fits */
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
}