/* --- 1. RESET & VARIABLES --- */
:root {
    --primary-color: #14b8a6;
    --primary-dark: #0f766e;
    --accent-color: #f59e0b;
    --bg-dark: #0b0f1a;
    --bg-deep: #070b14;
    --card-bg: #121826;
    --card-strong: #0f1626;
    --text-light: #f8fafc;
    --text-gray: #9aa4b2;
    --border-color: #233047;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-dark);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark); 
}

::-webkit-scrollbar-thumb {
    background-color: var(--card-bg); 
    border-radius: 20px;
    border: 2px solid var(--bg-dark); 
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary-color); 
}

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

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;  
    font-size: 90%; 
}
@media (min-width: 1920px) {
    html {
        font-size: 100%;
    }
}
@media (max-width: 1440px) {
    html {
        font-size: 85%;
    }
    
    
    .giant-name {
        font-size: 4.5rem;
    }
    
    
    section {
        padding: 4rem 0; 
        width: 85%; 
    }
}

section {
    scroll-margin-top: 80px; 
    padding: 5rem 0; 
    width: 90%; 
    max-width: 1600px; 
    margin: 0 auto;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    opacity: 0;
    animation: fadeIn 0.8s ease-in forwards;
    position: relative;
    isolation: isolate;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

body::before {
    background:
        radial-gradient(900px 600px at 15% 15%, rgba(20, 184, 166, 0.22), transparent 60%),
        radial-gradient(700px 500px at 85% 10%, rgba(245, 158, 11, 0.18), transparent 60%),
        radial-gradient(600px 800px at 70% 80%, rgba(56, 189, 248, 0.12), transparent 70%);
}

body::after {
    background-image: linear-gradient(120deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 35%, rgba(255, 255, 255, 0.03) 100%);
    mix-blend-mode: screen;
    opacity: 0.4;
}

@keyframes fadeIn {
    from { opacity: 0; } 
    to { opacity: 1; }
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

h1, h2, h3 {
    font-family: 'Fraunces', serif;
}

/* --- 2. NAVIGATION --- */
header {
    position: fixed;
    top: 20px; 
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 90%;
    max-width: 900px; 
    background: rgba(7, 11, 20, 0.72);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 50px; 
    border: 1px solid rgba(255, 255, 255, 0.08); 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- FOOTER --- */
footer { 
    text-align: center; 
    padding: 3rem; 
    background: var(--bg-deep);
    color: var(--text-gray); 
    border-top: 1px solid var(--border-color); 
    margin-top: auto; 
    font-size: 0.9rem; 
}

.nav-container {
    width: 100%;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -1px;
    text-shadow: 0 0 18px rgba(20, 184, 166, 0.6);
    font-family: 'Fraunces', serif;
}

.nav-links { 
    display: flex; 
    gap: 0.5rem; 
    background: rgba(0,0,0,0.25);
    padding: 0.3rem;
    border-radius: 50px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-gray);
    padding: 0.6rem 1.5rem;
    border-radius: 50px; 
    transition: all 0.3s ease;
    text-align: center;
}

.nav-links a:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
    color: white;
    background: var(--primary-color);
    box-shadow: 0 0 18px rgba(20, 184, 166, 0.5);
}

.menu-toggle { display: none; }

@media (max-width: 768px) {
    header {
        top: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 0 0 20px 20px;
        background: rgba(7, 11, 20, 0.9);
        border: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-container { padding: 1rem 1.5rem; }
    .menu-toggle { display: block; font-size: 1.8rem; cursor: pointer; color: var(--text-light); }

    .nav-links {
        position: absolute;
        top: 100%; left: 0; width: 100%;
        flex-direction: column;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        padding: 0;
        border-radius: 0 0 20px 20px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.5);
        gap: 0;
        max-height: 0; opacity: 0; overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.active { max-height: 400px; opacity: 1; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,0.05); }
    .nav-links a { width: 90%; margin: 5px auto; background: transparent; border-radius: 10px; }
    .nav-links a.active { background: rgba(59, 130, 246, 0.15); border: 1px solid var(--primary-color); box-shadow: none; }
}

/* --- 3. HERO SECTION --- */
.hero-split { 
    display: flex; align-items: center; justify-content: space-between; 
    min-height: 100vh; gap: 2rem; 
}
.hero-text { flex: 1.2; }

.subtitle { font-size: 1.8rem; color: var(--primary-color); font-weight: 600; margin-bottom: 0.2rem; letter-spacing: 2px; text-transform: uppercase; font-size: 0.95rem; }
.giant-name { font-size: 5.5rem; line-height: 0.98; font-weight: 800; margin-bottom: 1.5rem; color: var(--text-light); margin-left: -5px; font-family: 'Fraunces', serif; }
.giant-name .highlight { color: var(--primary-color); background: -webkit-linear-gradient(45deg, #14b8a6, #38bdf8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.role-text { font-size: 1.5rem; color: var(--text-gray); font-weight: 500; margin-bottom: 2rem; line-height: 1.2; }
.typing-text { display: inline-block; }
.typing-caret {
    display: inline-block;
    width: 0.6ch;
    margin-left: 2px;
    height: 1em;
    vertical-align: -0.1em;
    border-left: 2px solid var(--accent-color);
}
.hero-desc { margin-bottom: 1.5rem; color: var(--text-gray); font-size: 1.1rem; max-width: 650px; line-height: 1.8; }

/* Hero quick-signal badges */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 2.5rem;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-gray);
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}
.hero-badge i {
    color: var(--primary-color);
    font-size: 1rem;
}
@media (max-width: 900px) {
    .hero-badges { justify-content: center; }
}

.hero-image-container { flex: 1; display: flex; justify-content: center; align-items: center; position: relative; }
.hero-image-container::before { content: ''; position: absolute; width: 80%; height: 80%; background: var(--primary-color); filter: blur(110px); opacity: 0.2; z-index: -1; border-radius: 50%; }
.profile-photo {
    width: 35vw; 
    height: 35vw;  
    
    max-width: 420px; 
    max-height: 420px;
    min-width: 280px;  
    min-height: 280px;
    
    object-fit: cover; 
    object-position: top center; 
    border-radius: 30px; 
    border: 3px solid rgba(20, 184, 166, 0.6);
    box-shadow: 0 0 40px rgba(20, 184, 166, 0.2);
    transition: all 0.3s ease;
    
    /* Keep the float animation */
    animation: float 6s ease-in-out infinite;
}
@media (max-width: 900px) {
    .giant-name { font-size: 3.5rem; margin-left: 0; text-align: center; }
    .hero-split { flex-direction: column-reverse; text-align: center; justify-content: center; }
    .hero-desc { margin: 0 auto 1.5rem auto; }
    .role-text { margin-bottom: 1.5rem; }
    .profile-photo { width: 300px; height: 300px; }
    .hero-image-container::before { width: 60%; height: 60%; }
}

/* --- 4. BUTTONS --- */
.btn-group { display: flex; gap: 1rem; }
.btn-primary {
    display: inline-flex;       
    align-items: center;        
    justify-content: center;    
    gap: 0.6rem;                
    
    padding: 0.9rem 2.2rem; 
    border-radius: 50px; 
    background: var(--primary-color); 
    color: white; 
    border: 2px solid var(--primary-color); 
    font-weight: 600; 
    transition: var(--transition); 
    cursor: pointer; 
    text-decoration: none; /* Ensure no underline on hover */
}

.btn-icon {
    width: 1.2rem;
    height: 1.2rem;
    fill: currentColor; 
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(20, 184, 166, 0.3); }
.btn-outline { display: inline-block; padding: 0.9rem 2.2rem; border-radius: 50px; background: transparent; color: var(--text-light); border: 2px solid var(--border-color); font-weight: 600; transition: var(--transition); cursor: pointer; }
.btn-outline:hover { border-color: var(--accent-color); color: var(--accent-color); transform: translateY(-2px); }

/* --- 5. ABOUT PAGE --- */
.page-title { text-align: center; margin-bottom: 4rem; }
.page-title h1 { font-size: 3rem; font-weight: 800; margin-bottom: 0.5rem; font-family: 'Fraunces', serif; letter-spacing: 0.5px; }
.page-title span { display: block; width: 80px; height: 5px; background: var(--primary-color); margin: 0 auto; border-radius: 5px; }

.about-hero { text-align: center; max-width: 900px; margin: 0 auto 4rem auto; }
.bio-text p { font-size: 1.15rem; color: var(--text-gray); margin-bottom: 1.5rem; line-height: 1.8; }
.bio-text strong { color: var(--primary-color); }

.stats-container { display: flex; justify-content: center; gap: 4rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border-color); }
.stat-box h3 { font-size: 3rem; font-weight: 800; color: var(--primary-color); margin-bottom: 0; }
.stat-box p { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-gray); font-weight: 600; }

