/* Responsive Styles for AI Job Description Bias Checker */

/* Mobile First Approach */

/* Extra Small Devices (< 576px) */
@media (max-width: 575.98px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-section {
    min-height: 80vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .section-desc {
    font-size: 1rem;
  }
  
  .service-card,
  .feature-card,
  .price-card {
    margin-bottom: 2rem;
  }
  
  .price-card.featured {
    transform: none;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  section {
    padding: 3rem 0;
  }
}

/* Small Devices (≥ 576px) */
@media (min-width: 576px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium Devices (≥ 768px) */
@media (min-width: 768px) {
  .hero-section {
    text-align: left;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .price-card.featured {
    transform: scale(1.05);
  }
}

/* Large Devices (≥ 992px) */
@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Extra Large Devices (≥ 1200px) */
@media (min-width: 1200px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .contact-form {
    padding: 3rem;
  }
}

/* Extra Extra Large Devices (≥ 1400px) */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Optimize for retina displays */
  .card {
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
  }
}

/* Print Styles */
@media print {
  .hero-section::before,
  .card:hover,
  .gallery-item:hover img {
    transform: none;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .btn {
    border: 1px solid #000;
  }
}

/* Landscape Mobile Orientation */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 60vh;
  }
  
  section {
    padding: 2rem 0;
  }
}

/* Touch Device Adjustments */
@media (hover: none) {
  .card:hover {
    transform: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }
  
  .gallery-item:hover img {
    transform: none;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .card,
  .gallery-item img,
  .hero-section::before {
    transition: none;
    transform: none;
  }
  
  .price-card.featured {
    transform: none;
    border: 2px solid var(--primary-purple);
  }
}

/* Dark Mode Support */

.hero-content {
    padding-top: 275px;
}