 * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
 
html {
  scroll-behavior: smooth;
}
 
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f0f4ff;
  color: #333333;
  line-height: 1.7;
}
 
a {
  text-decoration: none;
  color: inherit;
}
 
 /* Nav bar */
nav {
  position: sticky;
  top: 0;
  background-color: #ffffff;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  z-index: 999;
}
 
/* Logo circle */
.logo {
  background-color: #4361ee;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
 
/* Nav links list */
nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}
 
nav ul a {
  font-size: 15px;
  font-weight: 500;
  color: #555555;
  transition: color 0.2s;
}
 
nav ul a:hover {
  color: #4361ee;
}
 
 
/* HERO SECTION*/
 
#hero {
  background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
  color: #ffffff;
  padding: 80px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
 
/* Left side text */
.hero-text .hello {
  font-size: 16px;
  font-weight: 400;
  opacity: 0.85;
  margin-bottom: 10px;
}
 
.hero-text h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 14px;
}
 
/* The colored word "Shiva" */
.hero-text h1 span {
  color: #f72585;
}
 
.hero-text .tagline {
  font-size: 15px;
  opacity: 0.8;
  margin-bottom: 32px;
}
 
/* Hero buttons */
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
 
.btn-main {
  background-color: #f72585;
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  transition: background-color 0.2s, transform 0.2s;
}
 
.btn-main:hover {
  background-color: #d91a72;
  transform: translateY(-2px);
}
 
.btn-ghost {
  background-color: transparent;
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  transition: background-color 0.2s, transform 0.2s;
}
 
.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}
 
/* Right side floating card */
.hero-card {
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 30px 36px;
  text-align: center;
  min-width: 200px;
}
 
/* Avatar circle with initials */
.avatar {
  background-color: #f72585;
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px auto;
  border: 3px solid rgba(255, 255, 255, 0.4);
}
 
.card-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
 
.card-role {
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: 16px;
}
 
.card-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
 
.card-badges span {
  background-color: rgba(255, 255, 255, 0.18);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
 

.section-title {
  text-align: center;
  margin-bottom: 40px;
}
 
.section-title h2 {
  font-size: 32px;
  font-weight: 800;
  color: #1a1a2e;
}
 
/* Coloured line under the heading */
.underline {
  width: 60px;
  height: 4px;
  background-color: #f72585;
  border-radius: 2px;
  margin: 10px auto 0 auto;
}
 
 
/* ABOUT SECTION */
 
#about {
  padding: 80px 60px;
  background-color: #ffffff;
}
 
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}
 
.about-left p {
  font-size: 15px;
  color: #555555;
  margin-bottom: 16px;
  line-height: 1.85;
}
 
.about-left strong {
  color: #4361ee;
}
 
/* Info box on the right */
.info-box {
  background-color: #f0f4ff;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
 
.info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background-color: #ffffff;
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}
 
.info-icon {
  font-size: 22px;
}
 
.info-label {
  font-size: 11px;
  color: #999999;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
 
.info-value {
  font-size: 14px;
  font-weight: 600;
  color: #222222;
}
 
 
/*  SKILLS SECTION*/
 
.skills-section {
  padding: 80px 60px;
  background-color: #f0f4ff;
}
 
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
 
.skill-card {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s;
}
 
.skill-card:hover {
  transform: translateY(-4px);
}
 
.skill-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
 
.skill-emoji {
  font-size: 22px;
}
 
.skill-name {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
}
 
/* Progress bar track (gray background) */
.progress-bar {
  background-color: #e8edf8;
  border-radius: 20px;
  height: 22px;
  overflow: hidden;
}
 
/* Coloured fill that shows the skill level */
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4361ee, #f72585);
  border-radius: 20px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
}
 
 
/* PROJECTS SECTION */
 
#projects {
  padding: 80px 60px;
  background-color: #ffffff;
}
 
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}
 
.project-card {
  background-color: #f0f4ff;
  border-radius: 18px;
  padding: 28px;
  border-top: 5px solid #4361ee;
  transition: transform 0.2s, box-shadow 0.2s;
}
 
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(67, 97, 238, 0.15);
}
 
.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
 
.project-emoji {
  font-size: 36px;
}
 
.project-number {
  font-size: 13px;
  font-weight: 700;
  color: #4361ee;
  background-color: #dde3ff;
  padding: 4px 12px;
  border-radius: 20px;
}
 
.project-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
}
 
.project-card p {
  font-size: 14px;
  color: #666666;
  line-height: 1.75;
  margin-bottom: 18px;
}
 
.project-card p strong {
  color: #4361ee;
}
 
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
 
.project-tags span {
  background-color: #4361ee;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
}
 
 
/*  CONTACT SECTION */
 
.contact-section {
  padding: 80px 60px;
  background-color: #f0f4ff;
  text-align: center;
}
 
.contact-box {
  max-width: 760px;
  margin: 0 auto;
}
 
.contact-intro {
  font-size: 16px;
  color: #555555;
  margin-bottom: 40px;
  line-height: 1.8;
}
 
.contact-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
 
.contact-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 28px 36px;
  border: 2px solid #e0e6ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 160px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
 
.contact-card:hover {
  border-color: #4361ee;
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(67, 97, 238, 0.15);
}
 
.contact-card span {
  font-size: 32px;
}
 
.contact-card p {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
}
 
.contact-card small {
  font-size: 12px;
  color: #888888;
}
 
 
/*  FOOTER */
 
footer {
  background-color: #1a1a2e;
  color: #aaaaaa;
  text-align: center;
  padding: 28px 20px;
}
 
footer strong {
  color: #ffffff;
}
 
.footer-sub {
  font-size: 12px;
  color: #666666;
  margin-top: 6px;
}
 
 
/*  RESPONSIVE DESIGN (for mobile phones) */
 
@media (max-width: 768px) {
 
  #hero {
    padding: 50px 24px;
    flex-direction: column;
    text-align: center;
  }
 
  .hero-text h1 {
    font-size: 36px;
  }
 
  .hero-buttons {
    justify-content: center;
  }
 
  #about,
  .skills-section,
  #projects,
  .contact-section {
    padding: 50px 20px;
  }
 
  .about-grid {
    grid-template-columns: 1fr;
  }
 
  .skills-grid {
    grid-template-columns: 1fr;
  }
 
  .projects-grid {
    grid-template-columns: 1fr;
  }
 
  nav {
    padding: 14px 20px;
  }
 
  nav ul {
    gap: 16px;
  }
}
 