.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 2rem;
}
.skills-section h2 { margin-bottom: 2rem; font-size: 1.8rem; font-weight: 700; color: var(--text-light); }

.skill-category { margin-bottom: 2rem; background: var(--card-bg); padding: 1.8rem; border-radius: 15px; border: 1px solid var(--border-color); transition: transform 0.3s ease, border-color 0.3s ease; }
.skill-category:hover { transform: translateY(-5px); border-color: rgba(20, 184, 166, 0.6); }
.skill-category h3 { font-size: 1.2rem; margin-bottom: 1rem; color: var(--text-light); border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 0.8rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.skill-tag { background: rgba(20, 184, 166, 0.1); color: var(--primary-color); border: 1px solid rgba(20, 184, 166, 0.25); padding: 0.5rem 1rem; border-radius: 6px; font-weight: 600; font-size: 0.9rem; }

/* Replaces the old generic soft-skill grid with concrete highlight cards */
.highlight-cards { display: flex; flex-direction: column; gap: 1rem; }
.highlight-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem 1.8rem;
    transition: all 0.3s ease;
}
.highlight-card:hover { border-color: var(--accent-color); transform: translateY(-3px); }
.highlight-card i { font-size: 1.6rem; color: var(--accent-color); margin-bottom: 0.6rem; display: block; }
.highlight-card h3 { font-size: 1.05rem; color: var(--text-light); margin-bottom: 0.4rem; }
.highlight-card p { font-size: 0.9rem; color: var(--text-gray); line-height: 1.6; }

