/* Mobile First Responsive Design */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-section {
    min-height: auto;
    padding: 3rem 0;
  }
  
  .hero-section::before,
  .hero-section::after {
    display: none;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .process-step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .core-info-icon {
    font-size: 2.5rem;
  }
  
  .custom-card {
    margin-bottom: 1.5rem;
  }
  
  /* No animations on mobile */
  .custom-card:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    padding: 4rem 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    padding: 5rem 0;
  }
  
  .section {
    padding: 3.5rem 0;
  }
}

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

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

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .breadcrumb-container {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    background: white;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  .custom-card {
    box-shadow: none;
    border: 1px solid #eeeeee;
  }
}

/* High DPI / Retina Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before,
  .hero-section::after {
    transform: scale(0.5);
  }
}

/* Landscape Mobile Orientation */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 1.5rem 0;
  }
}

/* Dark Mode Support (respects system preference) */

/* Accessibility - High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-sage: #81b4a5;
    --primary-rust: #af7f58;
    --primary-slate: #707f86;
    --primary-cream: #ffffff;
    --primary-charcoal: #000000;
  }
}

/* Focus Styles for Keyboard Navigation */
.navbar-nav .nav-link:focus,
.btn:focus,
.form-control:focus {
  outline: 2px solid var(--primary-sage);
  outline-offset: 2px;
}

/* Skip to Content Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-charcoal);
  color: var(--primary-cream);
  padding: 8px;
  z-index: 100;
  text-decoration: none;
  border-radius: 4px;
}

.skip-link:focus {
  top: 6px;
}

/* Navbar Toggler Custom Styling (Bootstrap 5 Standard) */
.navbar-toggler {
  border: 1px solid var(--primary-sage);
  padding: 0.375rem 0.75rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(153, 179, 170, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2844, 62, 69, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
} 

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