/* Responsive Styles - Mobile First Approach */
/* Bootstrap 5 Breakpoints: xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px, xxl: 1400px */

/* Mobile Styles (0px and up) */
@media (max-width: 575.98px) {
  /* Typography adjustments for mobile */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  /* Navbar adjustments */
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    text-align: center;
  }
  
  /* Hero section mobile */
  .hero-section {
    min-height: 70vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-section::before {
    display: none; /* No animations on mobile per requirements */
  }
  
  /* Section padding reduction */
  .section {
    padding: 40px 0;
  }
  
  /* Card adjustments */
  .service-card,
  .feature-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .process-card,
  .timeline-card,
  .career-card,
  .core-card,
  .blog-card,
  .faq-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  /* No hover effects on mobile */
  .service-card:hover,
  .feature-card:hover,
  .price-card:hover,
  .team-card:hover,
  .review-card:hover,
  .case-card:hover,
  .process-card:hover,
  .timeline-card:hover,
  .career-card:hover,
  .core-card:hover,
  .blog-card:hover {
    transform: none;
    box-shadow: var(--card-shadow);
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 1.5rem;
    margin: 1rem 0;
  }
  
  /* Gallery grid mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* Price card featured adjustment */
  .price-card.featured {
    transform: none;
    border: 2px solid var(--primary-blue);
  }
  
  /* Footer mobile */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer .row > div {
    margin-bottom: 1rem;
  }
}

/* Tablet Styles (576px to 991.98px) */
@media (min-width: 576px) and (max-width: 991.98px) {
  /* Hero section tablet */
  .hero-section {
    min-height: 80vh;
  }
  
  /* Section padding */
  .section {
    padding: 50px 0;
  }
  
  /* Card grid adjustments */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-item img {
    height: 220px;
  }
  
  /* Contact form tablet */
  .contact-form {
    padding: 2rem;
  }
}

/* Large tablet and small desktop (992px to 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gallery-item img {
    height: 240px;
  }
}

/* Large desktop (1200px and up) */
@media (min-width: 1200px) {
  /* Full gallery grid */
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .gallery-item img {
    height: 250px;
  }
  
  /* Enhanced spacing */
  .section {
    padding: 80px 0;
  }
  
  .contact-form {
    padding: 3rem;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .gallery-section,
  .contact-form {
    display: none;
  }
  
  .section {
    padding: 20px 0;
    page-break-inside: avoid;
  }
  
  .service-card,
  .feature-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .process-card,
  .timeline-card,
  .career-card,
  .core-card,
  .blog-card,
  .faq-card {
    box-shadow: none;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    page-break-inside: avoid;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --hover-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  }
  
  .form-control {
    border: 2px solid var(--dark-gray);
  }
  
  .navbar {
    border-bottom: 2px solid var(--dark-gray);
  }
}

/* Reduced motion support - comprehensive */
@media (prefers-reduced-motion: reduce) {
  /* Remove all animations and transitions on mobile */
  * {
    animation: none;
    transition: none;
  }
  
  .hero-section::before {
    display: none;
  }
  
  /* Remove hover transforms */
  .service-card:hover,
  .feature-card:hover,
  .price-card:hover,
  .team-card:hover,
  .review-card:hover,
  .case-card:hover,
  .process-card:hover,
  .timeline-card:hover,
  .career-card:hover,
  .core-card:hover,
  .blog-card:hover,
  .gallery-item:hover,
  .btn-primary:hover {
    transform: none;
  }
  
  /* Smooth scroll behavior */
  html {
    scroll-behavior: auto;
  }
}

/* Dark mode support (if system preference) */

.hero-section h1 {
    padding-top: 200px;
}