/* Mobile First Responsive Design */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Typography adjustments */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  /* Navbar brand smaller on mobile */
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  /* Hero section adjustments */
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-decorative {
    display: none; /* Hide decorative elements on small screens */
  }
  
  /* Section padding reduced on mobile */
  .section-padding {
    padding: 2rem 0;
  }
  
  /* Service cards stack properly */
  .service-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  /* Price cards spacing */
  .price-card {
    margin-bottom: 2rem;
    padding: 2rem 1.5rem;
  }
  
  .price-amount {
    font-size: 2.5rem;
  }
  
  /* Team photos smaller on mobile */
  .team-photo {
    height: 200px;
  }
  
  /* Contact form padding */
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  /* Gallery images smaller */
  .gallery-image {
    height: 200px;
  }
  
  /* Process steps spacing */
  .process-step {
    padding: 1.5rem 0.5rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Footer adjustments */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  /* Blog cards */
  .blog-image {
    height: 180px;
  }
  
  /* FAQ cards */
  .faq-card {
    padding: 1.25rem;
  }
  
  /* Feature icons smaller */
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* NO animations on mobile for performance */
  .service-card,
  .price-card,
  .team-card,
  .blog-card,
  .gallery-item,
  .career-card {
    transform: none !important;
    transition: none !important;
  }
  
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .blog-card:hover,
  .gallery-item:hover,
  .career-card:hover {
    transform: none !important;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  h1 {
    font-size: 2.25rem;
  }
  
  .hero-section {
    min-height: 85vh;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .price-card {
    margin-bottom: 1.5rem;
  }
  
  .contact-form {
    padding: 2.5rem 2rem;
  }
  
  /* Reduced animations on small screens */
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .blog-card:hover {
    transform: translateY(-3px);
  }
  
  .gallery-item:hover {
    transform: scale(1.02);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .price-card {
    margin-bottom: 2rem;
  }
  
  .team-photo {
    height: 220px;
  }
  
  .gallery-image {
    height: 220px;
  }
  
  .blog-image {
    height: 180px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  /* Full animations enabled for desktop */
  .service-card:hover {
    transform: translateY(-5px);
  }
  
  .price-card:hover {
    transform: translateY(-8px);
  }
  
  .team-card:hover,
  .blog-card:hover {
    transform: translateY(-5px);
  }
  
  .gallery-item:hover {
    transform: scale(1.05);
  }
  
  .career-card:hover {
    border-color: var(--primary-color);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .section-padding {
    padding: 5rem 0;
  }
  
  .contact-form {
    padding: 3.5rem;
  }
}

/* Ultra wide screens (1400px and up) */
@media (min-width: 1400px) {
  .section-padding {
    padding: 6rem 0;
  }
}

/* Landscape orientation optimizations */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Ensure crisp rendering on retina displays */
  .feature-icon,
  .process-number {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .hero-decorative {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    page-break-inside: avoid;
  }
  
  .service-card,
  .price-card,
  .team-card,
  .review-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
} 

body {
    overflow-x: hidden;
}

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