/* =======================
   Responsive CSS - Mobile First
   ======================= */

/* Mobile Base Styles */
@media (max-width: 767.98px) {
  /* Remove animation disabling for content visibility */
  /* Typography adjustments */
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  /* Hero section mobile */
  .hero-section {
    min-height: 70vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-section::before {
    display: none;
  }
  
  /* Service cards mobile */
  .service-card {
    margin-bottom: 2rem;
    padding: 1.5rem;
  }
  
  .service-card:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  
  /* Price cards mobile */
  .price-card.featured {
    transform: none;
    margin-bottom: 2rem;
  }
  
  .price-value {
    font-size: 2.5rem;
  }
  
  /* Team photos mobile */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 2rem 1.5rem;
    margin: 1rem 0;
  }
  
  /* Section spacing mobile */
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    margin-bottom: 2.5rem;
  }
  
  /* Footer mobile */
  .footer {
    text-align: center;
    padding: 2rem 0 1rem;
  }
  
  /* Process steps mobile */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
  
  /* Timeline mobile */
  .timeline-item::before {
    display: none;
  }
  
  /* Feature icons mobile */
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Core info icons mobile */
  .core-info-icon {
    width: 40px;
    height: 40px;
  }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 80vh;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .price-card.featured {
    transform: scale(1.02);
  }
  
  .section {
    padding: 4rem 0;
  }
}

/* Large tablet and small desktop */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .price-card.featured {
    transform: scale(1.03);
  }
}

/* Desktop and larger */
@media (min-width: 1200px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Extra large screens */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .section {
    padding: 6rem 0;
  }
}

/* High DPI screens */
@media (min-resolution: 2dppx) {
  .hero-section::before {
    opacity: 0.08;
  }
}

/* Print styles */
@media print {
  .hero-section {
    min-height: auto;
    background: white;
  }
  
  .hero-section::before {
    display: none;
  }
  
  .navbar,
  .footer {
    display: none;
  }
  
  .section {
    padding: 2rem 0;
    page-break-inside: avoid;
  }
  
  .service-card,
  .price-card,
  .team-card,
  .review-card {
    box-shadow: none;
    border: 1px solid #ebeaea;
    page-break-inside: avoid;
  }
}

/* Accessibility improvements */
@media (prefers-contrast: high) {
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-study-card,
  .career-card,
  .core-info-item,
  .contact-form,
  .blog-card,
  .faq-card {
    border-width: 2px;
    border-color: var(--gray-800);
  }
  
  .btn-primary {
    border: 2px solid var(--dark-blue);
  }
}

/* Dark mode support */

/* Landscape phone specific */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 50vh;
    padding: 1rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .navbar {
    padding: 0.25rem 0;
  }
}

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

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

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
} 

.hero-section h1 {
    padding-top: 275px;
}