/* Project Details Page Styles */
:root {
  --background: #09090b;
  --foreground: #fafafa;
  --primary: #facc15;
  --primary-foreground: #000;
  --border: #27272a;
  --muted: #18181b;
  --card: #18181b;
  --gold: #FAFF00;
}


/* Device Views Section */
.device-views-section {
  padding: 1rem 0;
  margin-top: 0;
  position: relative;
  background-color: transparent;
}

.device-views-container {
  margin-bottom: 1rem;
}

.device-views-container:last-child {
  margin-bottom: 0;
}

.views-grid {
  display: block;
  width: 100%;
}



.section-header {
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-title1 {
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-divider {
  width: 80px;
  height: 4px;
  background-color: var(--primary);
  margin: 0 auto;
}

/* Desktop Views - Enhanced Stacking Scroll Effect */
.desktop-views-scroll-container {
  height: 100vh;
  position: relative;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
}

.desktop-views-scroll-container::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.desktop-views-content {
  position: relative;
}

.desktop-view-item {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* Desktop Frame Style - Enhanced Responsive */
.desktop-view-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  max-height: 80vh;
  display: block;
  border: 15px solid #1a1a1a;
  border-radius: 10px;
  border-top: 50px solid #1a1a1a;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  background: #fff;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center center;
  object-fit: contain;
}

.desktop-view-image::before {
  content: '';
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 8px;
  background-color: #333;
  border-radius: 8px;
}

.desktop-view-image::after {
  content: '';
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 15px;
  background-color: #1a1a1a;
  border-radius: 0 0 10px 10px;
}

.desktop-view-wrapper {
  position: relative;
  display: inline-block;
  margin: auto;
  align-items: center;
  background: transparent;
}

.desktop-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  color: var(--primary);
  border: none;
  padding: 0.6rem 1rem;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 5;
  border-radius: 50%;
  transition: all 0.3s ease;
}

/* Left arrow */
.desktop-nav.prev {
  left: 10px;
}

/* Right arrow */
.desktop-nav.next {
  right: 10px;
}

/* Hover effect */
.desktop-nav:hover {
  transform: translateY(-50%) scale(1.1);
}

/* Optional: show arrows only on hover */
.desktop-view-wrapper:hover .desktop-nav {
  opacity: 1;
  visibility: visible;
}

.desktop-nav {
  visibility: visible;
}


.desktop-nav {
  visibility: visible;
}

.device-frame.desktop-frame {
  width: 100%;
  max-width: 1200px;
  position: relative;
  border: 15px solid #1a1a1a;
  border-radius: 10px;
  border-top: 50px solid #1a1a1a;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  background: #fff;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center center;
  margin: 2rem auto;
  display: block;
}

.device-frame.desktop-frame::before {
  content: '';
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 8px;
  background-color: #333;
  border-radius: 8px;
}

.device-frame.desktop-frame::after {
  content: '';
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 15px;
  background-color: #1a1a1a;
  border-radius: 0 0 10px 10px;
}

.device-frame.desktop-frame .device-screen {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  background: #000;
}

.device-frame.desktop-frame .device-screen img {
  width: 100%;
  height: auto;
  max-height: 150vh;
  display: block;
  border-radius: 5px;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center center;
  object-fit: cover;
}

/* Mobile Views - Enhanced Responsive Horizontal Scrolling */
.mobile-views-container {
  overflow-x: auto;
  white-space: nowrap;
  padding: 30px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin: 0 -2rem;
  scrollbar-width: none;
  position: relative;
}

.mobile-views-container::-webkit-scrollbar {
  display: none;
}

.mobile-views-container .views-grid {
  display: inline-flex;
  gap: 2rem;
  padding: 0 2rem;
  align-items: center;
}

.scroll-prompt {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #666;
}

.mobile-view-item {
  display: inline-block;
  width: 280px;
  white-space: normal;
  scroll-snap-align: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  position: relative;
}

/* Mobile Frame Style - Enhanced */
.mobile-view-image {
  width: 100%;
  height: auto;
  aspect-ratio: 9/16;
  display: block;
  border: 12px solid #1a1a1a;
  border-radius: 25px;
  border-top: 30px solid #1a1a1a;
  border-bottom: 30px solid #1a1a1a;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  background: #fff;
  transition: transform 0.3s ease;
  transform-origin: center center;
  object-fit: cover;
}


.mobile-view-item:hover .mobile-view-image {
  transform: scale(1.1);
  z-index: 10;
}

.mobile-view-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 8px;
  background-color: #444;
  border-radius: 8px;
}

.mobile-view-image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background-color: #333;
  border-radius: 50%;
}

.mobile-nav {
  color: var(--primary);

}

