/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  line-height: 1.6;
  color: #ffffff;
  background-color: #000000;
}

header {
  background: #111111;
  color: #ffffff;
  padding: 1rem 2rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: #ffffff;
  text-decoration: none;
  position: relative;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #ffffff;
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #fff;
}

/* Mobile Nav Styles */
@media (max-width: 768px) {
  nav {
    flex-direction: row;
    justify-content: space-between;
    position: relative;
  }

  .menu-toggle {
    display: block;
  }

  #nav-links {
    display: flex;
    flex-direction: column;
    background: #111;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem 2rem;
    display: none;
    z-index: 10;
  }

  #nav-links.active {
    display: block;
  }

  #nav-links li {
    margin: 0.75rem 0;
  }

  #nav-links li a {
    font-size: 1.1rem;
    display: inline-block;
  }
}


#hero {
  background: #000000;
  color: #ffffff;
  text-align: center;
  padding: 6rem 2rem;
}

.profile-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  margin-bottom: 1.5rem;
}

#hero h2,
#hero p,
#hero .btn {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards;
}

#hero h2 {
  animation-delay: 0.2s;
}

#hero p {
  animation-delay: 0.5s;
}

#hero .btn {
  animation-delay: 0.8s;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  border-radius: 4px;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.btn:hover {
  transform: scale(1.05);
  background: #333333;
  color: #ffffff;
}

section {
  padding: 4rem 2rem;
}

#about p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
}


section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #ffffff;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.project-card {
  background: #111111;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.project-card.fade-in {
  opacity: 1;
  transform: scale(1);
}

.project-card h3 {
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.project-card p {
  color: #dddddd;
}

.project-card a {
  display: inline-block;
  margin-top: 1rem;
  color: #ffffff;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.project-card a:hover {
  color: #aaaaaa;
}

.tech-stack {
  margin-top: 1rem;
}

.tech-stack h4 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.tech-tag {
  background: #333333;
  color: #ffffff;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.95rem;
  border: 1px solid #555555;
  transition: background 0.3s ease, transform 0.3s ease;
}

.tech-tag:hover {
  background: #555555;
  transform: scale(1.05);
}
.roadmap-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 2rem auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  object-fit: contain;
  padding: 0 1rem;
}

#roadmap {
  background: #000000;
  padding: 4rem 2rem;
  text-align: center;
}

#roadmap h2 {
  color: #ffffff;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.timeline-container {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 1rem 0;
  justify-content: center;
  scroll-behavior: smooth;
}

.timeline-item {
  background: #111111;
  border-radius: 8px;
  padding: 1rem;
  min-width: 150px;
  flex-shrink: 0;
  border: 1px solid #333333;
  transition: transform 0.3s ease;
}

.timeline-item:hover {
  transform: scale(1.1);
}

.timeline-item .year {
  display: block;
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.timeline-item p {
  color: #cccccc;
  font-size: 0.95rem;
  line-height: 1.4;
}

#about.fade-on-scroll,
.project-card.fade-on-scroll,
.cert-card.fade-on-scroll,
.currently-working.fade-on-scroll,
#roadmap.fade-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

#about.fade-in,
.project-card.fade-in,
.cert-card.fade-in,
.currently-working.fade-in,
#roadmap.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.currently-working {
  margin: 2rem auto;
  color: #ffffff;
  text-align: center;
  padding: 1rem 2rem;
  max-width: 500px;
  border: 2px solid #ffffff;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards;
  animation-delay: 0.4s;
}

.currently-working h3 {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.currently-working p {
  font-size: 1.2rem;
  font-weight: bold;
}

/* Certifications */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.cert-card {
  background: #111111;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
  text-align: center;
}

.cert-card h3 {
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.cert-card p {
  color: #cccccc;
}

/* Contact Section */
#contact {
  background: #000000;
  color: #ffffff;
  text-align: center;
  padding: 4rem 2rem;
}

#contact h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(-30px);
  animation: fadeSlideIn 1s forwards;
}