/* --- 6. CERTIFICATIONS --- */
.cert-category { margin-bottom: 4rem; }
.cert-category h2 { margin-bottom: 1.5rem; color: var(--text-gray); border-bottom: 1px solid var(--border-color); padding-bottom: 0.5rem; }
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 1.5rem;
    justify-content: center; 
}

.clickable-card { background: var(--card-bg); padding: 2rem; border-radius: 15px; border: 1px solid var(--border-color); cursor: pointer; transition: all 0.3s ease; display: flex; flex-direction: column; align-items: flex-start; height: 100%; }
.clickable-card:hover { transform: translateY(-5px); border-color: var(--primary-color); box-shadow: 0 16px 30px rgba(0,0,0,0.25); }
.cert-icon { font-size: 2rem; margin-bottom: 1rem; }
.clickable-card h3 { font-size: 1.2rem; color: var(--text-light); margin-bottom: 0.5rem; }
.clickable-card p { font-size: 0.9rem; color: var(--text-gray); margin-bottom: 1.5rem; flex-grow: 1; }
.view-link { font-size: 0.9rem; color: var(--primary-color); font-weight: 600; margin-top: auto; }

/* --- 7. PROJECTS --- */
.filter-container { display: flex; justify-content: center; gap: 1rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.filter-btn { padding: 0.6rem 1.8rem; border: 1px solid var(--border-color); background: transparent; color: var(--text-gray); border-radius: 50px; cursor: pointer; font-weight: 600; transition: all 0.3s ease; font-size: 0.95rem; }
.filter-btn:hover, .filter-btn.active { background: var(--primary-color); color: white; border-color: var(--primary-color); box-shadow: 0 10px 24px rgba(20, 184, 166, 0.25); }

.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.portfolio-card { background: var(--card-bg); border-radius: 15px; overflow: hidden; border: 1px solid var(--border-color); cursor: pointer; transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.portfolio-card:hover { transform: translateY(-8px); border-color: var(--primary-color); box-shadow: 0 22px 40px rgba(7, 11, 20, 0.4); }
.portfolio-card.hide { display: none; }
.portfolio-card.show { animation: fadeIn 0.5s ease forwards; }

.clickable-image { overflow: hidden; height: 220px; border-bottom: 1px solid var(--border-color); }
.clickable-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.portfolio-card:hover .clickable-image img { transform: scale(1.05); }

.card-info { padding: 1.5rem; }
.card-info h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.card-info p { color: var(--text-gray); font-size: 0.95rem; margin-bottom: 1rem; line-height: 1.5; }

.btn-card {
    display: block;          
    width: auto;              
    margin: 1rem auto 0 auto; 
    padding: 0.8rem;         
    background: transparent; 
    color: var(--primary-color);            
    border: 2px solid var(--primary-color);            
    border-radius: 50px;     
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;      
    cursor: pointer;
    transition: var(--transition);
}

/* KEEP YOUR EXISTING HOVER EFFECT */
.btn-card:hover {
    background: var(--primary-color); 
    color: white;
    transform: translateY(-3px);     
    box-shadow: 0 10px 20px rgba(20, 184, 166, 0.3); 
}

/* --- 8. MODALS (CONSOLIDATED & FIXED) --- */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0; 
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center; 
    align-items: center; 
    margin: 0; 
    padding: 0;
    backdrop-filter: blur(5px);
}

#imageModal, #cvModal, #projectModal { display: none; }

.project-content {
    width: 1400px; 
    max-width: 90vw; 
    height: 85vh;
    
    background: var(--card-bg);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    overflow: hidden; 
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    border: 1px solid var(--border-color);
}

.project-split {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 0;
    height: 100%; 
    min-height: 0; 
}

/* Left: Gallery */
.project-gallery {
    background: #000;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    height: 100%;
    border-right: 1px solid var(--border-color);
    overflow: hidden; 
}

.main-image-frame { width: 100%; flex: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.main-image-frame img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 5px; box-shadow: 0 5px 20px rgba(0,0,0,0.5); }
.thumbnail-row { display: flex; gap: 10px; height: 60px; justify-content: center; flex-shrink: 0; }
.thumb { height: 100%; width: auto; border-radius: 4px; cursor: pointer; opacity: 0.6; transition: 0.2s; border: 2px solid transparent; }
.thumb.active-thumb, .thumb:hover { opacity: 1; border-color: var(--primary-color); }

/* Right: Details (The Scrollable Part) */
.project-details {
    padding: 3rem;
    
    height: 100%;       
    overflow-y: auto;   
    display: block;     
    
    
    overscroll-behavior: contain; 
    
    padding-bottom: 6rem;
    
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--card-bg);
}

