/* Mobile First Responsive Design */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .container-sm {
    max-width: 540px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .container-md {
    max-width: 720px;
  }
  
  .hero-section {
    min-height: 100vh;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .container-lg {
    max-width: 960px;
  }
}

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

/* Mobile specific styles (up to 767px) */
@media (max-width: 767.98px) {
  /* No animations when scrolling in mobile resolution */
  [data-sal],
  [data-scroll-reveal] {
    opacity: 1;
    transform: none;
  }
  
  /* Navbar adjustments */
  .navbar-brand {
    font-size: 1.125rem;
  }
  
  /* Hero section mobile */
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
    text-align: center;
  }
  
  .hero-section .col-lg-6:first-child {
    order: 2;
    margin-top: 2rem;
  }
  
  .hero-section .col-lg-6:last-child {
    order: 1;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.375rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  /* Section padding mobile */
  .section-padding {
    padding: 3rem 0;
  }
  
  /* Cards mobile */
  .card {
    margin-bottom: 1.5rem;
  }
  
  .service-card,
  .team-card {
    padding: 1.5rem 1rem;
  }
  
  .review-card {
    padding: 1.5rem;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  /* Gallery mobile */
  .gallery-item img {
    height: 200px;
  }
  
  /* Process steps mobile */
  .process-step {
    padding: 1rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
  
  /* Timeline mobile */
  .timeline-item {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  /* Team photo mobile */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Footer mobile */
  .footer {
    padding: 2rem 0 1.5rem;
    text-align: center;
  }
  
  .footer .col-md-4 {
    margin-bottom: 2rem;
  }
  
  .footer .col-md-4:last-child {
    margin-bottom: 0;
  }
}

/* Tablet specific styles (768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero section tablet */
  .hero-section {
    min-height: 80vh;
    padding: 3rem 0;
  }
  
  /* Section padding tablet */
  .section-padding {
    padding: 4rem 0;
  }
  
  /* Gallery tablet */
  .gallery-item img {
    height: 225px;
  }
  
  /* Cards tablet */
  .service-card,
  .team-card {
    padding: 1.75rem 1.25rem;
  }
  
  .review-card {
    padding: 1.75rem;
  }
}

/* Small mobile styles (up to 575px) */
@media (max-width: 575.98px) {
  /* Extra small adjustments */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Typography extra small */
  h1 {
    font-size: 1.375rem;
  }
  
  h2 {
    font-size: 1.25rem;
  }
  
  /* Hero section extra small */
  .hero-section {
    padding: 1.5rem 0;
  }
  
  /* Section padding extra small */
  .section-padding {
    padding: 2.5rem 0;
  }
  
  /* Cards extra small */
  .service-card,
  .team-card,
  .review-card {
    padding: 1.25rem 1rem;
  }
  
  /* Contact form extra small */
  .contact-form {
    padding: 1.5rem 1rem;
  }
  
  /* Process number extra small */
  .process-number {
    width: 45px;
    height: 45px;
    font-size: 0.875rem;
  }
  
  /* Team photo extra small */
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  /* Button adjustments */
  .btn-primary,
  .btn-secondary {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
  }
}

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

/* Print styles */
@media print {
  .navbar,
  .btn,
  .contact-form,
  .footer {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: black;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid var(--primary-charcoal);
  }
  
  .btn-primary,
  .btn-secondary {
    border-width: 2px;
  }
  
  .form-control {
    border-width: 2px;
  }
}

/* Dark mode support */

/* Focus management for accessibility */
@media (prefers-reduced-motion: no-preference) {
  /* Smooth scrolling for users who don't prefer reduced motion */
  html {
    scroll-behavior: smooth;
  }
} 

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