@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;800&display=swap');

:root {
    --bg-main: #0a0a0a;
    --text-light: #f5f5f5;
    --text-muted: #a3a3a3;
    --primary: #a855f7; 
    --secondary: #ec4899;
    --accent: #f9a826; 
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Outfit', sans-serif; scroll-behavior: smooth; }
body { background-color: var(--bg-main); color: var(--text-light); overflow-x: hidden; }

.bg-blob { position: fixed; filter: blur(150px); opacity: 0.12; z-index: -1; border-radius: 50%; }
.blob-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: var(--primary); }
.blob-2 { bottom: -10%; right: -10%; width: 40vw; height: 40vw; background: var(--secondary); }
.gradient-text { background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; color: transparent; }
.section-padding { padding: 100px 8%; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 3rem; font-weight: 800; }
.glass-card { background: var(--card-bg); backdrop-filter: blur(20px); border: 1px solid var(--card-border); border-radius: 24px; padding: 40px; transition: 0.4s ease; }

/* Navbar */
.navbar { position: fixed; width: 100%; top: 0; z-index: 1000; background: rgba(10,10,10,0.85); backdrop-filter: blur(15px); border-bottom: 1px solid var(--card-border); padding: 15px 8%; display: flex; align-items: center;}
.nav-container { display: flex; width: 100%; align-items: center; justify-content: space-between; }
.nav-links { display: flex; list-style: none; gap: 30px; flex: 1; }
.nav-left { justify-content: flex-end; padding-right: 40px;}
.nav-right { justify-content: flex-start; padding-left: 40px;}
.nav-links a { color: var(--text-light); text-decoration: none; font-size: 1.05rem; font-weight: 500; transition: 0.3s;}
.nav-links a:hover { color: var(--primary); }

.logo-center { text-decoration: none; z-index: 1001;}
.logo-circle { width: 80px; height: 80px; background: var(--bg-main); border: 2px solid var(--primary); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);}
.logo-circle i { color: var(--secondary); font-size: 1.2rem; margin-bottom: 2px;}
.logo-circle span { color: white; font-weight: 800; font-size: 0.8rem; letter-spacing: 1px;}
.menu-btn { display: none; font-size: 2rem; color: white; cursor: pointer; z-index: 1001; }

/* Buttons & Hero */
.btn { padding: 15px 30px; border-radius: 50px; text-decoration: none; font-weight: 600; cursor: pointer; transition: 0.4s; display: inline-flex; align-items: center; gap: 10px; font-size: 1.1rem; border: none;}
.primary-btn { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; }
.primary-btn:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(236, 72, 153, 0.4);}
.outline-btn { background: transparent; color: white; border: 2px solid var(--primary); }
.outline-btn:hover { background: var(--primary); transform: translateY(-5px); box-shadow: 0 10px 25px rgba(168, 85, 247, 0.4);}

.home { display: flex; align-items: center; justify-content: space-between; min-height: 100vh; padding-top: 150px; gap: 50px;}
.hero-content h1 { font-size: 4rem; font-weight: 800;}
.hero-content h2 { font-size: 2.5rem; height: 50px;}
.cursor { animation: blink 0.7s infinite; color: var(--primary);}
@keyframes blink { 50% { opacity: 0; } }
.subtitle { color: var(--text-muted); margin-bottom: 40px; font-size: 1.1rem; line-height: 1.7;}
.btn-group { display: flex; gap: 20px; flex-wrap: wrap;}
.hero-image { perspective: 1000px; transform-style: preserve-3d; cursor: pointer;}
.main-img { width: 100%; max-width: 450px; border-radius: 30px; box-shadow: 0 20px 50px rgba(0,0,0,0.8); transition: transform 0.1s ease-out;}

/* Sections Grid & Tabs */
.about-container { display: grid; grid-template-columns: 1fr 2.5fr; gap: 40px; }
.years-exp h2 { font-size: 6rem; line-height: 1; text-align: center;}
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.icon-wrapper { width: 80px; height: 80px; margin: 0 auto 20px; background: rgba(168, 85, 247, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--primary);}

.resume-wrapper { display: flex; gap: 50px; }
.resume-tabs { display: flex; flex-direction: column; gap: 15px; min-width: 250px;}
.resume-btn { padding: 15px; background: transparent; border: 1px solid transparent; color: white; border-radius: 15px; cursor: pointer; text-align: left; font-size: 1.1rem;}
.resume-btn.active { background: rgba(168, 85, 247, 0.1); border-color: var(--primary); color: var(--primary);}
.resume-content { flex: 1; }
.skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px;}
.progress-bar { width: 100%; height: 8px; background: rgba(255,255,255,0.1); border-radius: 20px; margin-top: 5px;}
.progress { height: 100%; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 20px; }
.timeline-item { border-left: 2px solid var(--primary); padding-left: 20px; margin-bottom: 30px; margin-left: 10px;}
.year { color: var(--primary); font-weight: 600; }

