/* ================= ROOT ================= */
:root{
  --bg:#ffffff;
  --text:#222;
  --primary:#4f46e5;
  --card:#f4f4f4;
}
@media(prefers-color-scheme:dark){
  :root{
    --bg:#0b1c2d;
    --text:#f2f2f2;
    --card:#12263f;
  }
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:'Poppins', Arial, Helvetica, sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}

/* ================= NAV ================= */
nav{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:100;
  background:linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height:60px;
  display:flex;
  align-items:center;
  justify-content:center;
}
body{
  padding-top:60px;
}
@media(prefers-color-scheme:dark){
  nav{
    background:linear-gradient(135deg, #4c1d95 0%, #1e1b4b 100%);
  }
}
nav ul{
  display:flex;
  justify-content:center;
  gap:24px;
  list-style:none;
  margin:0;
  padding:14px;
}
nav a{
  text-decoration:none;
  font-weight:bold;
  color:#fff;
}
nav a.active{
  color:#fff;
  border-bottom:2px solid #fff;
}

/* ================= SKILLS CARDS ================= */
.skills-container{
  max-width:1000px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(450px,1fr));
  gap:40px;
}
@media(max-width:768px){
  .skills-container{
    grid-template-columns:1fr;
    gap:25px;
  }
}
@media(max-width:480px){
  .skills-container{
    gap:20px;
  }
}
.skill-card{
  background:linear-gradient(135deg,rgba(79,70,229,0.08),rgba(139,92,246,0.08));
  padding:35px;
  border-radius:25px;
  border:1px solid rgba(79,70,229,0.15);
  position:relative;
  overflow:hidden;
  transition:all 0.4s ease;
}
@media(max-width:768px){
  .skill-card{
    padding:25px;
  }
}
@media(max-width:480px){
  .skill-card{
    padding:20px;
  }
}
.skill-card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 40px rgba(79,70,229,0.2);
}
@media(max-width:768px){
  .skill-card:hover{
    transform:translateY(-4px);
  }
}
.skill-card:nth-child(1){ background:linear-gradient(135deg,rgba(79,70,229,0.08),rgba(139,92,246,0.08)); border-color:rgba(79,70,229,0.15); }
.skill-card:nth-child(2){ background:linear-gradient(135deg,rgba(16,185,129,0.08),rgba(5,150,105,0.08)); border-color:rgba(16,185,129,0.15); }
.skill-card:nth-child(3){ background:linear-gradient(135deg,rgba(245,158,11,0.08),rgba(217,119,6,0.08)); border-color:rgba(245,158,11,0.15); }
.skill-card:nth-child(4){ background:linear-gradient(135deg,rgba(239,68,68,0.08),rgba(220,38,38,0.08)); border-color:rgba(239,68,68,0.15); }
.skill-card:nth-child(5){ background:linear-gradient(135deg,rgba(168,85,247,0.08),rgba(147,51,234,0.08)); border-color:rgba(168,85,247,0.15); }
.skill-card:nth-child(6){ background:linear-gradient(135deg,rgba(59,130,246,0.08),rgba(29,78,216,0.08)); border-color:rgba(59,130,246,0.15); }
.skill-card:nth-child(1):hover{ box-shadow:0 20px 40px rgba(79,70,229,0.2); }
.skill-card:nth-child(2):hover{ box-shadow:0 20px 40px rgba(16,185,129,0.2); }
.skill-card:nth-child(3):hover{ box-shadow:0 20px 40px rgba(245,158,11,0.2); }
.skill-card:nth-child(4):hover{ box-shadow:0 20px 40px rgba(239,68,68,0.2); }
.skill-card:nth-child(5):hover{ box-shadow:0 20px 40px rgba(168,85,247,0.2); }
.skill-card:nth-child(6):hover{ box-shadow:0 20px 40px rgba(59,130,246,0.2); }
.skill-card-header{
  display:flex;
  align-items:center;
  margin-bottom:20px;
}
@media(max-width:768px){
  .skill-card-header{
    margin-bottom:15px;
  }
}
.skill-icon{
  width:32px;
  height:32px;
  margin-right:15px;
}
@media(max-width:768px){
  .skill-icon{
    width:28px;
    height:28px;
    margin-right:12px;
  }
}
.skill-card:nth-child(1) .skill-icon{ color:#4f46e5; }
.skill-card:nth-child(2) .skill-icon{ color:#059669; }
.skill-card:nth-child(3) .skill-icon{ color:#d97706; }
.skill-card:nth-child(4) .skill-icon{ color:#dc2626; }
.skill-card:nth-child(5) .skill-icon{ color:#9333ea; }
.skill-card:nth-child(6) .skill-icon{ color:#1d4ed8; }
.skill-card h3{
  margin:0;
  font-size:18px;
  font-weight:600;
}
@media(max-width:768px){
  .skill-card h3{
    font-size:16px;
  }
}
.skill-card:nth-child(1) h3{ color:#4f46e5; }
.skill-card:nth-child(2) h3{ color:#059669; }
.skill-card:nth-child(3) h3{ color:#d97706; }
.skill-card:nth-child(4) h3{ color:#dc2626; }
.skill-card:nth-child(5) h3{ color:#9333ea; }
.skill-card:nth-child(6) h3{ color:#1d4ed8; }
.skill-card p{
  color:#666;
  margin-bottom:20px;
  font-size:14px;
  line-height:1.5;
}
@media(max-width:768px){
  .skill-card p{
    font-size:13px;
    margin-bottom:15px;
  }
}
.skill-progress{
  background:rgba(79,70,229,0.1);
  height:8px;
  border-radius:10px;
  overflow:hidden;
  margin-bottom:10px;
}
.skill-card:nth-child(1) .skill-progress{ background:rgba(79,70,229,0.1); }
.skill-card:nth-child(2) .skill-progress{ background:rgba(16,185,129,0.1); }
.skill-card:nth-child(3) .skill-progress{ background:rgba(245,158,11,0.1); }
.skill-card:nth-child(4) .skill-progress{ background:rgba(239,68,68,0.1); }
.skill-card:nth-child(5) .skill-progress{ background:rgba(168,85,247,0.1); }
.skill-card:nth-child(6) .skill-progress{ background:rgba(59,130,246,0.1); }
.skill-progress-bar{
  height:100%;
  border-radius:10px;
  transition:width 1.5s ease;
}
.skill-card:nth-child(1) .skill-progress-bar{ background:linear-gradient(90deg,#667eea,#764ba2); }
.skill-card:nth-child(2) .skill-progress-bar{ background:linear-gradient(90deg,#10b981,#059669); }
.skill-card:nth-child(3) .skill-progress-bar{ background:linear-gradient(90deg,#f59e0b,#d97706); }
.skill-card:nth-child(4) .skill-progress-bar{ background:linear-gradient(90deg,#ef4444,#dc2626); }
.skill-card:nth-child(5) .skill-progress-bar{ background:linear-gradient(90deg,#a855f7,#9333ea); }
.skill-card:nth-child(6) .skill-progress-bar{ background:linear-gradient(90deg,#3b82f6,#1d4ed8); }
.skill-percentage{
  text-align:right;
  font-size:14px;
  font-weight:600;
}
@media(max-width:768px){
  .skill-percentage{
    font-size:13px;
  }
}
.skill-card:nth-child(1) .skill-percentage{ color:#4f46e5; }
.skill-card:nth-child(2) .skill-percentage{ color:#059669; }
.skill-card:nth-child(3) .skill-percentage{ color:#d97706; }
.skill-card:nth-child(4) .skill-percentage{ color:#dc2626; }
.skill-card:nth-child(5) .skill-percentage{ color:#9333ea; }
.skill-card:nth-child(6) .skill-percentage{ color:#1d4ed8; }
.skill-card-bg{
  position:absolute;
  top:-30px;
  right:-30px;
  width:60px;
  height:60px;
  border-radius:50%;
}
@media(max-width:768px){
  .skill-card-bg{
    width:50px;
    height:50px;
  }
}
.skill-card:nth-child(1) .skill-card-bg{ background:radial-gradient(circle,rgba(79,70,229,0.1),transparent); }
.skill-card:nth-child(2) .skill-card-bg{ background:radial-gradient(circle,rgba(16,185,129,0.1),transparent); }
.skill-card:nth-child(3) .skill-card-bg{ background:radial-gradient(circle,rgba(245,158,11,0.1),transparent); }
.skill-card:nth-child(4) .skill-card-bg{ background:radial-gradient(circle,rgba(239,68,68,0.1),transparent); }
.skill-card:nth-child(5) .skill-card-bg{ background:radial-gradient(circle,rgba(168,85,247,0.1),transparent); }
.skill-card:nth-child(6) .skill-card-bg{ background:radial-gradient(circle,rgba(59,130,246,0.1),transparent); }

/* ================= HERO CARDS ================= */
.hero-cards-container{
  max-width:1000px;
  margin:30px auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(450px,1fr));
  gap:40px;
  text-align:left;
}
@media(max-width:768px){
  .hero-cards-container{
    grid-template-columns:1fr;
    gap:25px;
    margin:20px auto;
  }
}
@media(max-width:480px){
  .hero-cards-container{
    gap:20px;
    margin:15px auto;
  }
}
.hero-card{
  background:linear-gradient(135deg,rgba(79,70,229,0.08),rgba(139,92,246,0.08));
  padding:35px;
  border-radius:25px;
  border:1px solid rgba(79,70,229,0.15);
  position:relative;
  overflow:hidden;
  cursor:pointer;
  transition:all 0.4s ease;
}
@media(max-width:768px){
  .hero-card{
    padding:25px;
  }
}
@media(max-width:480px){
  .hero-card{
    padding:20px;
  }
}
.hero-card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 40px rgba(79,70,229,0.2);
}
@media(max-width:768px){
  .hero-card:hover{
    transform:translateY(-4px);
  }
}
.hero-card:nth-child(1){ background:linear-gradient(135deg,rgba(79,70,229,0.08),rgba(139,92,246,0.08)); border-color:rgba(79,70,229,0.15); }
.hero-card:nth-child(2){ background:linear-gradient(135deg,rgba(16,185,129,0.08),rgba(5,150,105,0.08)); border-color:rgba(16,185,129,0.15); }
.hero-card:nth-child(3){ background:linear-gradient(135deg,rgba(245,158,11,0.08),rgba(217,119,6,0.08)); border-color:rgba(245,158,11,0.15); }
.hero-card:nth-child(4){ background:linear-gradient(135deg,rgba(239,68,68,0.08),rgba(220,38,38,0.08)); border-color:rgba(239,68,68,0.15); }
.hero-card:nth-child(5){ background:linear-gradient(135deg,rgba(168,85,247,0.08),rgba(147,51,234,0.08)); border-color:rgba(168,85,247,0.15); }
.hero-card:nth-child(6){ background:linear-gradient(135deg,rgba(59,130,246,0.08),rgba(29,78,216,0.08)); border-color:rgba(59,130,246,0.15); }
.hero-card:nth-child(7){ background:linear-gradient(135deg,rgba(99,102,241,0.08),rgba(67,56,202,0.08)); border-color:rgba(99,102,241,0.15); }
.hero-card:nth-child(8){ background:linear-gradient(135deg,rgba(34,197,94,0.08),rgba(21,128,61,0.08)); border-color:rgba(34,197,94,0.15); }
.hero-card:nth-child(1):hover{ box-shadow:0 20px 40px rgba(79,70,229,0.2); }
.hero-card:nth-child(2):hover{ box-shadow:0 20px 40px rgba(16,185,129,0.2); }
.hero-card:nth-child(3):hover{ box-shadow:0 20px 40px rgba(245,158,11,0.2); }
.hero-card:nth-child(4):hover{ box-shadow:0 20px 40px rgba(239,68,68,0.2); }
.hero-card:nth-child(5):hover{ box-shadow:0 20px 40px rgba(168,85,247,0.2); }
.hero-card:nth-child(6):hover{ box-shadow:0 20px 40px rgba(59,130,246,0.2); }
.hero-card:nth-child(7):hover{ box-shadow:0 20px 40px rgba(99,102,241,0.2); }
.hero-card:nth-child(8):hover{ box-shadow:0 20px 40px rgba(34,197,94,0.2); }
.hero-card-icon{
  width:32px;
  height:32px;
  margin-bottom:15px;
}
@media(max-width:768px){
  .hero-card-icon{
    width:28px;
    height:28px;
    margin-bottom:12px;
  }
}
@media(max-width:480px){
  .hero-card-icon{
    width:24px;
    height:24px;
    margin-bottom:10px;
  }
}
.hero-card:nth-child(1) .hero-card-icon{ color:#4f46e5; }
.hero-card:nth-child(2) .hero-card-icon{ color:#059669; }
.hero-card:nth-child(3) .hero-card-icon{ color:#d97706; }
.hero-card:nth-child(4) .hero-card-icon{ color:#dc2626; }
.hero-card:nth-child(5) .hero-card-icon{ color:#9333ea; }
.hero-card:nth-child(6) .hero-card-icon{ color:#1d4ed8; }
.hero-card:nth-child(7) .hero-card-icon{ color:#4338ca; }
.hero-card:nth-child(8) .hero-card-icon{ color:#15803d; }
.hero-card-title{
  font-size:18px;
  font-weight:600;
  display:block;
  margin:0 0 10px 0;
}
@media(max-width:768px){
  .hero-card-title{
    font-size:16px;
  }
}
@media(max-width:480px){
  .hero-card-title{
    font-size:15px;
  }
}
.hero-card:nth-child(1) .hero-card-title{ color:#4f46e5; }
.hero-card:nth-child(2) .hero-card-title{ color:#059669; }
.hero-card:nth-child(3) .hero-card-title{ color:#d97706; }
.hero-card:nth-child(4) .hero-card-title{ color:#dc2626; }
.hero-card:nth-child(5) .hero-card-title{ color:#9333ea; }
.hero-card:nth-child(6) .hero-card-title{ color:#1d4ed8; }
.hero-card:nth-child(7) .hero-card-title{ color:#4338ca; }
.hero-card:nth-child(8) .hero-card-title{ color:#15803d; }
.hero-card-text{
  margin:0;
  line-height:1.5;
  color:#666;
  font-size:14px;
}
@media(max-width:768px){
  .hero-card-text{
    font-size:13px;
  }
}
@media(max-width:480px){
  .hero-card-text{
    font-size:12px;
  }
}
.hero-card-bg{
  position:absolute;
  top:-30px;
  right:-30px;
  width:60px;
  height:60px;
  border-radius:50%;
}
@media(max-width:768px){
  .hero-card-bg{
    width:50px;
    height:50px;
  }
}
@media(max-width:480px){
  .hero-card-bg{
    width:40px;
    height:40px;
  }
}
.hero-card:nth-child(1) .hero-card-bg{ background:radial-gradient(circle,rgba(79,70,229,0.1),transparent); }
.hero-card:nth-child(2) .hero-card-bg{ background:radial-gradient(circle,rgba(16,185,129,0.1),transparent); }
.hero-card:nth-child(3) .hero-card-bg{ background:radial-gradient(circle,rgba(245,158,11,0.1),transparent); }
.hero-card:nth-child(4) .hero-card-bg{ background:radial-gradient(circle,rgba(239,68,68,0.1),transparent); }
.hero-card:nth-child(5) .hero-card-bg{ background:radial-gradient(circle,rgba(168,85,247,0.1),transparent); }
.hero-card:nth-child(6) .hero-card-bg{ background:radial-gradient(circle,rgba(59,130,246,0.1),transparent); }
.hero-card:nth-child(7) .hero-card-bg{ background:radial-gradient(circle,rgba(99,102,241,0.1),transparent); }
.hero-card:nth-child(8) .hero-card-bg{ background:radial-gradient(circle,rgba(34,197,94,0.1),transparent); }

/* ================= SKILLS CARDS ================= */
.skills-container{
  max-width:1000px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(450px,1fr));
  gap:40px;
}
@media(max-width:768px){
  .skills-container{
    grid-template-columns:1fr;
    gap:25px;
  }
}
@media(max-width:480px){
  .skills-container{
    gap:20px;
  }
}
.skill-card{
  padding:35px;
  border-radius:25px;
  position:relative;
  overflow:hidden;
  transition:all 0.4s ease;
}
@media(max-width:768px){
  .skill-card{
    padding:25px;
  }
}
@media(max-width:480px){
  .skill-card{
    padding:20px;
  }
}
.skill-card:hover{
  transform:translateY(-8px);
}
@media(max-width:768px){
  .skill-card:hover{
    transform:translateY(-4px);
  }
}
.skill-card:nth-child(1){ background:linear-gradient(135deg,rgba(79,70,229,0.08),rgba(139,92,246,0.08)); border:1px solid rgba(79,70,229,0.15); }
.skill-card:nth-child(2){ background:linear-gradient(135deg,rgba(16,185,129,0.08),rgba(5,150,105,0.08)); border:1px solid rgba(16,185,129,0.15); }
.skill-card:nth-child(3){ background:linear-gradient(135deg,rgba(245,158,11,0.08),rgba(217,119,6,0.08)); border:1px solid rgba(245,158,11,0.15); }
.skill-card:nth-child(4){ background:linear-gradient(135deg,rgba(239,68,68,0.08),rgba(220,38,38,0.08)); border:1px solid rgba(239,68,68,0.15); }
.skill-card:nth-child(5){ background:linear-gradient(135deg,rgba(168,85,247,0.08),rgba(147,51,234,0.08)); border:1px solid rgba(168,85,247,0.15); }
.skill-card:nth-child(6){ background:linear-gradient(135deg,rgba(59,130,246,0.08),rgba(29,78,216,0.08)); border:1px solid rgba(59,130,246,0.15); }
.skill-card:nth-child(1):hover{ box-shadow:0 20px 40px rgba(79,70,229,0.2); }
.skill-card:nth-child(2):hover{ box-shadow:0 20px 40px rgba(16,185,129,0.2); }
.skill-card:nth-child(3):hover{ box-shadow:0 20px 40px rgba(245,158,11,0.2); }
.skill-card:nth-child(4):hover{ box-shadow:0 20px 40px rgba(239,68,68,0.2); }
.skill-card:nth-child(5):hover{ box-shadow:0 20px 40px rgba(168,85,247,0.2); }
.skill-card:nth-child(6):hover{ box-shadow:0 20px 40px rgba(59,130,246,0.2); }
.skill-card-header{
  display:flex;
  align-items:center;
  margin-bottom:20px;
}
@media(max-width:768px){
  .skill-card-header{
    margin-bottom:15px;
  }
}
.skill-icon{
  width:32px;
  height:32px;
  margin-right:15px;
}
@media(max-width:768px){
  .skill-icon{
    width:28px;
    height:28px;
    margin-right:12px;
  }
}
.skill-card:nth-child(1) .skill-icon{ color:#4f46e5; }
.skill-card:nth-child(2) .skill-icon{ color:#059669; }
.skill-card:nth-child(3) .skill-icon{ color:#d97706; }
.skill-card:nth-child(4) .skill-icon{ color:#dc2626; }
.skill-card:nth-child(5) .skill-icon{ color:#9333ea; }
.skill-card:nth-child(6) .skill-icon{ color:#1d4ed8; }
.skill-card h3{
  margin:0;
  font-size:18px;
  font-weight:600;
}
@media(max-width:768px){
  .skill-card h3{
    font-size:16px;
  }
}
.skill-card:nth-child(1) h3{ color:#4f46e5; }
.skill-card:nth-child(2) h3{ color:#059669; }
.skill-card:nth-child(3) h3{ color:#d97706; }
.skill-card:nth-child(4) h3{ color:#dc2626; }
.skill-card:nth-child(5) h3{ color:#9333ea; }
.skill-card:nth-child(6) h3{ color:#1d4ed8; }
.skill-card p{
  color:#666;
  margin-bottom:20px;
  font-size:14px;
  line-height:1.5;
}
@media(max-width:768px){
  .skill-card p{
    font-size:13px;
    margin-bottom:15px;
  }
}
.skill-progress{
  height:8px;
  border-radius:10px;
  overflow:hidden;
  margin-bottom:10px;
}
.skill-card:nth-child(1) .skill-progress{ background:rgba(79,70,229,0.1); }
.skill-card:nth-child(2) .skill-progress{ background:rgba(16,185,129,0.1); }
.skill-card:nth-child(3) .skill-progress{ background:rgba(245,158,11,0.1); }
.skill-card:nth-child(4) .skill-progress{ background:rgba(239,68,68,0.1); }
.skill-card:nth-child(5) .skill-progress{ background:rgba(168,85,247,0.1); }
.skill-card:nth-child(6) .skill-progress{ background:rgba(59,130,246,0.1); }
.skill-progress-bar{
  height:100%;
  border-radius:10px;
  transition:width 1.5s ease;
}
.skill-card:nth-child(1) .skill-progress-bar{ background:linear-gradient(90deg,#667eea,#764ba2); }
.skill-card:nth-child(2) .skill-progress-bar{ background:linear-gradient(90deg,#10b981,#059669); }
.skill-card:nth-child(3) .skill-progress-bar{ background:linear-gradient(90deg,#f59e0b,#d97706); }
.skill-card:nth-child(4) .skill-progress-bar{ background:linear-gradient(90deg,#ef4444,#dc2626); }
.skill-card:nth-child(5) .skill-progress-bar{ background:linear-gradient(90deg,#a855f7,#9333ea); }
.skill-card:nth-child(6) .skill-progress-bar{ background:linear-gradient(90deg,#3b82f6,#1d4ed8); }
.skill-percentage{
  text-align:right;
  font-size:14px;
  font-weight:600;
}
@media(max-width:768px){
  .skill-percentage{
    font-size:13px;
  }
}
.skill-card:nth-child(1) .skill-percentage{ color:#4f46e5; }
.skill-card:nth-child(2) .skill-percentage{ color:#059669; }
.skill-card:nth-child(3) .skill-percentage{ color:#d97706; }
.skill-card:nth-child(4) .skill-percentage{ color:#dc2626; }
.skill-card:nth-child(5) .skill-percentage{ color:#9333ea; }
.skill-card:nth-child(6) .skill-percentage{ color:#1d4ed8; }
.skill-card-bg{
  position:absolute;
  top:-30px;
  right:-30px;
  width:60px;
  height:60px;
  border-radius:50%;
}
@media(max-width:768px){
  .skill-card-bg{
    width:50px;
    height:50px;
  }
}
.skill-card:nth-child(1) .skill-card-bg{ background:radial-gradient(circle,rgba(79,70,229,0.1),transparent); }
.skill-card:nth-child(2) .skill-card-bg{ background:radial-gradient(circle,rgba(16,185,129,0.1),transparent); }
.skill-card:nth-child(3) .skill-card-bg{ background:radial-gradient(circle,rgba(245,158,11,0.1),transparent); }
.skill-card:nth-child(4) .skill-card-bg{ background:radial-gradient(circle,rgba(239,68,68,0.1),transparent); }
.skill-card:nth-child(5) .skill-card-bg{ background:radial-gradient(circle,rgba(168,85,247,0.1),transparent); }
.skill-card:nth-child(6) .skill-card-bg{ background:radial-gradient(circle,rgba(59,130,246,0.1),transparent); }

/* ================= ABOUT CARDS ================= */
.about-cards-container{
  max-width:1000px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(450px,1fr));
  gap:40px;
}
@media(max-width:768px){
  .about-cards-container{
    grid-template-columns:1fr;
    gap:25px;
  }
}
@media(max-width:480px){
  .about-cards-container{
    gap:20px;
  }
}
.about-card{
  background:linear-gradient(135deg,rgba(79,70,229,0.08),rgba(139,92,246,0.08));
  padding:35px;
  border-radius:25px;
  border:1px solid rgba(79,70,229,0.15);
  position:relative;
  overflow:hidden;
  transition:all 0.4s ease;
}
@media(max-width:768px){
  .about-card{
    padding:25px;
  }
}
@media(max-width:480px){
  .about-card{
    padding:20px;
  }
}
.about-card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 40px rgba(79,70,229,0.2);
}
@media(max-width:768px){
  .about-card:hover{
    transform:translateY(-4px);
  }
}
.about-card:nth-child(1){ background:linear-gradient(135deg,rgba(79,70,229,0.08),rgba(139,92,246,0.08)); border-color:rgba(79,70,229,0.15); }
.about-card:nth-child(2){ background:linear-gradient(135deg,rgba(16,185,129,0.08),rgba(5,150,105,0.08)); border-color:rgba(16,185,129,0.15); }
.about-card:nth-child(3){ background:linear-gradient(135deg,rgba(245,158,11,0.08),rgba(217,119,6,0.08)); border-color:rgba(245,158,11,0.15); }
.about-card:nth-child(4){ background:linear-gradient(135deg,rgba(239,68,68,0.08),rgba(220,38,38,0.08)); border-color:rgba(239,68,68,0.15); }
.about-card:nth-child(5){ background:linear-gradient(135deg,rgba(168,85,247,0.08),rgba(147,51,234,0.08)); border-color:rgba(168,85,247,0.15); }
.about-card:nth-child(6){ background:linear-gradient(135deg,rgba(59,130,246,0.08),rgba(29,78,216,0.08)); border-color:rgba(59,130,246,0.15); }
.about-card:nth-child(1):hover{ box-shadow:0 20px 40px rgba(79,70,229,0.2); }
.about-card:nth-child(2):hover{ box-shadow:0 20px 40px rgba(16,185,129,0.2); }
.about-card:nth-child(3):hover{ box-shadow:0 20px 40px rgba(245,158,11,0.2); }
.about-card:nth-child(4):hover{ box-shadow:0 20px 40px rgba(239,68,68,0.2); }
.about-card:nth-child(5):hover{ box-shadow:0 20px 40px rgba(168,85,247,0.2); }
.about-card:nth-child(6):hover{ box-shadow:0 20px 40px rgba(59,130,246,0.2); }
.about-card-icon{
  font-size:32px;
  margin-bottom:20px;
  width:32px;
  height:32px;
}
@media(max-width:768px){
  .about-card-icon{
    font-size:28px;
    width:28px;
    height:28px;
    margin-bottom:15px;
  }
}
@media(max-width:480px){
  .about-card-icon{
    font-size:24px;
    width:24px;
    height:24px;
    margin-bottom:12px;
  }
}
.about-card:nth-child(1) .about-card-icon{ color:#4f46e5; }
.about-card:nth-child(2) .about-card-icon{ color:#059669; }
.about-card:nth-child(3) .about-card-icon{ color:#d97706; }
.about-card:nth-child(4) .about-card-icon{ color:#dc2626; }
.about-card:nth-child(5) .about-card-icon{ color:#9333ea; }
.about-card:nth-child(6) .about-card-icon{ color:#1d4ed8; }
.about-card h3{
  margin:0;
  font-size:18px;
  font-weight:600;
  margin-bottom:15px;
}
@media(max-width:768px){
  .about-card h3{
    font-size:16px;
    margin-bottom:12px;
  }
}
@media(max-width:480px){
  .about-card h3{
    font-size:15px;
    margin-bottom:10px;
  }
}
.about-card:nth-child(1) h3{ color:#4f46e5; }
.about-card:nth-child(2) h3{ color:#059669; }
.about-card:nth-child(3) h3{ color:#d97706; }
.about-card:nth-child(4) h3{ color:#dc2626; }
.about-card:nth-child(5) h3{ color:#9333ea; }
.about-card:nth-child(6) h3{ color:#1d4ed8; }
.about-card p{
  color:#666;
  margin-bottom:0;
  font-size:14px;
  line-height:1.5;
}
@media(max-width:768px){
  .about-card p{
    font-size:13px;
  }
}
@media(max-width:480px){
  .about-card p{
    font-size:12px;
  }
}
.about-card-bg{
  position:absolute;
  top:-30px;
  right:-30px;
  width:60px;
  height:60px;
  border-radius:50%;
}
@media(max-width:768px){
  .about-card-bg{
    width:50px;
    height:50px;
  }
}
@media(max-width:480px){
  .about-card-bg{
    width:40px;
    height:40px;
  }
}
.about-card:nth-child(1) .about-card-bg{ background:radial-gradient(circle,rgba(79,70,229,0.1),transparent); }
.about-card:nth-child(2) .about-card-bg{ background:radial-gradient(circle,rgba(16,185,129,0.1),transparent); }
.about-card:nth-child(3) .about-card-bg{ background:radial-gradient(circle,rgba(245,158,11,0.1),transparent); }
.about-card:nth-child(4) .about-card-bg{ background:radial-gradient(circle,rgba(239,68,68,0.1),transparent); }
.about-card:nth-child(5) .about-card-bg{ background:radial-gradient(circle,rgba(168,85,247,0.1),transparent); }
.about-card:nth-child(6) .about-card-bg{ background:radial-gradient(circle,rgba(59,130,246,0.1),transparent); }

/* ================= HERO CARDS ================= */
.hero-cards-container{
  max-width:1400px;
  margin:30px auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:25px;
  text-align:left;
}
@media(max-width:768px){
  .hero-cards-container{
    grid-template-columns:1fr;
    gap:20px;
    margin:20px auto;
  }
}
@media(max-width:480px){
  .hero-cards-container{
    gap:15px;
    margin:15px auto;
  }
}
.hero-card{
  background:linear-gradient(135deg,rgba(79,70,229,0.1),rgba(139,92,246,0.1));
  padding:25px;
  border-radius:15px;
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,0.2);
  position:relative;
  overflow:hidden;
  cursor:pointer;
  transition:all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}
@media(max-width:768px){
  .hero-card{
    padding:20px;
  }
}
@media(max-width:480px){
  .hero-card{
    padding:15px;
  }
}
.hero-card:hover{
  transform:translateY(-8px) scale(1.02);
  box-shadow:0 20px 40px rgba(79,70,229,0.3);
}
@media(max-width:768px){
  .hero-card:hover{
    transform:translateY(-4px) scale(1.01);
  }
}
.hero-card-icon{
  font-size:2.5rem;
  margin-bottom:15px;
  background:linear-gradient(135deg,#667eea,#764ba2);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
@media(max-width:768px){
  .hero-card-icon{
    font-size:2rem;
    margin-bottom:12px;
  }
}
@media(max-width:480px){
  .hero-card-icon{
    font-size:1.8rem;
    margin-bottom:10px;
  }
}
.hero-card-title{
  font-size:18px;
  color:#4f46e5;
  display:block;
  margin-bottom:10px;
}
@media(max-width:768px){
  .hero-card-title{
    font-size:16px;
  }
}
@media(max-width:480px){
  .hero-card-title{
    font-size:15px;
  }
}
.hero-card-text{
  margin:0;
  line-height:1.5;
}
@media(max-width:768px){
  .hero-card-text{
    font-size:14px;
  }
}
@media(max-width:480px){
  .hero-card-text{
    font-size:13px;
  }
}
.hero-card-bg{
  position:absolute;
  top:-50%;
  right:-50%;
  width:100px;
  height:100px;
  background:radial-gradient(circle,rgba(79,70,229,0.1),transparent);
  border-radius:50%;
  animation:pulse 3s infinite;
}
@media(max-width:768px){
  .hero-card-bg{
    width:80px;
    height:80px;
  }
}
@media(max-width:480px){
  .hero-card-bg{
    width:60px;
    height:60px;
  }
}

/* ================= HERO ================= */
header{
  padding:100px 20px;
  text-align:center;
}
@media(max-width:768px){
  header{
    padding:60px 15px;
  }
}
.hero h1{
  font-family:'Poppins', sans-serif;
  font-size:48px;
  font-weight:800;
  margin-bottom:10px;
  background:linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
@media(max-width:768px){
  .hero h1{
    font-size:32px;
  }
}
@media(max-width:480px){
  .hero h1{
    font-size:28px;
  }
}
.hero p{
  max-width:750px;
  margin:auto;
}
@media(max-width:768px){
  .hero p{
    font-size:16px;
    padding:0 10px;
  }
}
.hero p strong{
  font-family:'Poppins', sans-serif;
  font-weight:600;
  font-size:20px;
}
@media(max-width:768px){
  .hero p strong{
    font-size:18px;
  }
}

/* ================= SECTIONS ================= */
section{
  max-width:1200px;
  margin:auto;
  padding:80px 20px;
}
@media(max-width:768px){
  section{
    padding:40px 15px;
  }
}
@media(max-width:480px){
  section{
    padding:60px 10px 30px 10px;
  }
}
.hero{
  opacity:0;
  transform:translateY(30px);
  animation:heroFade 1s ease forwards;
}
@keyframes pulse{
  0%{transform:scale(1);opacity:0.7}
  50%{transform:scale(1.1);opacity:1}
  100%{transform:scale(1);opacity:0.7}
}
@keyframes heroFade{
  to{opacity:1;transform:none}
}
.hero-card:hover{
  animation:none!important
}
.hero-card:hover div[style*="animation:pulse"]{
  animation:none!important
}
h2{
  text-align:center;
  margin-bottom:30px;
  font-family:'Poppins', sans-serif;
  font-weight:600;
}

/* ================= REVEAL ================= */
.reveal{
  opacity:0;
  transform:translateY(40px);
  transition:.7s ease;
}
.reveal.active{
  opacity:1;
  transform:none;
}

/* ================= GRID & CARD ================= */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:15px;
  grid-auto-rows:auto;
}
@media(max-width:768px){
  .grid{
    grid-template-columns:1fr;
    gap:15px;
  }
}
@media(max-width:480px){
  .grid{
    grid-template-columns:1fr;
    gap:12px;
  }
}
.card{
  background:linear-gradient(135deg,rgba(79,70,229,0.08),rgba(139,92,246,0.08));
  border-radius:20px;
  border:1px solid rgba(79,70,229,0.15);
  padding:25px;
  position:relative;
  overflow:hidden;
  transition:all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  cursor:pointer;
  break-inside:avoid;
}
.card:hover{
  transform:translateY(-8px) scale(1.02);
  box-shadow:0 20px 40px rgba(79,70,229,0.2);
}
.card::after{
  content:'';
  position:absolute;
  top:-30px;
  right:-30px;
  width:60px;
  height:60px;
  background:radial-gradient(circle,rgba(79,70,229,0.1),transparent);
  border-radius:50%;
}
.port-item{
  padding:0;
}
.port-item img{
  width:100%;
  height:auto;
  aspect-ratio:4/3;
  object-fit:cover;
  object-position:top;
  border-radius:0;
  margin-bottom:0;
  cursor:pointer;
  transition:.3s;
}
.port-item img:hover{
  transform:scale(1.02);
}
.port-item h3,
.port-item p,
.port-item .view-btn{
  padding:0 15px;
}
.port-item h3{
  padding-top:15px;
  margin-bottom:8px;
  font-size:16px;
  line-height:1.3;
}
.port-item p{
  margin-bottom:15px;
  font-size:14px;
  line-height:1.4;
  color:#666;
}
.port-item .view-btn{
  padding-bottom:15px;
  display:inline-block;
}

/* ================= SKILLS ================= */
.skill-list{
  max-width:900px;
  margin:auto;
}
.skill{
  margin-bottom:18px;
}
.skill strong{
  display:block;
  margin-bottom:6px;
}
.skill-bar{
  background:#ddd;
  height:8px;
  border-radius:10px;
  overflow:hidden;
}
.skill-bar span{
  display:block;
  height:100%;
  width:0;
  background:var(--primary);
  transition:width 1s ease;
}

/* ================= PORTFOLIO ================= */
.filters{text-align:center;margin-bottom:30px}
.filters button{
  margin:6px;
  padding:8px 18px;
  border:2px solid transparent;
  border-radius:20px;
  cursor:pointer;
  background:var(--card);
  color:var(--text);
  font-family:'Poppins', sans-serif;
}
.filters button:focus{
  outline:2px solid var(--primary);
  outline-offset:2px;
}
.filters button.active,
.filters button:hover{
  background:var(--primary);
  color:#fff;
}
.port-item img{
  width:100%;
  height:auto;
  aspect-ratio:4/3;
  object-fit:cover;
  object-position:top;
  border-radius:0;
  margin-bottom:0;
  cursor:pointer;
  transition:.3s;
}
.port-item img:hover{
  transform:scale(1.02);
}
.view-btn{
  color:var(--primary);
  font-weight:bold;
  cursor:pointer;
  text-decoration:underline;
  border:none;
  background:none;
  font-size:inherit;
  font-family:inherit;
}
.view-btn:hover{
  color:#8e0e1f;
}
.view-btn:focus{
  outline:2px solid var(--primary);
  outline-offset:2px;
}

/* ================= CLIENT LOGOS & TESTIMONIALS ================= */
.logos{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:30px;
  align-items:center;
  margin-bottom:40px;
}
@media(max-width:768px){
  .logos{
    grid-template-columns:repeat(3,1fr);
    gap:20px;
  }
}
@media(max-width:480px){
  .logos{
    grid-template-columns:repeat(2,1fr);
    gap:15px;
  }
}
.logos svg,
.logos img{
  width:120px;
  height:60px;
  object-fit:contain;
  opacity:.9;
}
@media(max-width:768px){
  .logos svg,
  .logos img{
    width:100px;
    height:50px;
  }
}
@media(max-width:480px){
  .logos svg,
  .logos img{
    width:80px;
    height:40px;
  }
}

/* ================= EMAIL CLIENT BADGES ================= */
.badges{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:center;
}
@media(max-width:768px){
  .badges{
    gap:8px;
  }
}
.badge{
  background:var(--card);
  padding:10px 16px;
  border-radius:20px;
  font-weight:bold;
  font-size:14px;
}
@media(max-width:768px){
  .badge{
    padding:8px 12px;
    font-size:12px;
  }
}
@media(max-width:480px){
  .badge{
    padding:6px 10px;
    font-size:11px;
  }
}
.badge.compatible{
  background:linear-gradient(135deg, #10b981 0%, #059669 100%);
  color:#fff;
}
.badge.platform{
  background:linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color:#fff;
}
.badge.cert{
  background:linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color:#fff;
}

/* ================= METRICS BADGES ================= */
.metrics{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  justify-content:center;
}
@media(max-width:768px){
  .metrics{
    gap:12px;
  }
}
@media(max-width:480px){
  .metrics{
    gap:8px;
  }
}
.metric{
  background:var(--card);
  padding:14px 20px;
  border-radius:24px;
  font-weight:bold;
}
@media(max-width:768px){
  .metric{
    padding:12px 16px;
    font-size:14px;
  }
}
@media(max-width:480px){
  .metric{
    padding:10px 14px;
    font-size:13px;
  }
}

/* ================= CLIENT LOGO CAROUSEL ================= */
.logo-strip{
  overflow:hidden;
  position:relative;
}
.logo-track{
  display:flex;
  gap:40px;
  animation:scrollLogos 25s linear infinite;
}
.logo-track img{
  height:50px;
  object-fit:contain;
  filter:grayscale(100%);
  opacity:.85;
}
@keyframes scrollLogos{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}

/* ================= MODAL ================= */
.modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.85);
  justify-content:center;
  align-items:center;
  z-index:300;
  backdrop-filter:blur(2px);
  padding:10px;
}
.modal-content{
  background:#fff;
  max-width:1400px;
  width:95%;
  padding:15px;
  border-radius:12px;
  max-height:90vh;
  overflow-y:auto;
  display:flex;
  gap:20px;
  position:relative;
  transition:transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
  margin:auto;
}
.modal-image-container{
  width:40%;
  flex-shrink:0;
  max-height:none;
  overflow:visible;
  border-radius:10px;
  border:1px solid #eee;
}
.modal-content img{
  width:100%;
  border-radius:10px;
  margin:0;
  display:block;
  cursor:zoom-in;
  transition:.3s;
}
.modal-content img.zoomed{
  cursor:zoom-out;
  transform:scale(1.5);
  transform-origin:top left;
}
.modal-text{
  flex:1;
  padding-right:10px;
  font-size:14px;
  line-height:1.4;
  overflow-y:auto;
}
.modal-text h2{
  margin-bottom:10px;
  text-align:left;
}
@media(max-width:768px){
  .modal{
    padding:5px;
    align-items:flex-start;
    padding-top:20px;
  }
  .modal-content{
    flex-direction:column;
    width:100%;
    max-width:100%;
    max-height:95vh;
    padding:15px;
    gap:15px;
    margin:0;
  }
  .modal-image-container{
    width:100%;
    max-height:50vh;
    overflow:hidden;
  }
  .modal-content img{
    max-height:50vh;
    object-fit:contain;
  }
  .modal-text{
    padding-right:0;
    max-height:none;
    overflow-y:visible;
  }
  .modal-text h2{
    font-size:18px;
    margin-bottom:15px;
  }
  .modal-text p{
    font-size:14px;
    line-height:1.5;
  }
  .modal-text ul{
    padding-left:20px;
  }
  .modal-text li{
    font-size:13px;
    line-height:1.4;
    margin-bottom:5px;
  }
}
@media(max-width:480px){
  .modal{
    padding:2px;
  }
  .modal-content{
    padding:10px;
    border-radius:8px;
  }
  .modal-text h2{
    font-size:16px;
  }
  .modal-text p{
    font-size:13px;
  }
  .modal-text li{
    font-size:12px;
  }
}
.close{
  position:fixed;
  top:15px;
  right:15px;
  font-weight:bold;
  cursor:pointer;
  font-size:24px;
  background:linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color:#fff;
  border:none;
  width:40px;
  height:40px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:10;
  transition:all 0.3s ease;
}
.close:hover{
  background:linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform:scale(1.1);
}
@media(max-width:768px){
  .close{
    top:10px;
    right:10px;
    width:35px;
    height:35px;
    font-size:20px;
  }
}
@media(max-width:480px){
  .close{
    top:5px;
    right:5px;
    width:30px;
    height:30px;
    font-size:18px;
  }
}

/* ================= MODAL NAVIGATION ================= */
.modal-nav{
  position:fixed;
  top:50%;
  transform:translateY(-50%);
  background:linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color:#fff;
  border:none;
  width:50px;
  height:50px;
  border-radius:50%;
  cursor:pointer;
  font-size:18px;
  font-weight:bold;
  z-index:10;
  transition:all 0.3s ease;
  display:flex;
  align-items:center;
  justify-content:center;
}
.modal-nav:hover{
  background:linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform:translateY(-50%) scale(1.1);
}
.modal-nav:focus{
  outline:2px solid var(--primary);
  outline-offset:2px;
}
.modal-prev{
  left:20px;
}
.modal-next{
  right:20px;
}
@media(max-width:768px){
  .modal-nav{
    width:40px;
    height:40px;
    font-size:16px;
  }
  .modal-prev{
    left:10px;
  }
  .modal-next{
    right:10px;
  }
}

/* ================= MODAL TRANSITIONS ================= */
.modal{
  opacity:0;
  transition:opacity 0.3s ease;
}
.modal.show{
  opacity:1;
}
.modal-content{
  transform:scale(0.9);
  transition:all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.modal.show .modal-content{
  transform:scale(1);
}

/* ================= MODAL SLIDE ANIMATIONS ================= */
.modal-content.slide-out-left{
  transform:translateX(-100%) scale(0.95);
  opacity:0;
}
.modal-content.slide-out-right{
  transform:translateX(100%) scale(0.95);
  opacity:0;
}
.modal-content.slide-in-left{
  transform:translateX(-100%) scale(0.95);
  opacity:0;
  animation:slideInLeft 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.modal-content.slide-in-right{
  transform:translateX(100%) scale(0.95);
  opacity:0;
  animation:slideInRight 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slideInLeft{
  to{
    transform:translateX(0) scale(1);
    opacity:1;
  }
}

@keyframes slideInRight{
  to{
    transform:translateX(0) scale(1);
    opacity:1;
  }
}

/* ================= MODAL OVERLAY FIXED ================= */
.modal.show{
  opacity:1;
  backdrop-filter:blur(3px);
}

.modal-content.transitioning{
  pointer-events:none;
}

/* ================= FOOTER ================= */
footer{
  text-align:center;
  padding:40px 20px;
  font-size:14px;
}
footer p:last-child{
color:#666 !important;
}

/* ================= CTA BUTTON ================= */
.cta-btn{
  display:inline-block;
  background:var(--primary);
  color:#fff;
  padding:12px 24px;
  border-radius:6px;
  text-decoration:none;
  font-weight:bold;
  margin:10px 5px;
  transition:.3s;
  border:none;
  cursor:pointer;
}
.cta-btn:hover{
  background:linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transform:translateY(-2px);
}
.cta-btn:focus{
  outline:2px solid var(--primary);
  outline-offset:2px;
}

/* ================= CONTACT FORM ================= */
.contact-form{
  max-width:600px;
  margin:auto;
  background:var(--card);
  padding:30px;
  border-radius:12px;
}
@media(max-width:768px){
  .contact-form{
    padding:20px;
    margin:0 10px;
  }
}
@media(max-width:480px){
  .contact-form{
    padding:15px;
    margin:0 5px;
  }
}
.form-group{
  margin-bottom:20px;
}
.form-group label{
  display:block;
  margin-bottom:5px;
  font-weight:bold;
}
.form-group input,
.form-group textarea{
  width:100%;
  padding:12px;
  border:1px solid #ddd;
  border-radius:6px;
  font-family:inherit;
  background:var(--bg);
  color:var(--text);
}
.form-group input:focus,
.form-group textarea:focus{
  outline:2px solid var(--primary);
  border-color:var(--primary);
}
.form-group textarea{
  height:120px;
  resize:vertical;
}

/* ================= LOADING SPINNER ================= */
.spinner{
  display:none;
  width:20px;
  height:20px;
  border:2px solid #f3f3f3;
  border-top:2px solid var(--primary);
  border-radius:50%;
  animation:spin 1s linear infinite;
  margin:0 auto;
}
@keyframes spin{
  0%{transform:rotate(0deg)}
  100%{transform:rotate(360deg)}
}

/* ================= TOAST NOTIFICATION ================= */
.toast{
  position:fixed;
  top:20px;
  right:20px;
  background:linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color:#fff;
  padding:15px 20px;
  border-radius:6px;
  z-index:1000;
  transform:translateX(400px);
  transition:.3s;
}
.toast.show{
  transform:translateX(0);
}

/* ================= MOBILE OPTIMIZATIONS ================= */
@media(max-width:768px){
  body{
    overflow-x:hidden;
  }
  *{
    max-width:100%;
  }
  h2{
    font-size:24px;
  }
  .filters{
    padding:0 10px;
  }
  .filters button{
    margin:4px;
    padding:6px 14px;
    font-size:13px;
  }
}
@media(max-width:480px){
  h2{
    font-size:20px;
        margin-bottom: 10px;
  }
  .filters button{
    margin:3px;
    padding:5px 12px;
    font-size:12px;
  }
}

/* ================= MOBILE OPTIMIZATIONS ================= */
.mobile-menu-btn{
  display:none;
  background:none;
  border:none;
  font-size:24px;
  cursor:pointer;
  color:#fff;
  position:absolute;
  right:20px;
  top:50%;
  transform:translateY(-50%);
}
@media(max-width:768px){
  .mobile-menu-btn{display:block}
  nav ul{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    flex-direction:column;
    padding:0;
    box-shadow:0 2px 10px rgba(0,0,0,.1);
    max-height:0;
    overflow:hidden;
    opacity:0;
    transition:max-height .3s ease, opacity .3s ease;
    z-index:200;
  }
  nav ul.open{
    max-height:400px;
    opacity:1;
    padding:20px;
  }
  nav ul li{
    margin:10px 0;
  }
}

/* ================= ACCESSIBILITY ================= */
@media(prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
}
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.skip-link{
  position:absolute;
  top:-40px;
  left:6px;
  background:linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color:#fff;
  padding:8px;
  text-decoration:none;
  z-index:1000;
}
.skip-link:focus{
  top:6px;
}

/* ================= BACK TO TOP ================= */
.back-to-top{
  position:fixed;
  bottom:20px;
  right:20px;
  background:linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color:#fff;
  width:50px;
  height:50px;
  border-radius:50%;
  border:none;
  cursor:pointer;
  font-size:18px;
  opacity:0;
  visibility:hidden;
  transition:.3s;
  z-index:100;
}
.back-to-top.show{
  opacity:1;
  visibility:visible;
}
.back-to-top:hover{
  background:linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform:translateY(-2px);
}
.back-to-top:focus{
  outline:2px solid var(--primary);
  outline-offset:2px;
}

/* =====================================
   CONTACT FORM
===================================== */

.contact-form-wrapper {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
}

.contact-form {
    width: 100%;
}


/* =====================================
   FORM FIELDS
===================================== */

.form-field {
    margin-bottom: 22px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text, #ffffff);
}

.form-field label span {
    color: #ffd400;
}


/* =====================================
   INPUT / SELECT / TEXTAREA
===================================== */

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 13px 15px;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;

    background: var(--bg, #111111);
    color: var(--text, #ffffff);

    font-family: 'Poppins', sans-serif;
    font-size: 14px;

    outline: none;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}


/* Placeholder */

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #888888;
}


/* Select */

.form-field select {
    cursor: pointer;
}


/* Select options */

.form-field select option {
    background: #111111;
    color: #ffffff;
}


/* Textarea */

.form-field textarea {
    min-height: 150px;
    resize: vertical;
}


/* Focus */

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #ffd400;

    box-shadow:
        0 0 0 3px rgba(255, 212, 0, 0.10);
}


/* =====================================
   SUBMIT BUTTON
===================================== */

.submit-btn {
    width: 100%;
    min-height: 52px;

    border: none;
    border-radius: 8px;

    background: #ffd400;
    color: #111111;

    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 25px rgba(255, 212, 0, 0.22);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
}


/* =====================================
   LOADING SPINNER
===================================== */

.submit-loader {
    display: none;

    width: 18px;
    height: 18px;

    margin-left: 8px;

    vertical-align: middle;

    border: 2px solid rgba(0, 0, 0, 0.25);
    border-top-color: #111111;
    border-radius: 50%;

    animation: formSpin 0.7s linear infinite;
}

.submit-btn.loading .submit-loader {
    display: inline-block;
}

@keyframes formSpin {
    to {
        transform: rotate(360deg);
    }
}


/* =====================================
   ERROR MESSAGE
===================================== */

.form-error {
    display: none;

    margin-bottom: 18px;
    padding: 12px 15px;

    border-radius: 7px;

    background: rgba(220, 53, 69, 0.10);
    border: 1px solid rgba(220, 53, 69, 0.35);

    color: #ff6b78;

    font-size: 13px;
    line-height: 1.5;
}


/* =====================================
   THANK YOU MESSAGE
===================================== */

.thank-you-message {
    text-align: center;

    padding: 45px 25px;

    border-radius: 12px;

    background: var(--bg, #111111);

    border: 1px solid rgba(255, 255, 255, 0.12);

    animation: successFade 0.5s ease;
}

@keyframes successFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Success Icon */

.success-icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ffd400;
    color: #111111;

    font-size: 32px;
    font-weight: 700;
}


/* Thank You Heading */

.thank-you-message h3 {
    margin: 0 0 10px;

    font-family: 'Poppins', sans-serif;

    font-size: 26px;
    font-weight: 700;

    color: var(--text, #ffffff);
}


/* Thank You Text */

.thank-you-message p {
    margin: 0 auto 25px;

    max-width: 520px;

    font-size: 14px;
    line-height: 1.7;

    color: #999999;
}


/* =====================================
   SEND ANOTHER MESSAGE BUTTON
===================================== */

.new-message-btn {
    display: inline-block;

    padding: 12px 22px;

    border: 1px solid #ffd400;
    border-radius: 7px;

    background: transparent;
    color: #ffd400;

    font-family: 'Poppins', sans-serif;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.new-message-btn:hover {
    background: #ffd400;
    color: #111111;
}


.blog-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 50px 24px 0;
}

.blog-hero {
  text-align: center;
  padding: 25px 15px 0;
}

.blog-kicker {
  display: inline-block;
  padding: 8px 16px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.blog-hero h1 {
  margin: 0 auto 18px;
  max-width: 900px;
  font-family: Poppins, sans-serif;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
}

.blog-hero p {
  max-width: 760px;
  margin: auto;
  font-size: 18px;
  line-height: 1.75;
  color: #666;
}

.featured-post {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  overflow: hidden;
  margin-bottom: 55px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 15px 45px rgba(0,0,0,.09);
  border: 1px solid rgba(0,0,0,.06);
}

.featured-image {
  min-height: 390px;
  background: linear-gradient(135deg, #111, #333);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px;
}

.featured-image .mockup {
  width: 100%;
  max-width: 470px;
  padding: 28px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}

.mockup-bar {
  height: 9px;
  width: 45%;
  border-radius: 20px;
  margin-bottom: 22px;
  background: #111;
}

.mockup-line {
  height: 12px;
  border-radius: 20px;
  margin: 12px 0;
  background: #eee;
}

.mockup-line.short {
  width: 65%;
}

.mockup-box {
  height: 120px;
  margin: 22px 0;
  border-radius: 12px;
  background: #f1f1f1;
}

.featured-content {
  padding: 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-category {
  display: inline-block;
  width: fit-content;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 20px;
  background: rgba(0,0,0,.06);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.featured-content h2 {
  margin: 0 0 15px;
  font-family: Poppins, sans-serif;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.2;
}

.featured-content p {
  margin: 0 0 22px;
  color: #666;
  line-height: 1.75;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 24px;
  color: #777;
  font-size: 13px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 12px 20px;
  border-radius: 8px;
  background: #111;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s ease, opacity .2s ease;
}

.read-more:hover {
  transform: translateY(-2px);
  opacity: .88;
}

.blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.blog-toolbar h2 {
  margin: 0;
  font-family: Poppins, sans-serif;
  font-size: 30px;
}

.category-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.category-filter button {
  padding: 9px 15px;
  border: 1px solid #ddd;
  border-radius: 30px;
  background: #fff;
  cursor: pointer;
  font: 600 13px Inter, sans-serif;
}

.category-filter button.active,
.category-filter button:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.blog-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 8px 28px rgba(0,0,0,.07);
  transition: transform .25s ease, box-shadow .25s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,.11);
}

.blog-card-image {
  height: 190px;
  padding: 25px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, #111, #3a3a3a);
  color: #fff;
	position: relative;
	overflow: hidden;
}
.blog-card-image img{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
}
.blog-card-image .icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(0,0,0,.8);
	    z-index: 1;
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-body h3 {
  margin: 0 0 12px;
  font-family: Poppins, sans-serif;
  font-size: 20px;
  line-height: 1.35;
}

.blog-card-body p {
  margin: 0 0 18px;
  color: #666;
  font-size: 15px;
  line-height: 1.7;
}

.blog-card .post-meta {
  margin-top: auto;
  margin-bottom: 18px;
}

.blog-card .read-more {
  padding: 10px 16px;
  font-size: 13px;
}

.no-results {
  display: none;
  grid-column: 1 / -1;
  padding: 50px;
  text-align: center;
  color: #666;
}

.newsletter {
  margin-top: 65px;
  padding: 40px;
  border-radius: 22px;
  text-align: center;
  background: rgba(0,0,0,.04);
}

.newsletter h2 {
  margin: 0 0 10px;
  font-family: Poppins, sans-serif;
}

.newsletter p {
  max-width: 650px;
  margin: 0 auto 22px;
  color: #666;
  line-height: 1.7;
}

.blog-note {
  margin-top: 35px;
  padding: 20px 24px;
  border-left: 4px solid #111;
  border-radius: 12px;
  background: rgba(0,0,0,.035);
  color: #555;
  line-height: 1.7;
}

@media (max-width: 950px) {
  .featured-post {
    grid-template-columns: 1fr;
  }

  .featured-image {
    min-height: 300px;
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .blog-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-filter {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .blog-page {
    padding: 35px 16px 70px;
  }

  .featured-content {
    padding: 30px 24px;
  }

  .featured-image {
    min-height: 250px;
    padding: 22px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-toolbar h2 {
    font-size: 25px;
  }
}

 
/* Article-specific styling — designed to extend the existing Sachin Hande portfolio theme. */
.article-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.article-hero {
  text-align: center;
  padding: 55px 20px 45px;
}

.article-kicker {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-hero h1 {
  max-width: 950px;
  margin: 0 auto 20px;
  font-family: Poppins, sans-serif;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.08;
}

.article-hero .lead {
  max-width: 820px;
  margin: 0 auto;
  font-size: 19px;
  line-height: 1.75;
  color: #666;
}

.article-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 24px;
  font-size: 14px;
  color: #777;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70%;
  gap: 32px;
  align-items: start;
}

.article-content {
  min-width: 0;
}

.article-content section {
  margin: 0 0 48px;
}

.article-content h2 {
  margin: 0 0 16px;
  font-family: Poppins, sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
}

.article-content h3 {
  margin: 28px 0 12px;
  font-family: Poppins, sans-serif;
  font-size: 21px;
}

.article-content p,
.article-content li {
  font-size: 17px;
  line-height: 1.8;
  color: #444;
}

.article-content ul,
.article-content ol {
  padding-left: 25px;
}

.article-content li {
  margin-bottom: 7px;
}

.article-content a {
  color: var(--primary, #111);
  font-weight: 600;
}

.experience-note {
  margin: 25px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--primary, #111);
  border-radius: 12px;
  background: rgba(0,0,0,.035);
}

.experience-note p {
  margin: 0;
}

.article-code {
  overflow-x: auto;
  margin: 20px 0 26px;
  padding: 20px;
  border-radius: 14px;
  background: #111;
  color: #eee;
  font: 14px/1.7 Consolas, Monaco, monospace;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.article-code code {
  white-space: pre;
}

.article-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
  margin: 25px 0;
}

.article-mini-card {
  padding: 22px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0,0,0,.07);
  border: 1px solid rgba(0,0,0,.06);
}

.article-mini-card h3 {
  margin-top: 0;
  font-size: 19px;
}

.article-mini-card p {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.65;
}

.toc {
  position: sticky;
  top: 25px;
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.06);
}

.toc h2 {
  margin: 0 0 14px;
  font-family: Poppins, sans-serif;
  font-size: 20px;
}

.toc ol {
  margin: 0;
  padding-left: 20px;
}

.toc li {
  margin: 7px 0;
  font-size: 14px;
  line-height: 1.45;
}

.toc a {
  color: inherit;
  text-decoration: none;
}

.toc a:hover {
  text-decoration: underline;
}

.faq-item {
  margin: 14px 0;
  padding: 20px 22px;
  border-radius: 14px;
  background: rgba(0,0,0,.035);
}

.faq-item h3 {
  margin: 0 0 8px;
}

.faq-item p {
  margin: 0;
}

.article-cta {
  margin-top: 55px;
  padding: 35px;
  border-radius: 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(0,0,0,.06), rgba(0,0,0,.02));
}

.article-cta h2 {
  margin-bottom: 12px;
}

.article-cta p {
  max-width: 700px;
  margin: 0 auto 22px;
}

.article-cta .cta-btn {
  display: inline-block;
  margin: 5px;
	color: #fff;
}
.toolkit-form{
	align-items: center;
    justify-content: center;
}
.toolkit-cta input{

    box-sizing: border-box;
    padding: 13px 15px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: var(--bg, #111111);
    color: var(--text, #ffffff);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
	.toolkit-another-btn{
		  box-sizing: border-box;
    padding: 13px 15px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: var(--bg, #111111);
    color: var(--text, #ffffff);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
		cursor: hand;
		cursor: pointer;
	}
.toolkit-cta .small-note{
	font-size: 14px;
	    color: #059669;
	padding-top: 10px;
}
@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
    order: -1;
  }
}

@media (max-width: 650px) {
  .article-page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .article-hero {
    padding-top: 35px;
  }

  .article-hero .lead {
    font-size: 17px;
  }

  .article-content p,
  .article-content li {
    font-size: 16px;
  }

  .article-card-grid {
    grid-template-columns: 1fr;
  }

  .article-code {
    font-size: 12px;
    padding: 16px;
  }

  .article-cta {
    padding: 26px 20px;
  }
}
 
/* =====================================
   MOBILE
===================================== */

@media (max-width: 600px) {

    .form-field {
        margin-bottom: 18px;
    }

    .form-field input,
    .form-field select,
    .form-field textarea {
        padding: 12px;
        font-size: 14px;
    }

    .submit-btn {
        min-height: 50px;
    }

    .thank-you-message {
        padding: 35px 20px;
    }

    .thank-you-message h3 {
        font-size: 23px;
    }

    .new-message-btn {
        width: 100%;
    }
}
