/*!
Theme Name: Anand Digital Portfolio
Theme URI: https://ananddigital.shop/
Author: Anand Jha
Author URI: https://ananddigital.shop/
Description: Clean, High-Performance, Glassmorphism Dark Theme Portfolio
Version: 1.0.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: anand-digital-portfolio
*/
 *{margin:0;padding:0;box-sizing:border-box;scroll-behavior:smooth}:root{--bg-color:#0b0f19;--card-bg:#151c2c;--primary-color:#6366f1;--secondary-color:#a855f7;--text-main:#f3f4f6;--text-muted:#9ca3af;--font-family:'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;--border-color:rgba(255, 255, 255, 0.08)}[data-theme="light"]{--bg-color:#f8fafc;--card-bg:#ffffff;--text-main:#0f172a;--text-muted:#64748b;--border-color:rgba(0, 0, 0, 0.08)}body{background-color:#030a16;color:#fff;font-family:var(--font-family);overflow-x:hidden;line-height:1.6}section{position:relative;z-index:10;padding:80px 0}.container{max-width:1200px;margin:0 auto;width:100%;padding:0 24px}h1,h2,h3,h4,h5,h6{color:#fff;text-shadow:0 4px 12px rgb(0 0 0 / .7),0 2px 4px rgb(0 242 254 / .2);font-weight:700}p,.hero-text p,.about-description p,footer p{color:#e2e8f0;text-shadow:0 2px 8px rgb(0 0 0 / .8);font-size:17px}.text-gradient{background:linear-gradient(135deg,#818cf8,#c084fc);-webkit-background-clip:text;-webkit-text-fill-color:#fff0}.typer-text{color:#00f2fe;text-shadow:0 0 10px rgb(0 242 254 / .5)}.cursor{display:inline-block;background-color:var(--primary-color);margin-left:2px;width:3px;animation:blink 0.7s infinite}.cyber-grid-bg{position:fixed;top:0;left:0;width:100vw;height:100vh;background-color:#030a16;background-image:url(/wp-content/themes/anand-digital-portfolio/images/bg-img.webp);background-size:100% auto;background-position:center bottom;background-repeat:no-repeat;z-index:-9999;overflow:hidden;perspective:800px;transform:translateY(10%);transform-origin:bottom center}.cyber-grid-bg::before{content:'';position:absolute;width:200%;height:200%;bottom:-50%;left:-50%;background-image:linear-gradient(rgb(0 242 254 / .08) 1.5px,transparent 1.5px),linear-gradient(90deg,rgb(0 242 254 / .08) 1.5px,transparent 1.5px);background-size:55px 55px;transform:rotateX(65deg);transform-origin:bottom center;mask-image:linear-gradient(to top,rgb(0 0 0) 0%,rgb(0 0 0 / .4) 70%,transparent 100%);-webkit-mask-image:linear-gradient(to top,rgb(0 0 0) 0%,rgb(0 0 0 / .4) 70%,transparent 100%)}.cyber-grid-bg::after{content:'';position:fixed;top:0;left:0;width:100vw;height:100vh;background:rgb(3 10 22 / .65);backdrop-filter:blur(2px);z-index:1;pointer-events:none}header,.navbar{height:80px;display:flex;align-items:center;justify-content:space-between;padding:0 8%;position:fixed;width:100%;top:0;z-index:1000;background:var(--bg-color);opacity:.95;backdrop-filter:blur(12px);border-bottom:1px solid var(--border-color);transition:all 0.3s ease}.logo{display:flex;align-items:center;height:100%;z-index:99999}.logo a{text-decoration:none}.cyber-logo-monogram{display:flex;align-items:center;font-family:var(--font-family);font-weight:800;font-size:24px;letter-spacing:1px}.logo-bracket{color:rgb(0 242 254 / .4);transition:all 0.3s ease}.logo-letters{color:#fff;padding:0 2px;text-shadow:0 0 10px rgb(0 242 254 / .5);transition:all 0.3s ease}.logo-dot{color:#00f2fe;text-shadow:0 0 8px #00f2fe}.cyber-logo-monogram:hover .logo-letters{color:#00f2fe;text-shadow:0 0 15px #00f2fe}.cyber-logo-monogram:hover .logo-bracket{color:#fff}.nav-links{display:flex;list-style:none}.nav-links li a{color:#cbd5e1;text-shadow:0 1px 3px rgb(0 0 0 / .5);text-decoration:none;padding:8px 16px;font-weight:500;transition:color 0.3s}.nav-links li a:hover,.nav-links li a.active{color:#00f2fe}.nav-buttons{display:flex;align-items:center;gap:20px}.nav-btn{background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));color:#fff;text-decoration:none;padding:10px 24px;border-radius:30px;font-weight:600;transition:transform 0.3s,box-shadow 0.3s}.nav-btn:hover{transform:translateY(-2px);box-shadow:0 5px 15px rgb(99 102 241 / .4)}.theme-toggle,.theme-btn{background:#fff0;border:1px solid rgb(255 255 255 / .15);color:#fff;font-size:18px;cursor:pointer;padding:10px;width:42px;height:42px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;transition:all 0.3s ease;margin-right:5px}.theme-toggle:hover,.theme-btn:hover{background:rgb(0 242 254 / .1);border-color:#00f2fe;color:#00f2fe}.menu-toggle{display:none;cursor:pointer}.hero{min-height:100vh;display:flex;align-items:center;padding-top:100px;padding-bottom:40px;position:relative;background:radial-gradient(circle at 75% 30%,rgb(0 242 254 / .18) 0%,rgb(3 20 42 / .85) 50%,rgb(3 10 22 / .95) 100%);border-bottom:1px solid rgb(0 242 254 / .1)}.hero-container{max-width:1200px;margin:0 auto;width:100%;padding:0 40px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;position:relative;z-index:2}.hero-text{max-width:580px;background:#fff0;z-index:10}.hero-text h1{font-size:52px;line-height:1.2;margin-bottom:16px}.hero-subtitle{font-size:24px;font-weight:600;margin-bottom:20px;color:#fff}.badge{background:rgb(99 102 241 / .1);border:1px solid rgb(99 102 241 / .2);color:#818cf8;padding:6px 16px;border-radius:20px;font-size:14px;font-weight:600;display:inline-block;margin-bottom:24px}.hero-actions{display:flex;gap:16px}.btn{padding:14px 32px;border-radius:8px;font-weight:600;text-decoration:none;display:inline-flex;align-items:center;gap:8px;transition:all 0.3s;cursor:pointer;border:none}.btn-primary{background:var(--primary-color);color:#fff}.btn-secondary{background:rgb(255 255 255 / .05);color:var(--text-main);border:1px solid var(--border-color)}.hero-image-container{flex:0 1 500px;display:flex;justify-content:flex-end;align-items:center;position:relative;z-index:5;margin-top:-60px}.nexus-svg-wrapper{width:100%;max-width:480px;height:auto;animation:masterFloat 6s ease-in-out infinite alternate}.animated-hero-svg{width:100%;height:auto;filter:drop-shadow(0 10px 25px rgb(0 242 254 / .15))}.about-content,.skill-card,.project-card,.contact-box,.timeline-content{background:rgb(9 24 48 / .75);border:1px solid rgb(0 242 254 / .15);backdrop-filter:blur(10px);box-shadow:0 15px 35px rgb(0 0 0 / .4)}.section-header{text-align:center;margin-bottom:25px}.sub-title{color:var(--primary-color);text-transform:uppercase;font-size:14px;font-weight:600;letter-spacing:2px;display:block;margin-bottom:6px}.section-header h2{font-size:36px}#about{width:100%;padding:20px 0 0 0}#about .container{max-width:100%;width:100%;padding:0}.about-grid-layout{display:flex;flex-wrap:wrap;align-items:flex-start;gap:30px;width:100%;background:rgb(3 15 36 / .45);padding:50px 10%;border-top:1px solid rgb(0 242 254 / .15);border-bottom:1px solid rgb(0 242 254 / .15);backdrop-filter:blur(2px);box-shadow:0 20px 50px rgb(0 0 0 / .4)}.about-grid-layout .section-header{text-align:left;margin-bottom:15px;width:100%}.about-grid-layout .section-header h2{font-size:38px;margin-top:5px}.about-description{flex:1 1 500px}.about-description p{text-align:left;margin-bottom:30px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:20px;text-align:left}.stat-item h3{font-size:36px;color:var(--primary-color);margin-bottom:2px}.about-graphic-side{flex:1 1 400px;display:flex;justify-content:center;align-items:center;position:relative;height:360px;z-index:5}.image-wrapper{position:relative;width:280px;height:280px}.main-circle{width:100%;height:100%;border-radius:50%;background:linear-gradient(135deg,rgb(99 102 241 / .05),rgb(168 85 247 / .05));border:2px dashed rgb(0 242 254 / .4);display:flex;align-items:center;justify-content:center;animation:rotateCircle 40s linear infinite}.center-icon{font-size:48px;color:#00f2fe;text-shadow:0 0 10px rgb(0 242 254 / .6);animation:counterRotate 40s linear infinite}.mockup-card{position:absolute;background:rgb(21 28 44 / .9);border:1px solid rgb(0 242 254 / .2);padding:14px;border-radius:12px;display:flex;align-items:center;gap:10px;box-shadow:0 20px 40px rgb(0 0 0 / .3);z-index:10;width:max-content}.mockup-card i{font-size:20px;color:#00f2fe;background:rgb(0 242 254 / .1);padding:8px;border-radius:8px}.mockup-card h4{font-size:15px;margin-bottom:2px}.mockup-card p{font-size:12px;color:var(--text-muted);text-shadow:none}.card-1{top:10px;left:-40px;animation:floatAnim 4s ease-in-out infinite alternate}.card-2{bottom:20px;right:-40px;animation:floatAnim 4s ease-in-out infinite alternate-reverse}.education{padding-top:80px}.timeline{position:relative;max-width:800px;margin:30px auto 0 auto}.timeline::after{content:'';position:absolute;width:3px;background:#00f2fe;box-shadow:0 0 10px rgb(0 242 254 / .6);top:0;bottom:0;left:50%;margin-left:-1.5px;z-index:1}.timeline-item{padding:10px 40px;position:relative;width:50%}.timeline-item:nth-child(odd){left:0}.timeline-item:nth-child(even){left:50%}.timeline-dot{width:16px;height:16px;position:absolute;background:#00f2fe;border:3px solid #151c2c;border-radius:50%;top:25px;z-index:2;box-shadow:0 0 8px #00f2fe}.timeline-item:nth-child(odd) .timeline-dot{right:-8px}.timeline-item:nth-child(even) .timeline-dot{left:-8px}.timeline-date{font-weight:600;color:var(--secondary-color);margin-bottom:8px}.timeline-content{border-radius:12px;padding:24px;position:relative;z-index:5}.institution{font-size:14px;color:var(--text-muted);margin-bottom:8px;font-style:italic}.work{padding-top:80px}.skills-grid{margin-top:30px;margin-bottom:50px;display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px}.skill-card{padding:24px;border-radius:12px;transition:transform 0.3s cubic-bezier(.25,1,.5,1)}.skill-card:hover{transform:translateY(-4px);border-color:rgb(0 242 254 / .3)}.skill-info{display:flex;justify-content:space-between;margin-bottom:12px;font-weight:600}.progress-line{height:6px;width:100%;background:rgb(255 255 255 / .1);border-radius:10px;position:relative;overflow:hidden}.project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:32px}.project-card{border-radius:16px;overflow:hidden;transition:transform 0.3s}.project-card:hover{transform:translateY(-8px)}.project-img{height:220px;background:linear-gradient(135deg,rgb(99 102 241 / .05),rgb(168 85 247 / .08));display:flex;align-items:center;justify-content:center}.project-info{padding:24px}.project-info h4{font-size:20px;margin-bottom:8px}.project-link{color:var(--primary-color);text-decoration:none;font-weight:600;display:inline-flex;align-items:center;gap:6px}.contact-box{border-radius:24px;display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));overflow:hidden}.contact-info{padding:48px;display:flex;flex-direction:column;justify-content:center}.contact-info h3{font-size:32px;margin-bottom:16px}footer{border-top:1px solid var(--border-color);padding:40px 24px}footer .container{padding:0;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:20px}.ai-chat-widget{position:fixed;bottom:30px;right:30px;z-index:999999}.ai-toggle-btn{background:linear-gradient(90deg,#00f2fe,#4facfe);border:none;padding:14px 22px;border-radius:30px;color:#030a16;font-weight:700;cursor:pointer;display:flex;align-items:center;gap:10px;box-shadow:0 0 20px rgb(0 242 254 / .4);transition:all 0.3s ease}.ai-chat-window{position:absolute;bottom:75px;right:0;width:340px;height:440px;background:rgb(9 24 48 / .96);border:1px solid rgb(0 242 254 / .3);border-radius:20px;box-shadow:0 20px 50px rgb(0 0 0 / .6);display:none;flex-direction:column;overflow:hidden;backdrop-filter:blur(12px)}.ai-chat-window.active{display:flex}.ai-chat-header{background:rgb(3 15 36 / .9);padding:16px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid rgb(0 242 254 / .15)}.ai-status{display:flex;align-items:center;gap:10px;color:#fff}.pulse-dot{width:9px;height:9px;background:#00f2fe;border-radius:50%;animation:aiPulse 1.6s infinite alternate}.ai-close-btn{background:none;border:none;color:#fff;font-size:26px;cursor:pointer}.ai-messages-body{flex:1;padding:15px;overflow-y:auto;display:flex;flex-direction:column;gap:12px}.msg{padding:11px 15px;border-radius:14px;max-width:82%;font-size:14px;word-wrap:break-word}.bot-msg{background:rgb(0 242 254 / .08);border:1px solid rgb(0 242 254 / .2);color:#e2e8f0;align-self:flex-start}.user-msg{background:linear-gradient(90deg,#00f2fe,#4facfe);color:#030a16;font-weight:600;align-self:flex-end}.ai-input-area{padding:12px;display:flex;gap:8px;background:rgb(3 15 36 / .7);border-top:1px solid rgb(0 242 254 / .1)}.ai-input-area input{flex:1;background:#0c1c38;border:1px solid rgb(0 242 254 / .25);border-radius:10px;color:#fff;padding:12px}.ai-input-area input:focus{outline:none;border-color:#00f2fe}.ai-input-area button{background:#00f2fe;border:none;padding:12px 16px;border-radius:10px;cursor:pointer;color:#030a16}.rate-modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgb(8 15 30 / .85);backdrop-filter:blur(12px);z-index:999999;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:all 0.3s ease-in-out;padding:15px;box-sizing:border-box}.rate-modal-overlay.active{opacity:1;visibility:visible}.rate-modal-card{background:rgb(15 23 42 / .95);border:1px solid rgb(0 242 254 / .3);border-radius:20px;width:100%;max-width:650px;max-height:90vh;overflow-y:auto;position:relative;padding:25px;box-shadow:0 20px 50px rgb(0 242 254 / .15);transform:scale(.85);transition:transform 0.3s ease;box-sizing:border-box}.rate-modal-overlay.active .rate-modal-card{transform:scale(1)}.rate-modal-close{position:absolute;top:15px;right:20px;background:rgb(255 255 255 / .08);border:1px solid rgb(255 255 255 / .15);color:#fff;font-size:24px;width:36px;height:36px;border-radius:50%;cursor:pointer;transition:0.3s;display:flex;align-items:center;justify-content:center}.rate-modal-close:hover{background:#ff007f;border-color:#ff007f}.rate-modal-header h3{color:#fff;font-size:22px;margin-bottom:20px;text-align:center}.rate-banner-img{width:100%;height:auto;border-radius:12px;border:1px solid rgb(255 255 255 / .1);display:block;margin-bottom:15px}.rate-placeholder-box{background:rgb(255 255 255 / .03);border:2px dashed rgb(0 242 254 / .3);padding:30px 15px;text-align:center;border-radius:12px;color:#00f2fe;margin-bottom:15px}.rate-modal-desc{color:#b3b3b3;font-size:14px;text-align:center;line-height:1.5;margin-bottom:20px}.rate-modal-btn{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(90deg,#00f2fe,#4facfe);color:#0f172a;font-weight:700;padding:12px 28px;border-radius:30px;text-decoration:none;transition:0.3s}body[data-theme="light"]{background-color:#f0f4f8;color:#1e293b}body[data-theme="light"] h1,body[data-theme="light"] h2,body[data-theme="light"] h3,body[data-theme="light"] h4,body[data-theme="light"] p,body[data-theme="light"] .hero-text p,body[data-theme="light"] .nav-links li a{color:#1e293b;text-shadow:none}body[data-theme="light"] header{background:rgb(240 244 248 / .8);border-bottom:1px solid rgb(0 0 0 / .1)}body[data-theme="light"] .cyber-grid-bg{opacity:.12;filter:invert(1)}body[data-theme="light"] .about-grid-layout,body[data-theme="light"] .contact-box,body[data-theme="light"] .skill-card,body[data-theme="light"] .project-card,body[data-theme="light"] .timeline-content{background:rgb(255 255 255 / .8);border:1px solid rgb(0 242 254 / .3);box-shadow:0 10px 30px rgb(0 0 0 / .05)}.reveal{position:relative;transform:translateY(40px);opacity:0;transition:all 0.8s ease}.reveal.active{transform:translateY(0);opacity:1}@keyframes blink{50%{opacity:0}}@keyframes rotateCircle{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@keyframes counterRotate{from{transform:rotate(0deg)}to{transform:rotate(-360deg)}}@keyframes masterFloat{0%{transform:translateY(0)}50%{transform:translateY(-12px)}100%{transform:translateY(5px)}}@keyframes floatAnim{from{transform:translateY(0)}to{transform:translateY(-12px)}}@keyframes aiPulse{0%{opacity:.3;transform:scale(.9)}100%{opacity:1;transform:scale(1.1)}}@media (max-width:991px){header,.navbar{padding:0 4%}.hero-container{flex-direction:column;justify-content:center;text-align:center;gap:30px}.hero-image-container{margin-top:20px;justify-content:center;width:100%}.nexus-svg-wrapper{max-width:400px;width:100%}}@media (max-width:768px){header,.navbar{height:70px;padding:0 20px;display:flex;align-items:center;justify-content:space-between}.navbar .nav-buttons a,.navbar .let-talk-btn,.navbar .nav-btn,.navbar button:not(.theme-toggle):not(.menu-toggle){display:none}.nav-buttons{display:flex;align-items:center;gap:15px;margin-left:auto}.menu-toggle,.hamburger,.nav-toggle{display:block;visibility:visible;opacity:1;font-size:24px;color:#fff;cursor:pointer;z-index:999999}.nav-links{display:none;position:absolute;top:70px;left:0;width:100%;background:rgb(10 25 47 / .98);flex-direction:column;padding:20px 0;z-index:99998;box-shadow:0 10px 20px rgb(0 0 0 / .3)}.nav-links.active{display:flex}.hero-image-container,.nexus-svg-wrapper,.animated-hero-svg{display:none;height:0;margin:0}.hero-container{flex-direction:column;text-align:left}.hero-text h1{font-size:34px}.about-grid-layout{padding:40px 5%}.about-graphic-side{display:none}.timeline::after{left:31px}.timeline-item{width:100%;padding-left:55px;padding-right:25px}.timeline-item:nth-child(even){left:0}.timeline-item:nth-child(odd) .timeline-dot,.timeline-item:nth-child(even) .timeline-dot{left:23px}.skills-grid{grid-template-columns:1fr}#contact,#contact .container{width:100%;max-width:100%;padding-left:10px;padding-right:10px;box-sizing:border-box;overflow-x:hidden}.contact-card-wrapper{display:flex;flex-direction:column;width:100%;max-width:100%;margin:0 auto;padding:20px 12px;box-sizing:border-box;gap:20px;border-radius:12px}.contact-info-side,.contact-form-side{width:100%;max-width:100%;box-sizing:border-box}.contact-form-side input,.contact-form-side textarea,.contact-form-side button{width:100%;max-width:100%;box-sizing:border-box}.rate-badge{display:inline-flex;max-width:100%;box-sizing:border-box;padding:8px 12px;margin:10px 0}.rate-badge span{font-size:11px;line-height:1.3;white-space:normal;word-break:break-word}.rate-modal-card{padding:20px 15px;max-height:85vh}.rate-modal-header h3{font-size:18px}.chat-container,.chat-box,.ai-chat-window{position:fixed;top:auto;bottom:85px;right:15px;left:15px;width:calc(100% - 30px);height:440px;max-height:60vh;z-index:999999}}