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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue";
  background-color: #111827;
  color: white;
  line-height: 1.6;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
  padding: 24px;
  
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-link {
  color: #9ca3af;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 6px;
  position: relative;
  font-weight: 500;
}

.nav-link:hover {
  color: white;
  transform: translateX(-5px);
}

.nav-link.active {
  color: #fff;               
  font-weight: bold;        
  border-left: 3px solid #3b82f6; 
  padding-left: 6px;
  background: rgba(0, 212, 255, 0.15);   
}


/* Sections */
.section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px;
}

.section-content {
  max-width: 1024px;
  text-align: center;
  width: 100%;
}

.section-title {
  font-size: 64px;
  font-weight: 900;
  margin-bottom: 48px;
  color: rgb(96, 165, 250);
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #00d4ff, transparent);
  animation: glow 2s ease-in-out infinite;
}

/* Cover Section */

#skillslist{
  text-decoration: none;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

#skillslist li{
  background-color: #1f2937;
  color: #d1d5db;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 16px;
  border: 2px solid #374151;
  transition: all 0.3s ease;
  margin-right: 10px;
  margin-bottom: 15px;
}

#skillslist li:hover {
  background-color: #3b82f6;
  border-color: #60a5fa;
  color: white;
  transform: translateY(-2px);
}

.cover-section {
  background: radial-gradient(circle at 50% 50%, #1a1a2e 0%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}


.cover-content {
  text-align: center;
}

.main-title {
  font-size: 96px;
  font-weight: bold;
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

.title-divider {
  width: 128px;
  height: 4px;
  background-color: #3b82f6;
  margin: 0 auto 32px;
}

.subtitle {
  font-size: 32px;
  font-weight: 300;
  color: #d1d5db;
  margin-bottom: 32px;
  line-height: 1.2;
}

.cover-description {
  color: #9ca3af;
  font-size: 20px;
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 1.4s ease-out;  
}

/* About Section */
.about-section {
  background-color: #1f2937;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.profile-image-container {
  flex-shrink: 0;
}

.profile-image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #3b82f6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}


.about-text-container {
  flex: 1;
  text-align: left;
}

.about-text {
  font-size: 22px;
  line-height: 1.9;
  margin-bottom: 32px;
  color: #e0e0e0;
  font-weight: 300;
}

.about-goal {
  font-size: 19px;
  color: #b0b0b0;
  line-height: 1.8;
  font-style: italic;
  border-left: 4px solid rgb(96, 165, 250);
  padding-left: 24px;
}

.section-divider {
  width: 96px;
  height: 4px;
  background-color: #3b82f6;
  margin: 0 auto 32px;
}

.about-goal {
  font-size: 18px;
  color: #9ca3af;
  max-width: 768px;
  margin: 0 auto;
}

/* Skills Section */
.skills-section {
  background-color: #111827;
}

.skills-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 1024px;
  margin: 0 auto;
}

.skill-category {
  text-align: center;
}

.skill-category-title {
  font-size: 28px;
  font-weight: bold;
  color: #60a5fa;
  margin-bottom: 24px;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.skill-tag {
  background-color: #1f2937;
  color: #d1d5db;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 16px;
  border: 2px solid #374151;
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background-color: #3b82f6;
  border-color: #60a5fa;
  color: white;
  transform: translateY(-2px);
}

/* Services Section */
.services-section {
  background-color: #111827;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-item {
  background-color: #1f2937;
  padding: 32px;
  border-radius: 12px;
  border: 2px solid #374151;
  transition: all 0.3s ease;
  text-align: left;
}

.service-item:hover {
  border-color: #3b82f6;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.service-title {
  font-size: 24px;
  font-weight: bold;
  color: #60a5fa;
  margin-bottom: 16px;
}

.service-description {
  color: #d1d5db;
  line-height: 1.7;
  font-size: 16px;
}

/* Education Section */
.education-section {
  background-color: #1f2937;
}

.education-items {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.education-item {
  background-color: #111827;
  padding: 32px;
  border-radius: 8px;
}

.education-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 16px;
}

.education-subtitle {
  font-size: 20px;
  color: #d1d5db;
  margin-bottom: 8px;
}

.education-detail {
  color: #9ca3af;
}

/* Experience Section */
.experience-section {
  background-color: #111827;
}

.experience-items {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.experience-item {
  background-color: #1f2937;
  padding: 45px;
  border-radius: 20px;
  text-align: left;
  border: 2px solid #2a2a3e;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.experience-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, rgb(96, 165, 250), #0099cc);
  opacity: 0;
  transition: opacity 0.3s;
}

.experience-item:hover::before {
  opacity: 1;
}

.experience-title {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 16px;
  color: rgb(96, 165, 250);
}

.experience-subtitle {
  font-size: 20px;
  color: #d1d5db;
  margin-bottom: 8px;
}

.experience-detail {
  color: #9ca3af;
}

.experience-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  color: #d1d5db;
}

.experience-list li {
  padding: 12px 0;
  line-height: 1.9;
  font-size: 17px;
  /* Added subtle hover effect on list items */
  transition: transform 0.2s;
  padding-left: 10px;
}

.experience-list li:hover {
  transform: translateX(5px);
  color: rgb(96, 165, 250);
}

.experience-description{
  margin-bottom: 20px;
}

/* Work Section */
.work-section {
  background-color: #1f2937;
}

.work-description {
  text-align: center;
  color: #9ca3af;
  margin-bottom: 48px;
  font-size: 18px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
  max-width: 1536px;
}

.project-item {
  background-color: #111827;
  padding: 32px;
  border-radius: 8px;
}

.project-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 24px;
  color: #60a5fa;
}

.project-description {
  color: #d1d5db;
  line-height: 1.8;
  margin-bottom: 24px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-bottom
{
    display: flex;
    justify-content: space-between;
}

.Hublink{
    color: #60a5fa;
    transition: 0.3s;
}

.Hublink:hover{
    color: #2563eb;
}

.tag {
  background-color: #2563eb;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 14px;
}

/* Contact Section */
.contact-section {
  background-color: #1f2937;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 20px;
}

.contact-item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.contact-label {
  color: #9ca3af;
}

.contact-link {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover , #Hub:hover {
  color: #93c5fd;
}

.contact-value {
  color: #60a5fa;
}

#Hub{
    text-decoration: none;
    color: #60a5fa;
}


/* Responsive Design */
@media (max-width: 768px) {
  .main-title {
    font-size: 48px;
  }

  .subtitle {
    font-size: 24px;
  }

  .section-title {
    font-size: 36px;
  }

  .thank-you-title {
    font-size: 64px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .contact-item {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 16px;
  }

  .main-title {
    font-size: 36px;
  }

  .subtitle {
    font-size: 18px;
  }

  .section-title {
    font-size: 28px;
  }
}
