/* --- RESET & ROOT --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0a0c;
    --glass-bg: rgba(20, 20, 25, 0.8);
    --accent-cyan: #17D8DB; /* YOUR OFFICIAL SIGNATURE CYAN */
    --accent-purple: #bc13fe;
    --text-main: #e0e0e0;
    --grid-color: rgba(23, 216, 219, 0.05); /* Updated grid to match */
}

body {
    /* Adding a dark overlay on top of your image for better text contrast */
    background: 
        linear-gradient(rgba(10, 10, 12, 0.5), rgba(10, 10, 12, 0.5)), 
        url('Project-Page/BCGP.jpg');
    
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; /* This keeps it from scrolling with the content */
    background-color: #000; /* Fallback color */
    
    min-height: 100vh;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- NAVIGATION --- */
.project-nav {
    display: flex;
    justify-content: space-between;
    align-items: center; /* This is the "Sharp Line" anchor */
    /* Reduced horizontal padding to 3% to pull items toward the edges */
    padding: 30px 3%; 
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.brand-group {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-right: calc(5% - 12px); 
    margin: 0;           /* Prevents any vertical displacement */
    height: 100%;        /* Takes up the full height of the nav track */
}

.animated-brand {
    position: relative;
    display: flex;
    align-items: center; /* Keeps text and shield icon on the same horizontal line */
    gap: 20px;
    width: max-content;
    margin-left: auto;
    /* Removed extra right-padding so it stays flush with the nav edge */
    padding-right: 0; 
}

/* --- Clean Text Alignment --- */
.brand-text {
    font-weight: 700;
    letter-spacing: 5px;
    font-size: 1.2rem;
    color: var(--accent-cyan);
    text-shadow: 0 0 15px rgba(23, 216, 219, 0.4);
    line-height: 1; /* Reset to 1 for perfect vertical centering with the shield */
    display: inline-block;
    cursor: default;
}

.animated-brand::after {
    content: '';
    position: absolute;
    /* Change 'bottom' to 'top' to measure exactly from the text height */
    top: 2.29rem; 
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(23, 216, 219, 0.4);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

/* Ensure calc accounts for the 20px gap and the 45px shield */
.animated-brand.show::after {
    width: calc(100% - 18%); 
}

.nav-icon {
    /* Subtle glow to match the "Liquid Glass" theme */
    filter: drop-shadow(0 0 8px rgba(0, 242, 255, 0.5));
    transition: transform 0.3s ease;
}

.brand-group:hover .nav-icon {
    transform: scale(1.1); 
    cursor: default;
}

/* --- ADJUST BACK BUTTON --- */
.back-btn {
    text-decoration: none;
    color: var(--accent-cyan);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
    border: 1px solid var(--accent-cyan);
    padding: 10px 24px; /* Slightly adjusted padding */
    border-radius: 6px;
    transition: all 0.3s ease;
    background: rgba(23, 216, 219, 0.05);
    text-transform: uppercase;
    display: flex;       /* Ensures internal text is centered */
    align-items: center;
    margin: 0;           /* Prevents pushing the nav-line */
}

.back-btn:hover {
    background: var(--accent-cyan);
    color: #000; /* Clean black text on hover */
    box-shadow: 0 0 20px rgba(23, 216, 219, 0.5);
    transform: translateY(-2px);
}

/* --- 1. THE MAIN ANCHOR (THE "LEFT KINK") --- */
.project-container {
    width: 100%;
    /* This creates the 'left-center' feel. Increase 15% to move more to center. */
    padding: 120px 5% 100px 25%; 
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    box-sizing: border-box;
}

/* --- 2. THE CONTENT WRAPPERS --- */
.project-header, 
.project-section-wrapper {
    width: 100%;
    max-width: 900px; /* Prevents the text track from getting too wide */
    margin-bottom: 100px; /* The gap between 'Project Name' and 'About' */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* --- 3. THE HEADER (PROJECT_NAME) --- */
.project-header h1 {
    font-size: 3.5rem;
    letter-spacing: -2px;
    margin-bottom: 15px;
    color: #ffffff;
}

/* -- Tags -- */

.meta-tags {
    display: flex;
    gap: 15px;
}

.tag {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: default;
}

.tag:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
}

.date-pill {
    align-self: flex-start;
    background: rgba(23, 216, 219, 0.05);
    color: #ffffff;
    padding: 6px 15px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid rgba(23, 216, 219, 0.3);
    margin-top: 35px; /* The gap between your tags and the date */
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.date-pill:hover {
    background: rgba(23, 216, 219, 0.1);
    border-color: rgba(23, 216, 219, 0.5);
}

.date-icon {
    font-size: 0.9rem;
    margin-right: 10px; /* Slight nudge for breathing room */
    color: var(--accent-cyan); /* Matches the site theme accent */
    display: flex;
    align-items: center;
}


.tag-cyan   { background: rgba(23, 216, 219, 0.1);  color: #17D8DB; border-color: rgba(23, 216, 219, 0.3); }
.tag-orange { background: rgba(255, 127, 80, 0.1);  color: #FF7F50; border-color: rgba(255, 127, 80, 0.3); }
.tag-blue   { background: rgba(77, 136, 255, 0.1);  color: #4D88FF; border-color: rgba(77, 136, 255, 0.3); }
.tag-yellow { background: rgba(255, 214, 102, 0.1); color: #FFD666; border-color: rgba(255, 214, 102, 0.3); }
.tag-green  { background: rgba(102, 255, 153, 0.1); color: #66FF99; border-color: rgba(102, 255, 153, 0.3); }
.tag-purple { background: rgba(191, 64, 191, 0.1);  color: #BF40BF; border-color: rgba(191, 64, 191, 0.3); }
.tag-rose   { background: rgba(255, 0, 127, 0.1);   color: #FF007F; border-color: rgba(255, 0, 127, 0.3); }
.tag-lime   { background: rgba(173, 255, 47, 0.1);  color: #ADFF2F; border-color: rgba(173, 255, 47, 0.3); }
.tag-amber  { background: rgba(255, 191, 0, 0.1);   color: #FFBF00; border-color: rgba(255, 191, 0, 0.3); }






/* --- 4. ANIMATED TITLES (ABOUT, FEATURES) --- */
.project-title-wrapper {
    margin-bottom: 25px;
}

.animated-title {
    font-size: 2.5rem;
    color: #ffffff;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.animated-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #17D8DB;
    box-shadow: 0 0 15px rgba(23, 216, 219, 0.6);
    transition: width 0.8s ease-out 0.4s;
}

.animated-title.show::after {
    width: 100%;
}

/* --- 5. BODY TEXT --- */
.project-description-content p {

    font-size: 1.1rem;
    line-height: 1.8;
    color: #ffffff;
    max-width: 750px; /* Optimized for readability */
}

/* Project Terminal */

/* --- Project Terminal (Refined) --- */
.terminal-container {
    width: 100%;
    max-width: 850px;
    background: rgba(10, 10, 15, 0.85);
    border: 1px solid rgba(23, 216, 219, 0.3);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 15px rgba(23, 216, 219, 0.1);
    backdrop-filter: blur(12px);
    overflow: hidden;
    font-family: 'Fira Code', monospace;
}

.terminal-header {
    background: rgba(23, 216, 219, 0.08);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between; /* Keeps logic: Title Left, Status Right */
    align-items: center;
    border-bottom: 1px solid rgba(23, 216, 219, 0.2);
}

.terminal-title {
    margin-left: 0; /* Resetting this so it stays flush with the body padding */
    font-size: 0.75rem;
    color: rgba(23, 216, 219, 0.9); /* Slightly boosted for visibility */
    letter-spacing: 2px;
    font-weight: 600;
}

.terminal-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.65rem;
    color: var(--accent-cyan);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-cyan);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.terminal-body {
    padding: 20px;
    height: 300px;
    overflow-y: auto;
    color: #e0e0e0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.terminal-input-line {
    padding: 0 20px 20px 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.prompt {
    color: #17D8DB;
    font-weight: bold;
}

#terminalInput {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    width: 100%;
}

/* About the project */

.terminal-instructions {
    margin-top: 2rem;
    padding: 20px;
    background: rgba(0, 255, 255, 0.03);
    border-left: 2px solid #00f2fe;
    border-radius: 4px;
}

.instruction-header {
    font-family: 'Space Grotesk', sans-serif;
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.instruction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}



.project-info-container {
    margin-top: 4rem; /* Gives space from the terminal */
    max-width: 800px; /* Or whatever your "About" section uses */
}


strong {
    color: #17D8DB;        
}

.custom-accent-link {
    color: #17D8DB; /* Your requested colour */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.custom-accent-link:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(23, 216, 219, 0.6);
    border-bottom: 1px solid #17D8DB;
    cursor: pointer;
}

.instruction-text-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ffffff;
    max-width: 750px;
    margin-bottom: 1.5rem; /* This replaces the need for <br> */
}

/* Removes the extra gap at the very bottom */
.instruction-text-block p:last-child {
    margin-bottom: 0;
}

/* Github Link */

.glass-link-container {
    margin-top: 2rem;
    display: flex;
    justify-content: center; /* Centers the square on the screen */
}

.glass-button {
    display: flex;
    flex-direction: column; /* Stacks icon on top of text for the square look */
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px; /* Space between icon and text */
    
    /* THE SCALE UP: Massive, symmetrical padding makes it a block */
    padding: 50px 60px;
    width: 250px; /* Set a specific width to define the shape */
    height: 250px; /* Or min-height if you want it exactly square */
    
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px); /* Slightly stronger blur for the larger surface */
    -webkit-backdrop-filter: blur(15px);
    
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 16px; /* Slightly softer radius for the larger size */
    
    color: #ffffff;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    
    /* Slightly faster transition for the bigger element */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.glass-button:hover {
    background: rgba(0, 242, 254, 0.1);
    border-color: rgba(0, 242, 254, 0.8);
    transform: scale(1.03); /* Subtle scale up instead of lift */
    box-shadow: 0 20px 45px rgba(0, 242, 254, 0.15);
}

/* Scaled up the icon specifically for the big box */
.glass-icon svg {
    width: 60px;
    height: 60px;
    color: #00f2fe;
    opacity: 0.8; /* Subtle transparency until hover */
    transition: opacity 0.3s ease;
}

.glass-button:hover .glass-icon svg {
    opacity: 1; /* Brightens on hover */
}

.glass-text {
    font-weight: 600; /* Bolder text for the massive block */
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase; /* Opt optional for a technical feel */
    opacity: 0.9;
}

.terminal-body::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.terminal-body {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    overflow-y: auto; /* Keeps the ability to scroll */
}

/* Carousel */

/* Container defines the viewport of the carousel */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 40px auto;
    overflow: hidden; /* This is crucial: it hides the other slides */
    border-radius: 12px;
    border: 1px solid rgba(23, 216, 219, 0.2);
    background: rgba(10, 10, 15, 0.5);
}

/* The track is a long horizontal line containing all images */
.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    width: 100%;
}

/* Each slide takes up exactly 100% of the container width */
.carousel-slide {
    min-width: 100%;
    position: relative;
    padding: 10px;
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    object-fit: cover;
    filter: brightness(0.8);
    transition: 0.4s;
    image-rendering: -webkit-optimize-contrast; /* For Chrome/Safari */
    image-rendering: crisp-edges;               /* For Firefox */
    transform: translateZ(0);  
}

.carousel-slideM {
    min-width: 100%;
    position: relative;
    padding: 10px;
    box-sizing: border-box;
}

.carousel-slideM img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    object-fit: cover;
    filter: brightness(0.8);
    transition: 0.4s;
    image-rendering: -webkit-optimize-contrast; /* For Chrome/Safari */
    image-rendering: crisp-edges;               /* For Firefox */
    transform: translateZ(0);  
}

.carousel-slide.active img {
    filter: brightness(1.1);
    box-shadow: 0 0 30px rgba(23, 216, 219, 0.2);
}

.carousel-slideM.active img {
    filter: brightness(1.1) !important;
    box-shadow: 0 0 30px rgba(23, 216, 219, 0.2);
}

.carousel-track .carousel-slideM {
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Navigation Buttons (Glassmorphism) */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(23, 216, 219, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(23, 216, 219, 0.3);
    color: white;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: 0.3s;
}

.carousel-btn:hover {
    background: rgba(23, 216, 219, 0.3);
    box-shadow: 0 0 15px rgba(23, 216, 219, 0.4);
}

.prev { left: 20px; }
.next { right: 20px; }

/* Caption Styling */
.slide-caption {
    position: absolute;
    bottom: 30px;
    left: 40px;
    color: #17D8DB;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.4);
    padding: 5px 15px;
    border-radius: 4px;
}

/* Specific styling for the UI Screen Carousel */
.ui-carousel {
    max-width: 1100px; /* Slightly wider for high-def UI screens */
    border: 2px solid rgba(23, 216, 219, 0.4); /* Thicker border to frame the UI */
}

.ui-carousel .carousel-slide img {
    object-fit: contain; /* Ensures the high-def PNG is never cropped */
    background: #000; /* Fills empty space if the PNG aspect ratio varies */
    max-height: 600px; 
}

/* Targets only the problematic 3rd slide */
.ui-carousel .carousel-slide:last-child {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.2); /* Subtle backing to fill gaps */
}

.carousel-utility-message.external {
    display: flex;
    align-items: center;
    gap: 10px;
    
    /* NEW: Moves it to the right and pulls it up closer to the container */
    margin: 2px 10px 0 auto; 
    
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem; /* Slightly smaller to keep it unobtrusive */
    color: #FFFFFF;
    
    background: rgba(23, 216, 219, 0.05);
    border: 1px solid rgba(23, 216, 219, 0.2);
    padding: 6px 15px;
    border-radius: 30px;
    width: fit-content;
    
    opacity: 1;
    transition: all 0.3s ease;
}

.carousel-utility-message.external:hover {
    opacity: 1.5;
    background: rgba(23, 216, 219, 0.15);
    transform: translateY(-2px); /* Subtle lift effect on hover */
}

/* Targeted styles for the tall CollabNoteZ wireframes */
.notez-carousel {
    max-width: 600px; /* Gives a bit of breathing room around the 526px image */
    margin: 40px auto 20px; /* More top margin to move it down slightly */
    border: 2px solid rgba(23, 216, 219, 0.4);
    background: #000;
    overflow: hidden;
    aspect-ratio: 526 / 1024;
    max-height: 75vh; /* Slightly shorter to ensure no scrolling needed */
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Swapped version to enable the sliding animation */
.notez-carousel .carousel-track {
    display: flex; /* Aligns all 15 slides in a horizontal row */
    height: 100%;
    transition: transform 0.5s ease-in-out; /* This creates the smooth 'swipe' effect */
    will-change: transform; /* Performance optimization for smoother animation */
}

#notezTrack {
    display: flex;
    width: 100%; 
    transition: transform 0.5s ease-in-out;
}

.notez-carousel .carousel-slide {
    flex: 0 0 100%; /* Forces each slide to be exactly 100% of the container width */
    width: 100%;
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
}

.notez-carousel .carousel-slide img {
    height: 100%;
    width: 100%;
    object-fit: contain; /* Keeps the portrait shape perfect */
}

/* 3. The Label - Full Width at the Bottom */
.notez-carousel .slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0; /* Forces it to span the whole box */
    background: rgba(10, 10, 15, 0.9);
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    padding: 15px 0;
    text-align: center;
    border-top: 1px solid rgba(23, 216, 219, 0.3);
    z-index: 10;
}

/* Mirror the sizing and aspect ratio rules to the final wireframe layout */
.final-carousel {
    max-width: 600px;
    margin: 40px auto 20px;
    border: 2px solid rgba(23, 216, 219, 0.4);
    background: #000;
    overflow: hidden;
    aspect-ratio: 526 / 1024;
    max-height: 75vh;
    position: relative;
    display: flex;
    flex-direction: column;
}

#finalTrack {
    display: flex;
    width: 100%; 
    transition: transform 0.5s ease-in-out;
    will-change: transform;
    height: 100%;
}

.final-carousel .carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
}

.final-carousel .carousel-slide img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.final-carousel .slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.9);
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    padding: 15px 0;
    text-align: center;
    border-top: 1px solid rgba(23, 216, 219, 0.3);
    z-index: 10;
}

.final-message-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

.final-message-wrapper .carousel-utility-message.external {
    margin: 0;
    color: #FFFFFF;
    background: rgba(23, 216, 219, 0.1);
    border: 1px solid rgba(23, 216, 219, 0.3);
}

/* 4. Center the "Click to Expand" message */
.notez-message-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

.notez-message-wrapper .carousel-utility-message.external {
    margin: 0; /* Overriding the 'auto' from the previous project */
    color: #FFFFFF;
    background: rgba(23, 216, 219, 0.1);
    border: 1px solid rgba(23, 216, 219, 0.3);
}
/*PDF viewer*/

.pdf-viewer-container {
    width: 100%;
    max-width: 1100px;
    height: 700px; /* This defines the 'window' height */
    margin: 40px auto 10px;
    
    background: rgba(10, 10, 15, 0.9);
    border: 2px solid rgba(23, 216, 219, 0.4);
    border-radius: 12px;
    overflow: hidden; /* Keeps the PDF rounded at the corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Customizing how the embed looks */
.pdf-viewer-container embed {
    border-radius: 10px;
    /* This ensures the PDF doesn't have its own white border */
    background-color: transparent; 
}

.pdf-viewer-containerUML {
    width: 100%;
    max-width: 1100px;
    height: 900px; /* This defines the 'window' height */
    margin: 40px auto 10px;
    
    background: rgba(10, 10, 15, 0.9);
    border: 2px solid rgba(23, 216, 219, 0.4);
    border-radius: 12px;
    overflow: hidden; /* Keeps the PDF rounded at the corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}



/*Gdrive Button*/

.glass-link-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.glass-button.drive-theme {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(23, 216, 219, 0.05);
    border: 1px solid rgba(23, 216, 219, 0.3);
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.glass-button.drive-theme:hover {
    background: rgba(23, 216, 219, 0.15);
    box-shadow: 0 0 20px rgba(23, 216, 219, 0.3);
    transform: translateY(-3px);
}

.glass-text {
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
}


/* 1. Structural Section Wrapper - Creates the vertical block space */
.project-links-section.left-aligned {
    width: 100%;
    display: flex;
    flex-direction: column;   /* Stacks the inner components vertically */
    justify-content: center;  /* Distributes empty space evenly */
    align-items: flex-start;  /* Keeps the button content firmly left-aligned */
    padding: 35px 0;          /* Matches top and bottom padding perfectly */
    box-sizing: border-box;
}

/* 2. Balanced Inner Wrapper */
.project-links-section.left-aligned .project-link-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin: 0;                /* Resets old margins to prevent pushing the box down */
}

/* 3. Scaled-up Custom Rectangular Button (Kept at your 240px setting) */
.portfolio-btn.web-project-btn.wide-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 240px; 
    height: 240px; 
    background: rgba(10, 10, 15, 0.9);
    border: 2px solid rgba(23, 216, 219, 0.4); /* Your signature teal perimeter */
    border-radius: 4px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

/* 4. White SVG Icon Properties */
.portfolio-btn.web-project-btn.wide-btn .globe-icon {
    width: 70px;
    height: 70px;
    transition: transform 0.3s ease;
}

/* 5. Liquid UI Interaction Rules */
.portfolio-btn.web-project-btn.wide-btn:hover {
    background: rgba(23, 216, 219, 0.1); 
    border-color: rgba(23, 216, 219, 1.0); /* Full glow on focus */
    box-shadow: 0 0 20px rgba(23, 216, 219, 0.6); 
    transform: translateY(-2px); 
}

/* Animated micro-rotation on hover */
.portfolio-btn.web-project-btn.wide-btn:hover .globe-icon {
    transform: rotate(15deg) scale(1.05);
}

/* Pressed State */
.portfolio-btn.web-project-btn.wide-btn:active {
    transform: translateY(0);
    box-shadow: 0 0 10px rgba(23, 216, 219, 0.4);
}


/* Backend Terminal */

/* --- Terminal Interactive Form Grid Extension --- */
.terminal-grid-panel {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.terminal-form-block, 
.terminal-console-block {
    flex: 1;
    min-width: 280px;
    background: rgba(25, 25, 35, 0.4);
    border: 1px solid rgba(23, 216, 219, 0.15);
    border-radius: 6px;
    padding: 15px;
    box-sizing: border-box;
}

.terminal-panel-heading {
    font-size: 0.75rem;
    font-weight: bold;
    color: #17D8DB;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
}

.terminal-panel-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

/* --- Interactive Input Field Styling --- */
.terminal-input-group {
    margin-bottom: 12px;
}

.terminal-label {
    display: block;
    font-size: 0.65rem;
    color: rgba(224, 224, 224, 0.6);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.terminal-field {
    width: 100%;
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid rgba(23, 216, 219, 0.2);
    border-radius: 4px;
    padding: 8px 12px;
    color: #fff;
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.terminal-field:focus {
    outline: none;
    border-color: rgba(23, 216, 219, 0.7);
    box-shadow: 0 0 10px rgba(23, 216, 219, 0.2);
}

/* --- Action Button styling --- */
.terminal-submit-btn {
    width: 100%;
    background: rgba(23, 216, 219, 0.1);
    border: 1px solid rgba(23, 216, 219, 0.4);
    color: #17D8DB;
    padding: 10px;
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.terminal-submit-btn:hover {
    background: rgba(23, 216, 219, 0.25);
    box-shadow: 0 0 15px rgba(23, 216, 219, 0.3);
    color: #fff;
}

/* --- Response Stream Components --- */
.terminal-json-viewer {
    background: rgba(5, 5, 10, 0.5);
    border: 1px solid rgba(23, 216, 219, 0.1);
    border-radius: 4px;
    padding: 12px;
    margin: 0;
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    color: #a6e22e; /* Classic code-green highlight string */
    min-height: 122px;
    overflow-x: auto;
    white-space: pre-wrap;
}

.terminal-badge-status {
    font-size: 0.65rem;
    font-weight: bold;
    color: rgba(224, 224, 224, 0.5);
    letter-spacing: 1px;
}

/* --- Mock Database Layout Components --- */
.terminal-db-wrapper {
    margin-top: 20px;
    background: rgba(23, 216, 219, 0.03);
    border: 1px solid rgba(23, 216, 219, 0.15);
    border-radius: 6px;
    padding: 15px;
}

.terminal-table-container {
    font-size: 0.8rem;
    color: #cbd5e1;
    overflow-x: auto;
}

.cyan-text {
    color: #17D8DB;
}

/* --- Dedicated API Terminal Size Expansion --- */

/* Targets only the element containing both classes */
.terminal-container.api-terminal-modifier {
    max-width: 1100px; /* Bumps up horizontal width from 850px to a spacious 1100px */
    margin-top: 30px;
}

/* Expands the internal viewport container to prevent cramming */
.terminal-container.api-terminal-modifier .terminal-body {
    height: auto; /* Switches from fixed 300px to dynamic so it grows with the layout */
    min-height: 480px; /* Establishes a larger baseline canvas height */
    padding: 25px; /* Gives elements a tiny bit more room to breathe */
}

/* Adjusts columns on wide screens so they scale gorgeously */
@media (min-width: 768px) {
    .terminal-container.api-terminal-modifier .terminal-grid-panel {
        gap: 30px; /* Opens up the gutter width between input forms and response logs */
    }
}

/* Action Icons Grid Layout */
.terminal-action-cell {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
    padding-right: 15px;
}

.table-action-icon {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 4px;
    transition: all 0.2s ease;
}

/* Edit State Button Icon styling */
.table-action-icon.edit-btn {
    color: #17D8DB;
}
.table-action-icon.edit-btn:hover {
    color: #fff;
    text-shadow: 0 0 8px #17D8DB;
    transform: scale(1.15);
}

/* Trash Deletion State Button Icon styling */
.table-action-icon.delete-btn {
    color: rgba(248, 81, 73, 0.6);
}
.table-action-icon.delete-btn:hover {
    color: #ff6b6b;
    text-shadow: 0 0 8px #ff6b6b;
    transform: scale(1.15);
}

/* --- HTTP Method Selector Pills --- */
.method-pill {
    flex: 1;
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid rgba(23, 216, 219, 0.15);
    color: rgba(224, 224, 224, 0.4);
    padding: 6px 0;
    font-family: 'Fira Code', monospace;
    font-size: 0.7rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.25s ease;
}

.method-pill:hover {
    color: #fff;
    border-color: rgba(23, 216, 219, 0.4);
}

/* Active State Methods Highlights */
.method-pill.pill-post.active {
    background: rgba(35, 134, 54, 0.15);
    border-color: #238636;
    color: #56e372;
    box-shadow: 0 0 10px rgba(35, 134, 54, 0.2);
}

.method-pill.pill-put.active {
    background: rgba(217, 119, 6, 0.15);
    border-color: #d97706;
    color: #fbbf24;
    box-shadow: 0 0 10px rgba(217, 119, 6, 0.2);
}

.method-pill.pill-delete.active {
    background: rgba(185, 28, 28, 0.15);
    border-color: #b91c1c;
    color: #f87171;
    box-shadow: 0 0 10px rgba(185, 28, 28, 0.2);
}


/* Python Terminal */

/* --- Sandboxed QR Terminal Overrides --- */
.terminal-container.qr-terminal-modifier {
    max-width: 1100px;
}

/* Base Body Containment Block */
.terminal-container.qr-terminal-modifier .terminal-body {
    height: auto; 
    min-height: 460px;
    padding: 30px; 
}

/* Enforces uniform structural stretching across the flex panels */
.terminal-container.qr-terminal-modifier .terminal-grid-panel {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: stretch;
}

.terminal-container.qr-terminal-modifier .qr-form-block,
.terminal-container.qr-terminal-modifier .qr-console-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Horizontal split configurations for Tablet and Desktop viewports */
@media (min-width: 768px) {
    .terminal-container.qr-terminal-modifier .terminal-grid-panel {
        flex-direction: row;
    }
    
    /* Forces columns to stay exactly 50/50 split width */
    .terminal-container.qr-terminal-modifier .qr-form-block,
    .terminal-container.qr-terminal-modifier .qr-console-block {
        width: 50%;
    }
}

/* ==========================================================================
   PORTFOLIO ENGINE: Standalone Active Development Showcase Frame
   ========================================================================== */

.development-stage-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60vh;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* Override and upscale to a massive, premium display headline */
.hero-headline {
    font-size: 4.5rem !important; /* Forces it significantly larger than standard H2 elements */
    font-weight: 800;
    letter-spacing: -1px;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.development-subtext p {
    max-width: 650px;
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 auto 30px auto;
}

/* High-end live repository indicator status badge */
.dev-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 150, 255, 0.1);
    border: 1px solid rgba(0, 150, 255, 0.25);
    color: #0096ff;
    padding: 8px 18px;
    border-radius: 30px;
    font-family: monospace;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    background-color: #0096ff;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 150, 255, 0.7);
    animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 150, 255, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 150, 255, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 150, 255, 0);
    }
}

/* Responsive adjustment layer for mobile views */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.8rem !important;
    }
    .development-subtext p {
        font-size: 1rem;
    }
}










/* Footer*/

.main-footer {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 100px; /* Keeps it connected to the scroll cushion */
}

.footer-content {
  width: 100%; /* Spans entire page width */
  height: 140px; 
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  
  /* Removed side borders and bottom radius to make it feel grounded */
  border-top: 1px solid rgba(23, 216, 219, 0.4);
  border-bottom: none;
  border-left: none;
  border-right: none;
  
  /* Glow only on the top edge */
  box-shadow: 0 -15px 30px rgba(23, 216, 219, 0.15); 
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  transition: box-shadow 0.4s ease;
}

.footer-content:hover {
  box-shadow: 0 -20px 40px rgba(23, 216, 219, 0.25);
}

.footer-logo {
  font-family: 'Inter', sans-serif;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 4px;
}

.footer-divider {
  width: 60px;
  height: 2px;
  background: #17D8DB;
  border-radius: 2px;
}

.footer-tech {
  font-family: 'Montserrat', sans-serif;
  color: #9ca3af;
  font-size: 0.9rem;
  letter-spacing: 5px;
  text-transform: uppercase;
}

