/* Project Page Styles */

/* ===== COMPACT PROJECT HERO ===== */
.project-hero-compact {
  background: var(--light-gray);
  padding: 100px 0 50px;
  margin-top: 70px;
}

.project-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-size-sm);
  color: #666;
  margin-bottom: var(--spacing-lg);
}

.project-breadcrumb a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
}

.project-breadcrumb a:hover {
  color: var(--primary-green);
}

.project-breadcrumb span {
  color: #999;
}

.project-breadcrumb span:last-child {
  color: var(--primary-green);
  font-weight: 500;
}

.hero-header {
  margin-bottom: var(--spacing-xl);
}

.hero-tags {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.tag-category,
.tag-type {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: var(--font-size-xs);
  font-weight: 500;
}

.tag-category {
  background: var(--primary-green);
  color: var(--white);
}

.tag-type {
  background: var(--light-green);
  color: var(--primary-green);
}

.hero-header h1 {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--dark-gray);
}

.hero-lead {
  font-size: var(--font-size-lg);
  color: #666;
  line-height: 1.6;
}

.hero-metrics {
  display: flex;
  gap: var(--spacing-2xl);
  padding: var(--spacing-lg) 0;
  border-top: 1px solid var(--border-gray);
  border-bottom: 1px solid var(--border-gray);
  margin-bottom: var(--spacing-lg);
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-value {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--primary-green);
  line-height: 1;
}

.metric-label {
  font-size: var(--font-size-sm);
  color: #666;
}

.tech-stack-inline {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.stack-label {
  font-weight: 600;
  color: var(--dark-gray);
  font-size: var(--font-size-sm);
}

.stack-items {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.stack-badge {
  padding: 6px 12px;
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 12px;
  font-size: var(--font-size-xs);
  color: var(--primary-green);
  font-weight: 500;
  transition: all 0.2s ease;
}

.stack-badge:hover {
  background: var(--light-green);
  border-color: var(--primary-green);
}

/* ===== COMPACT 3-COLUMN CONTENT ===== */
.project-content-compact {
  padding: var(--spacing-3xl) 0;
  background: var(--white);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
}

.content-column {
  padding: var(--spacing-xl);
  border: 1px solid var(--border-gray);
  border-radius: var(--border-radius-md);
  transition: all 0.3s ease;
}

.content-column:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.content-column.highlight {
  background: var(--light-gray);
  border-color: var(--primary-green);
}

.column-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.column-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  font-size: 20px;
}

.column-header h2 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--dark-gray);
  margin: 0;
}

.column-intro {
  font-size: var(--font-size-base);
  color: #666;
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

.compact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.compact-list li {
  padding-left: var(--spacing-md);
  position: relative;
  font-size: var(--font-size-sm);
  line-height: 1.6;
  color: #4A5568;
}

.compact-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-green);
  font-weight: bold;
}

.compact-list.results li {
  font-weight: 500;
}

.result-metric {
  color: var(--primary-green);
  font-weight: 700;
  font-size: var(--font-size-base);
}

/* ===== SCREENSHOT GALLERY ===== */
.project-gallery {
  padding: var(--spacing-3xl) 0;
  background: var(--light-gray);
}

.project-gallery h2 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--spacing-xl);
  color: var(--dark-gray);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  background: var(--white);
  border: 1px solid var(--border-gray);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.gallery-label {
  padding: var(--spacing-md);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--dark-gray);
  text-align: center;
  background: var(--white);
}

/* ===== TESTIMONIAL ===== */
.project-testimonial {
  padding: var(--spacing-3xl) 0;
  background: var(--white);
}

.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-2xl);
  text-align: center;
  border: 1px solid var(--border-gray);
  border-radius: var(--border-radius-lg);
  background: var(--light-gray);
}

.quote-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  font-size: 24px;
}

