/* Mobile First Responsive Design */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-section h1 {
    font-size: 2.5rem;
    padding-top: 275px;
}
  
  .service-card {
    margin-bottom: 2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-decorative {
    display: none;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  .team-photo {
    height: 250px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  .service-card,
  .team-card,
  .review-card,
  .price-card,
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .team-photo {
    height: 200px;
  }
  
  .process-step {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .timeline-item {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .career-card,
  .info-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-section {
    min-height: 60vh;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  h1 {
    font-size: 1.6rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  .navbar-brand {
    font-size: 0.95rem;
  }
  
  .btn-primary,
  .btn-outline-primary {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .service-icon {
    width: 48px;
    height: 48px;
  }
  
  .service-price {
    font-size: 1.3rem;
  }
  
  .process-step {
    padding: 1rem;
  }
  
  .process-number {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  
  .info-icon {
    width: 40px;
    height: 40px;
  }
  
  .timeline-item {
    padding-left: 1rem;
  }
  
  .career-card,
  .info-card {
    padding: 1rem;
  }
}

/* Mobile Scroll Animation Disable */
@media (max-width: 767.98px) {
  /* Disable all animations on mobile for scroll events */
  [data-sal],
  [data-sal-delay],
  [data-sal-duration] {
    opacity: 1 !important;
    transform: none !important;
  }
  
  /* Disable hover transforms on mobile for performance */
  .service-card:hover,
  .team-card:hover,
  .blog-card:hover,
  .price-card:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .contact-form,
  .gallery,
  .hero-decorative {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    background: white;
    color: black;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .card {
    border: 1px solid #000;
    box-shadow: none;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid currentColor;
  }
  
  .btn-primary {
    border: 2px solid currentColor;
  }
  
  .form-control {
    border: 2px solid currentColor;
  }
}

/* Dark Mode Support */