body, html, main {
   overflow-x: hidden;
   width: 100%;
   margin: 0;
   padding: 0;
}

.showcase-container {
   margin-top: -75px;
   min-height: 100vh;
   color: #e6e6e6;
   font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
 }
 
 /* Hero Section */
 .showcase-hero {
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
 }
 
 .hero-content {
    max-width: 800px;
    padding: 3rem;
    z-index: 2;
 }
 
 .hero-title {
    font-size: clamp(3rem, 7vw, 5rem);
    color: #fff;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
 }
 
 .hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
 }
 
 .portfolio-link-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
 }
 
 .portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background-color: rgba(136, 0, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    border: 2px solid #a600ff;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
 }
 
 .portfolio-link:hover {
    background: linear-gradient(45deg, #9e33e6, #505ed7);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(160, 74, 226, 0.3);
 }
 
 .portfolio-link i {
    font-size: 1.1rem;
 }
 
 /* Section Headers */
 .section-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-top: 5rem;
 }
 
 .section-title {
    font-size: 2.5rem;
    color: #fff;
    display: inline-block;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    font-weight: 800;
    text-transform: uppercase;
 }
 
 .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 4px;
    background-color: rgb(136, 0, 255);
    box-shadow: 0 5px 15px rgba(160, 74, 226, 0.3);
 }
 
 .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
 }
 
 /* Featured Projects Section */
 .featured-projects {
    padding: 2rem 3rem;
    max-width: 1200px;
    margin: -100px auto;
 }
 
 .second-project {
    margin-top: 4rem;
 }
 
 .project-card {
    margin-bottom: 3rem;
    background: linear-gradient(145deg, #131313, #141414);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
 }
 
 .project-card.visible {
    opacity: 1;
    transform: translateY(0);
 }
 
 .project-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.333);
    transform: translateY(-5px);
 }
 
 .project-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
 }
 
 .project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.8rem;
 }
 
 .project-title-container {
    flex: 1;
 }
 
 .project-title {
    color: #fff;
    font-size: 1.8rem;
    margin: 0 0 0.8rem 0;
    letter-spacing: 1px;
 }
 
 .project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
 }
 
 .project-tag {
    background: #a600ff;
    color: #ffffff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(136, 0, 255, 0.3);
 }
 
 .repo-link {
    color: #fff;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transition: all 0.2s ease;
 }
 
 .repo-link:hover {
    color: #ac68ff;
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.5);
 }
 
 .project-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
 }
 
 .project-description p {
    margin-bottom: 1rem;
 }
 
 .project-highlights {
    margin: 1.5rem 0;
 }
 
 .highlight {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.8rem;
 }
 
 .highlight i {
    color: #ac68ff;
    margin-right: 0.8rem;
    font-size: 0.9rem;
    padding-top: 0.2rem;
 }
 
 .highlight span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.4;
 }
 
 .project-details {
    margin-top: 1.5rem;
 }
 
 .project-details h4 {
    color: #ac68ff;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem;
 }
 
 .project-details p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
 }
 
 .code-snippet {
    margin: 1.5rem 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border-left: 3px solid #a600ff;
    overflow: hidden;
 }
 
 .code-snippet pre {
    padding: 1.5rem;
    overflow-x: auto;
    color: #d4d4d4;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
 }
 
 .project-image-container {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
 }
 
 .project-image-frame {
    width: 100%;
    max-width: 800px;
    background-color: #0a0a0a;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
 }
 
 .project-image-frame:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background-color: #0a0a0a;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(136, 0, 255, 0.1);
    transform: translateY(-5px);
 }
 
 .project-diagram {
    max-width: 100%;
    max-height: 600px;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.5));
 }
 
 .image-caption {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: #ac68ff;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
 }
 
/* Contact CTA section */
.contact-cta {
   padding: 4rem 0;
   text-align: center;
   border: 1px solid rgba(255, 255, 255, 0.1);
   background: linear-gradient(45deg, rgba(24, 24, 24, 0.9), rgba(11, 11, 11, 0.9));
   border-radius: 12px;
   margin: 3rem auto;
   max-width: 1200px;
}

