
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; font-family: "Poppins", sans-serif; }
body { 
    min-height: 100vh;
    margin: 0;
    background-color: #000000;
    background-attachment: fixed;
    color: #e2e8f0;
    overflow-x: hidden;
    

}
a { text-decoration: none; color: inherit; transition: 0.3s; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

header{ 
    background-image: linear-gradient(to bottom, #461048, #1e293b);
    color:#ffffff;
    padding: 20px 0;
    border-bottom: 1px solid #1e293b;
    width: 100%;
    height: 70px;
    z-index: 999;
    position:fixed;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    
 }
.logo{ 
    margin-left: 30px; 
    font-size: 2rem; 
    font-weight: 700; 
    color: #38bdf8;
    width: 50%;
    
 }
.nav-menu a { margin-right: 30px; font-weight: 600; color: #cbd5e1;
    width: 50%;
    }
.nav-menu a:hover { color: #38bdf8;background-color: #020020;padding:10px 10px ;border-radius: 12px; }

.main-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 90vh;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    gap: 60px;
}

.hero-content { padding-right: 10px; }
.greeting { color: #94a3b8; letter-spacing: 2px; font-size: 0.9rem; font-weight: 600; margin-bottom: 10px; }
h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 15px; color: white; }
h1 .highlight { color: #38bdf8; } 
.subtitle { font-size: 1.1rem; color: #cbd5e1; margin-bottom: 30px; font-weight: 300; }

.bio-box {
    background: rgba(30, 41, 59, 0.5);
    padding: 20px;
    border-left: 4px solid #38bdf8;
    border-radius: 0 8px 8px 0;
    margin-bottom: 30px;
    color: #94a3b8;
    line-height: 1.6;
}


.skills-dashboard { display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.section-label { text-align: right; color: #64748b; font-size: 0.8rem; letter-spacing: 1px; margin-bottom: 10px; text-transform: uppercase; }

.skill-card {
    background: #1e293b;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid #334155;
    transition: 0.3s;
}
.skill-card:hover { transform: translateX(-5px); border-color: #600000; }


.c-lang { border-left: 4px solid #06b6d4; }
.html-css { border-left: 4px solid #06b6d4; }
.python { border-left: 4px solid #f97316; }

.skill-header { display: flex; align-items: center; gap: 15px; margin-bottom: 12px; }
.skill-icon { font-size: 1.5rem; color: #cbd5e1; }
.skill-info h3 { font-size: 1rem; color: white; margin-bottom: 2px; }
.skill-info .level { font-size: 0.75rem; color: #94a3b8; }

.progress-bar { height: 6px; background: #0f172a; border-radius: 3px; overflow: hidden; }
.progress-bar .fill { height: 100%; border-radius: 3px; }
.c-lang .fill { background: #06b6d4; }
.html-css .fill { background: #06b6d4; }
.python .fill { background: #f97316; }


.section-dark { padding: 80px 0; 
   
     }
.split-about { 
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px; 
    align-items: center;
}

.about-photo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-photo img {
    width: 300px;
    height: 360px;
    object-fit: cover;
    object-position: center top;
    margin: 0 auto;
    display: block;
    border-radius: 15px;
    border: 1px solid #334155;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.about-text .section-title { font-size: 2rem; color: white; margin-bottom: 20px; border-left: 4px solid #38bdf8; padding-left: 15px; }
.about-text p { color: #cbd5e1; line-height: 1.7; margin-bottom: 20px; }

.courses { font-size: 0.9rem; font-style: italic; color: #94a3b8; }

/* --- 3. PROJECTS SECTION --- */
.section-light { padding: 80px 0; } /* Slightly lighter dark bg */
.section-light .section-title { font-size: 2rem; color: white; margin-bottom: 40px; border-left: 4px solid #38bdf8; padding-left: 15px; }

.projects-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 25px; 
}

.project-card {
    background: #1e293b;
    border-radius: 10px;
    padding: 25px;
    border: 1px solid #334155;
    transition: 0.3s;
    display: flex; flex-direction: column;
}
.project-card:hover { transform: translateY(-5px); border-color: #38bdf8; }

.card-icon { 
    width: 45px; height: 45px; 
    background: #0f172a; 
    border-radius: 8px; 
    display: flex; align-items: center; justify-content: center; 
    color: #38bdf8; font-size: 1.2rem; 
    margin-bottom: 15px;
}
.card-content h3 { font-size: 1.1rem; color: white; margin-bottom: 10px; }
.card-content p { font-size: 0.9rem; color: #94a3b8; margin-bottom: 15px; line-height: 1.5; flex-grow: 1; }
.tags { margin-bottom: 20px; }
.tags span { 
    display: inline-block; 
    font-size: 0.75rem; 
    background: #334155; 
    color: #cbd5e1; 
    padding: 4px 8px; 
    border-radius: 4px; 
    margin-right: 5px; margin-bottom: 5px;
}
.link-text { font-size: 0.85rem; font-weight: bold; color: #38bdf8; display: flex; align-items: center; gap: 5px; }

/* --- CODE SNIPPET CONTAINER --- */
.code-toggle-btn {
    background: none;
    border: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.78rem;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.2s;
    font-family: inherit;
}
.code-toggle-btn:hover { border-color: #38bdf8; color: #38bdf8; }
.code-toggle-btn.open i { transform: rotate(180deg); }

.code-container {
    display: none;
    margin-top: 12px;
    background: #0f172a;
    border: 1px solid #1e3a5f;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
}
.code-container.visible { display: block; }

.code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    background: #1a2840;
    border-bottom: 1px solid #1e3a5f;
}
.code-header .lang-tag {
    font-size: 0.7rem;
    color: #38bdf8;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.code-header .dot-group { display: flex; gap: 5px; }
.code-header .dot { width: 9px; height: 9px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.code-container pre {
    margin: 0;
    padding: 14px;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 300px;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: 'Courier New', monospace;
    font-size: 0.78rem;
    line-height: 1.6;
    color: #cbd5e1;
    width: 100%;
    box-sizing: border-box;
}
.code-container pre .kw { color: #c084fc; }
.code-container pre .fn { color: #38bdf8; }
.code-container pre .str { color: #86efac; }
.code-container pre .cm { color: #64748b; }
.code-container pre .num { color: #fb923c; }

.footer-section { text-align: center; padding-bottom: 40px; }
.center { text-align: center; border: none; padding: 0; }
.contact-subtitle { color: #94a3b8; margin-bottom: 40px; }

.contact-grid { 
    display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-bottom: 50px; 
}
.contact-item { text-align: center; }
.contact-item i { font-size: 1.5rem; color: #38bdf8; margin-bottom: 10px; }
.contact-item p { color: #cbd5e1; font-size: 0.95rem; }

.footer-copy { border-top: 1px solid #1e293b; padding-top: 20px; font-size: 0.8rem; color: #64748b; }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .main-wrapper, .split-about { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-content { padding-right: 0; }
    .bio-box { margin: 0 auto 30px auto; border-left: none; border-top: 4px solid #38bdf8; }
    .section-label { text-align: center; }
    .skill-card { text-align: left; }
    .about-text .section-title { border: none; }
    .contact-grid { gap: 20px; }
}