/* Data Visualization Studio Template - Responsive CSS */
/* Mobile-First Responsive Design */

/* Extra Large devices (1400px and up) */
@media (min-width: 1400px) {

  .hero-section h1 {
    font-size: 3rem;
  }
}

/* Large devices (992px and up) */
@media (min-width: 992px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .hero-content {
    padding-right: 2rem;
    padding-top: 150px;
}
  
  .service-card {
    padding: 2.5rem;
  }
  
  .price-card.featured {
    transform: scale(1.05);
  }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
  .section {
    padding: 4rem 0;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .coreinfo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-step::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -50%;
    width: 100%;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
  }
  
  .process-step:last-child::after {
    display: none;
  }
}

/* Small devices (576px and up) */
@media (min-width: 576px) {

  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .service-card {
    padding: 2rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
}

/* Extra small devices (less than 576px) */
@media (max-width: 575.98px) {

  
  /* Conservative mobile typography */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .navbar-brand {
    font-size: 1.1rem !important;
  }
  
  /* Hero section mobile */
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
    text-align: center;
  }
  
  .hero-section::before {
    display: none;
  }
  
  /* Section spacing mobile */
  .section {
    padding: 3rem 0;
  }
  
  /* Cards mobile */
  .card {
    margin-bottom: 1.5rem;
  }
  
  .service-card,
  .team-card,
  .review-card,
  .price-card {
    padding: 1.5rem;
  }
  
  /* No animations on mobile per requirements */
  .card:hover {
    transform: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  }
  
  .gallery-item:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
  
  /* Gallery mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* Core info mobile */
  .coreinfo-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .coreinfo-item {
    padding: 1.5rem;
  }
  
  /* Timeline mobile */
  .timeline-item {
    margin-left: 0.5rem;
    padding: 1.5rem;
  }
  
  /* Process steps mobile */
  .process-step {
    padding: 1.5rem 1rem;
  }
  
  .process-step::after {
    display: none;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Price cards mobile */
  .price-card.featured {
    transform: none;
    border: 2px solid var(--primary-blue);
  }
  
  .price-value {
    font-size: 2.5rem;
  }
  
  /* Form mobile */
  .form-control {
    font-size: 16px; /* Prevent zoom on iOS */
  }
  
  /* Footer mobile */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer .row > div {
    margin-bottom: 2rem;
  }
  
  /* Team photos mobile */
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  /* Navbar mobile - Use Bootstrap 5 standard without customization */
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  .navbar-collapse {
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Landscape phones */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 90vh;
  }
  
  .section {
    padding: 2.5rem 0;
  }
}

/* Ultra-wide screens */
@media (min-width: 1600px) {

  
  .hero-section h1 {
    font-size: 3.5rem;
  }
  
  .section {
    padding: 6rem 0;
  }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi) {
  .gallery-item img,
  .team-photo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .card:hover {
    transform: none;
  }
  
  .gallery-item:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .gallery-section {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    page-break-after: always;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #000;
  }
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --border-color: #000000;
    --text-secondary: #000000;
  }
  
  .card {
    border: 2px solid #000000;
  }
  
  .btn-primary {
    border: 2px solid #000000;
  }
}