/* Mobile First Responsive Design */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero-section {
    padding: 4rem 0;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 767.98px) {
  /* Mobile specific rules - no animations on scroll */
  * {
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
  
  /* Conservative mobile typography */
  :root {
    --font-size-h1: 2rem;
    --font-size-h2: 1.75rem;
    --font-size-h3: 1.25rem;
    --section-padding: 3rem 0;
  }
  
  /* Mobile navigation - use standard Bootstrap solution only */
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  /* Hero section mobile adjustments */
  .hero-section {
    min-height: 80vh;
    text-align: center;
    padding: 3rem 0;
  }
  
  .hero-section::before {
    display: none; /* Remove decorative elements on mobile */
  }
  
  /* Breadcrumb mobile adjustments */
  .breadcrumb-wrapper {
    margin-top: 60px;
  }
  
  /* Card spacing adjustments */
  .card-body {
    padding: 1.5rem;
  }
  
  /* Services cards mobile layout */
  .services-card {
    margin-bottom: 2rem;
  }
  
  /* Price plan mobile adjustments */
  .price-card.featured {
    transform: none; /* Remove scale on mobile */
    border: 2px solid var(--primary-blue);
  }
  
  /* Contact form mobile adjustments */
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  /* Gallery grid mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Team photos mobile */
  .team-photo {
    height: 200px;
  }
  
  /* Process steps mobile */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Timeline mobile adjustments */
  .timeline-item {
    padding-left: 2rem;
  }
  
  /* Mobile button adjustments */
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .btn:last-child {
    margin-bottom: 0;
  }
  
  /* FAQ mobile adjustments */
  #faq .faq-card {
    padding: 10px 15px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-section {
    padding: 6rem 0;
  }
  
  .services-card:hover {
    transform: translateY(-8px);
  }
  
  .card:hover {
    transform: translateY(-5px);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Ultra wide displays */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Tablet specific adjustments */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .price-card.featured {
    transform: scale(1.02);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Print styles */
@media print {
  .navbar,
  .hero-section::before,
  .btn,
  footer {
    display: none !important;
  }
  
  * {
    background: white !important;
    color: black !important;
    animation: none !important;
    transform: none !important;
  }
  
  .hero-section {
    min-height: auto;
    background: white !important;
  }
}

/* Accessibility - high contrast mode support */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid var(--text-dark);
  }
  
  .btn-primary {
    border: 2px solid var(--text-dark);
  }
  
  .hero-section {
    background: white;
    color: var(--text-dark);
  }
}

/* Dark mode preference support */

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