.tech-stack-section {
  width: 750px;
  min-height: 500px;
  max-width: 260px;
  padding: 24px 16px;
  position: absolute;
  top: 120px;
  right: 60px;
  background: #181818;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}
.tech-stack-section {
  background: rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 20px 18px 18px 18px;
  min-width: 320px;
  max-width: 420px;
  margin: 40px auto 32px auto;
  box-shadow: 0 4px 24px 0 rgba(31,38,135,0.10);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tech-stack-section h2 {
  font-size: 1.3em;
  margin-bottom: 16px;
  font-weight: 600;
  letter-spacing: 1px;
}

.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  justify-items: center;
}

.tech-skill-card {
  background: rgba(255,255,255,0.13);
  border-radius: 12px;
  padding: 12px 6px 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  width: 90px;
  min-height: 90px;
}

.tech-skill-card img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin-bottom: 6px;
}

.tech-skill-card p {
  font-size: 0.98em;
  color: #fff;
  margin: 0;
  text-align: center;
}
.about-tech-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 60px;
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  width: 80vw;
  z-index: 2;
}

/* Tech Stack Section */
.tech-stack-section {
  background: rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 32px 28px 24px 28px;
  min-width: 220px;
  box-shadow: 0 4px 24px 0 rgba(31,38,135,0.10);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tech-stack-section h2 {
  font-size: 1.6em;
  margin-bottom: 18px;
  font-weight: 600;
  letter-spacing: 1px;
}

.tech-stack-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15em;
}

.tech-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assests/background.jpg') no-repeat center center/cover;
  filter: blur(10px) brightness(0.5);
  transform: scale(1.1);
  z-index: -1;
}


.header {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 30px;
  background: rgba(255, 255, 255, 0.08);
  padding: 15px 40px;
  border-radius: 20px;
  width: auto;
  max-width: 98vw;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.header-link {
  color: white;
  text-decoration: none;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  transition: color 0.3s;
}

.header-link i {
  margin-right: 8px;
  font-size: 1.5em;
}

.header-link:hover {
  color: #00ffff;
}

.about-container {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}


.profile-img {
  width: 198px;
  height: 198px;
  object-fit: cover;
  border-radius: 50%;
  border: none;
  margin-top: 40px;
  display: block;
  -webkit-mask-image: radial-gradient(circle, #000 70%, transparent 100%);
  mask-image: radial-gradient(circle, #000 70%, transparent 100%);
}

.about-text {
  color: white;
  max-width: 500px;
  text-align: left;
}



.about-text h1 {
  font-size: 3em;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.about-text p {
  font-size: 1.2em;
  line-height: 1.5;
  color: #ddd;
}

.projects-section {
  margin-top: 110vh; /* Pushes it down by 1 full screen height */
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  color: white;
  text-align: center;
  padding-bottom: 80px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 48px 0 32px 0;
  margin-top: 80px;
}

.footer-social a {
  color: #bbb;
  font-size: 1.5em;
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-social a:hover {
  color: #fff;
}

.projects-section h2 {
  font-size: 2.5em;
  margin-bottom: 70px;
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 18px;
  padding: 18px 400px 14px 400px;
  box-shadow: 0 4px 24px 0 rgba(31,38,135,0.10);
  font-weight: 800;
  letter-spacing: 1px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}


.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1.3fr);
  gap: 32px;
  justify-items: stretch;
}

.project-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 40px 40px;
  width: 100%;
  min-height: 90px;
  color: white;
  transition: transform 0.3s, background 0.3s;
  box-shadow: 0 2px 12px 0 rgba(31,38,135,0.07);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1em;
}

.project-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.2);
}

.project-card img {
  width: 75px;
  height: 75px;
  object-fit: contain;
  margin-right: 28px;
  margin-bottom: 0;
  margin-top: -25px;
  border-radius: 12px;
  background: rgba(0,0,0,0.08);
}
.project-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Change from flex-end to flex-start */
  text-align: left;
}
.project-info .github-btn {
  align-self: flex-end;    /* This moves only the button to the right */
  margin-right: 40px;      /* Custom amount from the right edge */
}

.project-card h3 {
  margin-bottom: 12px;
  font-size: 1.08em;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
}

.project-card p {
  font-size: 0.92em;
  color: #ddd;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  margin-bottom: 0.5em;

}

.github-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  padding: 12px 15px;
  background: #24292e;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.25em;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 1px 4px 0 rgba(31,38,135,0.09);
}
.github-btn svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  display: inline-block;
  vertical-align: middle;
}

.github-btn:hover {
  background: #0666d35e;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 8px 0 rgba(31,38,135,0.13);
}

.project-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}

.learn-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  padding: 12px 15px;
  background: #24292e;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.25em;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 1px 4px 0 rgba(31,38,135,0.09);
}

.learn-more-btn img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  vertical-align: middle;
}

