/* ================= GLOBAL RESET ================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:"Poppins", sans-serif;
}

html{
  scroll-behavior:smooth;
}

body{
  background:#0d0d0d;
  color:#fff;
  overflow-x: hidden;
}

/* ================= NAVBAR ================= */
header {
  width:100%;
  position:fixed;
  top:0;
  left:0;
  z-index:999;
  background:rgba(0, 0, 0, 0.7);
  backdrop-filter:blur(10px);
  border-bottom:1px solid #222;
}

.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 10%;
}

.logo{
  font-size:28px;
  font-weight:700;
  color:#00ffb3;
}

.nav-links{
  display:flex;
  list-style:none;
  gap:25px;
}

.nav-links li a{
  text-decoration:none;
  color:#fff;
  font-weight:500;
  transition:.3s;
}

.nav-links li a:hover{
  color:#00ffb3;
}

/* Resume Button */
.btn.resume{
  padding:10px 18px;
  border-radius:10px;
  background:#00ffb3;
  text-decoration:none;
  color:#000;
  font-weight:600;
}

.theme-toggle i{
  font-size:20px;
  cursor:pointer;
  margin-left:20px;
}

/* ================= HERO SECTION ================= */
.hero{
  height:100vh;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:150px 10% 0;
}

.hero-content{
  max-width:50%;
}

.hero h1{
  font-size:48px;
  font-weight:700;
}

.hero h1 span{
  color:#00ffb3;
}

.hero h2{
  margin:8px 0 20px;
  font-size:24px;
  color:#ccc;
}

.hero p{
  line-height:1.6;
  margin-bottom:20px;
}

.buttons .btn{
  display:inline-block;
  padding:10px 20px;
  border-radius:10px;
  background:#00ffb3;
  text-decoration:none;
  font-weight:600;
  color:#000;
  margin-right:10px;
  transition:.3s ease;
}

.btn.contact{
  background:transparent;
  border:2px solid #00ffb3;
  color:#00ffb3;
}
.social a{
  color:white;
  font-size:20px;
  margin-right:12px;
  transition:.3s;
}
.social a:hover{
  color:#00ffb3;
}

.hero-image img{
  width:380px;
  border-radius:50%;
  border:4px solid #1a1b1b;
}

/* ================= SERVICES ================= */
.services{
  padding:80px 10%;
}

.section-title{
  text-align:center;
  font-size:38px;
  font-weight:700;
  margin: bottom 60px;
}

.service-container{
  display:flex;
  gap:25px;
  justify-content:center;
  flex-wrap:wrap;
}

.service-card{
  background:#141414;
  padding:25px;
  width:300px;
  text-align:center;
  border-radius:15px;
  border:1px solid #222;
  transition:.3s;
}

.service-card:hover{
  transform:translateY(-8px);
  border-color:#00ffb3;
  box-shadow:0 0 15px #00ffb3;
}

.service-card i{
  font-size:42px;
  margin-bottom:60px;
  color:#00ffb3;
}



/* ===== SKILLS SECTION ===== */
.skills {
  padding: 80px 10%;
  background: #0d1117;
}

.skills .section-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 40px;
  color: #00ffb3;
}

.skill-bar {
  margin-bottom: 25px;
}

.skill-bar p {
  margin: 0 0 8px 0;
  font-weight: 600;
  color: white;
}

.bar {
  width: 100%;
  background: #222;
  height: 14px;
  border-radius: 10px;
  overflow: hidden;
}

.progress {
  display: block;
  height: 100%;
  border-radius: 10px;
  background: #00ffb3;
}

/* width values for animations */
.progress.html { width: 95%; animation: grow 2s ease-out; }
.progress.css { width: 90%; animation: grow 2s ease-out; }
.progress.js { width: 80%; animation: grow 2s ease-out; }
.progress.react { width: 75%; animation: grow 2s ease-out; }
.progress.java { width: 85%; animation: grow 2s ease-out; }

@keyframes grow {
  from { width: 0; }
  to { width: 100%; }
}


