/* Mobile First Responsive Design */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Disable all animations on mobile */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  /* Hero section mobile */
  #hero {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-content {
    padding: 1rem 0;
    padding-top: 225px;
}
  
  /* Hide decorative blobs on mobile */
  .decorative-blob {
    display: none;
  }
  
  /* Cards spacing */
  .card {
    margin-bottom: 1.5rem;
  }
  
  /* Team member images */
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  /* Gallery images */
  #gallery img {
    height: 200px;
    margin-bottom: 1rem;
  }
  
  /* Section padding */
  .section-padding {
    padding: 2rem 0;
  }
  
  /* Footer */
  #footer {
    text-align: center;
    padding: 2rem 0 1rem;
  }
  
  /* Form adjustments */
  .form-control {
    padding: 0.6rem;
  }
  
  /* Button adjustments */
  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Disable animations on small devices too */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
  }
  
  h1 {
    font-size: 2.25rem;
  }
  
  #hero {
    min-height: 80vh;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .team-member img {
    width: 130px;
    height: 130px;
  }
  
  #gallery img {
    height: 220px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-content {
    padding: 2rem 0;
    padding-top: 225px;
}
  
  .team-member img {
    width: 140px;
    height: 140px;
  }
  
  #gallery img {
    height: 240px;
  }
  
  .section-padding {
    padding: 3.5rem 0;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  .hero-content {
    padding: 2.5rem 0;
    padding-top: 225px;
}
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-content {
    padding: 3rem 0;
    padding-top: 225px;
}
}

/* Print styles */
@media print {
  .navbar,
  #footer,
  .btn {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    overflow-x: hidden;
}
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
  
  .card {
    break-inside: avoid;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid var(--text-color);
  }
  
  .btn-primary {
    border: 2px solid var(--primary-dark);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .card:hover {
    transform: none;
  }
} 