* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}


body {
  background: #0f172a;
  color: #fff;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.hero h1 {
  font-size: 3rem;
}

.hero h1 span {
  color: #38bdf8;
}

.hero p {
  margin-top: 15px;
  font-size: 1.2rem;
  color: #cbd5f5;
}

.buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

.buttons a {
  text-decoration: none;
  padding: 12px 22px;
  background: #38bdf8;
  color: #000;
  border-radius: 8px;
  font-weight: bold;
}

.buttons a.outline {
  background: transparent;
  color: #fff;
  border: 1px solid #38bdf8;
}
.about {
  padding: 120px 20px;
  max-width: 900px;
  margin: auto;
  text-align: left; /* IMPORTANT */
}

.about p {
  font-size: 1.15rem;
  max-width: 700px;
}


.about h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #38bdf8;
}

.projects {
  padding: 80px 20px;
  background: #020617;
  text-align: center;
}

.projects h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #38bdf8;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: auto;
}

.project-card {
  background: #0f172a;
  padding: 25px;
  border-radius: 12px;
  text-align: left;
  transition: transform 0.3s;
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-card h3 {
  margin-bottom: 10px;
}

.project-card p {
  font-size: 0.95rem;
  color: #cbd5f5;
  margin-bottom: 12px;
}

.project-card span {
  font-size: 0.85rem;
  color: #38bdf8;
}
.skills {
  padding: 80px 20px;
  text-align: center;
}

.skills h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #38bdf8;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  max-width: 900px;
  margin: auto;
}

.skills-grid span {
  background: #020617;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 0.95rem;
  color: #cbd5f5;
  border: 1px solid #1e293b;
}
.contact {
  padding: 80px 20px;
  background: #020617;
  text-align: center;
}

.contact h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #38bdf8;
}

.contact p {
  color: #cbd5f5;
  margin-bottom: 25px;
}

.contact-links {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.contact-links a {
  text-decoration: none;
  color: #38bdf8;
  border: 1px solid #38bdf8;
  padding: 10px 18px;
  border-radius: 8px;
  transition: background 0.3s;
}

.contact-links a:hover {
  background: #38bdf8;
  color: #000;
}
.education {
  padding: 80px 20px;
  text-align: center;
}

.education h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #38bdf8;
}

.edu-card {
  max-width: 700px;
  margin: 20px auto;
  background: #020617;
  padding: 25px;
  border-radius: 12px;
}

.edu-card h3 {
  margin-bottom: 8px;
}

.edu-card p {
  color: #cbd5f5;
}

.edu-card span {
  font-size: 0.9rem;
  color: #94a3b8;
}
.publications {
  padding: 80px 20px;
  background: #020617;
  text-align: center;
}

.publications h2 {
  font-size: 2.2rem;
  margin-bottom: 35px;
  color: #38bdf8;
}

.pub-card {
  max-width: 900px;
  margin: 20px auto;
  padding: 25px;
  border-left: 4px solid #38bdf8;
  background: #0f172a;
  text-align: left;
  border-radius: 8px;
}

.pub-card p {
  margin: 10px 0;
  color: #cbd5f5;
}

.pub-card span {
  font-size: 0.9rem;
  color: #94a3b8;
}
.achievements {
  padding: 80px 20px;
  text-align: center;
}

.achievements h2 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  color: #38bdf8;
}

.achievements ul {
  max-width: 800px;
  margin: auto;
  list-style: none;
}

.achievements li {
  background: #020617;
  margin: 12px 0;
  padding: 15px 20px;
  border-radius: 8px;
  color: #cbd5f5;
}
.hobbies {
  padding: 60px 20px;
  background: #020617;
  text-align: center;
}

.hobbies h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #38bdf8;
}

