/* Responsive Styles */

/* Large screens (desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .display-4 {
    font-size: 3rem;
  }
  
  .lead {
    font-size: 1.25rem;
  }
}

/* Medium screens (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .container {
    max-width: 720px;
  }
  
  .display-4 {
    font-size: 2.5rem;
  }
  
  .col-lg-2-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  /* Hero section adjustments */
  #hero {
    padding: 4rem 0;
  }
  
  /* Card adjustments */
  .card-img-top {
    height: 180px;
  }
  
  /* Team images */
  .rounded-circle {
    width: 120px;
    height: 120px;
  }
}

/* Small screens (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  .display-4 {
    font-size: 2rem;
  }
  
  .lead {
    font-size: 1.125rem;
  }
  
  .col-lg-2-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  /* Hero section */
  #hero {
    padding: 3rem 0;
    min-height: 80vh;
  }
  
  /* Navigation */
  .navbar-brand {
    font-size: 1.125rem;
  }
  
  /* Buttons */
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  /* Cards */
  .card-img-top {
    height: 160px;
  }
  
  /* Team images */
  .rounded-circle {
    width: 100px;
    height: 100px;
  }
  
  /* Process icons */
  .process-icon {
    width: 60px;
    height: 60px;
  }
  
  .fa-3x {
    font-size: 2em;
  }
}

/* Extra small screens (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Typography */
  .display-4 {
    font-size: 1.75rem;
    line-height: 1.2;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  h1, h2 {
    font-size: 1.5rem;
  }
  
  h3, h4, h5 {
    font-size: 1.25rem;
  }
  
  /* Navigation */
  .navbar-brand {
    font-size: 1rem;
  }
  
  .nav-link {
    padding: 0.75rem 1rem;
  }
  
  /* Hero section */
  #hero {
    padding: 2rem 0;
    min-height: 70vh;
  }
  
  #hero .container {
    text-align: center;
  }
  
  #hero .col-lg-6:last-child {
    margin-top: 2rem;
  }
  
  /* NO ANIMATIONS ON MOBILE - per requirements */
  @media (max-width: 767.98px) {
    * {
      animation: none !important;
      transition: none !important;
      transform: none !important;
    }
    
    .card:hover {
      transform: none !important;
    }
    
    #gallery img:hover {
      transform: none !important;
    }
    
    .sal-animate {
      animation: none !important;
      transition: none !important;
    }
  }
  
  /* Buttons */
  .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  /* Grid adjustments */
  .col-lg-2-4,
  .col-lg-4,
  .col-lg-3,
  .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 2rem;
  }
  
  /* Cards */
  .card {
    margin-bottom: 1.5rem;
  }
  
  .card-img-top {
    height: 140px;
  }
  
  .card-body {
    padding: 1rem;
    overflow-x: hidden;
}
  
  /* Team section */
  .rounded-circle {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
  }
  
  /* Process section */
  .process-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
  }
  
  .fa-3x {
    font-size: 1.5em;
  }
  
  /* Forms */
  .form-control {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
  
  .form-label {
    font-size: 0.9rem;
  }
  
  /* Sections */
  section {
    padding: 3rem 0;
  }
  
  .py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  /* Spacing adjustments */
  .mb-5 {
    margin-bottom: 2rem;
  }
  
  .mb-3 {
    margin-bottom: 1rem;
  }
  
  .mb-4 {
    margin-bottom: 1.5rem;
  }
  
  .g-4 > * {
    padding: 0.75rem;
  }
  
  /* Footer */
  #footer .row > div {
    margin-bottom: 2rem;
  }
  
  #footer .col-md-6 {
    text-align: center;
  }
  
  /* Gallery */
  #gallery .col-md-4 {
    margin-bottom: 1rem;
  }
  
  /* Hero shapes - hide on mobile for performance */
  .hero-shapes {
    display: none;
  }
  
  /* Breadcrumb */
  .breadcrumb-item img {
    width: 16px;
    height: 16px;
  }
  
  /* Contact info */
  .contact-info {
    margin-top: 2rem;
    text-align: center;
  }
  
  /* Timeline adjustments */
  .timeline-year {
    margin-bottom: 1rem;
  }
  
  /* Price plan cards */
  .card.border-primary .card-header {
    text-align: center;
    padding: 0.5rem;
  }
  
  /* Services grid */
  .services .card {
    height: auto;
  }
  
  /* Reviews section */
  .reviews .card {
    margin-bottom: 1rem;
  }
  
  /* Case studies */
  .case-studies .card {
    margin-bottom: 1.5rem;
  }
}

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

/* Print styles */
@media print {
  .navbar,
  .hero-shapes,
  .btn,
  #footer {
    display: none !important;
  }
  
  body {
    padding-top: 0;
  }
  
  .container {
    max-width: 100%;
  }
  
  .card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .text-primary {
    color: #000 !important;
  }
  
  .bg-light {
    background: #f8f9fa !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #0000ff;
    --primary-light: #4444ff;
    --primary-dark: #0000cc;
    --neutral-color: #000000;
    --neutral-light: #ffffff;
    --neutral-dark: #000000;
    --light-color: #ffffff;
    --dark-color: #000000;
  }
  
  .card {
    border: 2px solid #000;
  }
  
  .btn-outline-primary {
    border-width: 2px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .card:hover {
    transform: none;
  }
  
  #gallery img:hover {
    transform: none;
  }
  
  .sal-animate {
    animation: none !important;
    transition: none !important;
  }
  
  .hero-shapes .shape-1,
  .hero-shapes .shape-2 {
    animation: none;
  }
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Screen reader only content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
} 