/* Responsive CSS for Remote SaaS Cost-Optimization Template */
/* Mobile-First Responsive Design */

/* Tablet Styles */
@media (max-width: 991.98px) {
  :root {
    --section-padding: 3rem 0;
    --element-margin: 1rem;
  }
  
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    display: none;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .service-card,
  .price-card,
  .team-card {
    margin-bottom: 1.5rem;
  }
  
  .price-card.featured {
    transform: none;
  }
  
  .contact-form {
    padding: 2rem;
  }
}

/* Mobile Styles */
@media (max-width: 767.98px) {
  :root {
    --section-padding: 2rem 0;
    --element-margin: 1rem;
  }
  
  body {
    font-size: 0.9rem;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.3rem;
  }
  
  h3 {
    font-size: 1.1rem;
  }
  
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .service-price {
    font-size: 1.25rem;
  }
  
  .price-card {
    padding: 2rem 1.5rem;
    margin-bottom: 1rem;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .team-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .process-step {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .process-number {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  .faq-card {
    padding: 1rem;
  }
  
  .blog-card {
    margin-bottom: 1rem;
  }
  
  .gallery-item img {
    height: 150px;
  }
  
  .timeline-item,
  .career-item,
  .casestudy-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .coreinfo-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
}

/* Small Mobile Styles */
@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  h1 {
    font-size: 1.3rem;
  }
  
  h2 {
    font-size: 1.2rem;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  .service-card,
  .price-card,
  .team-card,
  .process-step,
  .faq-card,
  .timeline-item,
  .career-item,
  .casestudy-card,
  .coreinfo-item {
    padding: 1rem;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .btn-primary {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .gallery-item img {
    height: 120px;
  }
}

/* Mobile Animation Restrictions */
@media (max-width: 767.98px) {
  /* Disable scroll animations on mobile as per requirements */
  .service-card:hover,
  .blog-card:hover,
  .gallery-item:hover img {
    transform: none;
  }
  
  .service-card,
  .blog-card,
  .gallery-item img {
    transition: none;
  }
}

/* High Contrast for Accessibility */
@media (prefers-contrast: high) {
  :root {
    --primary-blue: #0066cc;
    --primary-green: #006600;
    --primary-purple: #6600cc;
    --primary-orange: #cc6600;
    --primary-pink: #cc0066;
  }
  
  .service-card,
  .price-card,
  .team-card,
  .process-step,
  .faq-card,
  .blog-card,
  .casestudy-card {
    border-width: 2px;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .hero-shape {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    background: white;
  }
  
  .service-card,
  .price-card,
  .team-card,
  .process-step,
  .faq-card,
  .blog-card,
  .casestudy-card {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1 { font-size: 18pt; }
  h2 { font-size: 16pt; }
  h3 { font-size: 14pt; }
} 

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