/* ===================================
   RESPONSIVE CSS
   Mobile-First Design Approach
   =================================== */

/* Mobile First (Base styles above 320px) */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .section {
    padding: 6rem 0;
  }
  
  .hero-decorative-shape {
    display: block;
  }
  
  .navbar-nav .nav-link {
    margin: 0 1rem;
  }
  
  .contact-form {
    padding: 3rem;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .section {
    padding: 8rem 0;
  }
  
  .hero-content {
    padding-right: 2rem;
    padding-top: 150px;
}
  
  .price-plan-card.featured {
    transform: scale(1.05);
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-section {
    padding: 0 2rem;
  }
}

/* Mobile specific styles (below 768px) */
@media (max-width: 767.98px) {
  /* NO ANIMATIONS ON MOBILE */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  .hero-decorative-shape {
    display: none;
  }
  
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
    text-align: center;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  .btn-primary {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .service-card,
  .price-plan-card,
  .team-card,
  .review-card,
  .casestudy-card {
    margin-bottom: 1.5rem;
  }
  
  .price-plan-card.featured {
    transform: none;
    border-color: var(--primary-sage);
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .team-photo {
    height: 200px;
  }
  
  .gallery-image {
    height: 200px;
    margin-bottom: 1rem;
  }
  
  .process-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .feature-icon {
    font-size: 2.5rem;
  }
  
  .coreinfo-icon {
    font-size: 2rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer .row > div {
    margin-bottom: 2rem;
  }
  
  .contact-info {
    margin-top: 2rem;
    padding: 1.5rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hero-section {
    min-height: 60vh;
    padding: 1rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .service-card,
  .price-plan-card,
  .contact-form,
  .process-step,
  .timeline-item,
  .career-card {
    padding: 1.5rem;
  }
  
  .team-info {
    padding: 1rem;
  }
  
  .review-card {
    padding: 1.5rem;
  }
  
  .price-plan-price {
    font-size: 2rem;
  }
  
  .service-price {
    font-size: 1.25rem;
  }
  
  .contact-info {
    padding: 1rem;
  }
  
  .footer {
    padding: 1.5rem 0 1rem;
  }
  
  .breadcrumb-image {
    height: 40px;
  }
}

/* Landscape orientation on mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 80vh;
  }
  
  .section {
    padding: 2.5rem 0;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .gallery-image,
  .team-photo,
  .casestudy-image,
  .blog-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .contact-form {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    page-break-after: always;
  }
  
  .section {
    padding: 2rem 0;
    page-break-inside: avoid;
  }
  
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
}

/* Focus states for accessibility */
@media (prefers-reduced-motion: no-preference) {
  .btn:focus,
  .form-control:focus,
  .nav-link:focus {
    outline: 2px solid var(--primary-sage);
    outline-offset: 2px;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .service-card,
  .price-plan-card,
  .team-card,
  .review-card,
  .casestudy-card,
  .process-step,
  .timeline-item,
  .career-card,
  .coreinfo-card,
  .contact-form,
  .blog-card,
  .faq-card {
    border: 2px solid var(--primary-charcoal);
  }
  
  .hero-decorative-shape {
    display: none;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero-decorative-shape {
    animation: none;
  }
  
  .service-card:hover,
  .team-card:hover,
  .casestudy-card:hover,
  .blog-card:hover,
  .career-card:hover,
  .btn-primary:hover {
    transform: none;
  }
  
  .gallery-image:hover {
    transform: none;
  }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
  .hero-section {
    min-height: -webkit-fill-available;
  }
}

/* Firefox specific fixes */
@-moz-document url-prefix() {
  .form-control {
    appearance: none;
  }
}

/* Container queries for modern browsers */
@supports (container-type: inline-size) {
  .service-card,
  .price-plan-card {
    container-type: inline-size;
  }
  
  @container (max-width: 300px) {
    .service-card .service-price {
      font-size: 1.25rem;
    }
  }
} 
/* Disable horizontal scroll on desktop resolutions */
@media (min-width: 992px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
}
