* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--gray-50);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
  font-weight: 600;
  color: var(--green-700);
}

/* Hero Section */
.hero {
  height: 95vh;
  background: linear-gradient(135deg, var(--green-500), var(--green-800));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding-top: 20px;
  position: relative;
  overflow: hidden; 
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 2px, transparent 3px);
  background-size: 30px 30px;
  animation: float 25s infinite linear;
  z-index: 0;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  margin-bottom: 60px;
}

.profile-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.2);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.subtitle {
  font-size: 1.5rem;
  margin-bottom: 20px;
  opacity: 0.9;
}



/* Scroll indicator styles */
.homescroll-indicator {
  animation: fadeBounce 2s infinite;
  position: absolute;
  margin-bottom: 0.1rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

@keyframes fadeBounce {
  0%, 100% {
    transform: translateY(0) translateX(-50%);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-15px) translateX(-50%);
    opacity: 1;
  }
}

/* About Section */
.about-section {
  background-color: var(--white);
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--gray-700);
}

/* Experience Section */
.experience-section {
  background-color: var(--gray-50);
  padding: 80px 0;
}

.company-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
  margin-top: 40px;
}

.company-logo {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 25px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.company-logo img {
  max-width: 70%;
  max-height: 70%;
  filter: grayscale(100%);
  transition: var(--transition);
}

.company-logo:hover {
  transform: translateY(-10px);
}

.company-logo:hover img {
  filter: grayscale(0%);
}

.company-details {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 10;
}

.company-logo:hover .company-details {
  opacity: 1;
  visibility: visible;
  bottom: calc(100% + 15px);
}

.company-details h3 {
  color: var(--green-600);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.company-details p {
  color: var(--gray-700);
  margin: 5px 0;
  font-size: 0.9rem;
}

.company-details a {
  display: inline-block;
  margin-top: 10px;
  color: var(--green-700);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
}

.company-details a:hover {
  text-decoration: underline;
}

/* Skills Section */
.skills-section {
  background-color: var(--gray-50);
  padding: 60px 0;
}

.skill-category {
  text-align: center;
  margin: 40px auto 20px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-800);
  position: relative;
  max-width: 800px;
}

.skill-category::after {
  content: '';
  display: block;
  width: 100px;
  height: 3px;
  background: var(--mint-500);
  margin: 10px auto 0;
  border-radius: 3px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto 40px;
}

.skill-tag {
  padding: 15px 20px;
  border-radius: 30px;
  text-align: center;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  /* Glass effect styles */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 4px 6px rgba(0, 0, 0, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.skill-tag:hover {
  box-shadow: 
    0 8px 15px rgba(0, 0, 0, 0.15),
    0 3px 6px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

/* Color by category */
/* Technical Skills - Blue */
#skills .skills-grid:nth-of-type(1) .skill-tag {
  background: rgba(56, 132, 255, 0.2);
  color: var(--blue-700);
}
#skills .skills-grid:nth-of-type(1) .skill-tag:hover {
  background: rgba(56, 132, 255, 0.3);
}

/* Programming Languages - Purple */
#skills .skills-grid:nth-of-type(2) .skill-tag {
  background: rgba(138, 99, 210, 0.2);
  color: var(--purple-700);
}
#skills .skills-grid:nth-of-type(2) .skill-tag:hover {
  background: rgba(138, 99, 210, 0.3);
}

/* Engineering & Design Skills - Teal */
#skills .skills-grid:nth-of-type(3) .skill-tag {
  background: rgba(20, 184, 166, 0.2);
  color: var(--teal-700);
}
#skills .skills-grid:nth-of-type(3) .skill-tag:hover {
  background: rgba(20, 184, 166, 0.3);
}

/* Soft Skills - Green */
#skills .skills-grid:nth-of-type(4) .skill-tag {
  background: rgba(34, 197, 94, 0.2);
  color: var(--green-700);
}
#skills .skills-grid:nth-of-type(4) .skill-tag:hover {
  background: rgba(34, 197, 94, 0.3);
}

/* Digital & Productivity Tools - Orange */
#skills .skills-grid:nth-of-type(5) .skill-tag {
 background: rgba(138, 99, 210, 0.2);
  color: var(--purple-700);
}
#skills .skills-grid:nth-of-type(5) .skill-tag:hover {
  background: rgba(138, 99, 210, 0.3);
}

/* Lab & Workshop Skills - Yellow */
#skills .skills-grid:nth-of-type(6) .skill-tag {
  background: rgba(56, 132, 255, 0.2);
  color: var(--blue-700);
}
#skills .skills-grid:nth-of-type(6) .skill-tag:hover {
  background: rgba(56, 132, 255, 0.3);
}

.skill-tag i {
  font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
  }
  
  .skill-tag {
    padding: 12px 15px;
    font-size: 0.8rem;
  }
  
  .skill-category {
    font-size: 1.3rem;
    margin: 30px auto 15px;
  }
}

@media (max-width: 480px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .skill-category {
    font-size: 1.2rem;
  }
}


/* Projects Section */
.featured-projects {
  padding: 80px 0;
  background-color: var(--white);
}

.project-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
  transition: var(--transition);
}

.project-card-link:hover {
  transform: translateY(-5px);
}

.project-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.project-card:hover {
  box-shadow: var(--shadow-hover);
}

.card-header {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.project-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.tag {
  background: var(--mint-100);
  color: var(--green-700);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding-top: 15px;
  }
  
  .profile-image {
    width: 160px;
    height: 160px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }
  
  .company-logos {
    gap: 30px;
  }
  
  .company-logo {
    width: 100px;
    height: 100px;
  }
  
  .skills-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 40vh;
    min-height: 400px;
  }

  .profile-image {
    width: 130px;
    height: 130px;
    border-width: 2px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1rem;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    50% {
        transform: translateY(-25%) translateX(-50%);
    }
}