/* ================= SKILLS (replaced projects) ================= */
.skills{padding:60px 20px;max-width:1200px;margin:0 auto}
.skills-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}
.skill-card{background:#0f1419;padding:20px;border-radius:12px;border:1px solid rgba(255,255,255,0.03)}
.skill-card h3{font-size:18px;margin-bottom:12px;color:#dff7ff}
.skill-card .progress{height:14px;background:#111418;border-radius:10px;overflow:hidden;border:1px solid rgba(255,255,255,0.02)}
.skill-card .progress > div{height:100%;background:linear-gradient(90deg,#00d1ff,#0077ff);transition:width 1.4s ease}

/* set default widths via inline style in HTML (already present) */

/* ================= ABOUT (card style) ================= */
.about-box{
  background:#11161f;
  padding:50px;               /* More padding */
  width: 85%;
  min-height: 350px;          /* Increased height */
  margin:auto;
  border-radius:14px;
  border:1px solid #1f2937;
  display:flex;
  flex-direction:column;
  justify-content:center;     /* Centers text vertically */
}
.edu-card:hover{
  transform:translateY(-8px);
  border-color:#00ffb3;
  box-shadow:0 0 15px #00ffb3;
}

.about{padding:60px 20px 80px;background:transparent;max-width:1500px;margin:0 auto}
.about .section-title{text-align:center;margin-bottom:44px}
.about-content{display:flex;gap:28px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap}
.about-text{flex:1;min-width:320px}
.about-text h3{color:#00ffb3;margin-bottom:14px;font-size:22px}
.education-cards{display:grid;grid-template-columns: (auto-fit,minmax(200px,1fr));gap:14px;padding-bottom: 100px;}
.edu-card{background:#0f1419;padding:18px;border-radius:12px;text-align:center;border:1px solid rgba(0,209,255,0.06);transition:transform .28s,box-shadow .28s}
.edu-card i{font-size:26px;color:#00ffb3;margin-bottom:18px}
.edu-card h4{color:#00ffb3;margin-bottom:6px;font-size:16px}
.edu-card p{color:#d7eaf7;font-size:15px}
.about-image img{width:320px;border-radius:12px;object-fit:cover;border:3px solid rgba(0,209,255,0.08);box-shadow:0 8px 24px rgba(0,0,0,0.6)}

/* ================= CONTACT ================= */
.contact{
  padding:80px 10%;
  text-align:center;
}

.contact form{
  max-width:500px;
  margin:auto;
  display:flex;
  flex-direction:column;
  gap:15px;
}

input, textarea{
  padding:12px;
  border-radius:10px;
  background:#1a1a1a;
  border:none;
  color:white;
  outline:none;
}

button{
  background:#00ffb3;
  color:#000;
  padding:10px;
  border:none;
  border-radius:10px;
  font-weight:600;
  cursor:pointer;
}

/* ================= Small Screens / Responsive ================= */
@media (max-width:980px){
  .hero{flex-direction:column-reverse;padding:120px 20px 40px}
  .hero-image img{width:300px;height:300px}
  .hero-content{text-align:center}
  .nav-links{display:none}
  .service-container{justify-content:center}
  .about-image img{width:280px}
}

@media (max-width:620px){
  .hero{padding:120px 16px 40px}
  .hero h1{font-size:30px}
  .hero h2{font-size:18px}
  .hero-image img{width:220px;height:220px}
  .edu-card p,.edu-card h4{font-size:15px}
  #contact-form{width:100%}
  .education-cards{grid-template-columns:1fr}
  .skills-grid{grid-template-columns:1fr}
}

/* ================= Micro styles ================= */
/* subtle scrollbar */
::-webkit-scrollbar{height:8px;width:8px}
::-webkit-scrollbar-thumb{background:linear-gradient(#00d1ff,#0077ff);border-radius:12px}
/* ================= Section Spacing ================= */
section {
  padding: 120px 0;      /* Increase spacing vertically */
}

.section-title {
  margin-bottom: 60px;   /* space under titles */
}
#service{
    padding-top: 100px;
    padding-bottom: 540px;
}
#skills{
    padding-top: 90px;
    padding-bottom: 300px;
}
#about{
    padding-top: 100px;
    padding-bottom: 350px;
}
#contact {
  padding-top: 80px;
  padding-bottom: 120px;
}
@media (max-width:768px){
  section{
    padding: 80px 0;
  }
  .section-title{
    margin-bottom: 40px;
  }
}