.testimonial-card blockquote {
  font-size: var(--font-size-lg);
  line-height: 1.7;
  color: #4A5568;
  font-style: italic;
  margin: 0 0 var(--spacing-lg);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-author strong {
  font-size: var(--font-size-base);
  color: var(--dark-gray);
  font-weight: 600;
}

.testimonial-author span {
  font-size: var(--font-size-sm);
  color: #666;
}

/* ===== LEGACY STYLES (Keep for other pages) ===== */
/* Breadcrumb */
.breadcrumb {
  background: var(--light-gray);
  padding: var(--spacing-lg) 0;
  margin-top: 70px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: var(--font-size-sm);
}

.breadcrumb-link {
  color: #666;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  transition: color 0.3s ease;
}

.breadcrumb-link:hover {
  color: var(--primary-green);
}

.breadcrumb-separator {
  color: #999;
}

.breadcrumb-current {
  color: var(--primary-green);
  font-weight: 500;
}

/* Project Hero */
.project-hero {
  background: linear-gradient(135deg, var(--light-gray) 0%, rgba(169, 217, 199, 0.1) 100%);
  padding: var(--spacing-3xl) 0;
}

.project-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.project-meta {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.project-category,
.project-type {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: var(--font-size-xs);
  font-weight: 500;
}

.project-category {
  background: var(--primary-green);
  color: var(--white);
}

.project-type {
  background: var(--light-green);
  color: var(--primary-green);
}

.project-title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-lg);
  color: var(--dark-gray);
}

.project-subtitle {
  font-size: var(--font-size-lg);
  color: #666;
  line-height: 1.6;
  margin-bottom: var(--spacing-2xl);
}

.project-stats {
  display: flex;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--primary-green);
  line-height: 1;
}

.stat-label {
  font-size: var(--font-size-sm);
  color: #666;
  margin-top: var(--spacing-xs);
}

.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.stack-item {
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--light-green);
  border-radius: 20px;
  font-size: var(--font-size-xs);
  color: var(--primary-green);
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.stack-item:hover {
  background: var(--light-green);
  transform: translateY(-1px);
}

.project-hero-image {
  position: relative;
}

.image-container {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-container:hover .image-overlay {
  opacity: 1;
}

.play-button {
  width: 60px;
  height: 60px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  font-size: var(--font-size-xl);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.play-button:hover {
  transform: scale(1.1);
}

/* Project Overview */
.project-overview {
  padding: var(--spacing-3xl) 0;
}

.overview-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-3xl);
}

.overview-text {
  font-size: var(--font-size-lg);
  color: #666;
  line-height: 1.6;
  margin-bottom: var(--spacing-2xl);
}

.project-details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.detail-item {
  display: flex;
  gap: var(--spacing-lg);
  align-items: flex-start;
}

.detail-icon {
  width: 40px;
  height: 40px;
  background: var(--light-green);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  flex-shrink: 0;
}

.detail-content h4 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: var(--spacing-xs);
}

.detail-content p {
  color: #666;
  font-size: var(--font-size-sm);
}

.overview-highlights {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.highlight-card {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  border-left: 4px solid var(--primary-green);
  box-shadow: var(--shadow-sm);
}

.highlight-icon {
  width: 40px;
  height: 40px;
  background: var(--light-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  margin-bottom: var(--spacing-md);
}

.highlight-card h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: var(--spacing-sm);
}

.highlight-card p {
  color: #666;
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

/* Compact Highlight Cards */
.highlight-card-compact {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  background: var(--white);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  border-left: 4px solid var(--primary-green);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.highlight-card-compact:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.highlight-icon-compact {
  width: 32px;
  height: 32px;
  background: var(--light-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  flex-shrink: 0;
  font-size: 14px;
}

.highlight-content {
  flex: 1;
}

.highlight-content h4 {
  font-size: var(--font-size-md);
  font-weight: 600;
  color: var(--dark-gray);
  margin: 0 0 var(--spacing-xs) 0;
}

.highlight-content p {
  color: #666;
  font-size: var(--font-size-sm);
  line-height: 1.4;
  margin: 0;
}

/* Challenge Section - Compact */
.project-challenge {
  background: var(--light-gray);
  padding: var(--spacing-2xl) 0;
}

.challenge-content-compact {
  max-width: 900px;
  margin: 0 auto;
}

.challenge-intro {
  font-size: var(--font-size-base);
  color: #666;
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  line-height: 1.6;
}

.challenge-summary {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-3xl);
  align-items: start;
}

.challenge-list h3,
.impact-summary h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: var(--spacing-lg);
}

.challenge-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.challenge-bullets li {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-md);
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.bullet-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--font-size-sm);
  flex-shrink: 0;
}

.bullet-content {
  flex: 1;
  font-size: var(--font-size-sm);
  line-height: 1.5;
  color: #666;
}

.bullet-content strong {
  color: var(--dark-gray);
  font-weight: 600;
}

.impact-summary {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  height: fit-content;
}

.impact-stats {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.impact-stat {
  text-align: center;
  padding: var(--spacing-md);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.05));
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--border-radius);
}