.project-details::-webkit-scrollbar { width: 8px; }
.project-details::-webkit-scrollbar-track { background: var(--card-bg); }
.project-details::-webkit-scrollbar-thumb { background-color: var(--border-color); border-radius: 20px; }

/* Text Styles */
.project-details h2 { font-size: 2.5rem; margin-bottom: 0.5rem; color: var(--text-light); }
.role-badge { display: inline-block; background: rgba(20, 184, 166, 0.1); color: var(--primary-color); padding: 0.4rem 1.2rem; border-radius: 50px; font-size: 0.9rem; font-weight: 600; margin-bottom: 2rem; border: 1px solid rgba(20, 184, 166, 0.3); }
.case-study-section { margin-bottom: 2rem; }
.case-study-section h3, .tech-stack-box h3 { font-size: 1.2rem; color: var(--text-light); margin-bottom: 0.8rem; border-left: 4px solid var(--accent-color); padding-left: 15px; font-weight: 600; }
.case-study-section p { font-size: 1rem; color: var(--text-gray); line-height: 1.7; }
.feature-list { list-style: none; padding: 0; margin-top: 1rem; }
.feature-list li { position: relative; padding-left: 20px; margin-bottom: 0.5rem; color: var(--text-gray); font-size: 0.95rem; }
.feature-list li::before { content: "•"; color: var(--primary-color); position: absolute; left: 0; font-weight: bold; font-size: 1.2rem; line-height: 1; }
.project-links {
    margin-top: 3rem;
    display: flex;           
    justify-content: center; 
    width: 100%;             
}

