/* Mobile First Responsive Design */
/* Tablets and below (7613px) */
@media (max-width: 768px) {
    /* Conservative Font Size Adjustments */
    h1 {
        font-size: 1.80rem;
    }
    
    h2 {
        font-size: 1.58rem;
    }
    
    .navbar-brand {
        font-size: 1.04rem !important;
    }
    
    /* Hero Section */
    .hero-section {
  padding-top: 50px;
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.58rem;
    }
    
    /* Service Cards */
    .service-card .card-img-top {
        height: 150px;
    }
    
    .service-card {
        margin-bottom: 1.09rem;
    }
    
    /* Team Photos */
    .team-photo {
        width: 80px;
        height: 80px;
    }
    
    /* Contact Form */
    .contact-form {
        margin-top: 2.24rem;
        padding: 1.5rem;
    }
    
    .contact-info {
        margin-top: 1.24rem;
        padding: 1.5rem;
    }
    
    /* Feature Cards */
    .feature-card {
        padding: 1.5rem;
        margin-bottom: 1.09rem;
    }
    
    /* Testimonials */
    .testimonial-card {
        height: auto;
        min-height: 150px;
        padding: 1.5rem;
    }
    
    /* Navigation */
    .navbar-nav {
        padding-top: 1.24rem;
    }
    
    .nav-link {
        padding: 0.5rem 0;
    }
}

/* Mobile Phones (576px and below) */
@media (max-width: 576px) {
    /* Even More Conservative Sizes */
    h1 {
        font-size: 1.58rem;
    }
    
    h2 {
        font-size: 1.45rem;
    }
    
    h4 {
        font-size: 1.20rem;
    }
    
    .navbar-brand {
        font-size: 0.99rem !important;
    }
    
    /* Spacing Adjustments */
    .py-5 {
        padding-top: 2.15rem !important;
        padding-bottom: 2.11rem !important;
    }
    
    /* Hero Section */
    .hero-section h1 {
        font-size: 1.45rem;
    }
    
    /* Cards */
    .service-card, .feature-card, .contact-form, .contact-info {
        margin-bottom: 1.09rem;
    }
    
    /* Team Grid */
    .team-member {
        margin-bottom: 1.60rem;
    }
    
    /* Footer */
    footer .col-lg-4 {
        margin-bottom: 2.24rem;
    }
    
    /* Form Elements */
    .form-control {
        padding: 0.5rem 0.75rem;
    }
    
    .btn-primary {
        padding: 0.5rem 1.5rem;
    }
}

/* Swiper 11 Mobile Adjustments - Disable autoplay and effects on mobile */
@media (max-width: 768px) {
    .testimonials-swiper {
        padding: 1rem 0;
    }
    
    .swiper-slide {
        padding: 0 0.5rem;
    }
    
    /* Disable transitions on mobile for reduced motion */
    .service-card:hover,
    .feature-card:hover,
    .blog-post:hover {
        transform: none;
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }
}

/* Large Screens (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    /* Maintain conservative sizes even on large screens */
    h1 {
        font-size: 2.39rem;
    }
    
    .navbar-brand {
        font-size: 1.33rem !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    .swiper-pagination,
    .accordion-button {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .service-card,
    .feature-card {
        box-shadow: none !important;
        border: 1px solid #dddada !important;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section::before {
        background-image: url('../POW_images/hero-retreat@2x.webp');
    }
}

/* Accessibility - Focus States */
.btn:focus,
.form-control:focus,
.nav-link:focus,
.navbar-brand:focus {
    outline: 2px solid var(--primary-sage);
    outline-offset: 2px;
}


/* Landscape Orientation on Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
  padding-top: 50px;
        min-height: 70vh;
    }
    
    .py-5 {
        padding-top: 1.72rem !important;
        padding-bottom: 1.58rem !important;
    }
}