.learn-more-btn:hover {
  background: #0666d35e;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 8px 0 rgba(31,38,135,0.13);
}

.experience-section {
  margin-top: 80px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  color: white;
  text-align: center;
  padding-bottom: 80px;
}

.experience-section h2 {
  font-size: 2.5em;
  margin-bottom: 70px;
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 18px;
  padding: 18px 400px 14px 400px;
  box-shadow: 0 4px 24px 0 rgba(31,38,135,0.10);
  font-weight: 800;
  letter-spacing: 1px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.experience-grid {
  display: flex;
  justify-content: center;
  align-items: center;
}

.experience-grid .project-card {
  width: 100%;
  max-width: 800px;
}

.experience-grid .project-card img {
  width: 80px;
  height: 80px;
}

.tech-stack-section {
    padding: 60px 20px; /* Adjust padding as needed */
    text-align: center;
    color: white; /* Text color for the section title */
    max-width: 1200px; /* Limit width for larger screens */
    margin: 0 auto; /* Center the section */
}

.tech-stack-section h2 {
    font-size: 2.5em; /* Adjust size for "My Tech Stack" heading */
    margin-bottom: 40px;
    color: #fff; /* Ensure heading is white or your primary text color */
}

.tech-stack-grid {
    display: grid;
    /* Responsive Grid: */
    /* Auto-fit creates as many columns as fit, minmax sets min/max width for each */
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px; /* Space between grid items */
    justify-items: center; /* Center cards horizontally within their grid cell */
    align-items: start; /* Align cards to the top of their grid cell */
}

.tech-skill-card {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for a subtle card background */
    border-radius: 8px; /* Slightly rounded corners */
    padding: 20px 15px; /* Padding inside the card */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%; /* Take full width of grid cell */
    max-width: 150px; /* Max width for each card if the grid cell is very large */
    transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out; /* Smooth hover effect */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
}

/* Project Detail Pages Styles */
.project-detail-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 20px 40px;
  color: #ffffff;
}

.project-detail-header {
  text-align: center;
  margin-bottom: 3rem;
}

.project-detail-logo {
  height: 80px;
  margin-bottom: 1rem;
}

.project-detail-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.project-subtitle {
  font-size: 1.2rem;
  color: #b0c4de;
  margin-bottom: 0;
}

.project-detail-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.project-detail-content section {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 2rem;
}

.project-detail-content h2 {
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 0.5rem;
}

.project-overview p {
  color: #f0f8ff;
  line-height: 1.7;
  font-size: 1.1rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: transform 0.2s ease;
}

.tech-item:hover {
  transform: translateY(-2px);
}

.tech-item img {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

.tech-item span {
  color: #f0f8ff;
  font-size: 0.9rem;
  text-align: center;
}

.project-features ul {
  list-style: none;
  padding: 0;
}

.project-features li {
  color: #f0f8ff;
  line-height: 1.6;
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.project-features li::before {
  content: "→";
  color: #87ceeb;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.challenge-item {
  margin-bottom: 1.5rem;
}

.challenge-item:last-child {
  margin-bottom: 0;
}

.challenge-item h3 {
  color: #87ceeb;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.challenge-item p {
  color: #f0f8ff;
  line-height: 1.6;
}

.project-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.demo-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
}

.demo-btn:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform: translateY(-2px);
}

.action-btn img {
  height: 20px;
  width: 20px;
  object-fit: contain;
}

/* Responsive Design for Project Details */
@media (max-width: 768px) {
  .project-detail-container {
    padding: 80px 15px 30px;
  }
  
  .project-detail-header h1 {
    font-size: 2rem;
  }
  
  .project-subtitle {
    font-size: 1rem;
  }
  
  .project-detail-content {
    gap: 2rem;
  }
  
  .project-detail-content section {
    padding: 1.5rem;
  }
  
  .tech-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
  
  .project-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .action-btn {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }
}

.tech-skill-card:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    background-color: rgba(255, 255, 255, 0.1); /* Slightly brighter on hover */
}

.tech-skill-card img {
    width: 60px; /* Size of the icon */
    height: 60px;
    object-fit: contain; /* Ensure icon scales properly */
    margin-bottom: 10px;
}

.tech-skill-card p {
    color: #fff; /* Text color for tech name */
    font-size: 1em; /* Adjust font size */
    margin: 0; /* Remove default paragraph margin */
    font-weight: 500; /* Slightly bolder text */
}

@media (max-width: 768px) {
    .tech-stack-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* Smaller cards on tablets */
        gap: 20px;
    }
    .tech-skill-card {
        padding: 15px 10px;
        max-width: 120px;
    }
    .tech-skill-card img {
        width: 50px;
        height: 50px;
    }
    .tech-stack-section h2 {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .tech-stack-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
        gap: 15px;
    }
    .tech-skill-card {
        max-width: none; /* Allow cards to take up available width */
    }
    .tech-skill-card img {
        width: 45px;
        height: 45px;
    }
}
