@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto Mono', monospace;
  background-color: #0D1117;
  color: #C9D1D9;
  line-height: 1.6;
}

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #0D1117;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  z-index: -1;
}

.container {
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* Header Styles */
.header {
  border-bottom: 1px solid #30363D;
  background: rgba(13, 17, 23, 0.5);
  backdrop-filter: blur(5px);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.header-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .header-flex {
    flex-direction: row;
    text-align: left;
  }
}

.profile-picture {
  flex-shrink: 0;
}

.profile-img {
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  border: 4px solid #30363D;
  object-fit: cover;
  background: #161B22;
}

.header-text {
  flex: 1;
  text-align: center;
}

@media (min-width: 1024px) {
  .header-text {
    text-align: left;
  }
}

.main-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #388bfd, #A371F7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .main-title {
    font-size: 4rem;
  }
}

.title-underline {
  width: 6rem;
  height: 4px;
  background: #388bfd;
  margin: 0 auto 1.5rem auto;
}

@media (min-width: 1024px) {
  .title-underline {
    margin: 0 0 1.5rem 0;
  }
}

.subtitle {
  font-size: 1.25rem;
  color: #8B949E;
  margin-bottom: 1rem;
}

.logos {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.logo-img {
    max-height: 40px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.logo-img:hover {
    opacity: 1;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #388bfd;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background: #A371F7;
  transform: translateY(-2px);
}

.contact-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.contact-card {
  border: 1px solid #30363D;
  padding: 1rem;
  border-radius: 0.5rem;
  background: #161B22;
}

.contact-label {
  font-size: 0.875rem;
  color: #8B949E;
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 0.875rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #8B949E;
  text-decoration: none;
  font-size: 0.75rem;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #388bfd;
}

.link-icon {
  width: 0.75rem;
  height: 0.75rem;
}

/* Navigation Styles */
.nav-tabs {
  border-bottom: 1px solid #30363D;
  background: rgba(13, 17, 23, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  overflow-x: auto;
}

.tab-btn {
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  border: none;
  background: none;
  color: #8B949E;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  color: #C9D1D9;
}

.tab-btn.active {
  color: #C9D1D9;
  border-bottom-color: #388bfd;
}

/* Main Content */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease-out;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  border-left: 4px solid #388bfd;
  padding-left: 1rem;
}

.content-card {
  border: 1px solid #30363D;
  padding: 2rem;
  border-radius: 0.5rem;
  background: #161B22;
}

.profile-text {
  color: #8B949E;
  font-size: 1.125rem;
  line-height: 1.7;
}

/* Education Styles */
.education-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.education-item {
  border: 1px solid #30363D;
  padding: 1.5rem;
  border-radius: 0.5rem;
  background: #161B22;
  transition: all 0.3s ease;
}

.education-item:hover {
  background: #21262D;
}

.education-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.education-date {
  color: #8B949E;
  margin-bottom: 0.75rem;
}

.education-details {
  color: #8B949E;
  list-style: none;
}

.education-details li {
  margin-bottom: 0.5rem;
}

/* Skills Styles */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .skills-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.skill-category {
  border: 1px solid #30363D;
  padding: 1.5rem;
  border-radius: 0.5rem;
  background: #161B22;
  margin-bottom: 2rem;
}

.category-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #C9D1D9;
  margin-bottom: 1.5rem;
}

.skills-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .skills-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.skill-card {
  border: 1px solid #30363D;
  padding: 1rem;
  border-radius: 0.5rem;
  background: #0D1117;
  cursor: pointer;
  transition: all 0.3s ease;
}

.skill-card:hover {
  background: #21262D;
  border-color: #A371F7;
  transform: translateY(-2px);
}

.skill-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.skill-icon {
  width: 2rem;
  height: 2rem;
  border: 1px solid #30363D;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease;
}

.skill-card:hover .skill-icon {
  border-color: #A371F7;
}

.skill-icon svg {
  width: 1rem;
  height: 1rem;
  color: #8B949E;
  transition: color 0.3s ease;
}

.skill-card:hover .skill-icon svg {
  color: #A371F7;
}

.skill-name {
  font-weight: 500;
  color: #C9D1D9;
}

.skill-desc {
  font-size: 0.75rem;
  color: #8B949E;
  transition: color 0.3s ease;
}

.skill-card:hover .skill-desc {
  color: #C9D1D9;
}

/* Soft Skills */
.soft-skills-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.soft-skill-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.3s ease;
}

.soft-skill-item:hover {
  background: #21262D;
}

.skill-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: #388bfd;
  border-radius: 50%;
}

.soft-skill-item span {
  color: #8B949E;
}

/* Activities Styles */
.activities-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.activity-item {
  border: 1px solid #30363D;
  padding: 1.5rem;
  border-radius: 0.5rem;
  background: #161B22;
  transition: all 0.3s ease;
}

.activity-item:hover {
  background: #21262D;
}

.activity-item p {
  color: #8B949E;
}

/* Projects Styles */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.project-item {
  border: 1px solid #30363D;
  padding: 1.5rem;
  border-radius: 0.5rem;
  background: #161B22;
  transition: all 0.3s ease;
}

.project-item:hover {
  background: #21262D;
}

.project-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #C9D1D9;
  margin-bottom: 0.5rem;
}

.project-subtitle {
  color: #8B949E;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.project-desc {
  color: #8B949E;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid #30363D;
  margin-top: 4rem;
}

.footer p {
  color: #8B949E;
  font-style: italic;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0D1117;
}

::-webkit-scrollbar-thumb {
  background: #21262D;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #30363D;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

.project-toggle-btn {
    background: #21262D;
    color: #C9D1D9;
    border: 1px solid #30363D;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.3s ease;
}

.project-toggle-btn:hover {
    background: #30363D;
}

.project-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #30363D;
}

.project-link {
    color: #388bfd;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 1rem;
}
.project-link:hover {
    color: #A371F7;
}