/* Other Modals */
.modal-content { max-width: 90vw; max-height: 90vh; width: auto; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 0 30px rgba(0,0,0,0.5); animation: zoom 0.3s ease-out; }
.cv-container { background-color: var(--card-bg); width: 80%; height: 85vh; max-width: 1000px; border-radius: 15px; overflow: hidden; animation: zoom 0.3s; }
.cv-frame { width: 100%; height: 100%; border: none; background-color: white; }
.cv-scroll-container { width: 100%; height: 100%; overflow-y: auto; display: flex; flex-direction: column; align-items: center; padding: 4rem 1rem 6rem 1rem; }
.resume-preview { max-width: 800px; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.btn-download-floating { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); background-color: var(--primary-color); color: white; padding: 1rem 2.5rem; border-radius: 50px; font-weight: 700; text-decoration: none; box-shadow: 0 10px 20px rgba(0,0,0,0.4); transition: 0.3s; z-index: 2010; display: flex; align-items: center; gap: 10px; }
.btn-download-floating:hover { background-color: white; color: var(--primary-color); transform: translateX(-50%) translateY(-5px); }
.close { position: absolute; top: 20px; right: 30px; color: #f1f1f1; font-size: 40px; font-weight: bold; cursor: pointer; z-index: 2001; transition: 0.3s; }
.close:hover { color: var(--primary-color); transform: rotate(90deg); }

/* --- MOBILE RESPONSIVENESS (STACK & SCROLL) --- */
@media (max-width: 1000px) {
    .about-split {
        grid-template-columns: 1fr; 
        gap: 3rem;
    }

    
    .giant-name {
        font-size: 3.5rem;
        margin-left: 0;
        text-align: center;
    }
    
    .hero-split {
        flex-direction: column-reverse;
        text-align: center;
        justify-content: center;
    }

    .project-content {
        height: auto; 
        max-height: 95vh; 
        display: block; 
        overflow-y: auto; 
    }
    
    .project-split {
        display: flex;
        flex-direction: column;
        height: auto;
    }

    .project-gallery {
        height: 400px; 
        flex-shrink: 0;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .project-details {
        height: auto;
        overflow-y: visible; 
        padding: 2rem;
        padding-bottom: 6rem;
    }
    
    .resume-preview { max-width: 100%; }
    .btn-download-floating { width: 90%; justify-content: center; }
}
/* --- TOAST NOTIFICATION --- */
#toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--card-bg);
    border-left: 4px solid var(--primary-color);
    color: var(--text-light);
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    
    
    transform: translateX(120%); 
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    border: 1px solid var(--border-color);
}

.toast.show {
    transform: translateX(0); 
}
/* --- PROJECT DISCLAIMER NOTE --- */
.project-disclaimer {
    text-align: center;
    max-width: 800px;
    margin: 4rem auto 0 auto; 
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    background: rgba(18, 24, 38, 0.7); 
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.project-disclaimer strong {
    color: var(--primary-color);
}
/* --- CODE SNIPPET STYLING --- */
.code-snippet-box {
    margin-top: 2rem;
}

.code-snippet-box h3 {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
    font-weight: 600;
}

pre {
    background: #282c34; 
    padding: 1rem;
    border-radius: 10px;
    overflow-x: auto; 
    border: 1px solid var(--border-color);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

code {
    font-family: 'Fira Code', 'Consolas', monospace; 
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --- REVEAL ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
    filter: blur(6px);
    transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
    will-change: opacity, transform, filter;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto; }
    .reveal,
    .reveal.active,
    .profile-photo {
        animation: none;
        transition: none;
        transform: none;
        filter: none;
        opacity: 1;
    }
}