/* Mobile First Responsive Design */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  /* No animations on mobile as per requirements */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  .card:hover {
    transform: none !important;
  }
  
  .gallery-item img:hover {
    transform: none !important;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  /* Section padding */
  section {
    padding: 3rem 0;
  }
  
  /* Hero section */
  .hero-section {
    min-height: 90vh;
    padding: 2rem 0;
  }
  
  /* Service cards */
  .service-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  /* Contact form */
  .contact-form {
    padding: 2rem 1rem;
  }
  
  /* Team photos */
  .team-photo {
    height: 200px;
  }
  
  /* Process steps */
  .process-step {
    padding: 1.5rem;
  }
  
  /* Priceplan items - no scale on mobile */
  .priceplan-item.featured {
    transform: none;
  }
  
  /* Gallery items */
  .gallery-item img {
    height: 150px;
  }
  
  /* FAQ cards */
  .faq-card {
    padding: 1rem;
  }
  
  /* Blog items */
  .blog-item img {
    height: 150px;
  }
  
  /* Feature items */
  .feature-item {
    padding: 1.5rem;
  }
  
  /* Footer */
  footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.875rem;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .hero-section {
    min-height: 95vh;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
  
  .gallery-item img {
    height: 175px;
  }
  
  .blog-item img {
    height: 175px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  h1 {
    font-size: 2.375rem;
  }
  
  h2 {
    font-size: 1.9375rem;
  }
  
  section {
    padding: 4.5rem 0;
  }
  
  .hero-section {
    min-height: 100vh;
  }
  
  .service-card {
    padding: 1.75rem;
  }
  
  .contact-form {
    padding: 2.75rem;
  }
  
  .team-photo {
    height: 225px;
  }
  
  .gallery-item img {
    height: 180px;
  }
  
  .blog-item img {
    height: 180px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .service-card {
    padding: 2rem;
  }
  
  .contact-form {
    padding: 3rem;
  }
  
  .team-photo {
    height: 240px;
  }
  
  .gallery-item img {
    height: 190px;
  }
  
  .blog-item img {
    height: 190px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container-xl {
    max-width: 1200px;
  }
  
  .hero-section {
    min-height: 100vh;
  }
  
  .service-card {
    padding: 2rem;
  }
  
  .contact-form {
    padding: 3rem;
  }
  
  .team-photo {
    height: 250px;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .blog-item img {
    height: 200px;
  }
}

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

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .card {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
}

/* Accessibility - Focus styles for keyboard navigation */
@media (prefers-reduced-motion: no-preference) {
  .btn:focus,
  .form-control:focus,
  .card:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
  }
}

/* Print styles */
@media print {
  .navbar,
  footer,
  .btn,
  .gallery-section {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: black;
    page-break-after: avoid;
  }
  
  .card {
    border: 1px solid #d0d0d0;
    box-shadow: none;
  }
}

/* Container adjustments for better spacing */
@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Navbar responsive behavior */
@media (max-width: 991.98px) {
  .navbar-nav {
    text-align: center;
    padding-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
  }
}

/* Grid system adjustments */
@media (max-width: 767.98px) {
  .col-md-6,
  .col-md-4,
  .col-md-3 {
    margin-bottom: 2rem;
  }
}

@media (max-width: 575.98px) {
  .col-sm-6 {
    margin-bottom: 1.5rem;
  }
} 

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