.hobbies p {
  color: #cbd5f5;
  max-width: 700px;
  margin: auto;
  line-height: 1.7;
}
.experience {
  padding: 100px 20px;
  background: linear-gradient(to bottom, #020617, #0f172a);
}

.experience h2 {
  text-align: center;
  font-size: 2.3rem;
  margin-bottom: 60px;
  color: #38bdf8;
}

.exp-timeline {
  max-width: 900px;
  margin: auto;
  position: relative;
}

.exp-card {
  background: #020617;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 40px;
  border-left: 4px solid #38bdf8;
}

.exp-card h3 {
  margin-bottom: 5px;
}

.company {
  color: #cbd5f5;
  font-weight: bold;
}

.duration {
  font-size: 0.9rem;
  color: #94a3b8;
}

.desc {
  margin-top: 12px;
  color: #cbd5f5;
  line-height: 1.7;
}
.hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

.project-card a {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #38bdf8;
  text-decoration: none;
}
/* ACHIEVEMENTS */
.achievements {
  padding: 100px 20px;
}

.ach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.ach-card {
  background: #020617;
  padding: 28px;
  border-radius: 12px;
  border-left: 4px solid #38bdf8;
}

.ach-card.highlight {
  background: linear-gradient(135deg, #020617, #020617);
  border-left: 6px solid gold;
}

.ach-card h3 {
  margin-bottom: 8px;
}

.issuer {
  color: #38bdf8;
  font-weight: 600;
  margin-bottom: 10px;
}

.desc {
  color: #cbd5f5;
  font-size: 0.95rem;
  line-height: 1.7;
}

.date {
  display: block;
  margin-top: 12px;
  font-size: 0.85rem;
  color: #94a3b8;
}
/* DATASETS */
.datasets {
  padding: 100px 20px;
}

.dataset-card {
  background: #020617;
  padding: 28px;
  border-radius: 12px;
  margin-bottom: 30px;
  border-left: 4px solid #38bdf8;
}

.dataset-card h3 {
  margin-bottom: 10px;
}

.dataset-card p {
  color: #cbd5f5;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.dataset-card ul {
  margin: 12px 0;
  padding-left: 18px;
  color: #cbd5f5;
  font-size: 0.9rem;
}

.dataset-card a {
  display: inline-block;
  margin-top: 12px;
  color: #38bdf8;
  text-decoration: none;
  font-size: 0.9rem;
}
/* INTERESTS */
.interests {
  padding: 100px 20px;
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.interest-card {
  background: #020617;
  padding: 26px;
  border-radius: 12px;
}

.interest-card h3 {
  margin-bottom: 10px;
  color: #38bdf8;
}

.interest-card p {
  font-size: 0.95rem;
  color: #cbd5f5;
  line-height: 1.7;
}
/* PAINTING GALLERY */
.painting-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.painting-gallery img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.painting-gallery img:hover {
  transform: scale(1.05);
}

.navbar {
  position: sticky;
  top: 0;
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(6px);
  display: flex;
  gap: 18px;
  padding: 12px 20px;
  justify-content: center;
  z-index: 1000;
}

.navbar a {
  color: #cbd5f5;
  text-decoration: none;
  font-size: 0.9rem;
}

.navbar a:hover {
  color: #38bdf8;
}
/* FIX: Ensure all section headings are consistent */
section h2 {
  color: #38bdf8 !important;
}

@media (max-width: 600px) {

  /* HERO */
  .hero h1 {
    font-size: 2.1rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .buttons {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .buttons a {
    width: 90%;
    text-align: center;
  }

  /* NAVBAR */
  .navbar {
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px;
  }

  .navbar a {
    font-size: 0.85rem;
  }

  /* SECTION HEADINGS */
  section h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  /* ABOUT */
  .about {
    padding: 80px 16px;
  }

  /* EXPERIENCE */
  .exp-card {
    padding: 22px;
  }

  /* EDUCATION */
  .edu-card {
    padding: 20px;
  }

  /* PROJECTS */
  .project-grid {
    grid-template-columns: 1fr;
  }

  /* PUBLICATIONS */
  .pub-card {
    padding: 20px;
  }

  /* DATASETS */
  .dataset-card {
    padding: 20px;
  }

  /* ACHIEVEMENTS */
  .ach-grid {
    grid-template-columns: 1fr;
  }

  /* INTERESTS */
  .interest-grid {
    grid-template-columns: 1fr;
  }

  /* PAINTING GALLERY */
  .painting-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {

  section {
    padding: 80px 20px;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ach-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .interest-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .painting-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {

  /* NAVBAR FIX */
  .navbar {
    position: static;              /* disable sticky on mobile */
    flex-wrap: nowrap;
    overflow-x: auto;              /* horizontal scroll */
    justify-content: flex-start;
    padding: 10px 14px;
  }

  .navbar::-webkit-scrollbar {
    display: none;                 /* hide scrollbar */
  }

  .navbar a {
    white-space: nowrap;
    padding: 6px 10px;
    font-size: 0.85rem;
    border-radius: 6px;
  }
}

@media (max-width: 600px) {

  /* CONTACT FIX */
  .contact-links {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .contact-links a {
    width: 90%;
    text-align: center;
  }
}
