
            /* portfolio */
    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(135deg, #49558d 0%, #764ba2 100%); color: #333; line-height: 1.6; overflow-x: hidden; }
    .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
    .bg-animation { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
    .floating-shape { position: absolute; background: rgba(255, 255, 255, 0.1); border-radius: 50%; animation: float 8s ease-in-out infinite; }
    .shape1 { width: 80px; height: 80px; top: 15%; left: 10%; animation-delay: 0s; }
    .shape2 { width: 120px; height: 120px; top: 70%; right: 15%; animation-delay: 2s; }
    .shape3 { width: 60px; height: 60px; top: 40%; left: 80%; animation-delay: 4s; }
    @keyframes float { 0%, 100% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-30px) rotate(180deg); } }
    .sidenav { height: 100%; width: 0; position: fixed; z-index: 1001; top: 0; left: 0; background: linear-gradient(135deg, black, #4d4949); overflow-x: hidden; transition: 0.5s; padding-top: 60px; }
    .sidenav a { padding: 10px 15px 10px 32px; text-decoration: none; font-size: 22px; color: #ccc; display: flex; align-items: center; gap: 15px; transition: 0.3s; }
    .sidenav a:hover { color: #ff4d00; }
    .sidenav a .fas, .sidenav a .fab { width: 25px; text-align: center; }
    .sidenav .closebtn { position: absolute; top: 5px; right: 15px; font-size: 36px; color: white; text-decoration: none; background: none; border: none; cursor: pointer; }
    #main { transition: margin-left .5s; }
    header { position: sticky; top: 0; width: 100%; background: linear-gradient(135deg, rgba(14, 14, 14, 0.838), rgba(54, 51, 51, 0.904)); backdrop-filter: blur(10px); border-bottom: 2px solid rgba(255, 77, 0, 0.3); z-index: 1000; padding: 1rem 0; }
    .nav-container { display: flex; justify-content: space-between; align-items: center; }
    .logo-container { display: flex; align-items: center; gap: 15px; }
    .logo-image { width: 80px; height: 60px; object-fit: contain; transition: transform 0.3s ease; }
    .logo-image:hover { transform: scale(1.05); }
    h2 { font-weight: 700; letter-spacing: 1px; background: linear-gradient(90deg, #00f7ff, #00d9f5, #00b3e6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: titleGlow 3s ease-in-out infinite alternate; }
    @keyframes titleGlow { from { filter: brightness(1); } to { filter: brightness(1.2); } }
    .open-nav { font-size: 30px; cursor: pointer; color: white; transition: color 0.3s ease; background: none; border: none; padding: 0; }
    .open-nav:hover { color: #ff4d00; }
    .hero { min-height: 90vh; display: flex; align-items: center; justify-content: center; text-align: center; color: white; padding: 4rem 0; }
    .hero-content { max-width: 800px; }
    .hero-greeting { font-size: 1.5rem; color: rgba(255, 255, 255, 0.9); margin-bottom: 1rem; }
    .hero h1 { font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 800; margin-bottom: 1.5rem; }
    .hero-description { font-size: 1.2rem; margin-bottom: 3rem; max-width: 600px; margin-left: auto; margin-right: auto; }
    .btn { padding: 15px 40px; border-radius: 30px; text-decoration: none; font-weight: bold; font-size: 18px; transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem; }
    .btn-primary { background: white; color: #ff4d00; }
    .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); background: #f0f0f0; }
    section { padding: 80px 0; }
    .content-wrapper { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-radius: 20px; padding: 60px 5%; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1); margin-top: -80px; position: relative; z-index: 10; }
    .section-header { text-align: center; margin-bottom: 4rem; }
    .section-title { font-size: 42px; font-weight: 700; margin-bottom: 1rem; color: #764ba2; background: linear-gradient(45deg, #667eea, #764ba2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    .section-subtitle { font-size: 1.2rem; color: #666; max-width: 600px; margin: 0 auto; }
    .about-content { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: center; }
    .profile-image { width: 100%; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: transform 0.3s ease; }
    .profile-image:hover { transform: scale(1.05); }
    .about-text p { margin-bottom: 1.5rem; color: #555; }
    .grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
    .card { background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%); padding: 2rem; border-radius: 20px; border: 2px solid transparent; transition: all 0.4s ease; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); display: flex; flex-direction: column;}
    .card:hover { transform: translateY(-10px); border-color: rgba(255, 77, 0, 0.3); }
    .card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: #333; }
    .card p { flex-grow: 1; margin-bottom: 1rem; }
    .card .project-media { width: 100%; height: 200px; object-fit: cover; border-radius: 10px; margin-bottom: 1.5rem; background-color: #e0e0e0; }
    .tech-tag { display: inline-block; background: linear-gradient(45deg, #667eea, #764ba2); color: white; padding: 5px 12px; border-radius: 15px; font-size: 12px; margin: 5px 5px 5px 0; font-weight: 500; }
    .project-links { margin-top: auto; }
    .project-links a { color: #ff4d00; text-decoration: none; font-weight: 600; margin-right: 1.5rem; transition: color 0.3s ease; }
    .project-links a:hover { color: #764ba2; }
    .contact-wrapper { background: rgba(0, 0, 0, 0.8); color: white; padding: 80px 0; }
    .contact-wrapper .section-title { color: white; -webkit-text-fill-color: white; }
    .contact-wrapper .section-subtitle { color: rgba(255,255,255,0.8); }

    /* --- FIX: Make section titles visible on dark backgrounds --- */
    /* The .section-title style uses a gradient that matches the body background, making it invisible. */
    /* This rule applies a solid white color to the title in the #skills section, which doesn't have a light content-wrapper. */
    #skills .section-title {
        color: white;
        -webkit-text-fill-color: white; /* Override transparent text fill */
        background: none; /* Remove the conflicting gradient background */
    }
    /* Make the subtitle in the #skills section white as well for readability. */
    #skills .section-subtitle {
        color: rgba(255, 255, 255, 0.9);
    }
    /* --- END FIX --- */

    .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
    .form-control { width: 100%; padding: 1rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; color: white; font-size: 1rem; transition: all 0.3s ease; margin-bottom: 1rem; }
    .form-control:focus { outline: none; border-color: #ff4d00; background: rgba(255,255,255,0.15); }
    footer { background: rgba(0, 0, 0, 0.9); color: white; text-align: center; padding: 2rem; }
    footer p { margin: 0; font-size: 16px; opacity: 0.8; }
    @media (max-width: 992px) { .about-content, .contact-grid { grid-template-columns: 1fr; } }
    @media (max-width: 768px) { .hero-content h1 { font-size: 2.5rem; } .hero-description { font-size: 1.1rem; } .section-title { font-size: 32px; } .content-wrapper { margin-top: 0; border-radius: 0; } section { padding: 60px 0; } }