.mobile-views-container {
  position: relative;
}

.mobile-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 12px;
  cursor: pointer;
  z-index: 10;
  font-size: 18px;
  border-radius: 50%;
}

.mobile-nav.prev {
  left: 10px;
}

.mobile-nav.next {
  right: 10px;
}

.mobile-nav:hover {
  background-color: rgba(0, 0, 0, 0.7);
}


/* Mobile Frame compatibility with device-frame structure */
.device-frame.mobile-frame {
  width: 100%;
  max-width: 280px;
  position: relative;
  border: 12px solid #1a1a1a;
  border-radius: 25px;
  border-top: 30px solid #1a1a1a;
  border-bottom: 30px solid #1a1a1a;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  background: #fff;
  transition: transform 0.3s ease;
  transform-origin: center center;
  margin: 1rem auto;
  display: block;
}

.device-frame.mobile-frame::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 8px;
  background-color: #444;
  border-radius: 8px;
}

.device-frame.mobile-frame::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background-color: #333;
  border-radius: 50%;
}

.device-frame.mobile-frame .device-screen {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background: #000;
}

.device-frame.mobile-frame .device-screen img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  transition: transform 0.3s ease;
  transform-origin: center center;
  object-fit: cover;
  max-height: 600px;
}

.mobile-view-item:hover .device-frame.mobile-frame {
  transform: scale(1.1);
  z-index: 10;
}

/* Responsive Adjustments - Enhanced for All Screen Sizes */

/* Extra Large Screens (1400px and above) */
@media (min-width: 1400px) {
  .desktop-view-image {
    max-width: 1400px;
    border-width: 18px;
    border-top-width: 55px;
  }

  .device-frame.desktop-frame {
    max-width: 1400px;
    border-width: 18px;
    border-top-width: 55px;
  }

  .mobile-view-item {
    width: 320px;
  }

  .desktop-views-scroll-container {
    height: 100vh;
  }

  .desktop-view-item {
    height: 100vh;
    padding: 2rem;
  }
}

/* Large Screens (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .desktop-view-image {
    max-width: 1200px;
    border-width: 16px;
    border-top-width: 52px;
  }

  .device-frame.desktop-frame {
    max-width: 1200px;
    border-width: 16px;
    border-top-width: 52px;
  }

  .mobile-view-item {
    width: 300px;
  }

  .desktop-views-scroll-container {
    height: 95vh;
  }

  .desktop-view-item {
    height: 95vh;
    padding: 1.5rem;
  }
}

/* Medium-Large Screens (1024px - 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
  .desktop-view-image {
    max-width: 900px;
    border-width: 14px;
    border-top-width: 45px;
    margin: auto;
    align-items: center;
  }

  .device-frame.desktop-frame {
    max-width: 900px;
    border-width: 14px;
    border-top-width: 45px;
  }

  .mobile-view-item {
    width: 260px;
  }

  .desktop-view-item {
    padding: 1.2rem;
    height: 90vh;
  }

  .desktop-views-scroll-container {
    height: 90vh;
  }

  .desktop-view-wrapper {
    display: flex;
    margin: auto;
    align-items: center;
    justify-content: center;
  }
}

/* Standard Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .desktop-view-image {
    max-width: 700px;
    border-width: 12px;
    border-top-width: 40px;
    margin: auto;
    align-items: center;
  }

  .device-frame.desktop-frame {
    max-width: 700px;
    border-width: 12px;
    border-top-width: 40px;
  }

  .mobile-view-item {
    width: 240px;
  }

  .desktop-view-item {
    padding: 1rem;
    height: 85vh;
  }

  .desktop-views-scroll-container {
    height: 85vh;
  }

  .desktop-view-wrapper {
    display: flex;
    margin: auto;
    align-items: center;
    justify-content: center;
  }

  .mobile-views-container {
    padding: 25px 0;
    margin: 0 -1.5rem;
  }

  .mobile-views-container .views-grid {
    gap: 1.5rem;
    padding: 0 1.5rem;
  }
}

/* Small Tablet Portrait (600px - 767px) */
@media (min-width: 600px) and (max-width: 767px) {
  .desktop-views-scroll-container {
    height: 75vh;
  }

  .desktop-view-item {
    height: 75vh;
    padding: 0.8rem;
  }

  .desktop-view-image {
    max-width: 100%;
    border-width: 10px;
    border-top-width: 35px;
  }

  .device-frame.desktop-frame {
    max-width: 100%;
    border-width: 10px;
    border-top-width: 35px;
  }

  .mobile-view-item {
    width: 220px;
  }

  .desktop-view-wrapper {
    display: flex;
    margin: auto;
    align-items: center;
    justify-content: center;
  }

  .device-views-section {
    padding: 0.8rem 0;
  }

  .mobile-views-container {
    padding: 22px 0;
    margin: 0 -1.2rem;
  }

  .mobile-views-container .views-grid {
    gap: 1.2rem;
    padding: 0 1.2rem;
  }
}