.impact-number {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: #dc2626;
  display: block;
  line-height: 1;
}

.impact-desc {
  font-size: var(--font-size-xs);
  color: #666;
  margin-top: var(--spacing-xs);
}

/* Solution Section */
.project-solution {
  padding: var(--spacing-3xl) 0;
}

.solution-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.solution-architecture {
  margin-bottom: var(--spacing-3xl);
}

.solution-architecture h3 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--dark-gray);
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.architecture-diagram {
  text-align: center;
  padding: var(--spacing-2xl);
  background: var(--light-gray);
  border-radius: var(--border-radius-lg);
}

.architecture-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

.solution-features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3xl);
}

.feature-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.feature-item.reverse {
  direction: rtl;
}

.feature-item.reverse > * {
  direction: ltr;
}

.feature-visual {
  position: relative;
}

.feature-img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.feature-content h3 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: var(--spacing-md);
}

.feature-content p {
  font-size: var(--font-size-base);
  color: #666;
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
}

.feature-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.feature-benefits li {
  display: flex;
  align-items: center;
  color: #666;
  font-size: var(--font-size-sm);
}

.feature-benefits li::before {
  content: '✓';
  color: var(--primary-green);
  font-weight: bold;
  margin-right: var(--spacing-md);
  font-size: var(--font-size-base);
}

/* Technology Stack */
.tech-stack {
  background: var(--light-gray);
  padding: var(--spacing-3xl) 0;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
}


.stack-item:hover {
  transform: translateY(-4px);
}

.stack-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin: 0 auto var(--spacing-md);
}

.stack-item h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: var(--spacing-md);
}

.stack-item p {
  color: #666;
  font-size: var(--font-size-sm);
  line-height: 1.6;
}

/* Results Section */
.project-results {
  padding: var(--spacing-3xl) 0;
}

.results-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.results-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-3xl);
}

.metric-card {
  background: var(--white);
  padding: var(--spacing-2xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  border-top: 4px solid var(--primary-green);
}

.metric-card .metric-icon {
  width: 60px;
  height: 60px;
  background: var(--light-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  margin: 0 auto var(--spacing-lg);
}

.metric-number {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--primary-green);
  line-height: 1;
}

.metric-label {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--dark-gray);
  margin: var(--spacing-md) 0;
}

.metric-description {
  color: #666;
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

.testimonial {
  background: var(--light-gray);
  padding: var(--spacing-2xl);
  border-radius: var(--border-radius-lg);
  text-align: center;
}

.testimonial blockquote {
  font-size: var(--font-size-lg);
  color: var(--dark-gray);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: var(--spacing-xl);
  position: relative;
}

.testimonial blockquote::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-green);
  position: absolute;
  top: -20px;
  left: -10px;
  opacity: 0.3;
}

.author-name {
  font-weight: 600;
  color: var(--dark-gray);
}

.author-title {
  color: #666;
  font-size: var(--font-size-sm);
}

/* CTA Section */
.project-cta {
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
  color: var(--white);
  padding: var(--spacing-3xl) 0;
  text-align: center;
}

.project-cta h2 {
  font-size: var(--font-size-3xl);
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
}

.project-cta p {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-2xl);
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.project-cta .btn {
  min-width: 200px;
}

.project-cta .btn-secondary {
  background: var(--white);
  color: var(--primary-green);
  border: 2px solid var(--white);
}

.project-cta .btn-secondary:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

