/* Responsive design for mobile and tablet */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero h1 {
    font-size: var(--font-size-4xl);
    padding-top: 100px;
}
  
  .section-padding-lg {
    padding: 6rem 0;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
  .hero {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero h1 {
    font-size: var(--font-size-3xl);
    padding-top: 100px;
}
  
  .section {
    padding: 3rem 0;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .price-plan-featured {
    transform: none;
    margin-top: 1rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
  .hero {
    min-height: 60vh;
    padding: 2rem 0;
  }
  
  .hero h1 {
    font-size: var(--font-size-2xl);
    padding-top: 100px;
}
  
  .section {
    padding: 2.5rem 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .navbar-brand {
    font-size: var(--font-size-lg) !important;
  }
  
  .card-body {
    padding: 1.25rem;
  }
  
  .hero::before {
    display: none;
  }
  
  .decoration-blob {
    display: none;
  }
  
  /* No animations on mobile as per rules */
  [data-sal] {
    opacity: 1 !important;
    transform: none !important;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .team-card img {
    height: 200px;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: var(--font-size-base);
  }
  
  .gallery img {
    height: 200px;
  }
  
  .contact-info {
    margin-top: 2rem;
  }
  
  .footer {
    text-align: center;
    padding: 2rem 0 1rem;
  }
  
  .footer .row > div {
    margin-bottom: 2rem;
  }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero {
    min-height: 50vh;
  }
  
  .hero h1 {
    font-size: var(--font-size-xl);
    padding-top: 100px;
}
  
  .section {
    padding: 2rem 0;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .card {
    margin-bottom: 1rem;
  }
  
  .navbar-brand {
    font-size: var(--font-size-base) !important;
  }
  
  h2 {
    font-size: var(--font-size-xl);
  }
  
  h3 {
    font-size: var(--font-size-lg);
  }
  
  .service-price {
    font-size: var(--font-size-xl);
  }
  
  .team-card img {
    height: 180px;
  }
  
  .gallery img {
    height: 150px;
  }
  
  .contact-info-item {
    flex-direction: column;
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .contact-info-item i {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
}

/* Print styles */
@media print {
  .hero::before,
  .decoration-blob,
  .navbar,
  .footer {
    display: none !important;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid var(--gray-300);
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid var(--gray-800);
  }
  
  .btn-primary {
    border: 2px solid var(--gray-800);
  }
  
  .form-control {
    border: 2px solid var(--gray-800);
  }
}

/* Dark mode preference */

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .card {
    transition: none;
  }
  
  .card:hover {
    transform: none;
  }
  
  .btn {
    transition: none;
  }
  
  .form-control {
    transition: none;
  }
  
  .footer a {
    transition: none;
  }
}

/* Focus management for keyboard navigation */
@media (any-hover: none) {
  .card:hover {
    transform: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }
}