/* Large Mobile Landscape (480px - 599px) */
@media (min-width: 480px) and (max-width: 599px) {
  .desktop-views-scroll-container {
    height: 70vh;
  }

  .desktop-view-item {
    height: 70vh;
    padding: 0.6rem;
  }

  .desktop-view-image {
    max-width: 100%;
    border-width: 9px;
    border-top-width: 30px;
  }

  .device-frame.desktop-frame {
    max-width: 100%;
    border-width: 9px;
    border-top-width: 30px;
  }

  .mobile-view-item {
    width: 200px;
  }

  .device-views-section {
    padding: 0.6rem 0;
  }

  .mobile-views-container {
    padding: 20px 0;
    margin: 0 -1rem;
  }

  .mobile-views-container .views-grid {
    gap: 1rem;
    padding: 0 1rem;
  }
}

/* Standard Mobile (360px - 479px) */
@media (min-width: 360px) and (max-width: 479px) {
  .desktop-view-image {
    border-width: 8px;
    border-top-width: 25px;
  }

  .device-frame.desktop-frame {
    border-width: 8px;
    border-top-width: 25px;
  }

  .mobile-view-item {
    width: 180px;
  }

  .mobile-views-container {
    padding: 18px 0;
    margin: 0 -0.8rem;
  }

  .mobile-views-container .views-grid {
    gap: 0.8rem;
    padding: 0 0.8rem;
  }

  .desktop-view-item {
    height: 65vh;
    padding: 0.4rem;
  }

  .desktop-views-scroll-container {
    height: 65vh;
  }

  .device-views-section {
    padding: 0.4rem 0;
  }
}

/* Small Mobile (320px - 359px) */
@media (max-width: 359px) {
  .desktop-view-image {
    border-width: 6px;
    border-top-width: 20px;
  }

  .device-frame.desktop-frame {
    border-width: 6px;
    border-top-width: 20px;
  }

  .mobile-view-item {
    width: 160px;
  }

  .mobile-views-container {
    padding: 15px 0;
    margin: 0 -0.5rem;
  }

  .mobile-views-container .views-grid {
    gap: 0.5rem;
    padding: 0 0.5rem;
  }

  .desktop-view-item {
    height: 60vh;
    padding: 0.3rem;
  }

  .desktop-views-scroll-container {
    height: 60vh;
  }

  .device-views-section {
    padding: 0.3rem 0;
  }

  .section-title1 {
    font-size: 1.6rem;
  }

  .section-divider {
    width: 60px;
    height: 3px;
  }
}

/* Mobile Layout Enhancements for Desktop Images */
@media (max-width: 768px) {
  .desktop-view-wrapper.mobile-layout {
    padding: 1rem !important;
    margin: 0 auto !important;
  }

  .desktop-view-wrapper.mobile-layout .desktop-image-container {
    width: 100% !important;
    padding: 0 !important;
  }

  .desktop-view-wrapper.mobile-layout .desktop-view-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border: 4px solid #1a1a1a !important;
    border-top: 15px solid #1a1a1a !important;
    border-radius: 6px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
  }

  .mobile-nav-container {
    padding: 1rem 0 !important;
    margin-top: 1rem !important;
  }

  .mobile-nav-btn {
    width: 45px !important;
    height: 45px !important;
    font-size: 1.3rem !important;
  }

  .nav-dots .nav-dot {
    width: 8px !important;
    height: 8px !important;
  }
}

@media (max-width: 480px) {
  .desktop-view-wrapper.mobile-layout .desktop-view-image {
    border: 3px solid #1a1a1a !important;
    border-top: 12px solid #1a1a1a !important;
    border-radius: 4px !important;
  }

  .mobile-nav-btn {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.2rem !important;
  }

  .nav-dots .nav-dot {
    width: 6px !important;
    height: 6px !important;
  }

  .mobile-nav-container {
    gap: 1.5rem !important;
  }
}

/* Desktop Navigation Responsive Updates */
@media (max-width: 1023px) {
  .desktop-nav {
    padding: 0.5rem 0.8rem;
    font-size: 1.6rem;
  }

  .desktop-nav.prev {
    left: 8px;
  }

  .desktop-nav.next {
    right: 8px;
  }
}

@media (max-width: 767px) {
  .desktop-nav {
    padding: 0.4rem 0.7rem;
    font-size: 1.4rem;
  }

  .desktop-nav.prev {
    left: 5px;
  }

  .desktop-nav.next {
    right: 5px;
  }
}