.contact-info {
  max-width: 600px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

.contact-info a {
  color: #ffffff;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #aaaaaa;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact-btn {
  background: #ffffff;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  color: #000000;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
  opacity: 0;
  transform: scale(0.8);
  animation: fadeScaleIn 1s forwards;
  animation-delay: 0.5s;
}

.contact-btn:hover {
  background: #333333;
  color: #ffffff;
  transform: scale(1.1);
}

footer {
  background: #111111;
  color: #ffffff;
  text-align: center;
  padding: 1rem 2rem;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeScaleIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
#roadmap {
  background: #000000;
  padding: 4rem 2rem;
  text-align: center;
}

#roadmap h2 {
  color: #ffffff;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.roadmap-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.roadmap-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
}

.roadmap-step .circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #111111;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
  border: 2px solid #ffffff;
  box-shadow: 0 0 10px rgba(255,255,255,0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.roadmap-step .circle:hover {
  background: #333333;
  transform: scale(1.2);
}

.roadmap-step p {
  margin-top: 0.5rem;
  color: #cccccc;
  font-size: 0.9rem;
  text-align: center;
  max-width: 140px;
}

.roadmap-line {
  width: 40px;
  height: 2px;
  background: #ffffff;
}
.roadmap-image {
  max-width: 45%;
  height: 45%;
  margin: 2rem auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}
#learning {
  background: #000000;
  padding: 4rem 2rem;
  color: #ffffff;
  text-align: center;
}

#learning h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.learning-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.learning-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.learning-content p,
.learning-content ul li {
  color: #cccccc;
  font-size: 1rem;
}

.career-goals ul {
  list-style: none;
  padding-left: 0;
}

.career-goals ul li {
  margin-bottom: 0.5rem;
  padding: 0.5rem 1rem;
  background: #111111;
  border: 1px solid #333333;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.career-goals ul li:hover {
  background: #222222;
}

@media (min-width: 768px) {
  .learning-content {
    flex-direction: row;
    justify-content: center;
  }

  .now-learning,
  .career-goals {
    width: 45%;
  }
}
#learning {
  background: #000000;
  padding: 4rem 2rem;
  text-align: center;
  color: #ffffff;
}

#learning h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.learning-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  max-width: 1000px;
  margin: 0 auto;
}

.learning-card {
  background: #111111;
  border: 1px solid #333333;
  border-radius: 8px;
  padding: 2rem;
  transition: transform 0.3s ease;
}

.learning-card:hover {
  transform: scale(1.05);
}

.learning-card h3 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.learning-card ul {
  list-style: none;
  padding-left: 0;
}

.learning-card ul li {
  background: #222222;
  margin-bottom: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 5px;
  color: #cccccc;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.learning-card ul li:hover {
  background: #333333;
}

@media (min-width: 768px) {
  .learning-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
#hobbies {
  background: #000000;
  color: #ffffff;
  padding: 4rem 2rem;
  text-align: center;
}

.hobby-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.hobby-item {
  background: #111111;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.hobby-item:hover {
  transform: translateY(-5px);
}

.hobby-item h3 {
  margin-bottom: 1rem;
  color: #ffffff;
}

.hobby-item p {
  color: #cccccc;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .hobby-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  line-height: 1.6;
  color: #ffffff;
  background-color: #000000;
}

/* Responsive fixes */
@media (max-width: 768px) {
  .project-grid,
  .cert-grid,
  .learning-grid,
  .hobby-list {
    grid-template-columns: 1fr !important;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }

  .contact-btn {
    width: 80%;
    margin-bottom: 1rem;
    text-align: center;
  }

  .roadmap-image {
    width: 90% !important;
    height: auto !important;
  }

  .currently-working {
    margin: 2rem 1rem;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }
}
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  line-height: 1.6;
  color: #ffffff;
  background-color: #000000;
}

/* Modal styles for roadmap image */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  display: block;
  margin: auto;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(255,255,255,0.5);
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: #ccc;
}

.roadmap-image {
  cursor: pointer;
}

