/* ============================================
   REVIEWS PAGE STYLES
   ============================================ */

.reviews-main {
  padding-top: 120px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.reviews-hero {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.reviews-hero .hero-badge {
  background: rgba(138, 43, 226, 0.1);
  color: #8a2be2;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 30px;
  display: inline-block;
  border: 1px solid rgba(138, 43, 226, 0.3);
  animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
  0%, 100% { 
    box-shadow: 0 0 0 0 rgba(138, 43, 226, 0.4);
  }
  50% { 
    box-shadow: 0 0 0 10px rgba(138, 43, 226, 0);
  }
}

.reviews-hero .hero-title {
  font-size: 3.2rem;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease-out;
}

.reviews-hero .hero-subtitle {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 40px;
  color: #b0b0b0;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat-card {
  background: rgba(20, 20, 25, 0.6);
  border-radius: 15px;
  padding: 25px;
  min-width: 200px;
  border: 1px solid rgba(138, 43, 226, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: #8a2be2;
  box-shadow: 0 10px 30px rgba(138, 43, 226, 0.2);
}

.stat-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(138, 43, 226, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.stat-card:hover:before {
  transform: translateX(100%);
}

.stat-icon {
  font-size: 2.5rem;
  color: #8a2be2;
  margin-bottom: 15px;
}

.stat-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: #888;
}

/* ============================================
   FULL-SIZE IMAGE CONTAINER WITH WHITE BACKGROUND
   ============================================ */

.full-image-container.white-bg {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  padding: 15px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.full-image-container.white-bg img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.full-image-container.white-bg:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: #8a2be2;
}

.full-image-container.white-bg:hover img {
  transform: scale(1.02);
}

/* ============================================
   FEATURED PROJECTS
   ============================================ */
.featured-projects {
  padding: 100px 0;
  background: rgba(10, 10, 15, 0.5);
  position: relative;
}

.featured-projects:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 0% 0%, rgba(138, 43, 226, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(74, 0, 130, 0.05) 0%, transparent 50%);
}

.projects-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.project-card {
  background: rgba(20, 20, 25, 0.8);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(138, 43, 226, 0.2);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: cardAppear 0.6s ease-out forwards;
  animation-delay: calc(var(--card-index, 0) * 0.2s);
}

.project-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-card.india-day:nth-child(1) { --card-index: 1; }
.project-card.shaping-minds:nth-child(2) { --card-index: 2; }
.project-card.ss-engineering:nth-child(3) { --card-index: 3; }

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(138, 43, 226, 0.3);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background: rgba(10, 10, 15, 0.6);
  border-bottom: 1px solid rgba(138, 43, 226, 0.2);
}

.project-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(138, 43, 226, 0.1);
  color: #8a2be2;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
}

.project-stats {
  display: flex;
  gap: 20px;
}

.stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b0b0b0;
  font-size: 0.9rem;
}

.stat i {
  color: #8a2be2;
}

.project-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px;
}

@media (max-width: 1024px) {
  .project-content {
    grid-template-columns: 1fr;
  }
}

.project-details h3 {
  color: white;
  margin-bottom: 10px;
  font-size: 1.8rem;
}

.project-details h4 {
  color: #8a2be2;
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 1.1rem;
}

.project-description {
  color: #b0b0b0;
  margin-bottom: 25px;
  line-height: 1.7;
}

.project-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #b0b0b0;
  font-size: 0.95rem;
}

.feature i {
  color: #8a2be2;
  width: 20px;
}

.project-impact {
  background: rgba(138, 43, 226, 0.1);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 25px;
}

