/* Responsive Design - Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Hero Section */
  #hero {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 1.6rem;
    line-height: 1.3;
  }
  
  /* Typography adjustments */
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.2rem; }
  
  /* Cards */
  .service-card,
  .feature-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .process-card,
  .timeline-card,
  .career-card,
  .core-card,
  .blog-card {
    margin-bottom: 1.5rem;
    padding: 1rem;
  }
  
  /* Team photos */
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  /* Form adjustments */
  .contact-form {
    padding: 1.5rem;
  }
  
  .form-control {
    padding: 0.6rem 0.8rem;
  }
  
  /* Gallery grid */
  .gallery-item {
    margin-bottom: 0.5rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* FAQ cards */
  .faq-card {
    padding: 1rem;
    margin-bottom: 0.5rem;
  }
  
  /* Footer */
  #footer {
    padding: 2rem 0 1rem 0;
    text-align: center;
  }
  
  .footer-section {
    margin-bottom: 2rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  #hero {
    min-height: 75vh;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  
  .team-photo {
    width: 90px;
    height: 90px;
  }
  
  .gallery-item img {
    height: 220px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  #hero {
    min-height: 80vh;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .gallery-item img {
    height: 240px;
  }
  
  /* Cards in 2 columns */
  .service-item,
  .feature-item,
  .price-item {
    margin-bottom: 2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .team-photo {
    width: 110px;
    height: 110px;
  }
  
  .gallery-item img {
    height: 250px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .gallery-item img {
    height: 280px;
  }
}

/* Navbar Responsive Adjustments */
@media (max-width: 991.98px) {
  .navbar-nav {
    text-align: center;
    padding: 1rem 0;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
  }
  
  .navbar-brand {
    font-size: 1.3rem;
  }
}

/* Mobile-specific adjustments */
@media (max-width: 767.98px) {
  /* No animations on mobile as per requirements */
  .service-card:hover,
  .feature-card:hover,
  .price-card:hover,
  .team-card:hover,
  .case-card:hover,
  .process-card:hover,
  .timeline-card:hover,
  .career-card:hover,
  .core-card:hover,
  .blog-card:hover {
    transform: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  }
  
  .gallery-item:hover img {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
  
  /* Stack hero content vertically */
  .hero-content {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 200px;
}
  
  /* Ensure proper spacing */
  section {
    padding: 3rem 0;
  }
  
  /* Contact form full width */
  .contact-form {
    margin-bottom: 2rem;
  }
  
  /* Footer adjustments */
  .footer-section {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .footer-bottom {
    text-align: center;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .gallery-item img,
  .team-photo,
  .service-card img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  #hero {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  section {
    padding: 2rem 0;
  }
}

/* Print styles */
@media print {
  .navbar,
  .btn,
  .contact-form,
  .decorative-blob {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    overflow-x: hidden;
}
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  
  .card {
    page-break-inside: avoid;
  }
} 