main {
  height: 100vh;
}

::ng-deep body {
  background-color: #000;
}
.page {
  min-width: 1230px;
}
/* Featured Section */
.featured-section {
  margin-top: 80px;
  display: block;
  visibility: visible;
}

.section-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 60px;
  line-height: 1.1;
  text-align: center;
}

.featured-projects {
  display: grid;
  grid-template-columns: 2fr 1fr; /* left projects wider, right details narrower */
  gap: 40px;
  align-items: start; /* keeps right column aligned at the top */
}

.featured-row {
  /* display: grid;
  grid-template-columns: 2fr 1fr; */
  gap: 40px;
  border-radius: 16px;
  overflow: hidden;
  padding: 30px;
  position: relative;
  height: 560px;
}

.fixed-details {
  position: sticky;
  top: 120px; /* adjust to your navbar height */
  width: 100%;
  max-width: 430px;
}

/* Base */
.featured-left {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #0a0a0f; /* fallback */
  border-radius: 16px;
  overflow: hidden;
  padding: 30px 30px 0 30px;
  justify-content: space-between;
  cursor: pointer;
  height: 100%;
  isolation: isolate;
}

.project-description {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.project-description p {
  color: #8ec5ff;
  font-size: 20px;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.arrow-icon {
  width: 20px;
  height: 20px;
  color: #b0b0b0;
  margin-left: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.arrow-icon:hover {
  color: #2997ff;
  transform: translateX(8px);
}

.screenshot-container {
  display: flex;
  border-radius: 6px 6px 0 0;
  justify-content: center;
}

.project-screenshot {
  width: 85%;
  height: auto;
  border-radius: 6px 6px 0 0;
  translate: 0 10px;
  transition: 0.3s;
  box-shadow: rgb(37, 99, 235) 0px 0px 30px; /* default blue shadow */
}



.project-screenshot:hover {
  rotate: -3deg;
  scale: 105% 105%;
}

.featured-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 0;
}

.featured-title {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

/* Default (blue) */
.title-dash {
  width: 24px;
  height: 4px;
  border-radius: 3.5px;
  margin: 16px 16px 16px 0;
  background-color: rgb(41, 50, 203); /* default blue */
}

.project-type-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-type {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0;
  font-style: italic;
}

.featured-project-links {
  display: flex;
  gap: 8px;
  align-items: center;
  position: relative;
  padding: 4px 8px;
  border-radius: 12px;
  background: rgba(41, 151, 255, 0.05);
  border: 1px solid rgba(41, 151, 255, 0.1);
}

.featured-project-links::before {
  content: "Links";
  position: absolute;
  top: -12px;
  left: 0;
  font-size: 9px;
  color: var(--accent-color);
  opacity: 0.8;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--card-bg);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(41, 151, 255, 0.2);
}

.featured-project-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(41, 151, 255, 0.15);
  border: 1px solid rgba(41, 151, 255, 0.3);
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.featured-project-link:hover {
  background: rgba(41, 151, 255, 0.25);
  border-color: rgba(41, 151, 255, 0.6);
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 3px 8px rgba(41, 151, 255, 0.3);
}

.featured-link-icon {
  width: 16px;
  height: 16px;
}

.featured-description {
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-size: 15px;
}

.feature-icon {
  width: 16px;
  height: 16px;
  color: #ff6b9d;
}

.tech-icons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.tech-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(41, 151, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.tech-icon:hover {
  transform: translateY(-2px);
  border-color: rgba(41, 151, 255, 0.8);
  box-shadow: 0 4px 12px rgba(41, 151, 255, 0.2);
}

.tech-icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.show_more_button {
  margin: 150px auto;
  text-align: center;
}
/* Responsive Design */
@media (max-width: 768px) {
  .featured-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .fixed-details {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 100%;
    max-width: none;
    margin-top: 20px;
  }

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

  .featured-title {
    font-size: 20px;
  }
}
