/* Mobile First Responsive Design */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 575.98px) {
  /* Hero Section */
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  /* Disable animations on mobile */
  *, *::before, *::after {
    animation-duration: 0ms !important;
    transition-duration: 0ms !important;
  }
  
  .service-card:hover,
  .team-card:hover,
  .price-card:hover,
  .case-study-card:hover,
  .blog-card:hover,
  .coreinfo-card:hover,
  .career-card:hover {
    transform: none !important;
  }
  
  .gallery-item:hover img {
    transform: none !important;
  }
  
  /* Mobile spacing adjustments */
  .section-padding {
    padding: 3rem 0;
  }
  
  .section-padding-sm {
    padding: 2rem 0;
  }
  
  /* Mobile contact form */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Mobile team photos */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Mobile buttons */
  .btn-primary-custom {
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
  }
  
  /* Mobile decorative elements - hide on small screens */
  .hero-decorative {
    display: none;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .section-padding {
    padding: 4rem 0;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 95vh;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container-xl {
    max-width: 1140px;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer-section,
  .btn {
    display: none !important;
  }
  
  .hero-decorative {
    display: none !important;
  }
  
  * {
    color: #000 !important;
    background: transparent !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --border-color: #000;
    --text-muted: #333;
  }
  
  .service-card,
  .team-card,
  .review-card,
  .faq-card,
  .price-card {
    border-width: 2px;
    border-color: #000;
  }
}

/* Dark mode support */

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .hero-decorative {
    animation: none !important;
  }
}

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

/* Mobile navigation improvements */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    margin-top: 1rem;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    margin-bottom: 0.25rem;
  }
  
  .navbar-nav .nav-link:hover {
    background-color: var(--bg-light);
  }
} 

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