/* Projects */
.project-filters { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;}
.filter-btn { background: transparent; color: white; border: none; font-size: 1.1rem; cursor: pointer; padding: 10px 20px; border-radius: 30px; transition: 0.3s;}
.filter-btn.active { background: rgba(168, 85, 247, 0.1); border: 1px solid var(--primary); color: var(--primary);}
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; }
.project-card { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--card-border);}
.project-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 10, 10, 0.85); display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: 0; transition: 0.4s; backdrop-filter: blur(5px);}
.project-card:hover .project-overlay { opacity: 1; }
.project-overlay h3 { color: white; margin-bottom: 20px; transform: translateY(-20px); transition: 0.4s;}
.project-card:hover .project-overlay h3 { transform: translateY(0); }
.icons-container { display: flex; gap: 20px;}
.icon-link { width: 50px; height: 50px; border: 2px solid var(--accent); border-radius: 50%; display: flex; justify-content: center; align-items: center; color: var(--accent); font-size: 1.2rem; text-decoration: none; transition: 0.3s;}
.icon-link:hover { background: var(--accent); color: white; }

/* Testimonials */
.testimonials { text-align: center; }
.testimonial-slider { max-width: 800px; margin: 0 auto; position: relative; padding: 40px;}
.slide { display: none; animation: fade 0.6s ease-in-out;}
.slide.active { display: block; }
.client-img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary); margin-bottom: 20px;}
.review-text { font-size: 1.2rem; font-style: italic; color: var(--text-light); margin-bottom: 20px; line-height: 1.6;}
.client-name { font-size: 1.4rem; font-weight: 600; margin-bottom: 5px;}
.client-role { font-size: 0.9rem; letter-spacing: 1px; font-weight: 500;}
.slider-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px;}
.dot { width: 12px; height: 12px; background: rgba(255,255,255,0.2); border-radius: 50%; cursor: pointer; transition: 0.3s;}
.dot.active { background: var(--accent); transform: scale(1.2); }

/* Modals */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.9); backdrop-filter: blur(10px); align-items: center; justify-content: center; }
.modal-inner { position: relative; max-width: 90%; width: 800px; background: var(--card-bg); padding: 20px; border-radius: 15px; border: 1px solid var(--card-border); text-align: center; animation: zoomIn 0.3s ease;}
.modal-content { width: 100%; max-height: 70vh; object-fit: contain; border-radius: 10px; margin-bottom: 15px;}
.modal-footer { display: flex; justify-content: space-between; align-items: center; padding: 0 10px;}
#modal-caption { color: var(--text-muted); font-size: 1.1rem;}
.close-modal { color: white; font-size: 1.5rem; cursor: pointer; transition: 0.3s; background: rgba(255,255,255,0.1); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%;}
.close-modal:hover { background: var(--primary); }

.video-inner { padding: 0; overflow: visible; background: transparent; border: none; }
.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 15px;}
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 15px;}
.close-video-modal { position: absolute; top: -50px; right: 0; }

@keyframes zoomIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Contact & Footer */
.contact-container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; }
.info-box { display: flex; gap: 20px; margin-bottom: 30px;}
.info-box i { font-size: 2rem; }
.input-row { display: flex; gap: 20px; margin-bottom: 20px;}
.contact-form input, .contact-form textarea { width: 100%; padding: 20px; background: rgba(0,0,0,0.3); border: 1px solid var(--card-border); border-radius: 15px; color: white; outline: none; }
footer { text-align: center; padding: 30px; border-top: 1px solid var(--card-border); background: rgba(0,0,0,0.6); }

/* Responsive (Mobile/Tablet) */
@media(max-width: 950px) {
    .navbar { justify-content: space-between; padding: 15px 5%;}
    .menu-btn { display: block; }
    .nav-container { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: rgba(10,10,10,0.95); padding: 20px 0;}
    .nav-container.active { display: flex; }
    .nav-links { flex-direction: column; gap: 20px; text-align: center; padding: 0;}
    .logo-center { display: none; }
    
    .home { flex-direction: column; text-align: center; padding-top: 120px;}
    .hero-content h1 { font-size: 3rem;}
    .hero-image { width: 100%; max-width: 350px; margin-top: 30px;}
    .btn-group { justify-content: center; }
    
    .about-container, .contact-container, .skills-grid, .resume-wrapper { grid-template-columns: 1fr; flex-direction: column;}
    .input-row { flex-direction: column; }
}