/* =========================================================
   0. RESET & DESIGN TOKENS
   ========================================================= */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}
:root{
  --accent:#8400ff;             /* main purple */
  --text-dark:#333;
  --text-muted:#6c757d;
  --bg:white;
  --radius:8px;
}

/* =========================================================
   1. GLOBAL UTILITIES
   ========================================================= */
body{
  font-family:"Poppins",sans-serif;
  color:var(--text-dark);
  background:var(--bg);
  line-height:1.6;
  scroll-behavior:smooth;
}
.container{max-width:1100px;margin:0 auto;padding:0 24px;}
.section{padding:120px 0;}
.section-title{font-size:36px;font-weight:700;color:var(--accent);margin-bottom:24px;}
.section-sub{font-size:14px;letter-spacing:.5px;color:var(--text-muted);margin-bottom:12px;display:block;}
.btn-outline{
  padding:12px 34px;border:2px solid var(--accent);border-radius:25px;
  font-size:16px;font-weight:500;color:var(--accent);text-decoration:none;transition:.3s;
}
.btn-outline:hover{background:var(--accent);color:#fff;}
.hero .btn-outline{padding:18px 50px;border-color:#fff;border-radius:40px;color:#fff;}
.hero .btn-outline:hover{background:#fff;color:#000;transform:translateY(-3px);}

/* =========================================================
   2. NAVBAR (fixed / burger / scroll‑spy)
   ========================================================= */
.navbar{
  position:fixed;top:0;left:0;width:100%;z-index:1000;
  background:rgba(255,255,255,.9);backdrop-filter:saturate(180%) blur(12px);
  box-shadow:0 1px 6px rgba(0,0,0,.06);
}
.nav-container{
  max-width:1100px;margin:0 auto;padding:0 24px;
  display:flex;align-items:center;justify-content:space-between;height:70px;
}
.logo{font-size:22px;font-weight:700;color:var(--accent);}
.nav-links{display:flex;gap:24px;}
.nav-links a{
  font-weight:500;font-size:16px;color:var(--text-dark);text-decoration:none;position:relative;transition:.3s;
}
.nav-links a::after{
  content:"";position:absolute;bottom:-6px;left:50%;width:0;height:2px;background:var(--accent);transition:.3s;
}
.nav-links a:hover,
.nav-links a.active{color:var(--accent);}
.nav-links a:hover::after,
.nav-links a.active::after{left:0;width:100%;}
/* burger */
#burger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:0;}
#burger span{width:24px;height:3px;background:var(--text-dark);transition:.3s;}
@media(max-width:740px){
  .nav-links{
    position:fixed;top:70px;right:-100%;flex-direction:column;gap:18px;background:#fff;
    width:200px;height:calc(100vh - 70px);padding:30px 24px;box-shadow:-1px 0 6px rgba(0,0,0,.05);transition:.35s;
  }
  .nav-links.open{right:0;}
  #burger{display:flex;}
  #burger.open span:nth-child(1){transform:translateY(8px) rotate(45deg);}
  #burger.open span:nth-child(2){opacity:0;}
  #burger.open span:nth-child(3){transform:translateY(-8px) rotate(-45deg);}
}

/* =========================================================
   3. HERO
   ========================================================= */
.hero{background:#ffffff;min-height:100vh;display:flex;align-items:center;}
.hero-wrapper{display:flex;flex-wrap:wrap;width:100%;}
.hero-left{flex:1 1 480px;padding:120px 10vw 120px 6vw;color:#fff;}
.hero-greet{letter-spacing:4px;font-size:14px;color:#952dca;}
.hero-title{font-size:68px;line-height:1.05;font-weight:800;margin:22px 0 48px;}
.highlight{color:#952dca;}
.btn-primary{
  background:#952dca;color:#ffffff;padding:18px 50px;border:none;border-radius:40px;
  font-weight:600;font-size:14px;letter-spacing:2px;text-transform:uppercase;text-decoration:none;transition:.3s;
}
.btn-primary:hover{transform:translateY(-3px);box-shadow:0 10px 25px rgb(242, 0, 0);}
.hero-right{flex:1 1 520px;display:flex;align-items:flex-end;justify-content:center;}
.hero-right img{width:80%;max-width:420px;height:auto;object-fit:contain;margin:0 auto;}
@media(max-width:680px){.hero-right img{max-width:300px;width:90%;}}

/* RGB animated name */
.rgb-text{
  background:linear-gradient(45deg,#ff0000,#ff00ff,#00ffff,#00ff00,#ffff00,#ff0000);
  background-size:600% 600%;-webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent;animation:rgb-flow 8s linear infinite;
}
@keyframes rgb-flow{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}

@media(max-width:900px){.hero-title{font-size:54px;}}
@media(max-width:680px){
  .hero-wrapper{flex-direction:column-reverse;text-align:center;}
  .hero-left{padding:90px 6vw;}
}

/* =========================================================
   4. ABOUT
   ========================================================= */
#about{background:#ffffff;}
.about-wrapper{display:flex;align-items:center;gap:80px;}
.about-img img{width:100%;max-width:380px;border-radius:12px;}
.about-content h2{color:var(--accent);}
.about-content small,.about-content p{color:#000000;margin-bottom:28px;}
.typing-line{font-size:20px;margin:18px 0 32px;color:#000000;font-weight:600;line-height:1.4;}
.cursor{display:inline-block;width:1px;background:var(--accent);animation:blink 0.8s step-end infinite;}
@keyframes blink{50%{opacity:0;}}
@media(max-width:768px){
  .about-wrapper{flex-direction:column;text-align:center;gap:40px;}
  .about-img img{max-width:300px;}
  .section-title{font-size:30px;}
}

/* =========================================================
   5. SKILLS
   ========================================================= */
.skills-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:40px;margin-top:50px;}
.skill-card{
  display:flex;flex-direction:column;background:#fff;border:2px solid var(--accent);
  border-radius:14px;overflow:hidden;box-shadow:0 0 20px rgba(132,0,255,.15);
  transition:.35s;
}
.skill-card:hover{
  transform:translateY(-6px);
  box-shadow:0 0 16px rgba(132,0,255,.6),0 0 32px rgba(132,0,255,.5),0 0 48px rgba(132,0,255,.4);
}
.skill-card img{width:100%;height:190px;object-fit:cover;}
.skill-card h3{font-size:22px;font-weight:700;text-align:center;margin:24px 20px 10px;}
.skill-card p{font-size:15px;line-height:1.6;text-align:center;margin:0 22px 16px;color:var(--text-muted);}

/* Tech badges */
.tech-badges{margin:14px 0 4px;display:flex;justify-content:center;flex-wrap:wrap;gap:10px;}
.tech-badges span{
  background:#a020f0;color:#fff;padding:4px 12px;font-size:.75rem;border-radius:14px;font-weight:500;white-space:nowrap;
  box-shadow:0 0 6px rgba(162,32,240,.45);animation:badge-glow 2.4s ease-in-out infinite alternate;
}
@keyframes badge-glow{from{box-shadow:0 0 6px rgba(162,32,240,.35);}to{box-shadow:0 0 18px rgba(162,32,240,.85);}}
.skill-card .tech-badges{margin-top:-6px;margin-bottom:10px;}

/* =========================================================
   6. PROJECTS
   ========================================================= */
.projects-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:32px;margin-top:40px;}
.project-card{
  background:#fff;border:2px solid var(--accent);border-radius:14px;overflow:hidden;
  box-shadow:0 0 20px rgba(132,0,255,.15);transition:.35s;display:flex;flex-direction:column;
}
.project-card:hover{
  transform:translateY(-6px);
  box-shadow:0 0 16px rgba(132,0,255,.6),0 0 32px rgba(132,0,255,.5),0 0 48px rgba(132,0,255,.4);
}
.project-card img{width:100%;height:200px;object-fit:cover;}
.project-card h3{font-size:20px;margin:20px 20px 6px;}
.project-card .tech{font-size:14px;margin:0 20px 10px;color:var(--accent);font-weight:600;}
.project-card .proj-desc{font-size:15px;line-height:1.55;margin:0 20px 20px;color:var(--text-muted);}
.project-btn{
  display:block;width:calc(100% - 40px);margin:0 20px 24px;padding:10px 0;text-align:center;
  background:var(--accent);color:#fff;border-radius:6px;font-weight:600;font-size:14px;transition:.3s;
}
.project-btn:hover{background:#000;color:#fff;}

/* =========================================================
   7. CERTIFICATES (3‑column, same size as Projects)
   ========================================================= */
#certificates .container{max-width:950px;}
.cert-grid{display:grid;gap:2.5rem;margin-top:2rem;}
@media(min-width:880px){.cert-grid{grid-template-columns:repeat(3,1fr);}}
@media(min-width:600px) and (max-width:879px){.cert-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:599px){.cert-grid{grid-template-columns:1fr;}}

.cert-card{
  background:#fff;padding:1rem;border-radius:12px;border:2px solid #9b00ff;
  box-shadow:0 0 10px rgba(155,0,255,.45);transition:.3s;max-width:280px;
}
.cert-card:hover{transform:translateY(-6px);box-shadow:0 0 20px #b100ff,0 0 30px #9b00ff;}
.cert-card img{
  width:100%;height:160px;object-fit:cover;border-radius:8px;margin-bottom:.75rem;
  box-shadow:0 0 6px #8000ff80;
}
.cert-card h3{font-size:1.05rem;font-weight:700;color:#2b003f;margin-bottom:.4rem;}
.cert-card .cert-desc{font-size:.9rem;line-height:1.45;font-weight:500;color:var(--accent);}

/* ========== Cert modal ========== */
#cert-modal{
  position:fixed;inset:0;background:rgba(0,0,0,.85);display:none;
  align-items:center;justify-content:center;z-index:2000;
}
#cert-modal img{max-width:90%;max-height:80vh;border-radius:8px;box-shadow:0 0 20px #a100ff;}
.cert-nav{
  position:absolute;top:50%;transform:translateY(-50%);
  background:#a100ff;color:#fff;border:none;padding:12px 16px;font-size:1.4rem;cursor:pointer;
  border-radius:50%;box-shadow:0 0 12px #a100ffb0;
}
#cert-prev{left:3%;}
#cert-next{right:3%;}
#cert-close{position:absolute;top:24px;right:32px;font-size:2rem;color:#fff;cursor:pointer;}

/* =========================================================
   8. CONTACT
   ========================================================= */
#certificates.section{padding-bottom:40px;}
#contact.section{padding:60px 0 0;}
.contact{background:#ffffff;}
.contact-heading{text-align:center;margin-bottom:60px;}
.contact-heading .section-sub,.contact-heading .section-title{color:#fff;}
.contact-heading .section-title::after{
  content:"";position:absolute;left:50%;bottom:-12px;width:60px;height:3px;background:var(--accent);transform:translateX(-50%);
}

.contact-wrapper{
  display:flex;flex-wrap:wrap;background:#ffffff;border:2px solid #8a039c;overflow:hidden;
}
.contact-img{flex:1 1 380px;display:flex;align-items:center;justify-content:center;background:#ffffff;}
.contact-img img{width:80%;max-width:320px;height:auto;object-fit:contain;}
.contact-form{
  flex:1 1 520px;padding:60px 50px;background:#ffffff;display:flex;flex-direction:column;gap:26px;
}
.contact-form input,.contact-form textarea{
  width:100%;padding:18px 22px;font-size:16px;border:2px solid #bd17c3;border-radius:10px;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.1);resize:none;
}
.contact-form input:focus,.contact-form textarea:focus{outline:none;border-color:var(--accent);}
.btn-send{
  align-self:flex-start;padding:16px 60px;background:#ff00ff;color:#ffffff;border:none;border-radius:50px;
  font-size:15px;font-weight:600;letter-spacing:3px;text-transform:uppercase;cursor:pointer;
  box-shadow:0 12px 30px rgba(0,0,0,.06);transition:.3s;
}
.btn-send:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(255,255,255,.08);}
@media(max-width:820px){.contact-wrapper{flex-direction:column;}.contact-img img{max-width:260px;width:90%;}}

/* =========================================================
   9. FOOTER
   ========================================================= */
.footer{text-align:center;padding:40px 0;font-size:15px;color:var(--text-muted);}
.footer-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:18px;}
.social-links a{font-size:24px;color:var(--text-muted);margin:0 6px;text-decoration:none;transition:.3s;}
.social-links a:hover{color:var(--accent);transform:translateY(-3px);}

/* =========================================================
   10. FORM STATUS
   ========================================================= */
.form-status{margin-top:12px;font-size:15px;}
.form-status.success{color:green;}
.form-status.error{color:red;}
/*override*
/* =======================================
   CONTACT – remove frame + neon button
   ======================================= */

/* 1️⃣  remove the purple frame */
.contact-wrapper{
  border:none;             /* gets rid of the outline */
  box-shadow:none;         /* optional: kill any glow */
}

/* 2️⃣  vivid purple button with white text + glow */
.btn-send{
  background:var(--accent);         /* purple */
  color:#fff;                       /* white text */
  box-shadow:0 0 12px var(--accent),
             0 0 22px rgba(132,0,255,.6);
}
.btn-send:hover{
  transform:translateY(-3px);
  box-shadow:0 0 16px var(--accent),
             0 0 32px rgba(132,0,255,.8),
             0 0 48px rgba(132,0,255,.6);
}
/*footer icons*/
/* =========================================
   PURPLE GLOW SOCIAL ICONS (footer)
   ========================================= */
/* === Glowy Boxicons in footer === */
.social-links a {
  font-size: 28px;
  color: #a020f0; /* Purple color */
  margin: 0 10px;
  transition: 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  color: #fff;
  text-shadow:
    0 0 6px #a020f0,
    0 0 12px #a020f0,
    0 0 20px #a020f0;
  transform: translateY(-4px);
}



/* glow on hover / focus */
.social-links a:hover,
.social-links a:focus{
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 0 10px rgba(132,0,255,.7),
              0 0 20px rgba(132,0,255,.6);
  text-shadow: 0 0 4px rgba(132,0,255,.65);
}


.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