.project-impact h5 {
  color: white;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

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

.project-impact li {
  color: #b0b0b0;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.project-impact li:before {
  content: '✓';
  color: #8a2be2;
  position: absolute;
  left: 0;
}

/* Client Quote Styles */
.client-quote {
  background: rgba(20, 20, 25, 0.8);
  padding: 25px;
  border-radius: 10px;
  border-left: 4px solid #8a2be2;
  margin: 25px 0;
  position: relative;
}

.client-quote i {
  color: #8a2be2;
  font-size: 1.5rem;
  position: absolute;
  top: 15px;
  left: 15px;
}

.client-quote p {
  color: white;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.7;
  padding-left: 30px;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 45px;
  padding-top: 20px;
  border-top: 1px solid rgba(138, 43, 226, 0.2);
}

.author-avatar {
  flex-shrink: 0;
}

/* UPDATED: Larger avatar container - 90px */
.avatar-container.purple-bg {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #8a2be2, #4a0082);
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-container.purple-bg img {
  width: 85%;
  height: 85%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid white;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.avatar-container.purple-bg .glow-border {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: linear-gradient(45deg, 
    #8a2be2, 
    #4a0082, 
    #8a2be2, 
    #4a0082);
  z-index: 1;
  opacity: 0.7;
  filter: blur(5px);
  animation: borderGlow 3s linear infinite;
}

.avatar-container.purple-bg:hover img {
  transform: scale(1.1);
}

.avatar-container.purple-bg:hover .glow-border {
  animation: borderGlow 1.5s linear infinite;
}

.author-details {
  flex: 1;
}

.author-details strong {
  color: white;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 5px;
}

.author-details span {
  color: #8a2be2;
  font-size: 0.9rem;
}

/* Project Action Buttons */
.project-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.project-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.project-btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.project-btn:hover:before {
  left: 100%;
}

.project-btn.primary {
  background: linear-gradient(90deg, #8a2be2, #4a0082);
  color: white;
  border: 2px solid transparent;
}

.project-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(138, 43, 226, 0.4);
  background: linear-gradient(90deg, #7a1bd2, #3a0072);
}

.project-btn.secondary {
  background: transparent;
  color: #8a2be2;
  border: 2px solid #8a2be2;
}

.project-btn.secondary:hover {
  background: rgba(138, 43, 226, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.2);
}

/* Implementation Sections */
.project-implementation {
  margin-top: 30px;
}

.project-implementation h5 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.2rem;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(138, 43, 226, 0.3);
}

/* Tech Stack Detailed */
.tech-stack-detailed,
.services-grid-detailed {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.tech-item,
.service-item {
  background: rgba(138, 43, 226, 0.1);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.tech-item:hover,
.service-item:hover {
  transform: translateY(-5px);
  border-color: #8a2be2;
  background: rgba(138, 43, 226, 0.15);
}

.tech-item i,
.service-item i {
  font-size: 2rem;
  color: #8a2be2;
  margin-bottom: 15px;
}

.tech-item span,
.service-item span {
  color: white;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
}

.tech-item p,
.service-item p {
  color: #b0b0b0;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.4;
}

/* Timeline */
.timeline {
  margin-bottom: 30px;
}

.timeline-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.timeline-marker {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(138, 43, 226, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a2be2;
  font-size: 1.2rem;
}

.timeline-content h6 {
  color: white;
  margin-bottom: 5px;
  font-size: 1rem;
}

.timeline-content span {
  color: #b0b0b0;
  font-size: 0.85rem;
}

/* Impact Metrics */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(138, 43, 226, 0.1);
  padding: 15px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.metric-item:hover {
  transform: translateY(-3px);
  background: rgba(138, 43, 226, 0.15);
}

.metric-item i {
  font-size: 1.5rem;
  color: #8a2be2;
  flex-shrink: 0;
}

/* FIXED: Ensure all icons are visible */
.metric-item .fa-home-heart {
  font-size: 1.5rem;
  color: #8a2be2;
}

.metric-text {
  flex: 1;
}

.metric-title {
  color: white;
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
  font-size: 0.95rem;
}

.metric-desc {
  color: #b0b0b0;
  font-size: 0.8rem;
}

/* Core Values */
.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.value-item {
  background: rgba(20, 20, 25, 0.6);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(138, 43, 226, 0.2);
  transition: all 0.3s ease;
}

.value-item:hover {
  transform: translateY(-5px);
  border-color: #8a2be2;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.value-item i {
  font-size: 2rem;
  color: #8a2be2;
  margin-bottom: 15px;
}

.value-item span {
  color: white;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
}

.value-item p {
  color: #b0b0b0;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.4;
}

/* Performance Metrics */
.metrics-bars {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.metric-bar {
  display: flex;
  align-items: center;
  gap: 15px;
}

.metric-bar span:first-child {
  color: white;
  font-weight: 500;
  width: 150px;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.bar-container {
  flex: 1;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #8a2be2, #4a0082);
  border-radius: 5px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-value {
  color: #8a2be2;
  font-weight: 600;
  width: 50px;
  text-align: right;
  font-size: 0.9rem;
}

/* Development Process */
.process-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.step {
  background: rgba(138, 43, 226, 0.1);
  padding: 20px;
  border-radius: 10px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
  background: rgba(138, 43, 226, 0.15);
}

.step-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(138, 43, 226, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.step-content h6 {
  color: white;
  margin-bottom: 5px;
  font-size: 1rem;
}

.step-content p {
  color: #b0b0b0;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.4;
}

/* Shaping Young Minds Specific Styles */
.mission-vision {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 30px 0;
}

.mission, .vision {
  background: rgba(138, 43, 226, 0.05);
  padding: 25px;
  border-radius: 10px;
  border-left: 4px solid #8a2be2;
}

.icon-title {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.icon-title i {
  font-size: 1.8rem;
  color: #8a2be2;
}

.icon-title h5 {
  color: white;
  margin: 0;
  font-size: 1.2rem;
}

.mission p, .vision p {
  color: #b0b0b0;
  margin: 0;
  line-height: 1.6;
}

/* ============================================
   METRICS SECTION
   ============================================ */
.metrics-section {
  padding: 100px 0;
  background: rgba(10, 10, 15, 0.5);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media (max-width: 1024px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }
}

.metric-card {
  background: rgba(20, 20, 25, 0.8);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(138, 43, 226, 0.2);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: cardAppear 0.6s ease-out forwards;
  animation-delay: calc(var(--metric-index, 0) * 0.1s);
}

.metric-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.metric-card:nth-child(1) { --metric-index: 1; }
.metric-card:nth-child(2) { --metric-index: 2; }
.metric-card:nth-child(3) { --metric-index: 3; }
.metric-card:nth-child(4) { --metric-index: 4; }

.metric-card:hover {
  transform: translateY(-5px);
  border-color: #8a2be2;
  box-shadow: 0 10px 25px rgba(138, 43, 226, 0.2);
}

.metric-icon {
  font-size: 2.5rem;
  color: #8a2be2;
  margin-bottom: 20px;
}

.metric-content {
  margin-bottom: 15px;
}

.metric-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  display: block;
  line-height: 1;
}

.metric-label {
  font-size: 1rem;
  color: #b0b0b0;
  display: block;
  margin-top: 10px;
}

.metric-description {
  color: #888;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ============================================
   CTA SECTION
   ============================================ */
.reviews-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(74, 0, 130, 0.1));
  text-align: center;
}

.reviews-cta h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: white;
}

.reviews-cta p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #b0b0b0;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardAppear {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet Landscape (1024px and below) */
@media (max-width: 1024px) {
  .reviews-hero .hero-title {
    font-size: 2.8rem;
  }
  
  .stats-grid {
    gap: 25px;
  }
  
  .stat-card {
    min-width: 180px;
    padding: 20px;
  }
  
  .full-image-container.white-bg img {
    max-height: 350px;
  }
  
  .tech-stack-detailed,
  .services-grid-detailed,
  .values-list,
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .mission-vision {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet Portrait (768px and below) */
@media (max-width: 768px) {
  .reviews-main {
    padding-top: 100px;
  }
  
  .reviews-hero {
    padding: 60px 0 80px;
  }
  
  .reviews-hero .hero-title {
    font-size: 2.2rem;
  }
  
  .reviews-hero .hero-subtitle {
    font-size: 1.1rem;
    padding: 0 20px;
  }
  
  .stats-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .stat-card {
    width: 100%;
    max-width: 300px;
  }
  
  .project-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    padding: 20px;
  }
  
  .project-content {
    padding: 25px;
  }
  
  .full-image-container.white-bg {
    padding: 10px;
  }
  
  .full-image-container.white-bg img {
    max-height: 300px;
  }
  
  .project-features {
    grid-template-columns: 1fr;
  }
  
  .project-actions {
    flex-direction: column;
  }
  
  .project-btn {
    width: 100%;
    justify-content: center;
  }
  
  .quote-author {
    flex-direction: column;
    text-align: center;
    gap: 25px;
    padding-top: 25px;
  }
  
  .author-avatar {
    margin: 0 auto;
  }
  
  .client-quote p {
    padding-left: 0;
    padding-top: 30px;
  }
  
  .client-quote i {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  
  .reviews-cta h2 {
    font-size: 2.2rem;
  }
  
  .reviews-cta p {
    font-size: 1.1rem;
    padding: 0 20px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-button {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  .reviews-hero .hero-title {
    font-size: 1.9rem;
  }
  
  .reviews-hero .hero-subtitle {
    font-size: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .project-content {
    padding: 20px;
    gap: 30px;
  }
  
  .project-details h3 {
    font-size: 1.5rem;
  }
  
  .project-details h4 {
    font-size: 1rem;
  }
  
  .full-image-container.white-bg img {
    max-height: 250px;
  }
  
  .project-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
  
  .mission, .vision {
    padding: 20px;
  }
  
  .icon-title i {
    font-size: 1.5rem;
  }
  
  .icon-title h5 {
    font-size: 1.1rem;
  }
  
  .tech-item,
  .service-item,
  .value-item,
  .step {
    padding: 15px;
  }
  
  .metric-card {
    padding: 25px 20px;
  }
  
  .metric-number {
    font-size: 2rem;
  }
  
  .reviews-cta h2 {
    font-size: 1.9rem;
  }
  
  .reviews-cta p {
    font-size: 1rem;
  }
}

/* Small Mobile (360px and below) */
@media (max-width: 360px) {
  .reviews-hero .hero-title {
    font-size: 1.7rem;
  }
  
  .stat-card {
    padding: 15px;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .project-header,
  .project-content {
    padding: 15px;
  }
  
  .project-actions {
    gap: 10px;
  }
}

/* Landscape Mode for Tablets and Mobiles */
@media (max-height: 600px) and (orientation: landscape) {
  .reviews-hero {
    padding: 40px 0 60px;
  }
  
  .stats-grid {
    flex-direction: row;
    gap: 20px;
  }
  
  .stat-card {
    min-width: 160px;
    padding: 15px;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .reviews-hero .hero-badge,
  .project-card,
  .testimonial-card,
  .metric-card,
  .stat-card,
  .value-item,
  .project-btn {
    animation: none !important;
    transition: none !important;
  }
  
  .project-card,
  .testimonial-card,
  .metric-card {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .full-image-container.white-bg img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}