* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, #0a192f, #1e3a8a);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

.navbar {
    background: rgba(10, 25, 47, 0.95);
    position: fixed;
    top: 0; width: 100%; z-index: 1000;
    padding: 20px 0; backdrop-filter: blur(10px);
}
.nav-container {
    max-width: 1300px; margin: 0 auto; padding: 0 40px;
    display: flex; justify-content: space-between; align-items: center;
}
.nav-logo { font-size: 2rem; color: #facc15; font-weight: 700; letter-spacing: 2px; }
.nav-menu { display: flex; gap: 30px; list-style: none; }
.nav-menu a { color: #fff; text-decoration: none; font-size: 1.2rem; transition: 0.3s; }
.nav-menu a:hover { color: #facc15; transform: scale(1.1); }

.hero {
    height: 90vh; display: flex; align-items: center; justify-content: center;
    text-align: center; position: relative; margin-top: 80px;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png'); opacity: 0.1;
}
.hero-content { z-index: 1; max-width: 1000px; }
.hero-content h1 { font-size: 4rem; margin-bottom: 15px; text-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.hero-content p { font-size: 1.6rem; margin-bottom: 30px; opacity: 0.9; }
.hero-links { display: flex; gap: 20px; justify-content: center; }
.btn, .btn-github {
    padding: 15px 40px; border-radius: 50px; font-weight: 600; text-decoration: none;
    display: inline-block; transition: 0.3s; box-shadow: 0 5px 15px rgba(250,204,21,0.4);
}
.btn { background: #facc15; color: #0a192f; }
.btn:hover { background: #e8b400; transform: translateY(-3px); }
.btn-github { background: #333; color: #fff; }
.btn-github:hover { background: #222; }

.section { padding: 120px 0; background: #fff; color: #1a202c; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 40px; }
h1 { font-size: 2.5rem; color: #1e3a8a; text-align: center; margin-bottom: 50px; }

.about-content, .contact-info { background: rgba(255,255,255,0.95); padding: 40px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.about-content p { font-size: 1.3rem; line-height: 1.9; margin-bottom: 20px; color: #2d3748; }

.education-grid, .skills-grid, .certification-grid, .projects-grid {
    display: grid; gap: 30px; padding: 20px;
}
.education-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.skills-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.certification-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.projects-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.education-card, .certification-card, .project-card {
    background: #f7fafc; padding: 25px; border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: 0.3s;
}
.education-card:hover, .project-card:hover { transform: translateY(-10px); }
.education-logo { width: 120px; margin-bottom: 15px; filter: grayscale(30%); transition: 0.3s; }
.education-card:hover .education-logo { filter: grayscale(0); }

.skill-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-tag { background: #facc15; color: #0a192f; padding: 8px 16px; border-radius: 25px; font-size: 1rem; }

.project-tech span { background: #1e3a8a; color: #fff; padding: 6px 12px; border-radius: 15px; font-size: 0.9rem; margin-right: 8px; }
.project-link { display: block; margin-top: 15px; color: #facc15; text-decoration: none; font-weight: 600; }
.project-link:hover { text-decoration: underline; }

.contact-content { display: flex; gap: 50px; max-width: 1100px; margin: 0 auto; }
.contact-info, .contact-form { flex: 1; }
.contact-item { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; font-size: 1.2rem; }
.contact-item i { color: #facc15; font-size: 1.5rem; }
.contact-item a { color: #facc15; text-decoration: none; }
.contact-item a:hover { color: #e8b400; text-shadow: 0 0 10px rgba(250,204,21,0.5); }

.contact-form input, .contact-form textarea {
    width: 100%; padding: 15px; margin-bottom: 15px; border: 2px solid #e2e8f0;
    border-radius: 10px; background: #f7fafc; font-size: 1.1rem;
}
.contact-form .btn { width: 100%; }

footer { background: #0a192f; color: #fff; text-align: center; padding: 25px 0; }
footer p { opacity: 0.8; letter-spacing: 1px; }

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1.3rem; }
    .contact-content { flex-direction: column; }
    .nav-menu { display: none; position: absolute; top: 70px; left: 0; width: 100%; background: rgba(10,25,47,0.95); flex-direction: column; padding: 20px 0; }
    .nav-menu.active { display: flex; }
}
