/* User-Testing Recruitment Platform - Responsive Styles */

/* Tablet Styles */
@media (max-width: 992px) {
  :root {
    --section-padding: 4rem 0;
  }
  
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  
  .priceplan-item.featured {
    transform: none;
    margin-top: 2rem;
  }
  
  .process-item {
    flex-direction: column;
    text-align: center;
  }
  
  .process-number {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  :root {
    --section-padding: 3rem 0;
    --font-size-base: 0.9rem;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Typography adjustments for mobile */
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.125rem; }
  
  /* Header adjustments */
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0.25rem 0;
  }
  
  /* Hero section mobile */
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  /* Disable animations on mobile for better performance */
  .about-feature:hover,
  .service-item:hover,
  .blog-item:hover,
  .gallery-item:hover img {
    transform: none;
  }
  
  /* Cards and components spacing */
  .about-feature,
  .service-item,
  .feature-item,
  .priceplan-item,
  .team-member,
  .review-item,
  .casestudy-item,
  .career-item,
  .coreinfo-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  /* Process items mobile layout */
  .process-item {
    padding: 1rem;
  }
  
  /* Timeline adjustments */
  .timeline-item {
    padding-left: 2rem;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 1.5rem;
    margin: 1rem 0;
  }
  
  /* Team member images smaller on mobile */
  .team-member img {
    width: 100px;
    height: 100px;
  }
  
  /* Service item images */
  .service-item img {
    width: 60px;
    height: 60px;
  }
  
  /* Button adjustments */
  .btn-primary {
    padding: 0.625rem 1.5rem;
    font-size: 0.9rem;
  }
  
  /* Gallery grid adjustment */
  .gallery-item img {
    height: 200px;
  }
  
  /* Footer spacing */
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer .col-md-3,
  .footer .col-md-4 {
    margin-bottom: 2rem;
  }
}

/* Small Mobile Styles */
@media (max-width: 576px) {
  :root {
    --section-padding: 2rem 0;
  }
  
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  /* Further typography reduction */
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.375rem; }
  
  /* Hero content adjustment */
  .hero-section {
    min-height: 60vh;
  }
  
  /* Single column layout for small screens */
  .about-feature,
  .service-item,
  .feature-item,
  .team-member,
  .review-item,
  .casestudy-item,
  .career-item,
  .coreinfo-item,
  .blog-item {
    margin-bottom: 1rem;
    padding: 1rem;
  }
  
  /* Price plan adjustments */
  .priceplan-item {
    padding: 1.5rem 1rem;
  }
  
  .priceplan-price {
    font-size: 2rem;
  }
  
  /* Contact form very small screens */
  .contact-form {
    padding: 1rem;
    border-radius: 8px;
  }
  
  /* Form elements */
  .form-control {
    font-size: 1rem; /* Prevent zoom on iOS */
  }
  
  /* Process number smaller */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
  
  /* Footer adjustments */
  .footer {
    text-align: center;
  }
  
  .footer .col-md-3,
  .footer .col-md-4 {
    margin-bottom: 1.5rem;
  }
}

/* Landscape phone orientation */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-section {
    min-height: 90vh;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Ensure images look crisp on retina displays */
  img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .contact-form {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    page-break-after: always;
  }
  
  .section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
}

/* Focus improvements for accessibility */
@media (max-width: 768px) {
  .nav-link:focus,
  .btn:focus,
  .form-control:focus {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
  }
}

.hero-content {
    padding-top: 225px;
}