/* Mobile First Responsive Design */

/* Extra small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
    .hero-section {
        padding: 2rem 0;
        min-height: 70vh;
    }
    
    .hero-section h1 {
        font-size: 1.83rem;
    padding-top: 100px;
}
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.38rem;
    }
    
    .card-img-top {
        height: 150px;
    }
    
    /* Team member responsive classes removed - using Bootstrap standard */
    
    /* Mobile spacing */
    .py-5 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    /* No animations on mobile to respect motion preferences */
    [data-sal] {
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* Mobile form adjustments */
    .btn-lg {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    /* Mobile breadcrumb */
    .breadcrumb-section {
        padding: 0.5rem 0;
    }
    
    /* Mobile gallery grid - removed to use Bootstrap defaults */
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2rem;
    padding-top: 100px;
}
    
    .card-img-top {
        height: 180px;
    }
    
    /* Team member responsive classes removed - using Bootstrap standard */
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 2.38rem;
    padding-top: 100px;
}
    
    /* Team member responsive classes removed - using Bootstrap standard */
    
    /* Tablet navigation */
    .navbar-nav .nav-link {
        padding: 0.375rem 0.75rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hero-section {
        min-height: 100vh;
    }
    
    /* Team member responsive classes removed - using Bootstrap standard */
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* Container max-width removed - using Bootstrap defaults */
    
    .hero-section h1 {
        font-size: 2.58rem;
    padding-top: 100px;
}
    
    .lead {
        font-size: 1.28rem;
    }
}

/* Ultra wide devices (1400px and up) */
@media (min-width: 1400px) {
    /* Container max-width removed - using Bootstrap defaults */
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .navbar-brand {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
    .hero-section {
        min-height: 80vh;
        padding: 1rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.83rem;
        margin-bottom: 0.67rem;
    padding-top: 100px;
}
    
    .hero-section .lead {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    .breadcrumb-section,
    footer,
    .btn {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        page-break-after: always;
    }
    
    .card {
        border: 1px solid #000;
        box-shadow: none;
    }
    
    a {
        text-decoration: underline;
    }
    
    .text-primary,
    .text-success,
    .text-muted {
        color: #000 !important;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .card:hover {
        transform: none;
    }
    
    .gallery img:hover {
        transform: none;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid #000;
    }
    
    .btn-primary {
        background-color: #000;
        border-color: #000;
        color: #fff;
    }
    
    .text-muted {
        color: #4b4949 !important;
    }
}

/* Dark mode support */

/* Container responsive adjustments - removed to use Bootstrap defaults */

/* Grid system responsive behavior - removed to use Bootstrap defaults */

/* Column styles removed - using Bootstrap defaults */

/* Mobile-specific adjustments - container, row and column padding removed to use Bootstrap defaults */
@media (max-width: 767.98px) {
    
    /* Mobile navbar */
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #dcecfd;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 0.57rem;
    }
}

/* Tablet specific adjustments - container padding removed to use Bootstrap defaults */
@media (min-width: 768px) and (max-width: 991.98px) {
}

/* Flexbox utilities responsive behavior */
@media (max-width: 767.98px) {
    .d-md-flex {
        display: flex !important;
    }
    
    .flex-md-column {
        flex-direction: column !important;
    }
    
    .text-md-center {
        text-align: center !important;
    }
    
    .justify-content-md-center {
        justify-content: center !important;
    }
} 

body {
    overflow-x: hidden;
}