@media (max-width: 479px) {
  .desktop-nav {
    padding: 0.3rem 0.6rem;
    font-size: 1.2rem;
  }

  .desktop-nav.prev {
    left: 3px;
  }

  .desktop-nav.next {
    right: 3px;
  }
}

/* Mobile Views Auto-scrolling */
.mobile-views-container .views-grid {
  display: inline-flex;
  gap: 2rem;
  padding: 0 2rem;
  flex-wrap: nowrap;
  animation: scrollMobile 40s linear infinite;
  will-change: transform;
}

.mobile-views-container:hover .views-grid {
  animation-play-state: paused;
}

@keyframes scrollMobile {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 1rem));
    /* 1rem accounts for gap */
  }
}

/* Pause animation when reduced motion is preferred */
@media (prefers-reduced-motion: reduce) {
  .mobile-views-container .views-grid {
    animation: none;
  }
}

/* Project Hero Section */
.project-hero {
  position: relative;
  margin-top: 50px;
  /* Account for fixed header */
  height: 80vh;
  max-height: 800px;
  overflow: hidden;
}

.project-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.project-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.project-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 1.5rem 4rem;
  color: white;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 50%);
}

.breadcrumb {
  position: absolute;
  top: 2rem;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  z-index: 3;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.2s;
}

.breadcrumb a:hover {
  opacity: 0.8;
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.5);
}


.project-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.project-category-label {


  position: absolute;
  margin-bottom: 120px;
  padding: 0.25rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--primary);
  /* fallback color */
  color: var(--primary-foreground);
  z-index: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
}

.project-description {
  font-size: 1.25rem;
  max-width: 800px;
  line-height: 1.6;
  opacity: 0.9;
}

/* Section Styles */



/* Project Overview Section */
.project-overview {
  padding: 1rem 0;
  background-color: var(--background);
}

.section-header {
  margin-bottom: 1rem;
  text-align: left;
}

.section-title1 {
  font-size: 2rem;
  font-weight: 400;
  color: var(--foreground);
  align-items: left;
}

.section-divider {
  width: 80px;
  height: 3px;
  background-color: var(--primary);
  margin: 0.5rem 0;
}

.project-content-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.project-details-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.project-full-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #a1a1aa;
  margin-bottom: 0;
}

.challenges-solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.project-challenges,
.project-solutions {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.project-challenges h3,
.project-solutions h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

.project-challenges ul,
.project-solutions ul {
  list-style-type: none;
  padding-left: 1.25rem;
}

.project-challenges li,
.project-solutions li {
  position: relative;
  margin-bottom: 0.75rem;
  color: #a1a1aa;
}

.project-challenges li::before,
.project-solutions li::before {
  content: '•';
  color: var(--primary);
  position: absolute;
  left: -1rem;
}

/* Project Stats */
.project-stats {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  position: relative;
  height: fit-content;
}

.stats-header {

  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.stat-item:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

.stat-icon {
  width: 2rem;
  height: 2rem;
  margin: 0 auto 0.5rem;
  color: var(--gold);
}

.stat-label {
  font-size: 0.8rem;
  color: #a1a1aa;
  margin-bottom: 0.25rem;
}

.stat-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--foreground);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .project-content-wrapper {
    grid-template-columns: 1fr;
  }

  .challenges-solutions-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Project Gallery */
.project-gallery {
  padding: 1rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 0.3s ease;
  aspect-ratio: 16/9;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gallery Frame Style */
.gallery-frame {
  width: 100%;
  height: 100%;
  position: relative;
  border: 8px solid #2a2a2a;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  background: #fff;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.gallery-frame:hover {
  transform: scale(1.02);
}

.gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

/* Technologies Section */
.technologies-section {
  padding: 1rem 0;
  background-color: var(--background);
}

.technologies-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.technology-item {
  text-align: center;
  padding: 1.5rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.technology-item:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.tech-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  color: var(--gold);
}

.tech-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.tech-purpose {
  font-size: 0.9rem;
  color: #a1a1aa;
}

/* Results Section */
.results-section {
  padding: 1rem 0;
  margin-top: 0;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.result-item {
  text-align: center;
  padding: 2rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.result-item:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.result-percentage {
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.result-description {
  font-size: 1.1rem;
  color: var(--foreground);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .project-title {
    font-size: 2.5rem;
  }

  .technologies-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .project-details-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .project-hero {
    height: 60vh;
  }

  .project-title {
    font-size: 2rem;
  }

  .project-description {
    font-size: 1rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .technologies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .project-hero {
    height: 50vh;
  }

  .project-title {
    font-size: 1.8rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .technologies-grid {
    grid-template-columns: 1fr;
  }
}