/* Responsive fixes */
@media (max-width: 768px) {
  .project-grid,
  .cert-grid,
  .learning-grid,
  .hobby-list {
    grid-template-columns: 1fr !important;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }

  .contact-btn {
    width: 80%;
    margin-bottom: 1rem;
    text-align: center;
  }

  .roadmap-image {
    width: 90% !important;
    height: auto !important;
  }

  .currently-working {
    margin: 2rem 1rem;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }
}
.skills-table-wrapper {
  overflow-x: auto;
  margin: 2rem auto;
  max-width: 900px;
}

.skills-timeline {
  width: 100%;
  border-collapse: collapse;
  color: #ffffff;
  background: #111111;
  border: 1px solid #333333;
  border-radius: 8px;
  overflow: hidden;
}

.skills-timeline th,
.skills-timeline td {
  border: 1px solid #333333;
  padding: 1rem;
  text-align: left;
}

.skills-timeline th {
  background: #222222;
  color: #ffffff;
}

.skills-timeline td {
  color: #cccccc;
}

.future-goals {
  margin-top: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.future-goals ul {
  list-style: disc;
  padding-left: 1.5rem;
  text-align: left;
  color: #cccccc;
}

.future-goals li {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}
.skills-table-wrapper {
  overflow-x: auto;
  margin: 2rem auto;
  max-width: 1000px;
}

.skills-timeline {
  width: 100%;
  border-collapse: collapse;
  background: #111111;
  border: 1px solid #333;
  color: #ffffff;
  font-size: 0.95rem;
}

.skills-timeline th,
.skills-timeline td {
  padding: 1rem;
  text-align: left;
  border: 1px solid #333333;
  vertical-align: top;
}

.skills-timeline th {
  background: #222222;
  color: #ffffff;
}

.skills-timeline td {
  color: #cccccc;
}

.skills-timeline tr:nth-child(even) {
  background-color: #1a1a1a;
}

.future-goals {
  margin-top: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  color: #cccccc;
}

.future-goals ul {
  padding-left: 1.5rem;
  list-style: disc;
}

.future-goals li {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .skills-timeline {
    font-size: 0.85rem;
  }

  .skills-timeline th,
  .skills-timeline td {
    padding: 0.75rem;
  }

  .future-goals {
    padding: 0 1rem;
  }
}
.future-table-wrapper {
  overflow-x: auto;
  margin: 2rem auto;
  max-width: 1000px;
}

.future-timeline {
  width: 100%;
  border-collapse: collapse;
  background: #111111;
  border: 1px solid #333;
  color: #ffffff;
  font-size: 0.95rem;
}

.future-timeline th,
.future-timeline td {
  padding: 1rem;
  text-align: left;
  border: 1px solid #333333;
  vertical-align: top;
}

.future-timeline th {
  background: #222222;
  color: #ffffff;
}

.future-timeline td {
  color: #cccccc;
}

.future-timeline tr:nth-child(even) {
  background-color: #1a1a1a;
}

@media (max-width: 768px) {
  .future-timeline {
    font-size: 0.85rem;
  }

  .future-timeline th,
  .future-timeline td {
    padding: 0.75rem;
  }
}
.table-wrapper {
  overflow-x: auto;
  margin: 2rem auto;
  max-width: 1000px;
}

.skills-timeline,
.future-timeline {
  width: 100%;
  border-collapse: collapse;
  background: #111111;
  color: #ffffff;
  font-size: 0.95rem;
  min-width: 600px;
}

.skills-timeline th,
.skills-timeline td,
.future-timeline th,
.future-timeline td {
  padding: 1rem;
  text-align: left;
  border: 1px solid #333333;
  vertical-align: top;
}

.skills-timeline th,
.future-timeline th {
  background: #222222;
  color: #ffffff;
}

.skills-timeline td,
.future-timeline td {
  color: #cccccc;
}

.skills-timeline tr:nth-child(even),
.future-timeline tr:nth-child(even) {
  background-color: #1a1a1a;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .skills-timeline,
  .future-timeline {
    font-size: 0.85rem;
    min-width: 600px;
  }

  .table-wrapper {
    padding: 0 1rem;
  }
}