.cta-content h2 {
   font-size: 2.5rem;
   color: #fff;
   margin-bottom: 1.5rem;
   letter-spacing: 2px;
   text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-content p {
   color: rgba(255, 255, 255, 0.8);
   margin-bottom: 3rem;
   font-size: 1.2rem;
   max-width: 700px;
   margin-left: auto;
   margin-right: auto;
}

.cta-button {
   padding: 0.8rem 1.5rem;
   background-color: rgba(136, 0, 255, 0.1);
   color: #ffffff;
   text-decoration: none;
   border: 2px solid #a600ff;
   border-radius: 4px;
   font-weight: bold;
   transition: all 0.3s ease;
   text-transform: uppercase;
   letter-spacing: 1px;
   white-space: nowrap;
}

.cta-button:hover {
   transform: translateY(-3px);
   background: linear-gradient(45deg, #9e33e6, #505ed7);
   box-shadow: 0 5px 15px rgba(160, 74, 226, 0.3);
}

@media screen and (min-width: 1920px) and (max-width: 1921px) {
   .hero-title {
      margin-top: 125px;
      font-size: 7rem;
   }

   .hero-subtitle {
      margin-top: 0;
      width: 1500px !important;
      max-width: 100%;
      font-size: 3.5rem;
      margin-bottom: 75px;
   }

   .portfolio-link i {
      font-size: 2rem;
   }

   .portfolio-link {
      font-weight: 300;
      font-size: 2rem;
   }

   .section-title {
      margin-top: 260px;
      font-size: 4rem;
   }

   .section-subtitle {
      font-size: 2rem;
      display: flex;
      justify-content: center;
      align-items: center;
      white-space: nowrap;
   }

   .featured-projects {
      max-width: 1500px;
      transform: scale(115%);
   }

   .project-card {
      max-height: 100%;
      height: 100%;
      margin-bottom: 100px;
   }

   .project-title {
      font-size: 3rem !important;
   }

   .project-tag {
      font-size: 1.5rem;
   }

   .project-description {
      font-size: 1.5rem;
   }

   .project-image-frame {
      max-width: 1000px;
   }

   .project-diagram {
      max-height: 1000px;
   }

   .image-caption {
      font-size: 2rem;
   }

   .highlight i {
      font-size: 1.5rem;
   }

   .project-highlights span {
      font-size: 1.5rem;
   }

   .project-details h4 {
      font-size: 2rem;
   }

   .project-details p {
      font-size: 1.5rem;
   }

   .contact-cta {
      margin-top: 225px;
   }

   .cta-content p {
      font-size: 1.5rem;
   }

  .cta-button {
      font-size: 1.5rem;
      font-weight: 300;
   }
}

@media (max-width: 1024px) {
   .hero-content {
      padding: 2rem;
   }
}
 
@media (max-width: 900px) {
   .project-image {
      height: 300px;
   }
   
   .featured-projects {
      padding: 2rem;
   }
   
   .contact-cta {
      margin: 4rem 2rem;
      padding: 4rem 2rem;
   }
}
 
 @media (max-width: 768px) {
   /* Hero section */
   .hero-content {
      padding: 2rem 1rem;
   }
   
   .hero-title {
      font-size: 2.5rem;
   }
   
   .hero-subtitle {
      font-size: 1.1rem;
   }
   
   /* Section headers */
   .section-header {
      padding-top: 3rem;
      margin-bottom: 2.5rem;
   }
   
   .section-title {
      margin-top: -100px;
      font-size: .98rem;
   }
   
   .section-title::after {
      width: 100%;
      max-width: 300px;
   }
   
   .section-subtitle {
      font-size: 1rem;
      max-width: 100%;
   }
   
   /* Project card */
   .project-card {
      margin-bottom: 2rem;
   }
   
   .project-content {
      padding: 1.5rem;
   }
   
   .project-title {
      font-size: 1.5rem;
   }
   
   /* Image container */
   .project-image-frame {
      padding: 1rem;
   }
   
   .image-caption {
      font-size: 0.9rem;
   }
   
   /* CTA section */
   .contact-cta {
      padding: 3rem 1.5rem;
      margin: 3rem 1.5rem;
   }
   
   .cta-content h2 {
      font-size: 1.8rem;
   }
   
   .cta-content p {
      font-size: 1rem;
      margin-bottom: 2rem;
   }
   
   .cta-button {
      padding: 0.7rem 1.2rem;
      font-size: 0.9rem;
   }
   
   /* Fix spacing */
   .featured-projects {
      margin: -75px auto;
      padding: 2rem 1rem;
   }
   
   .second-project {
      margin-top: 2rem;
   }
}

@media (max-width: 480px) {
   .project-header {
      flex-direction: column;
      gap: 1rem;
   }
   
   .repo-link {
      align-self: flex-end;
   }
   
   .featured-projects {
      padding: 2rem 1.5rem;
   }
   
   .contact-cta {
      margin: 3rem 1.5rem;
      padding: 3rem 1.5rem;
   }
   
   .project-content {
      padding: 2rem;
   }
}