/* Responsive Design for SaaS KPI Dashboard Template */

/* Mobile First Approach */
@media (max-width: 575.98px) {
  /* Typography adjustments for mobile */
  h1, .h1 {
    font-size: 1.5rem;
  }
  
  h2, .h2 {
    font-size: 1.25rem;
  }
  
  h3, .h3 {
    font-size: 1.125rem;
  }
  
  .navbar-brand {
    font-size: 1rem !important;
  }
  
  /* Hero section mobile adjustments */
  .hero-section {
    min-height: 80vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  /* Remove decorative elements on mobile */
  .hero-decorative {
    display: none;
  }
  
  /* Service cards mobile layout */
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  /* Pricing cards mobile */
  .pricing-card.featured {
    transform: none;
    margin-bottom: 1.5rem;
  }
  
  /* Section padding reduction */
  .section-padding {
    padding: 2.5rem 0;
  }
  
  .section-padding-sm {
    padding: 2rem 0;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Team images smaller on mobile */
  .team-img {
    width: 100px;
    height: 100px;
  }
  
  /* No scroll animations on mobile */
  [data-sal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .pricing-card.featured {
    transform: scale(1.02);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-decorative-1 {
    width: 150px;
    height: 150px;
  }
  
  .hero-decorative-2 {
    width: 120px;
    height: 120px;
  }
  
  .section-padding {
    padding: 4rem 0;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  /* Enhanced spacing for larger screens */
  .section-padding {
    padding: 5rem 0;
  }
  
  /* Better grid layouts */
  .service-card:hover {
    transform: translateY(-5px);
  }
  
  .gallery-img:hover {
    transform: scale(1.05);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  /* Enhanced decorative elements */
  .hero-decorative-1 {
    width: 250px;
    height: 250px;
  }
  
  .hero-decorative-2 {
    width: 200px;
    height: 200px;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer-section,
  .hero-decorative {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .service-card,
  .pricing-card,
  .faq-card {
    border: 2px solid currentColor;
  }
  
  .btn-primary {
    border: 2px solid currentColor;
  }
}

/* Dark mode support (if needed in future) */

/* Animation control for accessibility */
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .gallery-img,
  .pricing-card {
    transition: none !important;
  }
  
  .service-card:hover,
  .gallery-img:hover {
    transform: none !important;
  }
} 

.hero-section h1 {
    padding-top: 150px;
}
/* Disable horizontal scroll on desktop resolutions */
@media (min-width: 992px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
}