/* Responsive Design */
@media (max-width: 992px) {
  /* Compact 3-column becomes 1 column on tablets */
  .content-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .hero-metrics {
    gap: var(--spacing-lg);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Compact hero adjustments */
  .project-hero-compact {
    padding: 80px 0 40px;
  }

  .hero-header h1 {
    font-size: var(--font-size-2xl);
  }

  .hero-lead {
    font-size: var(--font-size-base);
  }

  .hero-metrics {
    flex-direction: column;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
  }

  .metric {
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-sm);
  }

  .tech-stack-inline {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Content columns */
  .content-column {
    padding: var(--spacing-lg);
  }

  /* Gallery */
  .gallery-item img {
    height: 200px;
  }

  /* Testimonial */
  .testimonial-card {
    padding: var(--spacing-lg);
  }

  .testimonial-card blockquote {
    font-size: var(--font-size-base);
  }

  /* Legacy styles */
  .project-hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .project-title {
    font-size: var(--font-size-3xl);
  }

  .project-stats {
    justify-content: center;
    flex-wrap: wrap;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .challenge-summary {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .challenge-bullets li {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-sm);
  }

  .feature-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .highlight-card-compact {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
  }

  .stack-item {
    padding: 6px 12px;
    font-size: var(--font-size-xs);
  }

  .feature-item.reverse {
    direction: ltr;
  }

  .stack-grid {
    grid-template-columns: 1fr;
  }

  .results-metrics {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .project-title {
    font-size: var(--font-size-2xl);
  }

  .project-stats {
    gap: var(--spacing-lg);
  }

  .project-stack {
    justify-content: center;
  }

  .impact-metrics {
    grid-template-columns: 1fr;
  }

  .hero-header h1 {
    font-size: var(--font-size-xl);
  }

  .column-header h2 {
    font-size: var(--font-size-lg);
  }
}

/* Dual Gallery Styles */
.dual-gallery {
  width: 100%;
}

.gallery-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
  height: 400px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(28, 140, 99, 0.8), rgba(86, 166, 137, 0.8));
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icon {
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
}

.gallery-label {
  font-size: var(--font-size-lg);
  font-weight: 600;
  text-align: center;
}

/* Image Modal Styles */
.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  margin: auto;
  padding: 20px;
  width: 90%;
  max-width: 1200px;
  height: 90%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.modal-image {
  max-width: 100%;
  max-height: 80%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--primary-green);
}

.modal-caption {
  color: white;
  font-size: var(--font-size-lg);
  font-weight: 500;
  margin-top: var(--spacing-lg);
  text-align: center;
}

/* Responsive adjustments for gallery */
@media (max-width: 768px) {
  .gallery-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
    height: auto;
  }
  
  .gallery-item {
    height: 250px;
  }
  
  .modal-content {
    width: 95%;
    height: 95%;
    padding: 10px;
  }
  
  .modal-close {
    top: 10px;
    right: 20px;
    font-size: 30px;
  }
}

/* Compact Results Section */
.results-content-compact {
  max-width: 1000px;
  margin: 0 auto;
}

.results-summary {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-3xl);
  align-items: start;
}

.results-list h3 {
  color: var(--primary-green);
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-lg);
  font-weight: 600;
}

.results-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.results-bullets li {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-md);
  background: rgba(169, 217, 199, 0.1);
  border-radius: 8px;
  border-left: 4px solid var(--primary-green);
}

.results-bullets li:last-child {
  margin-bottom: 0;
}

.results-bullets .bullet-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  margin-top: 2px;
}

.results-bullets .bullet-content {
  flex: 1;
  line-height: 1.6;
}

.results-bullets .bullet-content strong {
  color: var(--primary-green);
  font-weight: 600;
}

.testimonial-compact {
  background: white;
  padding: var(--spacing-xl);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--primary-green);
  position: relative;
}

.testimonial-icon {
  position: absolute;
  top: -10px;
  left: var(--spacing-lg);
  background: var(--primary-green);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.testimonial-compact blockquote {
  font-style: italic;
  font-size: var(--font-size-md);
  line-height: 1.6;
  margin: 0 0 var(--spacing-lg) 0;
  color: #333;
}

.testimonial-compact .testimonial-author {
  text-align: right;
}

.testimonial-compact .testimonial-author strong {
  display: block;
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 4px;
}

.testimonial-compact .testimonial-author span {
  color: #666;
  font-size: var(--font-size-sm);
}

/* Responsive adjustments for compact results */
@media (max-width: 768px) {
  .results-summary {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .results-bullets li {
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
  }
  
  .testimonial-compact {
    padding: var(--spacing-lg);
  }
}

/* Technology Stack Tags */
.tech-stack-tags {
  background: rgba(169, 217, 199, 0.05);
  padding: var(--spacing-2xl) 0;
}

.stack-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.stack-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: white;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: default;
}

.stack-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(28, 140, 99, 0.15);
  border-color: var(--primary-green);
}

.tag-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.tag-name {
  font-weight: 500;
  color: var(--dark-gray);
  font-size: var(--font-size-sm);
  white-space: nowrap;
}

/* Responsive adjustments for stack tags */
@media (max-width: 768px) {
  .stack-tags-container {
    gap: var(--spacing-sm);
    justify-content: center;
  }
  
  .stack-tag {
    padding: var(--spacing-xs) var(--spacing-sm);
  }
  
  .tag-logo {
    width: 20px;
    height: 20px;
  }
  
  .tag-name {
    font-size: var(--font-size-xs);
  }
}
