/* =============================================
   RESPONSIVE STYLES - MOBILE FIRST APPROACH
   ============================================= */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Typography adjustments for mobile */
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  /* Hero section mobile */
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  /* Section padding reduced for mobile */
  .section-padding {
    padding: 40px 0;
  }
  
  /* Cards spacing for mobile */
  .service-card,
  .feature-card,
  .price-card,
  .team-card {
    margin-bottom: 2rem;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 2rem 1rem;
    margin: 1rem 0;
  }
  
  /* Gallery mobile adjustments */
  .gallery-item img {
    height: 200px;
  }
  
  /* Process numbers smaller on mobile */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Timeline mobile adjustments */
  .timeline-item::before {
    left: -10px;
    width: 20px;
    height: 20px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .section-padding {
    padding: 50px 0;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 95vh;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  /* Tablet-specific card layouts */
  .service-card .card-img-top {
    height: 180px;
  }
  
  .team-photo {
    height: 220px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .section-padding {
    padding: 70px 0;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .section-padding {
    padding: 80px 0;
  }
  
  /* Enhanced spacing for large screens */
  .container {
    max-width: 1140px;
  }
}

/* Specific mobile behavior for animations */
@media (max-width: 768px) {
  /* Disable animations on mobile as specified */
  .service-card:hover,
  .feature-card:hover,
  .price-card:hover,
  .team-card:hover,
  .gallery-item:hover,
  .blog-card:hover,
  .case-study-card:hover {
    transform: none;
  }
  
  /* Remove hover effects on mobile */
  .btn-primary:hover {
    transform: none;
  }
  
  /* Simpler card shadows on mobile */
  .service-card,
  .feature-card,
  .price-card,
  .team-card,
  .review-card,
  .faq-card,
  .contact-form,
  .blog-card,
  .case-study-card,
  .timeline-item,
  .career-card,
  .info-card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  /* Mobile navigation adjustments */
  .navbar-nav {
    text-align: center;
    padding: 1rem 0;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
  }
  
  /* Mobile footer adjustments */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer .row > div {
    margin-bottom: 2rem;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Ensure crisp images on retina displays */
  img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print styles */
@media print {
  /* Hide navigation and decorative elements */
  .navbar,
  .hero-decorative,
  .btn,
  .footer {
    display: none !important;
  }
  
  /* Ensure good print contrast */
  * {
    color: #000 !important;
    background: #fff !important;
  }
  
  /* Page breaks */
  .section-padding {
    page-break-inside: avoid;
    page-break-after: auto;
  }
}

/* Landscape orientation adjustments for tablets */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .hero-section {
    min-height: 70vh;
  }
  
  .section-padding {
    padding: 50px 0;
  }
}

/* Portrait orientation adjustments for tablets */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .hero-section {
    min-height: 60vh;
  }
  
  .section-padding {
    padding: 60px 0;
  }
}

/* Container max-widths for different breakpoints */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
} 

.hero-content {
    padding-top: 275px;
}